{"$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":"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":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"index.Roundtable (cyclomatic 328): index.Roundtable has cyclomatic complexity 328 (threshold 15). Of this number, 213 points are the body\u0027s own statements and 115 belong to 35 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/roundtable/index.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e1e1aac4a3b7e1766d5d21e63a0242733f70165dce98ff5f880faba0e30c2d"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackChromeRoot.PlaybackChromeRoot (cyclomatic 288): PlaybackChromeRoot.PlaybackChromeRoot has cyclomatic complexity 288 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 224 belong to 65 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/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"72999a5c87765058a1e6004daaa9c0fb4b632f5ce7f16f0eef9bce0650929562"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.PBLV3WorkspaceContent (cyclomatic 262): workspace.PBLV3WorkspaceContent has cyclomatic complexity 262 (threshold 15). Of this number, 185 points are the body\u0027s own statements and 77 belong to 28 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/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9e3e878fe09fa5e96149bf1ca797cbc6f565c94afbcc1dfeebba07e2960049"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceShell.WorkspaceShellController (cyclomatic 207): WorkspaceShell.WorkspaceShellController has cyclomatic complexity 207 (threshold 15). Of this number, 75 points are the body\u0027s own statements and 132 belong to 50 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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d322fb9736994fd6d6904127db36f7752f9bdecbbcb1dcb9d2c2cb2b01bc10"}},{"ruleId":"D1","level":"warning","message":{"text":"textSerializer.renderTextBody (cyclomatic 207): textSerializer.renderTextBody has cyclomatic complexity 207 (threshold 15). Of this number, 186 points are the body\u0027s own statements and 21 belong to 11 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"d161ee22980e3fd1f187e1d38b3a2dd00665decd87beb15beed141f70deb8336"}},{"ruleId":"D1","level":"warning","message":{"text":"page.HomePage (cyclomatic 193): page.HomePage has cyclomatic complexity 193 (threshold 15). Of this number, 91 points are the body\u0027s own statements and 102 belong to 56 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":"app/page.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e407e32d8279c2b578d257a399abc9cbe8f66ee0b9d7bd157a8efff03558730"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-presentation.presentTool (cyclomatic 189): tool-presentation.presentTool has cyclomatic complexity 189 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/workbench/chat/tool-presentation.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad2b0ecd70637ec583c4ffdb1fa406adebbf5503716beb87bfe8171e806c500"}},{"ruleId":"D1","level":"warning","message":{"text":"use-export-pptx.buildPptxBlob (cyclomatic 187): use-export-pptx.buildPptxBlob has cyclomatic complexity 187 (threshold 15). Of this number, 183 points are the body\u0027s own statements and 4 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":"lib/export/use-export-pptx.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"d284c6f85b9b4cb4fb52e81b3095259828650139d83cc8d0f866db515bfc4e43"}},{"ruleId":"D1","level":"warning","message":{"text":"transformParsedToSlides.transformParsedToSlides::parseElements (cyclomatic 177): transformParsedToSlides.transformParsedToSlides::parseElements has cyclomatic complexity 177 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adb0f69e18147f2d131b0451e92b982e81f1d9305665029105bb882564cb763"}},{"ruleId":"D1","level":"warning","message":{"text":"shapeSerializer.renderShape (cyclomatic 162): shapeSerializer.renderShape has cyclomatic complexity 162 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2a1613e1418bc667bc486d21389035d816afeff471747a31517b4d745c6a9f"}},{"ruleId":"D1","level":"warning","message":{"text":"session-store.foldEvent (cyclomatic 160): session-store.foldEvent has cyclomatic complexity 160 (threshold 15). Of this number, 132 points are the body\u0027s own statements and 28 belong to 19 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":"lib/workbench/session-store.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10d84e52fa19131a0a944f8010a8588ab9e990174dcb0e8151962b01da3237f"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialLibraryPage.MaterialLibraryPage (cyclomatic 157): MaterialLibraryPage.MaterialLibraryPage has cyclomatic complexity 157 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 125 belong to 38 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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb12ca278e21ea20f92191193a3ca2887d72fd66b58b93d662d8de5d0d0ffde"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkbenchChat.WorkbenchChat (cyclomatic 149): WorkbenchChat.WorkbenchChat has cyclomatic complexity 149 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 80 belong to 30 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/workbench/WorkbenchChat.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d6cc7bd3b802b32fc3af5bf91eb128e65327b908665f02cb30f2ba71551888"}},{"ruleId":"D1","level":"warning","message":{"text":"application-preview.ApplicationPreviewContent (cyclomatic 146): application-preview.ApplicationPreviewContent has cyclomatic complexity 146 (threshold 15). Of this number, 89 points are the body\u0027s own statements and 57 belong to 18 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/scene-renderers/pbl/v3/application-preview.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bce04475e164e8fa7e2bcbc40e82c86a96ad7eb782669631e19b1de1c0cc56"}},{"ruleId":"D1","level":"warning","message":{"text":"project-package.validateProjectPackage (cyclomatic 139): project-package.validateProjectPackage has cyclomatic complexity 139 (threshold 15). Of this number, 125 points are the body\u0027s own statements and 14 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/project-package.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"14291ffed16584b1c70541334c4fb51345d1ec6b5df81841267ab401d934312a"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-tools.teachingRunnerConfig (cyclomatic 126): runner-tools.teachingRunnerConfig has cyclomatic complexity 126 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 85 belong to 13 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":"lib/server/pbl-v3/runner-tools.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9939c4f2dbbbf37ef9c8be7dc8d009530635ea0a3019a19db95c4a9647a41608"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.executeSession (cyclomatic 124): runner.executeSession has cyclomatic complexity 124 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (runner.executeSession::emit) 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":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5fc47a32c8ccc32ec4fe98460aca661585ad91a164d759d91671f84d8e7a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"material-tools.buildMaterialTools (cyclomatic 116): material-tools.buildMaterialTools has cyclomatic complexity 116 (threshold 15). Most of this is not in the body itself: 5 of the 116 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 834, 624, 730, \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":"lib/server/agent-runtime/material-tools.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cc1970067aa170ec98b3b0c7c69fa62849e8a2143ec845a98fd720e50bb7c7"}},{"ruleId":"D1","level":"warning","message":{"text":"EditableSlideCanvas.EditableSlideCanvas (cyclomatic 114): EditableSlideCanvas.EditableSlideCanvas has cyclomatic complexity 114 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 68 belong to 21 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":"packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"144637e946309005d696327fffbc697e9d803704807b7feb4b2a1c1f8c5505b7"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.PBLV2Chat (cyclomatic 108): chat.PBLV2Chat has cyclomatic complexity 108 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 69 belong to 16 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/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46b006dfd3a15c993af971a8da1980ec0d59077a02618c76ab69cf022111e20"}},{"ruleId":"D1","level":"warning","message":{"text":"use-application-preview.useApplicationPreview (cyclomatic 104): use-application-preview.useApplicationPreview has cyclomatic complexity 104 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 74 belong to 15 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/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfb31da5a3272b443ed461f867a18192165fb3e05b154829d44d2c02f1237d6"}},{"ruleId":"D1","level":"warning","message":{"text":"stage.useStageStoreBase (cyclomatic 103): stage.useStageStoreBase has cyclomatic complexity 103 (threshold 15). Most of this is not in the body itself: 1 of the 103 points is its own statement and the rest belongs to 16 function literals inside it that branch (lines 1206, 1117, 1012, \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":"lib/store/stage.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45fa61f9f6dcc9322982df7fe8d333eb7b425a9854f5da07f3e3a9aa499873a"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.commandStudy::execute (cyclomatic 102): runtime.commandStudy::execute has cyclomatic complexity 102 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/server/pbl-v3/runtime.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"7092b28bd61da3778325097f2feed893a88fb69949bbeb2f89b70825ca8f6a09"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.projectConversation (cyclomatic 97): conversation.projectConversation has cyclomatic complexity 97 (threshold 15). Of this number, 80 points are the body\u0027s own statements and 17 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/conversation.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c466e79639e82c8cedfb384b7f8eff4d96d6c36af7e011e7c5cce22522633e"}},{"ruleId":"D1","level":"warning","message":{"text":"use-workbench-session.useStageFreshnessSync (cyclomatic 95): use-workbench-session.useStageFreshnessSync has cyclomatic complexity 95 (threshold 15). Most of this is not in the body itself: 1 of the 95 points is its own statement and the rest belongs to 22 function literals inside it that branch (lines 553, 813, 857, \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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32751c84cbb6daffaac11ba7066a5afc875467bbc6110f1530614325ac595d1"}},{"ruleId":"D1","level":"warning","message":{"text":"ProsemirrorEditor.ProsemirrorEditor (cyclomatic 93): ProsemirrorEditor.ProsemirrorEditor has cyclomatic complexity 93 (threshold 15). Most of this is not in the body itself: 2 of the 93 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 173, 384, 435, \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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"319f571bed6e4f09f0ef79a4ca8ba8cb7bd5c14fa7669e40d1604eadcb420f41"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceRail.WorkspaceRail (cyclomatic 92): WorkspaceRail.WorkspaceRail has cyclomatic complexity 92 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 68 belong to 21 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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bb32556d718c81b2900f3dd2f836385ae9eb1308ed71a523f59920b06d2412"}},{"ruleId":"D1","level":"warning","message":{"text":"model-settings.planModelSettingsImport (cyclomatic 91): model-settings.planModelSettingsImport has cyclomatic complexity 91 (threshold 15). Of this number, 90 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/legacy-browser-import/model-settings.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a2d693d6d41a495c46d4a6431e262a83458e73a9b79578880f4b87c5dcaa2e"}},{"ruleId":"D1","level":"warning","message":{"text":"lifecycle.maintainStudy (cyclomatic 91): lifecycle.maintainStudy has cyclomatic complexity 91 (threshold 15). Most of this is not in the body itself: 11 of the 91 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 260, a function literal at line 509, maintain). 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":"lib/server/pbl-v3/lifecycle.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6678ae6f88f789442aa58cb74581547d565d0ca5c6096e74ffe3ee343ed27f7e"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.learningView (cyclomatic 87): runtime.learningView has cyclomatic complexity 87 (threshold 15). Of this number, 81 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runtime.ts"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"857233d3ab53f42a72e76a7e3e59e94874aee8ef1a4c284bd821889edb1d3451"}},{"ruleId":"D1","level":"warning","message":{"text":"workbench-panel.LearningWorkbenchPanel (cyclomatic 85): workbench-panel.LearningWorkbenchPanel has cyclomatic complexity 85 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (workbench-panel.LearningWorkbenchPanel::run) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f4f75c3dbe67195fd5e3feda9896a803280c1cb02d4c541338230a555f07f8"}},{"ruleId":"D1","level":"warning","message":{"text":"providers.getCompatThinkingBodyParams (cyclomatic 83): providers.getCompatThinkingBodyParams has cyclomatic complexity 83 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"005bc0b32a7887656db90d12c62fa3f108143c2af5ee48c2887bbfd7c478c70f"}},{"ruleId":"D1","level":"warning","message":{"text":"material-analysis.analyzeMaterial (cyclomatic 83): material-analysis.analyzeMaterial has cyclomatic complexity 83 (threshold 15). Of this number, 82 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/server/generation/steps/material-analysis.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6feb79b36fdcf5ee50ed4e6ad8ced89a0696d86b1a422dc6b15c7e8197b36f7"}},{"ruleId":"D1","level":"warning","message":{"text":"page.GenerationPreviewContent (cyclomatic 81): page.GenerationPreviewContent has cyclomatic complexity 81 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 42 belong to 15 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":"app/generation-preview/page.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f189176f7c94adf5e86b0137a211828403154115a157a5495597a74f13e0f8"}},{"ruleId":"D1","level":"warning","message":{"text":"report.buildLearningEvidence (cyclomatic 80): report.buildLearningEvidence has cyclomatic complexity 80 (threshold 15). Of this number, 74 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/report.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c0b657d4b05bd938206dfc039f80906f386aa3552f65fd328e4aa108300c41"}},{"ruleId":"D1","level":"warning","message":{"text":"model-map.ModelMap (cyclomatic 79): model-map.ModelMap has cyclomatic complexity 79 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 44 belong to 19 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/settings/models/model-map.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0dd5988be110878529fb5e7e58b489b9e86786a91af970c8832603bffd1f4c"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-config-panel.ProviderConfigPanel (cyclomatic 74): provider-config-panel.ProviderConfigPanel has cyclomatic complexity 74 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 39 belong to 11 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/provider-config-panel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d800551ab3def1429101e27dd94bfb4c2b5c43e5a7b354b2c1d5b14b166fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"project-report.ProjectReport (cyclomatic 74): project-report.ProjectReport has cyclomatic complexity 74 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 39 belong to 16 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/scene-renderers/pbl/v3/project-report.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ef902319c485329c56cd8dd6f8545e750ddafec6f6b59f79c2978241420fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"classroom-actions.buildChildActionTools (cyclomatic 74): classroom-actions.buildChildActionTools has cyclomatic complexity 74 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 55 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/chat/pi/tools/classroom-actions.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06337d798896327af237caaf8b2425d4dde47a6c370bbdfe6ae80e148963d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.route (cyclomatic 74): index.route has cyclomatic complexity 74 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/storage/src/server/index.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a62e73eae404078515b410db78483829559597a81105a51256a0680c130bff"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementPickLayer.ElementPickLayer (cyclomatic 71): ElementPickLayer.ElementPickLayer has cyclomatic complexity 71 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 52 belong to 20 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6ff96f3e600825d34be554aa864ed714dd8524308c20d88ec0f003cb9c0992"}},{"ruleId":"D1","level":"warning","message":{"text":"curriculum-tools.buildCurriculumTools (cyclomatic 71): curriculum-tools.buildCurriculumTools has cyclomatic complexity 71 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/curriculum-tools.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1878a9d7e13d0dabfe472194c766b17895e36b46a591771992ab599025b528ea"}},{"ruleId":"D1","level":"warning","message":{"text":"inline-assets.inlineHtmlAssets (cyclomatic 69): inline-assets.inlineHtmlAssets has cyclomatic complexity 69 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 26 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/inline-assets.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"798644f6573c1df5bfdb51feb6e8628091697c2f8ffd6ec7d46abe97ef3a5987"}},{"ruleId":"D1","level":"warning","message":{"text":"generation-tools.buildGenerationTools (cyclomatic 67): generation-tools.buildGenerationTools has cyclomatic complexity 67 (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":"lib/server/agent-runtime/generation-tools.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7403f93fa56e8d53393109ec38ac2f872b5f545269f8e45efd7869db7a9128f7"}},{"ruleId":"D1","level":"warning","message":{"text":"imagePlan (cyclomatic 67): imagePlan has cyclomatic complexity 67 (threshold 15). Most of this is not in the body itself: 12 of the 67 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 122, visit, a function literal at line 253, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/document-image-plan.mjs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d626bfa4831acbeb991522011a029f4a079716b6356cc91d200088991d8751f4"}},{"ruleId":"D1","level":"warning","message":{"text":"stage.Stage (cyclomatic 66): stage.Stage has cyclomatic complexity 66 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 36 belong to 18 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/stage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39f2786d953b5e9cb820826d1dc2c90fcf45babb8d93d20796b0943341c4602"}},{"ruleId":"D1","level":"warning","message":{"text":"report-share-image.renderReportShareImage (cyclomatic 66): report-share-image.renderReportShareImage has cyclomatic complexity 66 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 27 belong to 15 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":"lib/pbl/v3/report-share-image.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d94af650833fc7360438aa7117ed6b6bc9b21f4823fecc3d66cc3c31e0c2515"}},{"ruleId":"D1","level":"warning","message":{"text":"token-plan-settings.TokenPlanSettings (cyclomatic 65): token-plan-settings.TokenPlanSettings has cyclomatic complexity 65 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 47 belong to 14 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/settings/token-plan-settings.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"da467e2b2eee278c4086ae7b24a2319a633810150999d3580e2e24c3540b5a24"}},{"ruleId":"D1","level":"warning","message":{"text":"tts-voice-managers.VoxCPMVoiceManager (cyclomatic 65): tts-voice-managers.VoxCPMVoiceManager has cyclomatic complexity 65 (threshold 15). Most of this is not in the body itself: 15 of the 65 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 313, startReferenceRecording, a function literal at line 109, \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/tts-voice-managers.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"51dd923043797a3e9f7ca482bb7e501fa0f677e46e9e2d6b7bab7ebfb74bae4c"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageClipHandler.ImageClipHandler (cyclomatic 65): ImageClipHandler.ImageClipHandler has cyclomatic complexity 65 (threshold 15). Most of this is not in the body itself: 1 of the 65 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 266, 446, 195, \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/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6ec94c82dba1108465e424c78608f7236568197293c410fa9b95a599bb7db7"}},{"ruleId":"D1","level":"warning","message":{"text":"ProLaunchPanel.ProLaunchPanel (cyclomatic 64): ProLaunchPanel.ProLaunchPanel has cyclomatic complexity 64 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 40 belong to 13 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/ProLaunchPanel.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a42eea37c31f4c68e4acd8bb6ddf8168688d653224108541719b8fef79ad814"}},{"ruleId":"D1","level":"warning","message":{"text":"generation-toolbar.GenerationToolbar (cyclomatic 63): generation-toolbar.GenerationToolbar has cyclomatic complexity 63 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 22 belong to 11 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/generation-toolbar.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c217170532e253c1a143a28eacfab93d4aac445f635b91ae24242bc9cafe67"}},{"ruleId":"D1","level":"warning","message":{"text":"slot-picker.SlotPicker (cyclomatic 63): slot-picker.SlotPicker has cyclomatic complexity 63 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 21 belong to 13 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/slot-picker.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc076f0777c3c854c7aec4c6f45112fe7833f30b894ae5707d10df6a2062dd6"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractiveIframeHost.PooledIframe (cyclomatic 63): InteractiveIframeHost.PooledIframe has cyclomatic complexity 63 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 37 belong to 10 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/InteractiveIframeHost.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"173937bfc6134c95d4cdebc01b1da71ca135507b0cc2abfeb54b3647c0c28f3d"}},{"ruleId":"D1","level":"warning","message":{"text":"submission.PBLV2SubmissionPanel (cyclomatic 63): submission.PBLV2SubmissionPanel has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 13 of the 63 points are its own statements and the rest belongs to 12 function items inside it that branch (runImmediateTaskEval::runStream, runImmediateTaskEval, a function literal at line 374, \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/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"947777ff1e1b4725e103979a2f232ae5c2b8df4c90075822fd5a033479c02a78"}},{"ruleId":"D1","level":"warning","message":{"text":"use-application-preview.useApplicationPreview.load (cyclomatic 63): use-application-preview.useApplicationPreview.load has cyclomatic complexity 63 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"066f0200470fc6a3c687fc3f2a30af6a09c6a3a8c7b81434cf596bebf4dcc701"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-sidebar.SceneSidebar (cyclomatic 63): scene-sidebar.SceneSidebar has cyclomatic complexity 63 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 43 belong to 10 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/scene-sidebar.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"97199657ac4931f54fd9c402cfd506cda4df9130e26e3c714ccd758caae2b00a"}},{"ruleId":"D1","level":"warning","message":{"text":"timeline-deps.createVideoTimelineDeps (cyclomatic 63): timeline-deps.createVideoTimelineDeps has cyclomatic complexity 63 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 14 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export-app/timeline-deps.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"790b8d7bf09f013b7ef6724d262873eacc88def1c30d03e44f38bf663e2e1ac4"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackEngine.processNext (cyclomatic 61): PlaybackEngine.processNext has cyclomatic complexity 61 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 15 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/engine.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a0d2117e66dc2760e6976c72d9ce75ed33b6ef65eae367e758771ef3498f0b"}},{"ruleId":"D1","level":"warning","message":{"text":"workbench-onboarding.WorkbenchOnboarding (cyclomatic 60): workbench-onboarding.WorkbenchOnboarding has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 8 of the 60 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 90, scrollReading, a function literal at line 111, \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/scene-renderers/pbl/v3/workbench-onboarding.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e842d6975a712fb804f7525a101a5837287bb67599c42806340047a5490d66e"}},{"ruleId":"D1","level":"warning","message":{"text":"use-material-library-tree.useMaterialLibraryTree (cyclomatic 60): use-material-library-tree.useMaterialLibraryTree has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 7 of the 60 points are its own statements and the rest belongs to 23 function literals inside it that branch (lines 461, 274, 611, \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":"lib/workbench/use-material-library-tree.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c22edfca8e1a9ec7fd873d5053a5c3b0b51c235ead8a336bdb3ccb7564baaf8"}},{"ruleId":"D1","level":"warning","message":{"text":"route.GET (cyclomatic 59): route.GET has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 8 of the 59 points are its own statements and the rest belongs to 15 function items inside it that branch (poll, drainBacklog, checkAttachCursor, \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/api/agent/owner-events/route.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce806e3e327ea3baa860c49a5ca3f58f93a55368041619725750ed8961e7960d"}},{"ruleId":"D1","level":"warning","message":{"text":"course-mention-menu.CourseMentionMenu (cyclomatic 59): course-mention-menu.CourseMentionMenu has cyclomatic complexity 59 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 39 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/course-mention-menu.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"979dfb4c0a8fe39bc52037c85e3f858184a0ad14ac6c3fc9d579c1a87bd2a1c5"}},{"ruleId":"D1","level":"warning","message":{"text":"use-export-pptx.formatHTML::parse (cyclomatic 59): use-export-pptx.formatHTML::parse has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb6bf66dab7df1e252ff2789d89e9becc63d8990750b9763bda1035639b0931"}},{"ruleId":"D1","level":"warning","message":{"text":"runResourceTask (cyclomatic 59): runResourceTask has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c7d5f6e2dfceec34cb45eea5995eb11f355c627af4fb865751997632f02969"}},{"ruleId":"D1","level":"warning","message":{"text":"route.chat (cyclomatic 58): route.chat has cyclomatic complexity 58 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 12 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":"app/api/chat/pi/route.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b3903567c5b689ef6110ae53dd0008798c72e31b2a8cab8229748e0754f270"}},{"ruleId":"D1","level":"warning","message":{"text":"StyleResolver.resolvePatternFill (cyclomatic 58): StyleResolver.resolvePatternFill has cyclomatic complexity 58 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b9611da461ce090ade2a1640f8841bd079df2d116b0f038fe16faf4552f1fc"}},{"ruleId":"D1","level":"warning","message":{"text":"mtef.renderTmpl (cyclomatic 58): mtef.renderTmpl has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9dca0cc11b77bc12d79467e3ddd3eeb9a790115369ada43d4d37727d7baf5e"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-card.ToolCard (cyclomatic 57): tool-card.ToolCard has cyclomatic complexity 57 (threshold 15). Of this number, 49 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":"components/workbench/chat/tool-card.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42a69ed94d773a807a10830edc69404c69648b43d5cdb862ce549c6cb6be7e8"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.applyModelSettingsChange (cyclomatic 57): settings.applyModelSettingsChange has cyclomatic complexity 57 (threshold 15). Of this number, 56 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/server/model-config/settings.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2f0c195a666276eb7cd6028d87d4ef817aad222bcfd0c51f7507d5a45addd6"}},{"ruleId":"D1","level":"warning","message":{"text":"index.validateSvgPath (cyclomatic 57): index.validateSvgPath has cyclomatic complexity 57 (threshold 15). Of this number, 53 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/@openmaic/geometry/src/index.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17ca931567125004311f6caef9bf6f8e6dde7c9b9f1308cb0f5924724f274d2"}},{"ruleId":"D1","level":"warning","message":{"text":"call-agent.buildCallAgentTool.execute (cyclomatic 56): call-agent.buildCallAgentTool.execute has cyclomatic complexity 56 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 10 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":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f0fb7635419108b55fd4b95e96f7715f35204da7bd50d3bcb2f028a62df6e9"}},{"ruleId":"D1","level":"warning","message":{"text":"page.ClassroomCard (cyclomatic 54): page.ClassroomCard has cyclomatic complexity 54 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 18 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"5203a4e73731003bf998b75d3c541d78f60ffa32f7e0d6b8b6233a6152ee97c8"}},{"ruleId":"D1","level":"warning","message":{"text":"presets.buildCircularArrowPath (cyclomatic 54): presets.buildCircularArrowPath has cyclomatic complexity 54 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f812e1f12ce1630a0eb3b4a6062f0306f9451971429b4da390b342ca57312b"}},{"ruleId":"D1","level":"warning","message":{"text":"cover-config.resolveVideoExportCta (cyclomatic 53): cover-config.resolveVideoExportCta has cyclomatic complexity 53 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export-app/cover-config.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"997ce7850e919cc0b431ef8f550a954a7bc4887ea41f98219b1e4774f69e0220"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt-input.PromptInput (cyclomatic 52): prompt-input.PromptInput has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 7 of the 52 points are its own statements and the rest belongs to 23 function items inside it that branch (a function literal at line 505, a function literal at line 485, a function literal at line 571, \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/ai-elements/prompt-input.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cb5694ccf0b231ed9674079bfcb7bd1f1f1d432c578f828f282f6336ee2a7d"}},{"ruleId":"D1","level":"warning","message":{"text":"providers.fetchCustomOpenAIChat (cyclomatic 52): providers.fetchCustomOpenAIChat has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/providers.ts"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01dae19d47dc7aa558ec70cc3f44aad56a8e898fa0c34d3be73c8e26e812411"}},{"ruleId":"D1","level":"warning","message":{"text":"workbench.workbenchCommand (cyclomatic 52): workbench.workbenchCommand has cyclomatic complexity 52 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 34 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":"lib/server/pbl-v3/workbench.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"349a580ea063758046b1a0bf3fd1d7a7df58154eb6092a7a31c0f261418fb318"}},{"ruleId":"D1","level":"warning","message":{"text":"teaching-prompt.buildTeachingPrompt (cyclomatic 52): teaching-prompt.buildTeachingPrompt has cyclomatic complexity 52 (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":"lib/server/pbl-v3/teaching-prompt.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7ec61c2ff5aa41bc3943f9b5896e7c40e8ff4d92dae72c329c387465cb7088"}},{"ruleId":"D1","level":"warning","message":{"text":"mathSerializer.normalizeMathCharToUnicode (cyclomatic 51): mathSerializer.normalizeMathCharToUnicode has cyclomatic complexity 51 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"75516b938cd1858dde0b9e3f41db6e04c4646cb24baa81bd31233b5db79ea90c"}},{"ruleId":"D1","level":"warning","message":{"text":"header-controls.HeaderControls (cyclomatic 50): header-controls.HeaderControls has cyclomatic complexity 50 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/header-controls.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8b9f27fae862f744c414e0a4b2d06744c43e61496a10f3cc1f63c365158527"}},{"ruleId":"D1","level":"warning","message":{"text":"element-reference.projectElement (cyclomatic 50): element-reference.projectElement has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/element-reference.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b43f91db2f9ae617455daebcbc3c35485dade522a10db495707222c0f010bc"}},{"ruleId":"D1","level":"warning","message":{"text":"video-render.useVideoRenderStore (cyclomatic 50): video-render.useVideoRenderStore has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 1 of the 50 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 171, 298, 281, \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":"lib/store/video-render.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"85952d71d2252d372a234fd1c4d954cb104173f478bace0ffbf615d31ee7c87a"}},{"ruleId":"D1","level":"warning","message":{"text":"element-refs.decodeElementRefs (cyclomatic 50): element-refs.decodeElementRefs has cyclomatic complexity 50 (threshold 15). 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, separate the cases: extract each independent branch into its own 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/workbench/element-refs.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bf4ab69fbced7ee77fa01e25b296bdfb44e0c8e9a711df450027958c36df32"}},{"ruleId":"D1","level":"warning","message":{"text":"main.createApp (cyclomatic 50): main.createApp has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 1 of the 50 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 420, 302, 571, \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":"render-service/src/main.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4c9a22cb46ae019a74e4acf27d4f9df7b9ed3a7274b5567005079137cee67c"}},{"ruleId":"D1","level":"warning","message":{"text":"route.GET (cyclomatic 49): route.GET has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 8 of the 49 points are its own statements and the rest belongs to 12 function items inside it that branch (poll, writePage, drainBacklog, \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/api/agent/sessions/[id]/events/route.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb20f89cc55ecad0cfa54d497adbf67ce1b6a148016c98dc31d7b68708202d9"}},{"ruleId":"D1","level":"warning","message":{"text":"instructor.runInstructorTurn (cyclomatic 49): instructor.runInstructorTurn has cyclomatic complexity 49 (threshold 15). Of this number, 43 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":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6045a7677c3cbe46befc3fbd51d9d21be7b2071c58feac7cabc02543fbada9"}},{"ruleId":"D1","level":"warning","message":{"text":"application.applicationRequest (cyclomatic 49): application.applicationRequest has cyclomatic complexity 49 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 31 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":"lib/server/pbl-v3/application.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"484ed3876cbfca82f0697254f11032113b4a895c1cd6e4d3d71e5420712d13ca"}},{"ruleId":"D1","level":"warning","message":{"text":"tts-settings.TTSSettings (cyclomatic 48): tts-settings.TTSSettings has cyclomatic complexity 48 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 7 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":"components/settings/tts-settings.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cf1f42e9f8c48f809124ce843f7826194d1e18739436a8f0bb59441a07c664"}},{"ruleId":"D1","level":"warning","message":{"text":"workbench-split.WorkbenchSplit (cyclomatic 48): workbench-split.WorkbenchSplit has cyclomatic complexity 48 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 20 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/scene-renderers/pbl/v3/workbench-split.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed83faad4189a240475975dc16f0fea5f8dd77fa024474063c35520ceda26ec"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.recordQuizAttempt (cyclomatic 48): runtime.recordQuizAttempt has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 1 of the 48 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 505, 551). 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":"lib/quiz/runtime.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2c5295049245f77a6eb2a1f6e48534aeeb75a16a30e71dd79633c80344eaee"}},{"ruleId":"D1","level":"warning","message":{"text":"outline.streamOutlines (cyclomatic 48): outline.streamOutlines has cyclomatic complexity 48 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/outline.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1dbad58618b09d422096f33593e325a2d78ea878368dd6216fd9469c483981"}},{"ruleId":"D1","level":"warning","message":{"text":"use-workbench-session.useWorkbenchStream (cyclomatic 48): use-workbench-session.useWorkbenchStream has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 1 of the 48 points is its own statement and the rest belongs to 12 function literals inside it that branch (lines 151, 193, 250, \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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ba2c6e1dff0e40c62f4a88b2f979d3e12c431db8c62e8e47b8d86d30a88de2"}},{"ruleId":"D1","level":"warning","message":{"text":"textSerializer.mergeRunProps (cyclomatic 48): textSerializer.mergeRunProps has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"f623f114a71a8679e2b6b7ffe83f08c91b1ebb0735d2b8433799964998eb0b97"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassroomSurface.ClassroomSurfaceContent (cyclomatic 47): ClassroomSurface.ClassroomSurfaceContent has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 12 of the 47 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 100, 234, 185, \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/classroom/ClassroomSurface.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"262e0b26e0dde6b937bf3c916cfbb8ce6aff5c5dca9b89a47a9703e8adaaaaff"}},{"ruleId":"D1","level":"warning","message":{"text":"tts-voice-managers.QwenVoiceCloneManager (cyclomatic 47): tts-voice-managers.QwenVoiceCloneManager has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 13 of the 47 points are its own statements and the rest belongs to 14 function items inside it that branch (startRecording, handleSave, handleFileChange, \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/tts-voice-managers.tsx"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6d588590cd47753e0e6cf049dbc30bdcf42742b9afccc734f502c4c108f488"}},{"ruleId":"D1","level":"warning","message":{"text":"validators.validateAppScene (cyclomatic 47): validators.validateAppScene has cyclomatic complexity 47 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 9 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/document-store/validators.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e949376956cd2d8a75f93150dc066462b1cf21af5ba55d60a4712cd0a8ae6c29"}},{"ruleId":"D1","level":"warning","message":{"text":"derived-state.computePlaybackView (cyclomatic 47): derived-state.computePlaybackView has cyclomatic complexity 47 (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":"lib/playback/derived-state.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a5879f5f6848c5ed5b2139c6a4745ae29d1efd67d2c4b150093cbc9697b6f1"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl-tools.buildDslCourseTools (cyclomatic 47): dsl-tools.buildDslCourseTools has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c8235b3155f5f24b39feb0f443751d4bd9942b1c7e819ba013070da39d0118"}},{"ruleId":"D1","level":"warning","message":{"text":"input.parseRunInput (cyclomatic 47): input.parseRunInput has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/input.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c12c0449d01eb1da01facfe52567662e2dd397939505906ba28a100902b8e0"}},{"ruleId":"D1","level":"warning","message":{"text":"stage-storage.loadFirstSlideThumbnail (cyclomatic 47): stage-storage.loadFirstSlideThumbnail has cyclomatic complexity 47 (threshold 15). Of this number, 45 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/utils/stage-storage.ts"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e8a0eb75bd6a74f20ec7b5c15326fd021b942979071bc2f893f8bcfbcf4cce"}},{"ruleId":"D1","level":"warning","message":{"text":"resize.computeResize (cyclomatic 47): resize.computeResize has cyclomatic complexity 47 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 14 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/core/resize.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"105a736c37fa909464ad16bebb94ca5d845fdde502d2101e4139c79726b92352"}},{"ruleId":"D1","level":"warning","message":{"text":"RendererTableEditor.RendererTableEditor (cyclomatic 47): RendererTableEditor.RendererTableEditor has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 1 of the 47 points is its own statement and the rest belongs to 12 function items inside it that branch (getCellBackground, a function literal at line 224, getHeaderTextColor, \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":"packages/@openmaic/editor/src/react/table/RendererTableEditor.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8909fbb57e230feaed92fed5d57c06fde3b390cf34d36f652c88912add570ac0"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 46): route.POST has cyclomatic complexity 46 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 25 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/sessions/route.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb25435d1ec958672673e1bfff5ad484730346a75a6249b75916cbb27c6d64b9"}},{"ruleId":"D1","level":"warning","message":{"text":"StaticTable.StaticTable (cyclomatic 46): StaticTable.StaticTable has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 5 of the 46 points are its own statements and the rest belongs to 11 function items inside it that branch (getCellBg, a function literal at line 115, getHeaderTextColor, \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/slide-renderer/components/element/TableElement/StaticTable.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0a06d3cd5b4b70e3f90db38c0df56b3bccbc2b5ccda6723ddfdb7c9ff4d309"}},{"ruleId":"D1","level":"warning","message":{"text":"css-asset-parser.collectCssAssetReferencesByRegex (cyclomatic 46): css-asset-parser.collectCssAssetReferencesByRegex has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/css-asset-parser.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"46999362d216035bcb46f6ce5d269c7905d17220956684cdeeb657af6a631618"}},{"ruleId":"D1","level":"warning","message":{"text":"planner.buildTools (cyclomatic 46): planner.buildTools has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 4 of the 46 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 480, 697, 420, \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":"lib/pbl/v2/agents/planner.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98fbf164ecab811786ea1f1a3cf542dd1b31f0bd98a0a745048b1998761057c"}},{"ruleId":"D1","level":"warning","message":{"text":"line-drag.computeLineDrag (cyclomatic 46): line-drag.computeLineDrag has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/core/line-drag.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c5c74610241c13fabdd58a965caa38dc81eb6a027dc3c4780a41dea7efabe"}},{"ruleId":"D1","level":"warning","message":{"text":"textSerializer.runStylesToCssString (cyclomatic 46): textSerializer.runStylesToCssString has cyclomatic complexity 46 (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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"54de7d50b671fc73dc9d89e7f790fd9c444d539e555218082cb167f76fd48a67"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-toolbar.CanvasToolbar (cyclomatic 45): canvas-toolbar.CanvasToolbar has cyclomatic complexity 45 (threshold 15). Of this number, 43 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":"components/canvas/canvas-toolbar.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e07d5d83ad641b9aa79ecbf48d61b2778bd0165a9ad782a151586bf08b7170"}},{"ruleId":"D1","level":"warning","message":{"text":"media.planUploads (cyclomatic 45): media.planUploads has cyclomatic complexity 45 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/media.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57cdd1977f99af5e843babfe4d8b068bb69aefcd42b1cf16f9227dd652808fd"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-preview-gateway.server (cyclomatic 45): sandbox-preview-gateway.server has cyclomatic complexity 45 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sandbox-preview-gateway.mjs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dfbaeced620512e294f92a13cd768e954ce4e9b589757489ef65599212c32c"}},{"ruleId":"D1","level":"warning","message":{"text":"createResourceHandler::handle (cyclomatic 45): createResourceHandler::handle has cyclomatic complexity 45 (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":"render-service/src/resource-owner.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cc78c389edb31a7233d8f1cd0bce2b2429000cbdeb5695d55bfe3286219649"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-area.CanvasArea (cyclomatic 44): canvas-area.CanvasArea has cyclomatic complexity 44 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/canvas-area.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e64b2041f34bcd3e46084720f733b9dabeafd9c23656a30431e6fc63dea04ef"}},{"ruleId":"D1","level":"warning","message":{"text":"folder-card.FolderCard (cyclomatic 44): folder-card.FolderCard has cyclomatic complexity 44 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 22 belong to 11 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/discovery/folder-card.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc1f33edb606a2309c7f5e8637057f33c2126523740368930837ace58e8cce6"}},{"ruleId":"D1","level":"warning","message":{"text":"whiteboard-ledger.buildVirtualWhiteboardContext (cyclomatic 44): whiteboard-ledger.buildVirtualWhiteboardContext has cyclomatic complexity 44 (threshold 15). Of this number, 38 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":"lib/orchestration/summarizers/whiteboard-ledger.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd027b384ea47938cec63d211f7cfdfd8b264ec8976cbe12fe09be26a4c3f56f"}},{"ruleId":"D1","level":"warning","message":{"text":"engine.executeClaimedRun (cyclomatic 44): engine.executeClaimedRun has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (engine.executeClaimedRun::runStep) 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":"lib/server/generation/run/engine.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4687b4741543d91be230e15806b0626c38da692f3ee0a05b39ed2174d3c4784b"}},{"ruleId":"D1","level":"warning","message":{"text":"outlines-editor.OutlinesEditor (cyclomatic 43): outlines-editor.OutlinesEditor has cyclomatic complexity 43 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 25 belong to 11 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/outlines-editor.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a984c3a76d97f5ac7ee80080488977286a535cdf4cc07cf5b99b0b7bd70501"}},{"ruleId":"D1","level":"warning","message":{"text":"asr-settings.ASRSettings (cyclomatic 43): asr-settings.ASRSettings has cyclomatic complexity 43 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 18 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":"components/settings/asr-settings.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74319b6c9c858f339dee1184cd9f475e2edaeb06675fed69c07197bee7b1706"}},{"ruleId":"D1","level":"warning","message":{"text":"providers.getModel::compatFetch (cyclomatic 43): providers.getModel::compatFetch has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (providers.getModel) 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":"lib/ai/providers.ts"},"region":{"startLine":2462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9591e53ab2d895fa9f8533f601a7ea6771555f0961eb876fc9ba264a2193ab8e"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-storage.syncOne (cyclomatic 43): chat-storage.syncOne has cyclomatic complexity 43 (threshold 15). Of this number, 42 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/utils/chat-storage.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0a10a117229b8edb46bc25693c3e292d732e0259b2e3100f0cc0870f997a1a"}},{"ruleId":"D1","level":"warning","message":{"text":"request-schedule.scheduleRequestPreview (cyclomatic 43): request-schedule.scheduleRequestPreview has cyclomatic complexity 43 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/request-schedule.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04f399cbc51a224c25a84e27e58dde56549f82c60029e69982fbfd80a7b4b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"InProcessExecutor.execute (cyclomatic 43): InProcessExecutor.execute has cyclomatic complexity 43 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/render-executor.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"908426ee231ee2d827fddeec2d2439d347b0ab0136841e7b95dba02baba5703d"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-config.translateLegacyConfig (cyclomatic 42): legacy-config.translateLegacyConfig has cyclomatic complexity 42 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 5 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":"lib/server/model-config/legacy-config.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c29540491cf48665bbbe868366d48032a545307297260fb6a8da2e95d602b1"}},{"ruleId":"D1","level":"warning","message":{"text":"interactive-library-mapper.rewriteInteractiveLibraries (cyclomatic 42): interactive-library-mapper.rewriteInteractiveLibraries has cyclomatic complexity 42 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/interactive-library-mapper.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5c3b6c9538b2c7a37677ae40427d895d4c2d4cd4484544f734b18d73b5945b"}},{"ruleId":"D1","level":"warning","message":{"text":"planner-single-call.validateLLMOutput (cyclomatic 42): planner-single-call.validateLLMOutput has cyclomatic complexity 42 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 14 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/planner-single-call.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"323e4700bad7b98da80cf33200184aebe8ebde21029c0f54fa46e64a87c94fd9"}},{"ruleId":"D1","level":"warning","message":{"text":"chartOption.getChartOption (cyclomatic 42): chartOption.getChartOption has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (chartOption.getChartOption::axisOptions) 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":"packages/@openmaic/renderer/src/elements/chart/chartOption.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93a18b796d2d8b121e6baa14ebe0f9aa02c41e9605bcf87fd36853aef2b47f4"}},{"ruleId":"D1","level":"warning","message":{"text":"asset.route (cyclomatic 42): asset.route has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefa0a17501f981dca4021959f4d8fec91d6a71838cd5b19c7a47488304fe104"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-bar.AgentBar (cyclomatic 41): agent-bar.AgentBar has cyclomatic complexity 41 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 25 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/agent/agent-bar.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acaa70630a87dda607a9ea8b98d1763ffe619f3ff192be8a9911b1e8fe0c478"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementCreateSelection.ElementCreateSelection (cyclomatic 41): ElementCreateSelection.ElementCreateSelection has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 6 of the 41 points are its own statements and the rest belongs to 5 function items inside it that branch (createSelection::handleMouseMove, createSelection::handleMouseUp, a function literal at line 130, \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/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"634d5bd4050f26e29a5b9a630b8e4ce6ceedb23c79d7517e91501da9b10b2522"}},{"ruleId":"D1","level":"warning","message":{"text":"element-reference.compactInteractiveSourceHtml (cyclomatic 41): element-reference.compactInteractiveSourceHtml has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 14 of the 41 points are its own statements and the rest belongs to 9 function items inside it that branch (containsInlineBase64, containsInlineBase64::matchesAsciiToken, isExcludedTextParent, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/element-reference.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f2226c48b6a3d5e12e7affac9e7cc1f2705d943c32284f76ac8af2cf478f29"}},{"ruleId":"D1","level":"warning","message":{"text":"project-schema.projectSchema (cyclomatic 41): project-schema.projectSchema has cyclomatic complexity 41 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/project/project-schema.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4125762a9af98079d9ffda35c0e7357ba426b146e6886a436aa749bc0ad794"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-generator.generateWidgetContent (cyclomatic 41): scene-generator.generateWidgetContent has cyclomatic complexity 41 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f4ff97f5b2afa1593fa925b2fbe0cb63fe519fe9c5b7e6f8b886cc5b5e4ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 40): route.POST has cyclomatic complexity 40 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/generate/voice/route.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef9ae139bb315e342a517fa8fadf8adf41a65dfb7ed1ce5dabf049a10fbbfd0"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionsBar.ActionsBar (cyclomatic 40): ActionsBar.ActionsBar has cyclomatic complexity 40 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 24 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf2c96f1c1f05271800be17493452fa54992cf8d9fd32bd64e429319e817644"}},{"ruleId":"D1","level":"warning","message":{"text":"use-project-editor.useProjectEditor.load (cyclomatic 40): use-project-editor.useProjectEditor.load has cyclomatic complexity 40 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 15 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-project-editor.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a4f88888de86ef9ecab1a5d7f46ad07bf5078dec519e989be359daeb8c81bc"}},{"ruleId":"D1","level":"warning","message":{"text":"quiz-view.MultipleChoiceQuestion (cyclomatic 40): quiz-view.MultipleChoiceQuestion has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 2 of the 40 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 353, toggle). 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/scene-renderers/quiz-view.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b353fed8742d4db69a3475fd1347daaf6a4b61dae8847814ced0b581d59875c"}},{"ruleId":"D1","level":"warning","message":{"text":"native-whiteboard.buildNativeWhiteboardTools (cyclomatic 40): native-whiteboard.buildNativeWhiteboardTools has cyclomatic complexity 40 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 24 belong to 13 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":"lib/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"08376068484dc6a536e1d7b0970e05d1ebc4930bdf384fab6b8c174f5f0d13f4"}},{"ruleId":"D1","level":"warning","message":{"text":"reducer.applyRunEvent (cyclomatic 40): reducer.applyRunEvent has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/generation-run-client/reducer.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c5657e2de196b460e1c479d54b070a0b2deb6493f1b0a726564503ac3de00f"}},{"ruleId":"D1","level":"warning","message":{"text":"use-run-course.useRunCourse (cyclomatic 40): use-run-course.useRunCourse 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 12 function literals inside it that branch (lines 201, 180, 156, \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":"lib/generation-run-client/use-run-course.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44114ea21bcb048abd582a6b2a09ca207f071d7ec61f6104895e7d2b5c4e60b"}},{"ruleId":"D1","level":"warning","message":{"text":"transition.completeCurrentStage (cyclomatic 40): transition.completeCurrentStage has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"d563b23cc6668db5885bbf89e24fe6d20ac7d52dc77ee2b49dab61a2a6133497"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-tts.synthesizeSceneNarration (cyclomatic 40): scene-tts.synthesizeSceneNarration has cyclomatic complexity 40 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 20 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":"lib/server/agent-runtime/scene-tts.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cad086f01d3fd996447447d528e1e895d7fd47060758b5acd11c013f180f48"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.validateSchema (cyclomatic 40): validate.validateSchema has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a351f8cafb010f9a33861c174ee8729178e267b0080d0784af026ac1a859ff7c"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-generator.generateSlideContent (cyclomatic 40): scene-generator.generateSlideContent has cyclomatic complexity 40 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"2464a896997bd83bdff6e6495a8d19604ad6cfd2caa511b15e2e9debc5952ffa"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 39): route.POST has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 2 of the 39 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 200, context, reject, \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/api/materials/route.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ff87f59588216f12d4dc3dbf26dec1699fa7c1d8fe641c289d8d6e64009c7d"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionsBar.SpeechTtsBar (cyclomatic 39): ActionsBar.SpeechTtsBar has cyclomatic complexity 39 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 23 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb140b11bc3abffcd3cb2bfe2ba803a0ba7f76e047c19c3d1927b92224664fba"}},{"ruleId":"D1","level":"warning","message":{"text":"model-picker.ModelPicker (cyclomatic 39): model-picker.ModelPicker has cyclomatic complexity 39 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 21 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/model-picker.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2db8f9a466b4186d4735d586d354c42b534cd9404010a999f7292b01bc0f67"}},{"ruleId":"D1","level":"warning","message":{"text":"quiz-view.SingleChoiceQuestion (cyclomatic 39): quiz-view.SingleChoiceQuestion has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 243, 252). 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/scene-renderers/quiz-view.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb5afca1665fe42c61e7ece36c52a04ee1a40c6503963e1df8f3f1fba1e945e"}},{"ruleId":"D1","level":"warning","message":{"text":"useScaleElement.useScaleElement.scaleElement::handleMouseMove (cyclomatic 39): useScaleElement.useScaleElement.scaleElement::handleMouseMove has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (useScaleElement.useScaleElement.scaleElement) 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":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6f4cd6d8ce22c1d61f4b43b061cdd32e432b209793fc2626c2a30fa62a1992"}},{"ruleId":"D1","level":"warning","message":{"text":"use-tree-drag.useTreeDrag (cyclomatic 39): use-tree-drag.useTreeDrag has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 138, 170, 196, \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/workbench/workspace/use-tree-drag.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b442ab6825daa80b22c2276c68fe947af7760000565053abd3e5b6c9a4f3f90"}},{"ruleId":"D1","level":"warning","message":{"text":"run-native-child.runNativeChild (cyclomatic 39): run-native-child.runNativeChild has cyclomatic complexity 39 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 16 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":"lib/agent/runtime/run-native-child.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"84830230cc6243eaa82f400f7742a92c3a492de80cba6f722cbb71f8e0d39d37"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.executeSession::emit (cyclomatic 39): runner.executeSession::emit has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (runner.executeSession) 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":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6371ebaf15c21bc48aace8f56b19701d597f12b56e0ec9ac1af34e040346d666"}},{"ruleId":"D1","level":"warning","message":{"text":"request-activity.requestTrack (cyclomatic 39): request-activity.requestTrack has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/request-activity.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d120a3825b87a632004f6985365340425f606e20d7362860f6cbfbb99a55958e"}},{"ruleId":"D1","level":"warning","message":{"text":"interactive-library-mapper.mapInteractiveLibraryUrl (cyclomatic 39): interactive-library-mapper.mapInteractiveLibraryUrl has cyclomatic complexity 39 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/interactive-library-mapper.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"16205c46ef688ecdb90d01d9eaefc4392e0e2b8135acba1b0beeae991111df6b"}},{"ruleId":"D1","level":"warning","message":{"text":"mtef.parseObjectList (cyclomatic 39): mtef.parseObjectList has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5cc8d37b86663a067d68fb36fbef91c5787e45c7a56a0a273d63fff21f208f"}},{"ruleId":"D1","level":"warning","message":{"text":"model-picker.InlineThinkingControl (cyclomatic 38): model-picker.InlineThinkingControl has cyclomatic complexity 38 (threshold 15). Of this number, 30 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/settings/model-picker.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad457dad1c790a566faa20123d8a9a843d73392907ca15e318ee9666d0198dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ShapeElement (cyclomatic 38): index.ShapeElement has cyclomatic complexity 38 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 10 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/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c887916251175901bd7b45693c43dcd997411d43060850a4e99a0ecc573e216b"}},{"ruleId":"D1","level":"warning","message":{"text":"useMouseSelection.useMouseSelection.updateMouseSelection::handleMouseUp (cyclomatic 38): useMouseSelection.useMouseSelection.updateMouseSelection::handleMouseUp has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useMouseSelection.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a386114413d3635274cd8a96625eb05f9c539f858e293dadd31851d8218dca5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Canvas (cyclomatic 38): index.Canvas has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 11 of the 38 points are its own statements and the rest belongs to 9 function items inside it that branch (handleClickBlankArea, handleDblClick, contextmenus, \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/slide-renderer/Editor/Canvas/index.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a243b59b0eb4d7ed472c1fba4db872208460264c36688f6bf5ef39de17551d"}},{"ruleId":"D1","level":"warning","message":{"text":"llm.callLLM (cyclomatic 38): llm.callLLM has cyclomatic complexity 38 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/llm.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3780717b37e692c4f969f7fbe92deddddbfdcab1f84a1210c008542e45ac30"}},{"ruleId":"D1","level":"warning","message":{"text":"call-agent.validateActionParams (cyclomatic 38): call-agent.validateActionParams has cyclomatic complexity 38 (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":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0791491de6e988d246c272d9d38e223121685592782d5c935a6d392002650ebd"}},{"ruleId":"D1","level":"warning","message":{"text":"director-loop.runPiDirectorLoop (cyclomatic 38): director-loop.runPiDirectorLoop has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 13 of the 38 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 223, a function literal at line 77, isTeachingSubstantiveTurn, \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":"lib/chat/pi/director-loop.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"83701a41a2c2cd08c1c7fb6197a9111214359266deca39b685ae80888913eeb7"}},{"ruleId":"D1","level":"warning","message":{"text":"openmaic-yml.crossCheck (cyclomatic 38): openmaic-yml.crossCheck has cyclomatic complexity 38 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 13 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":"lib/server/model-config/openmaic-yml.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee70d90bab48f3e76b85b423f459b7fe65f6c32962c311967afc469c8a41dad1"}},{"ruleId":"D1","level":"warning","message":{"text":"collect.resolveGeneratedMedia (cyclomatic 38): collect.resolveGeneratedMedia 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/video-export-app/collect.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee45ceb0e4c44870b48c493f805ff00b2f80746776166ec45c4624e97f935d4"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-session.ChatSessionComponent (cyclomatic 37): chat-session.ChatSessionComponent has cyclomatic complexity 37 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 20 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/chat-session.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d95d92a4ba667545a525744096b778ead32b17c628ab4a20a56a2244384dda"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-settings.SandboxSettings (cyclomatic 37): sandbox-settings.SandboxSettings has cyclomatic complexity 37 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 16 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/sandbox-settings.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f71014cfc0bf202a4b2f323f29986eb13f4c3f46fb1d4e0001ea11007ecb0e8"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-activity.ToolCard (cyclomatic 37): tool-activity.ToolCard has cyclomatic complexity 37 (threshold 15). Of this number, 35 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":"components/scene-renderers/pbl/v3/tool-activity.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5da9cb85c0a3538eeaf5f627e4db8a0d42a967bb99ae23c891ef1b775d39d00"}},{"ruleId":"D1","level":"warning","message":{"text":"useDragLineElement.useDragLineElement.dragLineElement::handleMouseMove (cyclomatic 37): useDragLineElement.useDragLineElement.dragLineElement::handleMouseMove has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useDragLineElement.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad85a20d43ec0a2dbfe2ecf2bf80f058c8521f402613ec97e07fc76af7db894"}},{"ruleId":"D1","level":"warning","message":{"text":"stream-fn.pump (cyclomatic 37): stream-fn.pump has cyclomatic complexity 37 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 18 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/agent/runtime/stream-fn.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbb0d2e91614fb3e9616d9eeb7b683d560b823b12d860345feb18aa5079bc1e"}},{"ruleId":"D1","level":"warning","message":{"text":"interactive-state-evidence.attachInteractiveState (cyclomatic 37): interactive-state-evidence.attachInteractiveState has cyclomatic complexity 37 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/interactive-state-evidence.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cb7a48cb2c2a3082d7268f401ffb87ba177d46590fa601898e3f5cc14ef3b5"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-clone-tools.buildVoiceCloneTools (cyclomatic 37): voice-clone-tools.buildVoiceCloneTools has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 6 of the 37 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 376, a function literal at line 315, recordRegisteredVoice, \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":"lib/server/agent-runtime/voice-clone-tools.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9e94f11c2586d304d4c3acb417a483b2d74cac6b519cdae5f2d27b5118a2cc"}},{"ruleId":"D1","level":"warning","message":{"text":"event-stream.learningEventResponse (cyclomatic 37): event-stream.learningEventResponse has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 2 of the 37 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 80, subscribe, a function literal at line 57, \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":"lib/server/pbl-v3/event-stream.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dcf9a28f22ac4f5a3203beab46830884f6ebd9a48216466a869b96f492d852"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.validateWhiteboardRuntimePayload (cyclomatic 37): validate.validateWhiteboardRuntimePayload has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b582e7803bfacc9b49e0494fd654ec8d3e2e680d8c86900d860f6bfdfd538e68"}},{"ruleId":"D1","level":"warning","message":{"text":"textSerializer.mergeParagraphProps (cyclomatic 37): textSerializer.mergeParagraphProps has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2b90e9c3a9afe4ff7ed8d97e1c5e46f91831ffae52b9a74dc2b3fe2a26cc76"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideNavRail.SlideNavRail (cyclomatic 36): SlideNavRail.SlideNavRail has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 15 of the 36 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 244, 105, 139, \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/edit/SlideNavRail/SlideNavRail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aa2bf6f85842111a34a51ce7adfb8367090d61040cab8aee9d7dab81562656"}},{"ruleId":"D1","level":"warning","message":{"text":"narration-tts.generateAndStoreTTS (cyclomatic 36): narration-tts.generateAndStoreTTS has cyclomatic complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 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":"lib/audio/narration-tts.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"be096be447ca76e1d1b473f26230595ed7410c4af6f8c5e5a72ce2dce2c4c551"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-resolver.getEnabledProvidersWithVoices (cyclomatic 36): voice-resolver.getEnabledProvidersWithVoices has cyclomatic complexity 36 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/voice-resolver.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b4195aac7c05de604ded4f76bca2458591fbb52aaa720d54be39e9c9bf3998"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-generator.generateSceneActions (cyclomatic 36): scene-generator.generateSceneActions has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"04886bc1a7da280e9ea2a14945f4f079628e8860b6788765ccc172bc164a92a2"}},{"ruleId":"D1","level":"warning","message":{"text":"StyleResolver.resolveLineStyle (cyclomatic 36): StyleResolver.resolveLineStyle has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdd281f20788f728dd3667e2a554eb9146a088faddc21a3c8e9f411b8d9a71a"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpAssetStore.fetchBytes (cyclomatic 36): HttpAssetStore.fetchBytes has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc9e5573a7f525e72e37718583c486a7ac059872081c6576542f87cd5348db5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.TextElement (cyclomatic 35): index.TextElement has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 11 of the 35 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 86, a function literal at line 51, a function literal at line 159, \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/slide-renderer/components/element/TextElement/index.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df7ff24d7264a3580c132df40600a64f36181f7a3f89a644b0a114fb9d8a15a"}},{"ruleId":"D1","level":"warning","message":{"text":"chartOption.getChartOption (cyclomatic 35): chartOption.getChartOption has cyclomatic complexity 35 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 6 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adb6abfc7b79e3b82fd47e0c5cd03998b11f4f99fcab032cb5e7b2e0480825c"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation.evaluationReceipt (cyclomatic 35): evaluation.evaluationReceipt has cyclomatic complexity 35 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 16 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/evaluation.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad9600153f443f047ccf216801813a24e1e0366c7078f39baea41eb1c145a29"}},{"ruleId":"D1","level":"warning","message":{"text":"context-projection.createTeachingContextProjection.prepare (cyclomatic 35): context-projection.createTeachingContextProjection.prepare 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":"lib/server/pbl-v3/context-projection.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e0fc1a4d095d4bbad8f2825a4d81aefb47ed7dcc0f262e0dd2d37e8b224b92"}},{"ruleId":"D1","level":"warning","message":{"text":"tableSerializer.getStyleSections (cyclomatic 35): tableSerializer.getStyleSections has cyclomatic complexity 35 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c538da9d61e1015912a053c09b7dadc165664f8d7931f53d63ec5993492c8c"}},{"ruleId":"D1","level":"warning","message":{"text":"svgPathParser.getSvgPathRange (cyclomatic 35): svgPathParser.getSvgPathRange has cyclomatic complexity 35 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 3 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/@openmaic/importer/src/openmaic/utils/svgPathParser.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"14170c5d8aad52dae8255f152861184bd40fd1b4284ce3dbab641fbc640a0d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"json-value.findNonJsonValue (cyclomatic 35): json-value.findNonJsonValue 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":"packages/@openmaic/storage/src/runtime/json-value.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5a2f92e009dbb1107aee3acd67b00b89edcc785c004b86684051247ee19f07"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-lab.SandboxLab (cyclomatic 34): sandbox-lab.SandboxLab has cyclomatic complexity 34 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 17 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sandbox-lab/sandbox-lab.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2b393c165a3ecd66a92596a520e221fc48a31e7a98fcc2ff25374194484536"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionEngine.execute (cyclomatic 34): ActionEngine.execute has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/action/engine.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bcd2116d66fe547471b32a2c1278e67bf211cdc7dbc5fc91fc402a58b6115b"}},{"ruleId":"D1","level":"warning","message":{"text":"qwen-voice-clone.downloadAudio (cyclomatic 34): qwen-voice-clone.downloadAudio has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/audio/qwen-voice-clone.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e077738982c7ae47348660b43c15af8f971fe5b88a28bce7b92a7cbbce2978"}},{"ruleId":"D1","level":"warning","message":{"text":"use-export-classroom.buildClassroomExportSnapshot (cyclomatic 34): use-export-classroom.buildClassroomExportSnapshot has cyclomatic complexity 34 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 13 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":"lib/export/use-export-classroom.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48fb6f97dcc2002c7bb5daadf63c6eed89c7be261864db9c5ee2ee0f680c5d5"}},{"ruleId":"D1","level":"warning","message":{"text":"package-client.readClassroomProjects (cyclomatic 34): package-client.readClassroomProjects has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/package-client.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"54518a02a4de126d9fe31cbc544c01d24dc0ccf4af924c47d971c816dd25c273"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.checkOutlineAgainstSkill (cyclomatic 34): skills.checkOutlineAgainstSkill has cyclomatic complexity 34 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/skills.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce95cff715b9b91262d0d70cf6d85137f1e56c70e65b9ae842aad6fc829fd817"}},{"ruleId":"D1","level":"warning","message":{"text":"course-issues.collectCourseIssues (cyclomatic 34): course-issues.collectCourseIssues has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/dsl/src/course-issues.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af0bf828827aa4a50172cf21776bc509c21aaf35b697ae6973bcaaeb27e5ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementInteractionLayer.ElementInteractionTarget (cyclomatic 34): ElementInteractionLayer.ElementInteractionTarget has cyclomatic complexity 34 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 9 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/@openmaic/editor/src/react/layers/ElementInteractionLayer.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd874391f366cb2e2702cbd386606721dea1200c3bcff9b65ca2404461773fa"}},{"ruleId":"D1","level":"warning","message":{"text":"outlines-editor.SceneRow (cyclomatic 33): outlines-editor.SceneRow has cyclomatic complexity 33 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/outlines-editor.tsx"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7db4798c2ada1a1f117c6ea23b369b59d300b3529413d906ffb6832c1b452d"}},{"ruleId":"D1","level":"warning","message":{"text":"model-services.ModelServicesPanel (cyclomatic 33): model-services.ModelServicesPanel has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 14 of the 33 points are its own statements and the rest belongs to 6 function items inside it that branch (header, a function literal at line 149, a function literal at line 146, \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/model-services.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4241dc079e5a723f4fa9a4c8d7321ae5f52658528451f1e4a20e319185fae2"}},{"ruleId":"D1","level":"warning","message":{"text":"index.SettingsDialog (cyclomatic 33): index.SettingsDialog has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 9 function items inside it that branch (getHeaderContent, listed, a function literal at line 104, \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/index.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"97987e1482f63c6e6737c46b55f9da1723a65d087c3b7f7371132ef29b6b552f"}},{"ruleId":"D1","level":"warning","message":{"text":"classroom-complete.ClassroomCompletePage (cyclomatic 33): classroom-complete.ClassroomCompletePage has cyclomatic complexity 33 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 9 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/classroom-complete.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"659bf040450719eb0704065b7e3199f8ddc4eb9279b6f84db31fbe8193fec1b0"}},{"ruleId":"D1","level":"warning","message":{"text":"audio-duration.measureMp3Duration (cyclomatic 33): audio-duration.measureMp3Duration has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/audio-duration.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf07366c375697460e28fcdae5272c2598821ff36bc1a66e93b6138e5c37c6bb"}},{"ruleId":"D1","level":"warning","message":{"text":"html-asset-inventory.analyzeHtmlAssetInventory::visit (cyclomatic 33): html-asset-inventory.analyzeHtmlAssetInventory::visit has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/html-asset-inventory.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ec5aa2c00456eb33039f07579dfecc7875ae505428a05ae72518b2b66028da"}},{"ruleId":"D1","level":"warning","message":{"text":"use-discussion-tts.useDiscussionTTS.processQueue (cyclomatic 33): use-discussion-tts.useDiscussionTTS.processQueue has cyclomatic complexity 33 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/use-discussion-tts.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8044c2b5ee886452b64674d1861051050a6961eba16a5d41659e2839ad784c00"}},{"ruleId":"D1","level":"warning","message":{"text":"use-import-classroom.useImportClassroom.handleFileChange (cyclomatic 33): use-import-classroom.useImportClassroom.handleFileChange has cyclomatic complexity 33 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/import/use-import-classroom.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c433df7ef6e794e6da85673fb4875ec717424140aa62991dd06120cd29f7fa83"}},{"ruleId":"D1","level":"warning","message":{"text":"generate-video.patchStageVideoPlaceholder (cyclomatic 33): generate-video.patchStageVideoPlaceholder has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 8 of the 33 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 520, isReplaceableSrc, isReplaceablePoster). 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":"lib/server/agent-runtime/generate-video.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf67e6bb7abf298864e70a6fe0a8ef348a1e5328f598a997427fb159ea3653f"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 33): App.App has cyclomatic complexity 33 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 13 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":"lib/standalone-player/App.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3303bf8e6d340312aab61836eb3fb9e3ced0f32db1fe9f19da167b5014938db"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-storage.saveChatSessions (cyclomatic 33): chat-storage.saveChatSessions has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 5 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 1006). 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":"lib/utils/chat-storage.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"3577966e4fcb8fac57c8e487d3c4ea0a9b539fd834204402b3cace74165ef40a"}},{"ruleId":"D1","level":"warning","message":{"text":"stage-storage.saveStageDataIncremental (cyclomatic 33): stage-storage.saveStageDataIncremental has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 406, 377, 408, \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":"lib/utils/stage-storage.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e5e9a02df15e24dd5409133a9b2ef97761aa041509706e6ba51816ca00dbb4"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.assertLosslessJson (cyclomatic 33): validate.assertLosslessJson has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82f5a1cfed0cdabeda93b0060bf7702b58bbe6fb2cb32ae0c68835b98375ba1"}},{"ruleId":"D1","level":"warning","message":{"text":"ZipParser.parseZip (cyclomatic 33): ZipParser.parseZip has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 11 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 303). 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/@openmaic/importer/src/parser/ZipParser.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd848678023392147c89377b57045cdd125da46fcec02b1d717ecf0e3793e6c"}},{"ruleId":"D1","level":"warning","message":{"text":"StaticTable.StaticTable (cyclomatic 33): StaticTable.StaticTable has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 5 function items inside it that branch (getCellBg, a function literal at line 90, getHeaderTextColor, \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":"packages/@openmaic/renderer/src/elements/table/StaticTable.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff39aa98144390d9217d27b92a909d43105aedbe47e30deaf8df9c1a5cdf6b7f"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 32): route.POST 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":"app/api/verify-pdf-provider/route.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"230f051124429c564cfb087e9bbd6a17be6af31243f965aab919a3215426aafc"}},{"ruleId":"D1","level":"warning","message":{"text":"use-chat-sessions.useChatSessions.sendMessage (cyclomatic 32): use-chat-sessions.useChatSessions.sendMessage has cyclomatic complexity 32 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/use-chat-sessions.ts"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bc387835e953119a13f42c03acf6e603d0e0d3cd72aa30652874a27f70d50e"}},{"ruleId":"D1","level":"warning","message":{"text":"quiz-view.QuizView (cyclomatic 32): quiz-view.QuizView has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 11 of the 32 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 795, 749, 840, \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/scene-renderers/quiz-view.tsx"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18e93d317539ef98b771eace4c55504ee21fb2951be33bc4d86627f219095c3"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseCodeElement.BaseCodeElement (cyclomatic 32): BaseCodeElement.BaseCodeElement has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 6 of the 32 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 502, 539, 381, \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/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"94170931208753e2359774142f203c0df264583e9f258e91bf64e1668f544d6e"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamBuffer.tick (cyclomatic 32): StreamBuffer.tick 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/buffer/stream-buffer.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4f9e2ff2f59a3eeafc4e085a5a9f00d04d0b0769bf2477787f543ad8778561"}},{"ruleId":"D1","level":"warning","message":{"text":"use-audio-recorder.useAudioRecorder.startRecording (cyclomatic 32): use-audio-recorder.useAudioRecorder.startRecording has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 15 of the 32 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 260, 237, 303, \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":"lib/hooks/use-audio-recorder.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2ce3c68f659d79d54b922c006d52ef743cca637df280f2d1e6fb87bae29aa4"}},{"ruleId":"D1","level":"warning","message":{"text":"model-settings-import.unimportedItems (cyclomatic 32): model-settings-import.unimportedItems has cyclomatic complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00f7d678aa5fd0cc4b793ee13d72d2b4a7728e31ac76ec8e5c085706eab269d"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl-tools.validationError (cyclomatic 32): dsl-tools.validationError 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/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc82bc1ee92311e84b047c8e374aaf84a6bc965dc2ea927f2781f5119092697"}},{"ruleId":"D1","level":"warning","message":{"text":"action-parser.parseActionsFromStructuredOutput (cyclomatic 32): action-parser.parseActionsFromStructuredOutput 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":"packages/@openmaic/generation/src/action-parser.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d67009af552066ba557fef235c2bfe70d6b702527446bc3fda124112db3055"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-generator.extractInteractiveElements (cyclomatic 32): scene-generator.extractInteractiveElements 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":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c900a01df6ca9eae8dc071fa023f9fa64bc636909fe82f0bdf632fa5a22938"}},{"ruleId":"D1","level":"warning","message":{"text":"shape-text-fallback.shapeToTextFallback (cyclomatic 32): shape-text-fallback.shapeToTextFallback has cyclomatic complexity 32 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 6 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/@openmaic/geometry/src/shape-text-fallback.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ebe86b4da03f7405d9f8d396a87745837c8074b67a5a9196522e6bcbf6077b"}},{"ruleId":"D1","level":"warning","message":{"text":"StyleResolver.resolveColorUncached (cyclomatic 32): StyleResolver.resolveColorUncached 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":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"080607c926c887f219f6d3c468b14292d42b3abee70694252d70d4f9d3a278d8"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideElement.SlideElementContent (cyclomatic 32): SlideElement.SlideElementContent has cyclomatic complexity 32 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/SlideElement.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d055d7ad7068dae67e053bd2f9849fc1497317721394cccdd9200f3afe38485d"}},{"ruleId":"D1","level":"warning","message":{"text":"state-context.summarizeElement (cyclomatic 31): state-context.summarizeElement has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/orchestration/summarizers/state-context.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafc4fb328bd6aeff2a265ccacb135ea302b3348ee86ee2fbb328c16189772fc"}},{"ruleId":"D1","level":"warning","message":{"text":"fold.applyRuntimeEvent (cyclomatic 31): fold.applyRuntimeEvent has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/runtime/fold.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f581645b768b21945511c7abe73974f4b878bb76f72d9baa2e61988302f3c9b4"}},{"ruleId":"D1","level":"warning","message":{"text":"transition.allowedStudentActions (cyclomatic 31): transition.allowedStudentActions has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2d51e8d3a19a64dd94d897c0eed310b11df5c480aab9681ca44801dd3d2edb"}},{"ruleId":"D1","level":"warning","message":{"text":"import-pptx.buildImportPptxTool.execute (cyclomatic 31): import-pptx.buildImportPptxTool.execute has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/import-pptx.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ac2fcfe28aed400d3e2af2a76ba07cc613160bd657d5c0b90c799304b64ef7"}},{"ruleId":"D1","level":"warning","message":{"text":"model-routes.parseRouteValue (cyclomatic 31): model-routes.parseRouteValue has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-routes.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"353656db6ef341ea921fae8e8ef1c39676076efa14baf77da598face6950e7d0"}},{"ruleId":"D1","level":"warning","message":{"text":"textSerializer.autoFitLineHeight (cyclomatic 31): textSerializer.autoFitLineHeight has cyclomatic complexity 31 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5386804310b488f9141df1569060d41fa35ff203346c5eae1ac04a5a388376"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-bar.AgentVoicePill (cyclomatic 30): agent-bar.AgentVoicePill has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 275, 123, 98, \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/agent/agent-bar.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc93e7aff15cfaf1b00686000705c179666075a3737180980c95e46d746abb25"}},{"ruleId":"D1","level":"warning","message":{"text":"task-dock.TaskDock (cyclomatic 30): task-dock.TaskDock has cyclomatic complexity 30 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 13 belong to 8 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/task-dock.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c986f4a18d0fdee3e57985595c7a93b2a6cce9acd62c18ee8be3f2954e1a583"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Whiteboard (cyclomatic 30): index.Whiteboard has cyclomatic complexity 30 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 11 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":"components/whiteboard/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d589e2119437f8349043aba43509a0eed5322796df331f08c86afb8aa0ad57e"}},{"ruleId":"D1","level":"warning","message":{"text":"question-form.QuestionForm (cyclomatic 30): question-form.QuestionForm has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 7 of the 30 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 162, 120, 98, \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/workbench/chat/question-form.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bb9ff0052bada2152ba671054658c9246a41bc2d132e843e947c54f9dd003a"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.runScenario (cyclomatic 30): runner.runScenario has cyclomatic complexity 30 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb518e5f6ef2cb27c0eb94b4fd3735228e17deb97b31bb1197e96b6d2b330c81"}},{"ruleId":"D1","level":"warning","message":{"text":"timeline.actionDurationMs (cyclomatic 30): timeline.actionDurationMs has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/timeline.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4672dbbbc156c556e8469b664c30ee803edb480af501b7b9e5a4532ed858432b"}},{"ruleId":"D1","level":"warning","message":{"text":"migration.migrateLocked (cyclomatic 30): migration.migrateLocked has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 8 of the 30 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 471, 404). 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":"lib/document-store/migration.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5808a0e61cfd7bcf9871624213a08b3cce334656b291c4a0c80c7393aa72db"}},{"ruleId":"D1","level":"warning","message":{"text":"user-messages.readAgentMessageLog (cyclomatic 30): user-messages.readAgentMessageLog has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/user-messages.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"027c032a6cc6d5f2aab679b6551bb5c61213cc41e98bd15e9dafd9f6043179c7"}},{"ruleId":"D1","level":"warning","message":{"text":"product-context.teachingProductContext (cyclomatic 30): product-context.teachingProductContext has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/product-context.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"618ca5d4ff866ea28d83ea4a4ffecc4f190624376d1bfd668a9539dd73f2a6ef"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve-model.resolveRequestedModel (cyclomatic 30): resolve-model.resolveRequestedModel has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/resolve-model.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6ad0830f06227a6ee710c6fedd92121f179ba385a483ce004bbd5b38054510"}},{"ruleId":"D1","level":"warning","message":{"text":"element-refs.useElementRefsStoreBase (cyclomatic 30): element-refs.useElementRefsStoreBase 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 9 function literals inside it that branch (lines 140, 127, 92, \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":"lib/store/element-refs.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b341046187bbbbf30b807e876bf5a6199525fcd8341eae6d2018ba55907f1b"}},{"ruleId":"D1","level":"warning","message":{"text":"useEditGesture.useEditGesture.onElementPointerDown (cyclomatic 30): useEditGesture.useEditGesture.onElementPointerDown has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 8 of the 30 points are its own statements and the rest belongs to 8 function items inside it that branch (handleUp, handleMove, compute, \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":"packages/@openmaic/editor/src/react/useEditGesture.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3fc97a343045c8b8f102f5527f3019e63beca028bfcbc84680a9c3280af755"}},{"ruleId":"D1","level":"warning","message":{"text":"tableSerializer.tableToElement.data (cyclomatic 30): tableSerializer.tableToElement.data 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 one function literal inside it that branches (line 506). 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/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"f099bb7de85d93757b8d729127ecbed48b9c925441183576d2fab4e050dc3348"}},{"ruleId":"D1","level":"warning","message":{"text":"chunk-executor.createRenderPlan (cyclomatic 30): chunk-executor.createRenderPlan has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/chunk-executor.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"4818ced3928efb90fa0a0a7aad0bc2f35c88fa31d671429012825a82b5b5e0ba"}},{"ruleId":"D1","level":"warning","message":{"text":"speech-button.SpeechButton (cyclomatic 29): speech-button.SpeechButton has cyclomatic complexity 29 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 5 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":"components/audio/speech-button.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f39db5e637a29061bdd3d0c25c086cfb159c8a36de3af2e24b57b4404b7a32a"}},{"ruleId":"D1","level":"warning","message":{"text":"station-node.SlotLine (cyclomatic 29): station-node.SlotLine has cyclomatic complexity 29 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/station-node.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3958db5704489d99fab1b07e0829df6898e8e7971320b4044da239cb7569d244"}},{"ruleId":"D1","level":"warning","message":{"text":"useMoveShapeKeypoint.useMoveShapeKeypoint.moveShapeKeypoint (cyclomatic 29): useMoveShapeKeypoint.useMoveShapeKeypoint.moveShapeKeypoint has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 69, handleMouseUp, handleMouseMove). 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/slide-renderer/Editor/Canvas/hooks/useMoveShapeKeypoint.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ba8ec2712f60ee6523e5275b370c841dc13af5280345d992cdf2a3e7711390"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.main (cyclomatic 29): runner.main has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 856, 914). 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf169df9d35d9488ccde61b66b838ba1089b4c858a9cc0d8d7fe279f520e542e"}},{"ruleId":"D1","level":"warning","message":{"text":"providers.getModel (cyclomatic 29): providers.getModel has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (providers.getModel::compatFetch) 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":"lib/ai/providers.ts"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e72be124f45fcce80393bdc2cad4bea183046b97af71b915e8de95484f9b70c"}},{"ruleId":"D1","level":"warning","message":{"text":"structured-output.parseStructuredChunk (cyclomatic 29): structured-output.parseStructuredChunk has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/chat/structured-output.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ec66e352337878b647fe360b6e7840e0a43f0b02f86dc0f0f15bfe9ed246c1"}},{"ruleId":"D1","level":"warning","message":{"text":"state-context.buildStateContext (cyclomatic 29): state-context.buildStateContext has cyclomatic complexity 29 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 9 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":"lib/orchestration/summarizers/state-context.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"526ad9d18c6b3f912e68366645c6cfeb3ad41093233866595cbde30a29116778"}},{"ruleId":"D1","level":"warning","message":{"text":"owner-bound-document-store.createOwnerBoundDocumentStore::withTransaction (cyclomatic 29): owner-bound-document-store.createOwnerBoundDocumentStore::withTransaction has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/persistence/owner-bound-document-store.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a58ac508b8b94a424201b8f91993780ff7a0baf3ba229e52894f8381bae19df"}},{"ruleId":"D1","level":"warning","message":{"text":"sse.polledEventStream (cyclomatic 29): sse.polledEventStream has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 7 of the 29 points are its own statements and the rest belongs to 8 function items inside it that branch (write, read, clear, \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":"lib/server/generation/run/sse.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb36e361839f179f6d5c39fc94a5d9d2d405c71b3fdf34146724bc1a133cca4"}},{"ruleId":"D1","level":"warning","message":{"text":"environment.recoveredProgress (cyclomatic 29): environment.recoveredProgress has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/environment.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3f5d089c148c808003cf12acb1d0d0458246f01d02fa7452c4c8bc05587e41"}},{"ruleId":"D1","level":"warning","message":{"text":"runner-tools.teachingRunnerConfig.tool.execute (cyclomatic 29): runner-tools.teachingRunnerConfig.tool.execute has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 266, 233, 244). 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":"lib/server/pbl-v3/runner-tools.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf2e8da19006f47d51af7de231d872ae9d2fac14c21575ce9c5e520ca8be3d7"}},{"ruleId":"D1","level":"warning","message":{"text":"ssrf-guard.tunnelEmbeddedIPv4 (cyclomatic 29): ssrf-guard.tunnelEmbeddedIPv4 has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/ssrf-guard.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"14142f6e866b012d7926ff03620322c8023b25e479d9e43437e263fa29eeb71a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.applyOperation (cyclomatic 29): index.applyOperation has cyclomatic complexity 29 (threshold 15). Of this number, 28 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":"packages/@openmaic/editor/src/core/index.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8b6801a3b5aa8fcdc9c43e25841511a565f48f1d44188ed1d11d0228657844"}},{"ruleId":"D1","level":"warning","message":{"text":"eqFieldParser.eqToPlain (cyclomatic 29): eqFieldParser.eqToPlain has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/importer/src/utils/eqFieldParser.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8548932ee4d8a9d6681ae9bfc8b0db39220dcd8803efd582f46a45ad827a3b"}},{"ruleId":"D1","level":"warning","message":{"text":"document.route (cyclomatic 29): document.route has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/storage/src/server/document.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb42f020176ca7fef0d2eb57d554280c6d423373569259c215c0e3c1c60b2fe"}},{"ruleId":"D1","level":"warning","message":{"text":"main.parsePreviewPayload (cyclomatic 29): main.parsePreviewPayload has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/main.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"80993eee16c41e81452c5d51115818189e292c59d5855fb7690c93f06aadba40"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-session.MessageBubble (cyclomatic 28): chat-session.MessageBubble has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 122, 66, 106). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/chat-session.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6c653749b9725142edf4dd71fab0b0d234f0208adb904989cc4b3ee7ff88fb"}},{"ruleId":"D1","level":"warning","message":{"text":"lecture-notes-view.LectureNotesView (cyclomatic 28): lecture-notes-view.LectureNotesView has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 204, 157, 106, \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/lecture-notes-view.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89fb872e72a2a6a9aaac175d1caf1a15a735fd376911ec975d9cb42ddeb5d45"}},{"ruleId":"D1","level":"warning","message":{"text":"submission.SubmissionModal (cyclomatic 28): submission.SubmissionModal has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (submission.SubmissionModal::handleFile) 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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"c047ea283abd8dc05a93c65ee8fc16c411dca8b92708a8fafc0743041b7444ba"}},{"ruleId":"D1","level":"warning","message":{"text":"question-card.QuestionCard (cyclomatic 28): question-card.QuestionCard has cyclomatic complexity 28 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 7 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":"components/workbench/chat/question-card.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fe22e17c0cf4bc2e932eff635c9a7d7a903de42c24c3f46550a0e5b599dc0b"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceRequestActivity.RequestPreview (cyclomatic 28): WorkspaceRequestActivity.RequestPreview has cyclomatic complexity 28 (threshold 15). Of this number, 26 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":"components/workbench/workspace/WorkspaceRequestActivity.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9bda2eeb85a44b88db06aa6c662d0e141f5ae1b2172c74b91bcf0faf2c62fb"}},{"ruleId":"D1","level":"warning","message":{"text":"slide-ops.applyOperationToContent (cyclomatic 28): slide-ops.applyOperationToContent has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 156, 192). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/edit/slide-ops.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4c68b03ef4b9b9e931e0aa188761f0556aafb2219402f07f06a056c447bb51"}},{"ruleId":"D1","level":"warning","message":{"text":"build-standalone-html.collectStandaloneMediaBytes (cyclomatic 28): build-standalone-html.collectStandaloneMediaBytes has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 242, a function literal at line 218, resolveRef). 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":"lib/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"39df3db97064728782d9ae56e1c4603c67cd164195bb2b85714cf2866a38a569"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-preview-content.prepareSlide (cyclomatic 28): scene-preview-content.prepareSlide has cyclomatic complexity 28 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/scene-preview-content.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"0128c5399a875f5c71386fb873b991885817177eaad2ba692e3bba27d8c5e276"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-content.generateSceneContent (cyclomatic 28): scene-content.generateSceneContent has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/scene-content.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ff5e5fb419b34d6023020b5e8fa370a1fa6f6568f598a58f6dda2ed05b09d8"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-classroom-import.importClassroomMedia (cyclomatic 28): legacy-classroom-import.importClassroomMedia has cyclomatic complexity 28 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/legacy-classroom-import.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"395242b434128df670cbd814a97623591d94be8c3ededf6f277cd0abfb4489da"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-storage-core.planChatSync (cyclomatic 28): chat-storage-core.planChatSync has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/chat-storage-core.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aee6c5279db74469ba4c48ca46b122bfdb2b4e3bf99fec97cc5971694276f1"}},{"ruleId":"D1","level":"warning","message":{"text":"useCanvasShortcuts.handleCanvasShortcut (cyclomatic 28): useCanvasShortcuts.handleCanvasShortcut has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useCanvasShortcuts.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae605a23738af8e75a7bc0130a0c5d377dd49948e2e1d45e2585d4f9d41926a6"}},{"ruleId":"D1","level":"warning","message":{"text":"copyStage (cyclomatic 28): copyStage has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-stage-copy.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8617a365439c7baa13705b512cadd42fc6bb641495ab796da30f2ae3036985f"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 27): route.POST has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 33). 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":"app/api/agent/sessions/[id]/messages/route.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a537081161f1085cb046c64299b9ab4dacdeec9fc56d4afd8af4fdf01d8317"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 27): route.POST has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 15, 62, 78). 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/api/pbl/v3/packages/route.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41a94aeeb457052661da5e93d22dd27d73b063f9fe53bfd4c32a94a4803136d"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-bar.TeacherVoicePill (cyclomatic 27): agent-bar.TeacherVoicePill has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 404, 544, 377, \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/agent/agent-bar.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"daff439c9ec48ee0172d90a7e1da3d108a377bfa8ee4b35e1813f9c82e40723a"}},{"ruleId":"D1","level":"warning","message":{"text":"use-chat-sessions.runPiSingleRequest (cyclomatic 27): use-chat-sessions.runPiSingleRequest has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/use-chat-sessions.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"508511f845fde7d21567ee247da6da232454c5e85702548313329439bbdcbdfe"}},{"ruleId":"D1","level":"warning","message":{"text":"EditShell.surfaceStateEqual (cyclomatic 27): EditShell.surfaceStateEqual has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/EditShell/EditShell.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"875bcf0164731362b0df40b9c6a3cf682cd8a1dbfbb19d303ec9ed37a97e81ae"}},{"ruleId":"D1","level":"warning","message":{"text":"station-node.StationNode (cyclomatic 27): station-node.StationNode has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/station-node.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e347ad8d3dfadfcd3a81de7fe056b8c6808a771b20f606476974cc38cde5937"}},{"ruleId":"D1","level":"warning","message":{"text":"use-instructor-stream.useInstructorStream.run (cyclomatic 27): use-instructor-stream.useInstructorStream.run has cyclomatic complexity 27 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 10 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":"components/scene-renderers/pbl/v2/use-instructor-stream.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7874a762adfeb7da875f39d5222f3b80833c242abcd9dc1f8581603ca69f80"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.PBLV2Workspace (cyclomatic 27): workspace.PBLV2Workspace has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 229, 144, 190, \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/scene-renderers/pbl/v2/workspace.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ccf9dbfd07ed3ecaca49774e1b3c572d249f7a474cbecd79aed4991a82267f"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace-layer.PBLWorkspaceLayer (cyclomatic 27): workspace-layer.PBLWorkspaceLayer has cyclomatic complexity 27 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/workspace-layer.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01d185a2d843067781935d6d403de56f273b46522c87b75720498b619af3214"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.AgentTurn (cyclomatic 27): conversation.AgentTurn has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 94, 67, 70, \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/scene-renderers/pbl/v3/conversation.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb564fdabdb74266e73a8f3fbd7d53097564367685f71bf3e68e8d491b270d03"}},{"ruleId":"D1","level":"warning","message":{"text":"useDragElement.useDragElement.dragElement::handleMouseMove (cyclomatic 27): useDragElement.useDragElement.dragElement::handleMouseMove has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (useDragElement.useDragElement.dragElement) 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":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35610011fac6f0648b1f27816765edc006715c3768a4cdd5fe1419942aefff4"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseCodeElement.CodeLineRow (cyclomatic 27): BaseCodeElement.CodeLineRow has cyclomatic complexity 27 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 13 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec16545a26b51e8e92e7599fa3234b530b5ad7e96699212c828d1462d0cf4d8"}},{"ruleId":"D1","level":"warning","message":{"text":"compose-extras.SkillSlashMenu (cyclomatic 27): compose-extras.SkillSlashMenu has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 114, 199, 77, \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/workbench/compose-extras.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8917d19ae11b1667a2cb61ea15b935137fd52214d71c85c4035a055614bb779c"}},{"ruleId":"D1","level":"warning","message":{"text":"load-classroom.runClassroomLoad (cyclomatic 27): load-classroom.runClassroomLoad has cyclomatic complexity 27 (threshold 15). Of this number, 26 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/classroom/load-classroom.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8011011d5660081224765e223b0ec9a84acdd8388881142f055032cc2d66b7e3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.runLocked (cyclomatic 27): index.runLocked has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/index.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77a3a69342aae909cf0fcd5b602eb87f6a81e3758fc364322e1c979828c6ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"completion-stats.normalizeActGoals (cyclomatic 27): completion-stats.normalizeActGoals has cyclomatic complexity 27 (threshold 15). Of this number, 23 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":"lib/pbl/v2/operations/runtime/completion-stats.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"575235e8c4c9016981d5652815aa4f761aaf687ddb457f6392acaad3ea24b403"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.commitLegacyQuizSnapshot (cyclomatic 27): runtime.commitLegacyQuizSnapshot has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/quiz/runtime.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2afa3fdd0e267e20f21f69b135616e3dfd5761ee3666bab1ab764eedb32fe41"}},{"ruleId":"D1","level":"warning","message":{"text":"material-library-tools.buildMaterialLibraryTools (cyclomatic 27): material-library-tools.buildMaterialLibraryTools has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 264, a function literal at line 174, a function literal at line 218, \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":"lib/server/agent-runtime/material-library-tools.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dd96d106af042ca0208106365dd4c50394d2719f0ce6d6a4a31fa13a7e5b43"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve-slot.resolveTarget (cyclomatic 27): resolve-slot.resolveTarget has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/resolve-slot.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddf02ffa7b204bdae9223c92c10ad7b47a13f64caac5dddbcfeb5210e7d7494"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown-math.isLikelySingleDollarMath (cyclomatic 27): markdown-math.isLikelySingleDollarMath has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/markdown-math.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"242b1287a709535ef16793ff4054123f8c01518a2ac488f42aeafd4c1187a860"}},{"ruleId":"D1","level":"warning","message":{"text":"index.compileEditorEditIntents (cyclomatic 27): index.compileEditorEditIntents 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":"packages/@openmaic/editor/src/core/index.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f4447d45b6773f8e07fa141194f5106a195ffba057fe610cc7fbe75f441ddd"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 26): route.POST has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/verify-image-provider/route.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e192bb842136cb6b947bae46c3fee5579d21e6f193dd4bf1b975fe1942b8573b"}},{"ruleId":"D1","level":"warning","message":{"text":"video-export-dialog.VideoExportDialog (cyclomatic 26): video-export-dialog.VideoExportDialog has cyclomatic complexity 26 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 6 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/video-export-dialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f2785cb414d4f46d18144b72563e6f7b16c53c02c092d0b65b3371c5649bf6"}},{"ruleId":"D1","level":"warning","message":{"text":"stage-api-whiteboard.createWhiteboardAPI (cyclomatic 26): stage-api-whiteboard.createWhiteboardAPI has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-whiteboard.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"812cb917bf2e1192eec3e697fe85b480d85c52c49be2d983facf313f1a7e1327"}},{"ruleId":"D1","level":"warning","message":{"text":"call-agent.executeParsedAction (cyclomatic 26): call-agent.executeParsedAction has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f465b5ee8f2bde397a56d9fa6b82e58cadcc17bdaa345ebfb40ebcbdada6d9c"}},{"ruleId":"D1","level":"warning","message":{"text":"course-timeline.applyTimelineEntry (cyclomatic 26): course-timeline.applyTimelineEntry has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/edit/course-timeline.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"184c94f66f4efbe10724648e12311bf2563ee0214e1e721eee9de37dab246e5d"}},{"ruleId":"D1","level":"warning","message":{"text":"html-asset-inventory.collectAssetRefs (cyclomatic 26): html-asset-inventory.collectAssetRefs has cyclomatic complexity 26 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 11 belong to one function item inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/html-asset-inventory.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac654a9c9d0da1dd7dee9b9ef1975ca7bc66ab420909a83d0b2fd7dbd151e300"}},{"ruleId":"D1","level":"warning","message":{"text":"course.runCourse (cyclomatic 26): course.runCourse has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/course.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"424409fb8fddf861629d0efbf02a699a0ea800519dfe1714205f6a3a1ad65201"}},{"ruleId":"D1","level":"warning","message":{"text":"mineru-cloud.parseMinerUZip (cyclomatic 26): mineru-cloud.parseMinerUZip has cyclomatic complexity 26 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/mineru-cloud.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3f3b5009679d9886a9507c9dbc11f52d83feeb88f8264e4178d8b166643469"}},{"ruleId":"D1","level":"warning","message":{"text":"plain-json.canonicalize (cyclomatic 26): plain-json.canonicalize has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/plain-json.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f86ea9fd3e5c031b9e7700d8221b294e3dfeafb0e59ff3ce01b171b2c5996e"}},{"ruleId":"D1","level":"warning","message":{"text":"narration.synthesizeNarration (cyclomatic 26): narration.synthesizeNarration has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/narration.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bb7932f5816406219037786ad22ca2aa4a239411af00c7767668fb7087671d"}},{"ruleId":"D1","level":"warning","message":{"text":"media-generation.useMediaGenerationStore (cyclomatic 26): media-generation.useMediaGenerationStore has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 194, 253, 90, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/store/media-generation.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ed4e281587d8d7b63febbf315b906cfc61d095faba18c70114dbd270301b57"}},{"ruleId":"D1","level":"warning","message":{"text":"course-refs.decodeCourseRefs (cyclomatic 26): course-refs.decodeCourseRefs 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":"lib/workbench/course-refs.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b4c70f67cb91214104632b76443d6c6461ebb17b79d920590e5ba2f50723b0"}},{"ruleId":"D1","level":"warning","message":{"text":"asset-manifest.enumerateAssetManifest (cyclomatic 26): asset-manifest.enumerateAssetManifest has cyclomatic complexity 26 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/dsl/src/asset-manifest.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c9f1b657f18c1a94583d3398aeaa312457f82d36a7ca75379190a9f2d96bde"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoToolbarOverlay.VideoToolbarOverlay (cyclomatic 26): VideoToolbarOverlay.VideoToolbarOverlay has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"251dd0321c5c1f713507c2a7e57d58a05861d5792b0dfe3de263a2af886b0db5"}},{"ruleId":"D1","level":"warning","message":{"text":"Presentation.buildPresentation (cyclomatic 26): Presentation.buildPresentation has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6198ee68f097aac7a4900a01d499d2fdc7c0f77651eb6da14f2af0b446533e9"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseCodeElement.CodeLineRow (cyclomatic 26): BaseCodeElement.CodeLineRow has cyclomatic complexity 26 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fda450bca3c6a021a55d68abe5ea846820c120ee1270357d11f1ab6c5e50ac"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseCodeElement.BaseCodeElement (cyclomatic 26): BaseCodeElement.BaseCodeElement has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 469, 502, 384, \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/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7c5448c452a8a3bf5abcf4c1c916c8d08a3d8d4492e8743bcc3dc63131c5ba"}},{"ruleId":"D1","level":"warning","message":{"text":"route.GET (cyclomatic 25): route.GET has cyclomatic complexity 25 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/materials/library/route.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"695800e955c7f61b9ab1eb7e9bd65a6748dbb58d75110d121d93a2e058bd897e"}},{"ruleId":"D1","level":"warning","message":{"text":"slide-element-pick-overlay.ElementPickOverlay (cyclomatic 25): slide-element-pick-overlay.ElementPickOverlay has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 203, a function literal at line 318, a function literal at line 225, \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/slide-element-pick-overlay.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a8eabb55b80d4cfc2c6ea3f57eabf73ddf4a79a1b763514f62ddd5fced13d3"}},{"ruleId":"D1","level":"warning","message":{"text":"presentation-speech-overlay.buildPresentationBubbleModel (cyclomatic 25): presentation-speech-overlay.buildPresentationBubbleModel has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba7265725aefda8d03c0922d90ee31fe832cc45b6b1081ba2bb6b13abac8280"}},{"ruleId":"D1","level":"warning","message":{"text":"presentation-speech-overlay.PresentationBubbleCard (cyclomatic 25): presentation-speech-overlay.PresentationBubbleCard has cyclomatic complexity 25 (threshold 15). Of this number, 19 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":"components/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b1ad53bd73eeda5744fe4625688b04e7263fac3f9084a9a74f4b3b1d37d14b"}},{"ruleId":"D1","level":"warning","message":{"text":"submission.SubmissionModal::handleFile (cyclomatic 25): submission.SubmissionModal::handleFile 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: one other method here (submission.SubmissionModal) 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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f27e5e820e1aa7ae1fc48b99eb5fa9219dafaa952b94fa7b7a42501f8a4f97"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Operate (cyclomatic 25): index.Operate has cyclomatic complexity 25 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/Operate/index.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b6b2b85344bca31ee302ed451a2c607e3321e79cf6d980b6377bf120374cf"}},{"ruleId":"D1","level":"warning","message":{"text":"use-resolved-slide.resolveSlideMediaState (cyclomatic 25): use-resolved-slide.resolveSlideMediaState has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 95). 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":"components/slide-renderer/use-resolved-slide.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"16123227cfe3a66dbcae86b550291f0f5d9e585dae00545a35756f948850ac53"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialLibraryPage.InlineName (cyclomatic 25): MaterialLibraryPage.InlineName has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 596, 614, 646, \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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3a8f3f09ee709c36f2dc52fba87be56b0762600824c02e99ec34bb89b17117"}},{"ruleId":"D1","level":"warning","message":{"text":"tts-providers.generateDoubaoTTS (cyclomatic 25): tts-providers.generateDoubaoTTS has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/tts-providers.ts"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"549f98baa7c07c88d5f95ad45e6ea1f90fcde7b4853fb122f3a15559d919dd87"}},{"ruleId":"D1","level":"warning","message":{"text":"wav-validate.validateReferenceAudio (cyclomatic 25): wav-validate.validateReferenceAudio has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/wav-validate.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0729ea609b5613172bcf98a8ac81647c017a93181048f55f08c9c36c49d5594"}},{"ruleId":"D1","level":"warning","message":{"text":"inline-assets-importmap.buildInlinedImportmap (cyclomatic 25): inline-assets-importmap.buildInlinedImportmap 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 4 function items inside it that branch (a function literal at line 89, visitSpecifier, resolveExternal, \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":"lib/export/inline-assets-importmap.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb066212afb109f0a52fe5fede73226740e1780058ece2ed4dfd2cfe8684093"}},{"ruleId":"D1","level":"warning","message":{"text":"prepare-manifest.prepareElement (cyclomatic 25): prepare-manifest.prepareElement has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/prepare-manifest.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc97fbd19cc9b9633c83e6a5894af7f53e6f13f60748d69f581ae1038dd30aa"}},{"ruleId":"D1","level":"warning","message":{"text":"model-settings.normalizeLegacyModelSettings (cyclomatic 25): model-settings.normalizeLegacyModelSettings has cyclomatic complexity 25 (threshold 15). Of this number, 21 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":"lib/legacy-browser-import/model-settings.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9f4fc9bdef8b0aaf21cf8358f2af7680388355e53f4a531de811624cbdd73e"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-prompts.formatProjectSynthesisChecks (cyclomatic 25): eval-prompts.formatProjectSynthesisChecks has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/eval-prompts.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fbdf5c0150b1fdb0a15566f4af57b2d618362369bed6c21541400067b765c9"}},{"ruleId":"D1","level":"warning","message":{"text":"inline-math.liftInlineMath (cyclomatic 25): inline-math.liftInlineMath has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/sanitize/inline-math.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e75963040c4d602ed01c576bd423c0adc4b199bb5e7fbd693d4b13fd03cd60b"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl-tools.applyPatchOp (cyclomatic 25): dsl-tools.applyPatchOp has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"731ff2e795fca4a8857607aa57b48e8e91ab9fab15360cd2687cfc978a436397"}},{"ruleId":"D1","level":"warning","message":{"text":"deployment-layer.loadDeploymentLayer (cyclomatic 25): deployment-layer.loadDeploymentLayer has cyclomatic complexity 25 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 11 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/deployment-layer.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae895af1b7e2e13b3ffefe94d9990e81961894e99c4796c9a399510173479f6d"}},{"ruleId":"D1","level":"warning","message":{"text":"builtin-extraction.fetchAndExtractUrl (cyclomatic 25): builtin-extraction.fetchAndExtractUrl has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/builtin-extraction.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af4814834c3c31afb3d19be096fcf6f461aeaa59384733a1d361c06a546828"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioToolbarOverlay.AudioToolbarOverlay (cyclomatic 25): AudioToolbarOverlay.AudioToolbarOverlay has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4187ad825066a09bf47898fb2eb7bae66ae3fec19b57164874cb36c10511aad4"}},{"ruleId":"D1","level":"warning","message":{"text":"mathSerializer.postProcessLatex (cyclomatic 25): mathSerializer.postProcessLatex has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab848e306f045570bc4952eb704b489de61c1f80148aa8c351a0e06424d0cc43"}},{"ruleId":"D1","level":"warning","message":{"text":"closeoutTask (cyclomatic 25): closeoutTask has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7728585ecb23d0ae77f56709e1b9daca952c94fdbfa1d69dcd90f0f440691032"}},{"ruleId":"D1","level":"warning","message":{"text":"slide-element-pick-overlay.getSlideElementDisplaySummary (cyclomatic 24): slide-element-pick-overlay.getSlideElementDisplaySummary has cyclomatic complexity 24 (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":"components/canvas/slide-element-pick-overlay.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94d77c672fb336d0a826694b6f951b2a6098ab02a830fe68ad14b4957322bbe"}},{"ruleId":"D1","level":"warning","message":{"text":"step-visualizers.ContentVisualizer (cyclomatic 24): step-visualizers.ContentVisualizer has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 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":"components/generation/step-visualizers.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a062b2a1a476612c1fdebd06acf3f5c9a1a080ca6db2a9c17f7bf57715fe6b5"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation-history.ConversationHistory (cyclomatic 24): conversation-history.ConversationHistory has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 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/scene-renderers/pbl/v3/conversation-history.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d24c43d66466a90ede0053b4f7d9556f38a42d7d5da6e11cb70806055c4ea5"}},{"ruleId":"D1","level":"warning","message":{"text":"project-entry.PBLV3Container (cyclomatic 24): project-entry.PBLV3Container has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/project-entry.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e17d3b035038f2f7b7003efbc867115ef464ce41f43602ca85462572aa7f2c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceRequestActivity.WorkspaceRequestActivity (cyclomatic 24): WorkspaceRequestActivity.WorkspaceRequestActivity has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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/workbench/workspace/WorkspaceRequestActivity.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb2f6187988672c089d060573657c5a948b1816226825fb062d839b0e757c03"}},{"ruleId":"D1","level":"warning","message":{"text":"stream-fn.toModelMessages (cyclomatic 24): stream-fn.toModelMessages has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 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":"lib/agent/runtime/stream-fn.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"f025811a566c2a28f008cfbd0058b576cf6b98f3de090aa8a3a4e9b77368ea9f"}},{"ruleId":"D1","level":"warning","message":{"text":"voice-resolver.resolveAgentVoice (cyclomatic 24): voice-resolver.resolveAgentVoice 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/audio/voice-resolver.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96acea98e89256b61f8c06139bf9cfca16d61e94d0044c6fb38780a2bdaa256"}},{"ruleId":"D1","level":"warning","message":{"text":"observation-bridge.createObservationSession.capture (cyclomatic 24): observation-bridge.createObservationSession.capture has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 186, 160, 158). 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":"lib/interactive/observation-bridge.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c7eeefdb7a0d747b7ae3965af5b5fc04c890e5a4d98bb89a176d0d380189cb"}},{"ruleId":"D1","level":"warning","message":{"text":"media-orchestrator.retryMediaTask (cyclomatic 24): media-orchestrator.retryMediaTask 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/media/media-orchestrator.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4559e3657b211a49231523ccae68edc43f90bfd8391dc3930b6d49853363827e"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-preview.buildScenePreviewTools (cyclomatic 24): scene-preview.buildScenePreviewTools has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/scene-preview.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba22f75dd37a0fdade0216eb78f22f8674dbc3611a692aeb094ba45a1478677"}},{"ruleId":"D1","level":"warning","message":{"text":"personal-history-tools.buildPersonalHistoryTools (cyclomatic 24): personal-history-tools.buildPersonalHistoryTools has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/personal-history-tools.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b15d4c7350b6527f5a3dff104a04ca8b772fd8fce6f80e7dd0a951364e8fec"}},{"ruleId":"D1","level":"warning","message":{"text":"outline.prepareOutline (cyclomatic 24): outline.prepareOutline has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own 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/server/generation/steps/outline.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9356f527f2d2c36e07f9b2ad5bb97602f19b00f48bd7244456260f592bea1c"}},{"ruleId":"D1","level":"warning","message":{"text":"ssrf-guard.validateUrlForSSRFWithPolicy (cyclomatic 24): ssrf-guard.validateUrlForSSRFWithPolicy has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/ssrf-guard.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb40bf7b6655e3dc62350c58ee63c776290534fc1d7f561dc0f6eee5ae7a4f19"}},{"ruleId":"D1","level":"warning","message":{"text":"stage.writePendingChangesForUnload (cyclomatic 24): stage.writePendingChangesForUnload has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own 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/store/stage.ts"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"aece79d3bb61131cfd97e27643c0409b5a64b7cc823c9cf2be8167dd70a11a38"}},{"ruleId":"D1","level":"warning","message":{"text":"interactive-iframe-pool.useInteractiveIframePool (cyclomatic 24): interactive-iframe-pool.useInteractiveIframePool has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 161, 121, 184, \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":"lib/store/interactive-iframe-pool.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec657629f2a89be717d09ed6207679764c9d7e60cb89b578605b560ea506d1fb"}},{"ruleId":"D1","level":"warning","message":{"text":"Presentation.resolveNodesPlaceholders (cyclomatic 24): Presentation.resolveNodesPlaceholders 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":"packages/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffebe68795a72450464ca9a6fa04c23f830f6907728062b192caee902a3fced0"}},{"ruleId":"D1","level":"warning","message":{"text":"chartSerializer.chartToElement (cyclomatic 24): chartSerializer.chartToElement 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":"packages/@openmaic/importer/src/serializer/chartSerializer.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"352c4940546b5f0ca817b7b358e491840c28ac1cb381287ed73e80ecb23a1f2e"}},{"ruleId":"D1","level":"warning","message":{"text":"preview-validation.findNonSelfContainedInteractiveReferences (cyclomatic 24): preview-validation.findNonSelfContainedInteractiveReferences has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 3 function items inside it that branch (visit, rejectUnlessData, rejectUnlessSelfContainedCssUrl). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/preview-validation.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"12241f95e854a712dd1a0483d7eebccb1b1b064c8ab119d513e79419df5645e7"}},{"ruleId":"D1","level":"warning","message":{"text":"check-package-version-bumps.checkDslFormatVersionRule (cyclomatic 24): check-package-version-bumps.checkDslFormatVersionRule has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-package-version-bumps.mjs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e2e913ea316d10f51ab8defe07690e2e5ee660cfc0bb6789a31d60711bc450"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-preview-policy.validatePreviewTarget (cyclomatic 24): sandbox-preview-policy.validatePreviewTarget has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sandbox-preview-policy.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"832ee662d440d185c069e0694e32e36dcfe67448421aa9d1a74d6cf3f2e196ff"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 23): route.POST has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/generate/tts/route.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"936c3db77820cef642cce8bdf67261cb23098f70f3b7eda7de974d1bbbef333b"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 23): route.POST has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/parse-pdf/route.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d280f4ce6c56bb2bf06da0dc7e0693d8d0a7c685b2cf36e9080d26de2b32b00e"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 23): route.POST has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/verify-video-provider/route.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"176b768c8700c170123b2a02455353b29bb58d92522ec67cd26b6f3986a566cd"}},{"ruleId":"D1","level":"warning","message":{"text":"model-edit-dialog.ModelEditDialog (cyclomatic 23): model-edit-dialog.ModelEditDialog has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/model-edit-dialog.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"da35d02072427009a20bd4bc6b410d4777852c57f57cf2f00fb23ca20d196003"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar.PBLV2Sidebar (cyclomatic 23): sidebar.PBLV2Sidebar has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 162, 111, 101, \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/scene-renderers/pbl/v2/sidebar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"782722cbc25ec7512a81df996e02a1066dd8e36fae5f4794310902fff8466cf2"}},{"ruleId":"D1","level":"warning","message":{"text":"quiz-view.QuestionCard (cyclomatic 23): quiz-view.QuestionCard has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/quiz-view.tsx"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db0a3b53a972cf09c42bf341728bfc7874a3c7bcf077935737d2b0a2994366a"}},{"ruleId":"D1","level":"warning","message":{"text":"geometry-checks.isCurveScenarioShape (cyclomatic 23): geometry-checks.isCurveScenarioShape has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/whiteboard-shapes/geometry-checks.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ba7fd08e439645d095cc6905adef4dfc0d5d54f8c6bcbc86c00470eaf33d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"instrumentation.register (cyclomatic 23): instrumentation.register has cyclomatic complexity 23 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"instrumentation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"91285ea96b4042a1b8c3d001641f97c07476b988990d6850a4e881714f0d295c"}},{"ruleId":"D1","level":"warning","message":{"text":"build-agent.buildAgent (cyclomatic 23): build-agent.buildAgent has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 95, 116, 86, \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":"lib/agent/runtime/build-agent.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46ad9b1ab4b08bcbc9504e6c683b8982e573482074354d1a1b08d6e783549d4"}},{"ruleId":"D1","level":"warning","message":{"text":"adopt-cached-narration.adoptCachedNarrationRun (cyclomatic 23): adopt-cached-narration.adoptCachedNarrationRun has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/adopt-cached-narration.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ba54606b870521e4bd31354d65c3ce97a54ed10aacef7e3724c06ac6426993"}},{"ruleId":"D1","level":"warning","message":{"text":"use-tts-preview.useTTSPreview.startPreview (cyclomatic 23): use-tts-preview.useTTSPreview.startPreview has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own 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/audio/use-tts-preview.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2013ff78df577f16237bc0d7f127fde3e261e36233e7a0acad43e7c773f92784"}},{"ruleId":"D1","level":"warning","message":{"text":"classroom-zip-utils.collectLegacyAudioForExport (cyclomatic 23): classroom-zip-utils.collectLegacyAudioForExport has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/classroom-zip-utils.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bf401fa4d3b8fb01dc38be9c682f3861760e81d4a911540e92a93d0323f76e"}},{"ruleId":"D1","level":"warning","message":{"text":"model-settings-import.runModelSettingsImport (cyclomatic 23): model-settings-import.runModelSettingsImport has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8948f59d56f2dd23c934d0481e2aa6af4fce17e9a7f3a4539ceeeb11cd49769f"}},{"ruleId":"D1","level":"warning","message":{"text":"simulator.runSimulatorTurn (cyclomatic 23): simulator.runSimulatorTurn has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/simulator.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cbe383037d03dfb4ee97de472faa2bbffa352de9c351b2784f055c205105f4"}},{"ruleId":"D1","level":"warning","message":{"text":"event-stream.readLearningStream::read (cyclomatic 23): event-stream.readLearningStream::read has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/event-stream.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0574fc9150e74aaa1144df0a95029828c9c3cfee0c564e5ae7f924596e3026"}},{"ruleId":"D1","level":"warning","message":{"text":"package-client.attachClassroomProjects (cyclomatic 23): package-client.attachClassroomProjects has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"lib/pbl/v3/package-client.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"942d19bc793a4bf379955688c552122587dd6ef0682321754dfc289316177687"}},{"ruleId":"D1","level":"warning","message":{"text":"mineru-parser.extractMinerUResult (cyclomatic 23): mineru-parser.extractMinerUResult has cyclomatic complexity 23 (threshold 15). Of this number, 15 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":"lib/pdf/mineru-parser.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaa21ff3a979eca89e093c2fccaf300410d5d9c1d7b0bac278f1009a8c4b8f3"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.buildCourseAudioAndDeckTools (cyclomatic 23): tools.buildCourseAudioAndDeckTools has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 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":"lib/server/agent-runtime/course-edit/tools.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d599b7cd44279406280b3fa7ff7492f4b4da30600c56a93b1d43edba4086f7"}},{"ruleId":"D1","level":"warning","message":{"text":"entry-tree-storage.loadSessionEntryHistory (cyclomatic 23): entry-tree-storage.loadSessionEntryHistory has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 150, 143, 166). 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":"lib/server/agent-runtime/entry-tree-storage.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aef6481bc2654dc7985e4d76670ba7831584eb66d0ffeb406c4fc8f682bfef"}},{"ruleId":"D1","level":"warning","message":{"text":"roster-tools.buildRosterTools (cyclomatic 23): roster-tools.buildRosterTools has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 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":"lib/server/agent-runtime/roster-tools.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b306ba6ab80872dbe21d78381a112b0d2a2a3b0d2c5174006702b0d826b26dc4"}},{"ruleId":"D1","level":"warning","message":{"text":"agent-profiles.generateAgentProfiles (cyclomatic 23): agent-profiles.generateAgentProfiles has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/agent-profiles.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b898c1db42537b600eb1454dfb4d721c76b6b6a8882090669d395175410512b"}},{"ruleId":"D1","level":"warning","message":{"text":"migrate-to-pool.migrateOwnerMaterialsToPool (cyclomatic 23): migrate-to-pool.migrateOwnerMaterialsToPool has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (publish, a function literal at line 209, releaseAllocation). 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":"lib/server/materials/migrate-to-pool.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8e13f4baf1abc71795a29a8677cedfe4a4af65fb2b185b55cff67b26fd0dea"}},{"ruleId":"D1","level":"warning","message":{"text":"report-analysis.reportAnalysisProjection (cyclomatic 23): report-analysis.reportAnalysisProjection has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 65, a function literal at line 55, sample). 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":"lib/server/pbl-v3/report-analysis.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad40731155337326beb6d71f06195cb703c50cc667e7c8ac968fe3696522b2ed"}},{"ruleId":"D1","level":"warning","message":{"text":"teaching-prompt.teachingLiveContext (cyclomatic 23): teaching-prompt.teachingLiveContext has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/teaching-prompt.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1853953dab8995cbd0bd1fe168080f1e234fefb0baefc8a9f2ff1fb1bd0a858d"}},{"ruleId":"D1","level":"warning","message":{"text":"ssrf-guard.isPrivateIP (cyclomatic 23): ssrf-guard.isPrivateIP has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/ssrf-guard.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"676fb0523699cedc5a08d93afbb7d84fbaee03472af148948505007e01630a4c"}},{"ruleId":"D1","level":"warning","message":{"text":"QuizScene.QuizScene (cyclomatic 23): QuizScene.QuizScene has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 124, 112). 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":"lib/standalone-player/scenes/QuizScene.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cb971837b8d6790d62dfed0f3aa9d8d1ed29f257b7604a7854258ca4ebf258"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioPlayer.play (cyclomatic 23): AudioPlayer.play has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/audio-player.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7618149cb6728abcaf99b2c8c40e76e236b88795759d54b41aa8a6838d92d1c"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-storage.syncSessions (cyclomatic 23): chat-storage.syncSessions has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 900, 883). 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":"lib/utils/chat-storage.ts"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d02d33925e6d6d4ce3f2803f54de12b2be8758369c8886a0caabef7803f293c"}},{"ruleId":"D1","level":"warning","message":{"text":"RendererTextEditor.RendererTextEditor (cyclomatic 23): RendererTextEditor.RendererTextEditor has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 87, 103, 179, \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/@openmaic/editor/src/react/text/RendererTextEditor.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c940ae4fe54368019153e99d52d7a1386dba50093d718a30d7642db537018df8"}},{"ruleId":"D1","level":"warning","message":{"text":"json-repair.parseJsonResponseCandidate (cyclomatic 23): json-repair.parseJsonResponseCandidate has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/json-repair.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbca7e607a6a68ad62729fe297ee3515355f18e1d94ba339f308641323bedc0"}},{"ruleId":"D1","level":"warning","message":{"text":"textSerializer.renderTextWarp (cyclomatic 23): textSerializer.renderTextWarp has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1194010ef582fdff71a5b7c74e6c51c42e7cc68a8931d9c3655c7ddfc6946a5"}},{"ruleId":"D1","level":"warning","message":{"text":"chartSerializer.barStyle (cyclomatic 23): chartSerializer.barStyle has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/chartSerializer.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"455dceea0cfb82f12341d8c14cf41b4d477295c90a08920a47b6c618a0bd3504"}},{"ruleId":"D1","level":"warning","message":{"text":"inlineMath.renderPass (cyclomatic 23): inlineMath.renderPass has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/utils/inlineMath.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a09450c2297d30eda5bb70e53fc2db47d2331595654784eae28b9ac5acda6a"}},{"ruleId":"D1","level":"warning","message":{"text":"PgRuntimeStore.appendRecord (cyclomatic 23): PgRuntimeStore.appendRecord has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 514). 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/@openmaic/storage/src/runtime/pg.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d513a9218f0fc147f24f276b0bb0410dd92242b1730ab05fedcc87d4c41a80da"}},{"ruleId":"D1","level":"warning","message":{"text":"inspectMainPid (cyclomatic 23): inspectMainPid has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa6e959ccee979e16c090f62b651ca89734d7c738c57e1efd2aa71f692d7fad"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 22): route.POST has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/provider/probe-models/route.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c393b3582b4f08edb28cc296d895b4bf3209921efa9037f9c7d32fcba149cdd2"}},{"ruleId":"D1","level":"warning","message":{"text":"step-visualizers.ScrollingSources (cyclomatic 22): step-visualizers.ScrollingSources has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 259, 311, 248, \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/generation/step-visualizers.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75d335bda823d0668b7d8ffcb9c61c4d788978b17e8659793e079198289aad7"}},{"ruleId":"D1","level":"warning","message":{"text":"usage-dashboard.UsageDashboard (cyclomatic 22): usage-dashboard.UsageDashboard has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 106, a function literal at line 87, a function literal at line 62, \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/usage-dashboard.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdab19f0057e0a52ca9cd3a632652d96ff8c8c85338ea92c1198cff3f11df76a"}},{"ruleId":"D1","level":"warning","message":{"text":"web-search-settings.WebSearchSettings (cyclomatic 22): web-search-settings.WebSearchSettings has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/web-search-settings.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a914082142b6dc21ae96dfbb59529dd139c8c194fac8e58b1bbac9b0e0ab90"}},{"ruleId":"D1","level":"warning","message":{"text":"use-application-preview.waitForApplication (cyclomatic 22): use-application-preview.waitForApplication 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 one function item inside it that branches (observe). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f511c75fc2a671333abbaba1a8bf25a3bd899b4ee8c45ad937ffd44776d11fd4"}},{"ruleId":"D1","level":"warning","message":{"text":"use-project-editor.useProjectEditor.pump::run (cyclomatic 22): use-project-editor.useProjectEditor.pump::run has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-project-editor.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca4d9ca8a669d155a7c6354205ad04c0e3375ba834045dd724795c3adc023c5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ImageElement (cyclomatic 22): index.ImageElement 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":"components/slide-renderer/components/element/ImageElement/index.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ad5317a50a6a7a2effc4eb0e728b490dcc9c07a2a8d6324fadb10dbedd1d6f"}},{"ruleId":"D1","level":"warning","message":{"text":"useScaleElement.useScaleElement.scaleElement (cyclomatic 22): useScaleElement.useScaleElement.scaleElement has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (useScaleElement.useScaleElement.scaleElement::handleMouseMove) 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":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b21b27677a080c152d35faf802039b47f4dd640b6b3df69c5836207ee7202d"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceClassroomPane.WorkspaceClassroomPane (cyclomatic 22): WorkspaceClassroomPane.WorkspaceClassroomPane has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/WorkspaceClassroomPane.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1066e6aba85ee5f3ee79402889da932d9a93f3b3831129a6b36471d636031c"}},{"ruleId":"D1","level":"warning","message":{"text":"element-reference.buildInteractiveComponentContentHint (cyclomatic 22): element-reference.buildInteractiveComponentContentHint has cyclomatic complexity 22 (threshold 15). 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, separate the cases: extract each independent branch into its own 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/chat/pi/element-reference.ts"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e64c6480ab6d9b17448352b80086598b9e33f3fd065e94e649f889a65eab5e1"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.isTransientExtractionError (cyclomatic 22): errors.isTransientExtractionError has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/errors.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"80421f6a6a157a8e29acbdc3c57cb14450f909954b8409c7367f6d701e7673ad"}},{"ruleId":"D1","level":"warning","message":{"text":"prepare-manifest.prepareStandaloneActions (cyclomatic 22): prepare-manifest.prepareStandaloneActions has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/prepare-manifest.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51cc7ed42cd2bab5c5c67ddb594f5465b92ab5859ba3d273947714c59c9a5a5"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.classifyFailure (cyclomatic 22): errors.classifyFailure has cyclomatic complexity 22 (threshold 15). 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: 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":"lib/legacy-browser-import/errors.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"159a300f3003be5bed0d97d405ae8171b7209b1afc3ee034695819a382c68cc0"}},{"ruleId":"D1","level":"warning","message":{"text":"reconcile-scene-media.applyKnownMediaAllocations (cyclomatic 22): reconcile-scene-media.applyKnownMediaAllocations has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 131, narrationRewritesFor, rewritesFor). 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":"lib/media/reconcile-scene-media.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eded095a7f716dc750964822d0946b593b610ca3b32c6089707a6e185b04a2"}},{"ruleId":"D1","level":"warning","message":{"text":"package-client.installClassroomProjects (cyclomatic 22): package-client.installClassroomProjects has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/pbl/v3/package-client.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bc1a25cba31db48f62851b0902b9d7e503bbffe596f0a3a1426b6d0e3b7334"}},{"ruleId":"D1","level":"warning","message":{"text":"document-access.decideDocumentAccess (cyclomatic 22): document-access.decideDocumentAccess has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/document-access.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d99b6915b48399b974956f0de5c55d62da114c61c2dbda62dbb521f68f4a94"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.applyStrReplace (cyclomatic 22): apply.applyStrReplace has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93198411b3c8f12980168b02f61d778dffcdf25a2f0050971e748ec6697e870"}},{"ruleId":"D1","level":"warning","message":{"text":"engine.executeClaimedRun::runStep (cyclomatic 22): engine.executeClaimedRun::runStep has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (engine.executeClaimedRun) 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":"lib/server/generation/run/engine.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feff4fd97b738bf96f34f7a666c4bf64562f2b2e77dd05e4ff64094bd1d4424"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve-slot.resolveSlot (cyclomatic 22): resolve-slot.resolveSlot has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/resolve-slot.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ff0c099152b8f5f5ad8b277250bc7e051a0e5ffc860836d5007c9ea538399e"}},{"ruleId":"D1","level":"warning","message":{"text":"lifecycle.checkpointDirtyStudy (cyclomatic 22): lifecycle.checkpointDirtyStudy 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 4 function items inside it that branch (unchanged, a function literal at line 600, a function literal at line 537, \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":"lib/server/pbl-v3/lifecycle.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cd75ea646764f8f563e41739fd22bccf008e087dcd4e396fb9b8784eb53f54"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-config.loadEnvSection (cyclomatic 22): provider-config.loadEnvSection has cyclomatic complexity 22 (threshold 15). 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, separate the cases: extract each independent branch into its own 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/server/provider-config.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c7f80cc9b2fb388aeff114d1a6c39c4922e66b70f48ff728ce35fb7a4951fc"}},{"ruleId":"D1","level":"warning","message":{"text":"stage.startFlushRound (cyclomatic 22): stage.startFlushRound has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 1452). 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":"lib/store/stage.ts"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f735b34ddb70d5e46f75fb283b615c59265f6240dc3a8662795d99c2a1b4a8"}},{"ruleId":"D1","level":"warning","message":{"text":"stage-storage.writeStageChangesForUnload (cyclomatic 22): stage-storage.writeStageChangesForUnload has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/stage-storage.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"94384b6dfba3afdc9eb2ffe28288f6a996ce841fdf5527fa99a8371d61aa11cb"}},{"ruleId":"D1","level":"warning","message":{"text":"fold.applyWhiteboardRuntimeOperation (cyclomatic 22): fold.applyWhiteboardRuntimeOperation has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/fold.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"666527703326eb95eaf1838c9b843530aee113a748eee32a572c5e186a63cbc9"}},{"ruleId":"D1","level":"warning","message":{"text":"progress.normalizeScenario (cyclomatic 22): progress.normalizeScenario has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 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/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"3975eaf9801673aef0082bb9dcc8cca02dca903c6ee0af0782a3e1f8d1a4a46f"}},{"ruleId":"D1","level":"warning","message":{"text":"planner-single-call.hydrateProject (cyclomatic 22): planner-single-call.hydrateProject has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 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":"packages/@openmaic/generation/src/pbl/planner-single-call.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fda893bebf65227fbcac1622583e3d9325a783946b2ac5ba70cf3d2cd6c73ca"}},{"ruleId":"D1","level":"warning","message":{"text":"asset.readWrite (cyclomatic 22): asset.readWrite has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51fd71b678d0081fc6a6884b705811ab49d73b25e0762d06efa415b17984330"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderCoordinator.run (cyclomatic 22): RenderCoordinator.run has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/render-coordinator.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f007393bd30290ea97aea80fa614f7f7bd12b94e833e2fc7c23fd9d6c81d999"}},{"ruleId":"D1","level":"warning","message":{"text":"resource-reference-scan.scanExternalReferences (cyclomatic 22): resource-reference-scan.scanExternalReferences has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-reference-scan.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"317e7c3e994201787c0d17d1685db64c802e8f1cd9e0599b3bee6c7a41b88623"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 21): route.POST 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":"app/api/pbl/v2/task/update/route.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"287cffca89aeac6ad4aaa92dc8825d5324ec7cec392ce1efde554b1f9b88e168"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 21): route.POST 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":"app/api/proxy-media/route.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad56e3775eab00db9435611fe7a726afa8f5d25761d635f0f83af7f176186e1"}},{"ruleId":"D1","level":"warning","message":{"text":"page.GreetingBar (cyclomatic 21): page.GreetingBar has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eccf14e65e5c8d410a5d22fe7739d926601d56088074229c483a931464e6818"}},{"ruleId":"D1","level":"warning","message":{"text":"use-chat-sessions.useChatSessions.createBufferForSession (cyclomatic 21): use-chat-sessions.useChatSessions.createBufferForSession has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 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/chat/use-chat-sessions.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e5e78cab006ff624056a4c1614214b2e47934fc109ab7ac8e9681081879092"}},{"ruleId":"D1","level":"warning","message":{"text":"FloatingInsertToolbar.FloatingInsertToolbar (cyclomatic 21): FloatingInsertToolbar.FloatingInsertToolbar has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (handleDragKeyDown, moveWithinBounds). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/EditShell/FloatingInsertToolbar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"062db09dfaac44df3f30288ed298f641af3d80b809323067f40b46138d7f1394"}},{"ruleId":"D1","level":"warning","message":{"text":"ThumbItem.ThumbItemComponent (cyclomatic 21): ThumbItem.ThumbItemComponent has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 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":"components/edit/SlideNavRail/ThumbItem.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e9f765cf8caf824929cd2820e9f4d6c0daac8c331ede7fb8b1381238678c9d"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementRefPinLayer.ElementRefPinLayer (cyclomatic 21): ElementRefPinLayer.ElementRefPinLayer has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 75, 84, 126, \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/edit/surfaces/slide/ElementRefPinLayer.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1064312e5a5dece448e9fbced0b6c06b2209ce3f4090142627d1c602a2197c08"}},{"ruleId":"D1","level":"warning","message":{"text":"pdf-settings.PDFSettings (cyclomatic 21): pdf-settings.PDFSettings has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/pdf-settings.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47beeb8553b004b50d7b73833319e7d87c710a1ca099d7c82939a48cde03348"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.LearningConversation (cyclomatic 21): conversation.LearningConversation has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (openReference, a function literal at line 220, a function literal at line 260). 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/scene-renderers/pbl/v3/conversation.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d5e04a0ab44714e6751277410ae3852451ec908bb9419447a55ce4c298b70d"}},{"ruleId":"D1","level":"warning","message":{"text":"use-workbench-onboarding.useWorkbenchOnboarding (cyclomatic 21): use-workbench-onboarding.useWorkbenchOnboarding has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 65, 40, 36). 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/scene-renderers/pbl/v3/use-workbench-onboarding.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"de98d50748077af7418f8e234f35416911be36afff60132f5a42beff68db8f63"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapeCreateCanvas.ShapeCreateCanvas (cyclomatic 21): ShapeCreateCanvas.ShapeCreateCanvas has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 7 function items inside it that branch (getPoint, updateMousePosition, a function literal at line 134, \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/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd75878a9a03119c1fc5a3c219a7130ed749710bd357f82a789416933d839c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"useRotateElement.useRotateElement.rotateElement::handleMouseMove (cyclomatic 21): useRotateElement.useRotateElement.rotateElement::handleMouseMove 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":"components/slide-renderer/Editor/Canvas/hooks/useRotateElement.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad47f780421efd39afb4950713d9b8ba033aae69510269005f742cb1b2bfaf4"}},{"ruleId":"D1","level":"warning","message":{"text":"whiteboard-canvas.InteractiveWhiteboardCanvas (cyclomatic 21): whiteboard-canvas.InteractiveWhiteboardCanvas has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 298, 164, 250, \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/whiteboard/whiteboard-canvas.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7991d3c678dc1eba56e4aaeb62ab67f1d96fdd15e56924ecd29c3a321dbb6198"}},{"ruleId":"D1","level":"warning","message":{"text":"llm.buildThinkingProviderOptions (cyclomatic 21): llm.buildThinkingProviderOptions 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":"lib/ai/llm.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"17959a7227189cb0faec8cf9e1cdaf06f008f1868f7c0c0de1ea149d4be21dc0"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamBuffer.flushRemaining (cyclomatic 21): StreamBuffer.flushRemaining 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":"lib/buffer/stream-buffer.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3491003f82eae9920d96196a9d6474834b1c53c858332f12c3acf7becd65cc"}},{"ruleId":"D1","level":"warning","message":{"text":"pptx-scene-placeholders.planPptxDeck (cyclomatic 21): pptx-scene-placeholders.planPptxDeck has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 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":"lib/export/pptx-scene-placeholders.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dc9ecbb20f1ec22242603164d359a02b17e2c730ee6e77712ede2d4fedf4e4"}},{"ruleId":"D1","level":"warning","message":{"text":"whiteboard-conflicts.elementLabel (cyclomatic 21): whiteboard-conflicts.elementLabel has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/orchestration/summarizers/whiteboard-conflicts.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a1d349c50095fe16742e04c1871905d4247904d7a0d04a3b89c5b9a4fb97ef"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-preload.buildSkillPreload (cyclomatic 21): skill-preload.buildSkillPreload has cyclomatic complexity 21 (threshold 15). Of this number, 19 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/server/agent-runtime/skill-preload.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2b2dc12e53b737421b3134a3dd2b66344e58f5d659b771fa1bf68a57bb9585"}},{"ruleId":"D1","level":"warning","message":{"text":"media.generateItem (cyclomatic 21): media.generateItem has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/media.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b101fae4ee4869276977c4a852f472b47f995f0202c750f01b47ae3b9668bd9f"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.startGenerationRunner (cyclomatic 21): runner.startGenerationRunner has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (scan, a function literal at line 160, a function literal at line 170). 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":"lib/server/generation/run/runner.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"262096c1ecc1ceaaa15ee3bca142121b802dd75c48eda6ccb379a3a6a2d698cf"}},{"ruleId":"D1","level":"warning","message":{"text":"document-images.resolveDerivativeRefsAsync (cyclomatic 21): document-images.resolveDerivativeRefsAsync 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, separate the cases: extract each independent branch into its own 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/server/material-extraction/document-images.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b236fefeef5711ff8dc856cc00f9a349d1698571ed9be4947e7a0ce8a39d0a66"}},{"ruleId":"D1","level":"warning","message":{"text":"owner-extraction.runClaimedOwnerExtraction (cyclomatic 21): owner-extraction.runClaimedOwnerExtraction has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/owner-extraction.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb49bf1f8269dc23756a672fe71117ea0568cfe97e02f63c3e591cd68ef2c27f"}},{"ruleId":"D1","level":"warning","message":{"text":"quiz-layout.measureQuizQuestionList (cyclomatic 21): quiz-layout.measureQuizQuestionList 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, separate the cases: extract each independent branch into its own 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/video-export-app/quiz-layout.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f7eff97c5de2386947c62aea82836a3b5f1a972c8165f265e959886f94d14a"}},{"ruleId":"D1","level":"warning","message":{"text":"store.createWhiteboardRuntimeService (cyclomatic 21): store.createWhiteboardRuntimeService has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 205, append, a function literal at line 295, \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":"lib/whiteboard/runtime/store.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85cfedee5d3441b4b34f933674f9001b35eee1a68da0def48c235b1e447b416"}},{"ruleId":"D1","level":"warning","message":{"text":"TextFormatToolbar.TextFormatToolbar (cyclomatic 21): TextFormatToolbar.TextFormatToolbar has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 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":"packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3957fa845f03c020ea4f8de5f4bc0a82a0b31976d6a7c5e1d3ed9f67f0293c6"}},{"ruleId":"D1","level":"warning","message":{"text":"useToolbarAnchor.useToolbarAnchor (cyclomatic 21): useToolbarAnchor.useToolbarAnchor has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 70, 44, 80, \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/@openmaic/editor/src/ui/text/useToolbarAnchor.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7396d80b50fd5e10068b289dafab29f6cb367038e3193d0354e27c93691d4822"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-generator.normalizeGeneratedVideoRefs (cyclomatic 21): scene-generator.normalizeGeneratedVideoRefs has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 433). 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea61f87abf697cf5b4d1ac315fe6f8f2059c54240494771d663d2986b0980d4"}},{"ruleId":"D1","level":"warning","message":{"text":"ShapeNode.parseParagraph (cyclomatic 21): ShapeNode.parseParagraph has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/nodes/ShapeNode.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e704b79abfb5e23225c0bd36adaa56ea4fed34fa39728f59328e1cf8e37aa302"}},{"ruleId":"D1","level":"warning","message":{"text":"Slide.parseChildNode (cyclomatic 21): Slide.parseChildNode has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b403823d39038c82845efec156dc1e4b46d8adfe79b0f93f36c4c4bd35c96c"}},{"ruleId":"D1","level":"warning","message":{"text":"presets.presetShapes.set(\u0022wedgeRectCallout\u0022) (cyclomatic 21): presets.presetShapes.set(\u0022wedgeRectCallout\u0022) has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (presets.presetShapes.set(\u0022wedgeRoundRectCallout\u0022)) 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":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b472002504ead404e6f9cc25c06255a82ead9c629e2f49edd7e10e367f4ae5"}},{"ruleId":"D1","level":"warning","message":{"text":"presets.presetShapes.set(\u0022wedgeRoundRectCallout\u0022) (cyclomatic 21): presets.presetShapes.set(\u0022wedgeRoundRectCallout\u0022) has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (presets.presetShapes.set(\u0022wedgeRectCallout\u0022)) 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":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04cfb02fe90f6f71fc745c2954d21f639558b004b25df64d4edbee8dfc068b4"}},{"ruleId":"D1","level":"warning","message":{"text":"imageSerializer.applyExtLstImageEffectsToFilters (cyclomatic 21): imageSerializer.applyExtLstImageEffectsToFilters has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c380eddb9c56638ee244c5e5a16caabc8526c511e9d6609c72405345ca1b85ed"}},{"ruleId":"D1","level":"warning","message":{"text":"transferCandidate (cyclomatic 21): transferCandidate has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e144d370a530de8828a31011b0a1d98a27ed20a7cb85997f1fe40f8952bc760"}},{"ruleId":"D1","level":"warning","message":{"text":"route.verify (cyclomatic 20): route.verify 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":"app/api/verify-model/route.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"975aff2d162205227823766fb10da7cc2d7eea89c4b11cd1f09196939dd01087"}},{"ruleId":"D1","level":"warning","message":{"text":"client.WorkbenchLaunchBridge (cyclomatic 20): client.WorkbenchLaunchBridge has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 53, 69, 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":"app/workbench/new/client.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e9cd4665fad01eff8b01709983e16600e8c53cad11b708d551233622af908"}},{"ruleId":"D1","level":"warning","message":{"text":"proactive-card.ProactiveCard (cyclomatic 20): proactive-card.ProactiveCard has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, 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/proactive-card.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15062dabdb5f7c6f05566f51eee328faf64c10b8ecd45f003463ea18152b5a9"}},{"ruleId":"D1","level":"warning","message":{"text":"apply-instructor-event.applyInstructorEvent (cyclomatic 20): apply-instructor-event.applyInstructorEvent has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/apply-instructor-event.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5931a38d076d5fd5bfcc4e12f66917e884e5fe940f8e09405564235d7af3db9d"}},{"ruleId":"D1","level":"warning","message":{"text":"scenario-stage.ScenarioStage (cyclomatic 20): scenario-stage.ScenarioStage has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/scene-stage/scenario-stage.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88aa65c3507f27242b128b859ab34d3fa0baa9cbc98ea50e13978634b1dc9cb"}},{"ruleId":"D1","level":"warning","message":{"text":"RendererScreenCanvas.PlaybackVideoContent (cyclomatic 20): RendererScreenCanvas.PlaybackVideoContent has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd48b2a19162af9702be6a15bfe66f3679b050576f45287662efb01226aa80f"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseVideoElement.BaseVideoElement (cyclomatic 20): BaseVideoElement.BaseVideoElement has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e24dab27129c5614484b9988d7ea4bf68aee6a5f45ed5f03ad37c6be8e26f7b"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceRail.RailRow (cyclomatic 20): WorkspaceRail.RailRow has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, 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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"58446545e8d30ae05069aa389a9e73670151de2c0fdc6759b8adf02a1f577ad4"}},{"ruleId":"D1","level":"warning","message":{"text":"element-reference.resolveInteractiveComponentReference (cyclomatic 20): element-reference.resolveInteractiveComponentReference has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/element-reference.ts"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ac9047cc634a1ca0c7bdd8087da781b36e426011d654c6dff133b5379d75fa"}},{"ruleId":"D1","level":"warning","message":{"text":"lexer.lexTagAttributes (cyclomatic 20): lexer.lexTagAttributes 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/export/html-parser/lexer.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"268fa41cdce6ad3cc622e224b9c139b96231b9ad5b381cccf80f867d1bd0cfde"}},{"ruleId":"D1","level":"warning","message":{"text":"build-standalone-html.buildStandaloneHtmlExport (cyclomatic 20): build-standalone-html.buildStandaloneHtmlExport has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf485147ab4fa6b95794ada434f39ac57b99fed017b80cb5350a8842dd318624"}},{"ruleId":"D1","level":"warning","message":{"text":"use-import-classroom.materializeImportedMedia (cyclomatic 20): use-import-classroom.materializeImportedMedia has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/import/use-import-classroom.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f6f9c952916e68dfddf1469ab805dae99126d27fef847894a7bd2dfc87a06e"}},{"ruleId":"D1","level":"warning","message":{"text":"observation-bridge.installObservationResponder::receive (cyclomatic 20): observation-bridge.installObservationResponder::receive has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/interactive/observation-bridge.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e38c2e1838fc03aba73a2a7109a0aab334b5c90881ef04fab2eb3b752f1b90"}},{"ruleId":"D1","level":"warning","message":{"text":"sources.readLegacyCourse (cyclomatic 20): sources.readLegacyCourse 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/legacy-browser-import/sources.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0997caff2c4fa8000dc56f173186b4371e5da51b9a748a5356dcc99d56bda9d7"}},{"ruleId":"D1","level":"warning","message":{"text":"collect-stage-asset-refs.collectStageAssetRefs (cyclomatic 20): collect-stage-asset-refs.collectStageAssetRefs has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/collect-stage-asset-refs.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47c8f978be8065f626d24791dad9eda075e56767ae21a880b8057725a7d4a79"}},{"ruleId":"D1","level":"warning","message":{"text":"whiteboard-conflicts.buildWhiteboardConflicts (cyclomatic 20): whiteboard-conflicts.buildWhiteboardConflicts 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/orchestration/summarizers/whiteboard-conflicts.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ecaea17410ab37fdc4bd2eaa01fc8019348819424533d677c1e6d00a470e7d"}},{"ruleId":"D1","level":"warning","message":{"text":"instructor.runSetupFollowup (cyclomatic 20): instructor.runSetupFollowup 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/pbl/v2/agents/instructor.ts"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"636577c7417bdc33854aa5a6e38f800f4a135e1fbfc3e88bcf35636353518eb7"}},{"ruleId":"D1","level":"warning","message":{"text":"record-payloads.enrichPBLRuntimeEvent (cyclomatic 20): record-payloads.enrichPBLRuntimeEvent has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/runtime/record-payloads.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6783f1fa738f09cff04db625580b26c22db2b7542dea39feb7e9fb6ee342103f"}},{"ruleId":"D1","level":"warning","message":{"text":"edit-access.projectEditAccess (cyclomatic 20): edit-access.projectEditAccess 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/pbl/v3/edit-access.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d9069f1af7d1e0a155a45c13b6db991b43af3501eaab7a42cc663166039a2a"}},{"ruleId":"D1","level":"warning","message":{"text":"document-access.parseDocumentAction (cyclomatic 20): document-access.parseDocumentAction 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/persistence/document-access.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0851a03333d6d9ea6aff9a89cf84f3d42d7c2db738d4af421ea585cad4cd645b"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-call-integrity.repairOrphanedToolCalls (cyclomatic 20): tool-call-integrity.repairOrphanedToolCalls 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/server/agent-runtime/tool-call-integrity.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8755aa1018c73c9c726e9f2742e15ed668904c8a4f63965d8cb94e3f96218e1"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy-classroom-import.importLegacyClassrooms (cyclomatic 20): legacy-classroom-import.importLegacyClassrooms has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 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":"lib/server/legacy-classroom-import.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"905444a25992a95a426dfbdab77f22fce9d15ba2aab910a03eef29bc38156657"}},{"ruleId":"D1","level":"warning","message":{"text":"model-routes.parseUserStageRoutes (cyclomatic 20): model-routes.parseUserStageRoutes 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/server/model-routes.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf63a3e3251d428e85ac3e5a18a6bccdf4a51b39c40d99255e0c12d7af05e22d"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation.evaluationOutcome (cyclomatic 20): evaluation.evaluationOutcome 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, 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":"lib/server/pbl-v3/evaluation.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"99665c3fb87aa3921d7a8f031b7bb3d5648981e01f8224b721d2e259552683c1"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-storage.loadChatSessions (cyclomatic 20): chat-storage.loadChatSessions has cyclomatic complexity 20 (threshold 15). Of this number, 12 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":"lib/utils/chat-storage.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af9638e437f8476f91e725caffa3a1fe99cc3fa5c1a011f810506b5b38721ba"}},{"ruleId":"D1","level":"warning","message":{"text":"kimi.searchWithKimi (cyclomatic 20): kimi.searchWithKimi has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, 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/web-search/kimi.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89dfc048282d00e8667c792c949a32729ef515d07ae7e5e3df7f187bf43a6da"}},{"ruleId":"D1","level":"warning","message":{"text":"toggleList.toggleList.\u003Creturned closure\u003E (cyclomatic 20): toggleList.toggleList.\u003Creturned closure\u003E has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/text/prosemirror/commands/toggleList.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"add683e4bcfb4c181c5b8d0224e32ed83925f311a9e9a0da3068b2064c7ed63f"}},{"ruleId":"D1","level":"warning","message":{"text":"LatexToolbarOverlay.LatexToolbarOverlay (cyclomatic 20): LatexToolbarOverlay.LatexToolbarOverlay has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8020d767c5e9e6519be19d5d808941ecea1ba1942c6ff4b95a8d8e700bb0c62a"}},{"ruleId":"D1","level":"warning","message":{"text":"engagement.microtaskEngagement (cyclomatic 20): engagement.microtaskEngagement 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/@openmaic/generation/src/pbl/operations/kernel/engagement.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2f7bc5082957bc09e5f42bf12149c72317de619a40c8e9e1519478d8420fb5"}},{"ruleId":"D1","level":"warning","message":{"text":"planner-core.plannerCompletionGaps (cyclomatic 20): planner-core.plannerCompletionGaps has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/generation/src/pbl/planner-core.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a6e26c7698881d83c072f4b43eecbd5f3fdbc8702fdc463dfa133c7ebc9f0b"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-generator.fixElementDefaults (cyclomatic 20): scene-generator.fixElementDefaults 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 one function literal inside it that branches (line 499). 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"2936c1763a186567aecd597898924119d9e3721ed24b50c8e37a4b59d33a450d"}},{"ruleId":"D1","level":"warning","message":{"text":"customGeometry.renderCustomGeometry (cyclomatic 20): customGeometry.renderCustomGeometry 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/@openmaic/importer/src/shapes/customGeometry.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bff4c20b11ee8f667985ba6e6668b9d9cfefc3db6ce57fba46a541781410a5d"}},{"ruleId":"D1","level":"warning","message":{"text":"AssetCollector.collectPass (cyclomatic 20): AssetCollector.collectPass has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/storage/src/asset/collector.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"4313f2d972e36e3e3dd82e1fc81f0c2b7ff3206ceb125a92f9a1f9f443cee634"}},{"ruleId":"D1","level":"warning","message":{"text":"resource-task-runner.validateConfig (cyclomatic 20): resource-task-runner.validateConfig 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":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"197d5abb701ec7b4cb449ad324928b037c3c0e509ceb41b6e359388932129df0"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 19): route.POST has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 30). 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":"app/api/export-video/render/route.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fab3ede84b53836c7e098606a1986e7f66ad550829a0a780a965cc7c89701ad"}},{"ruleId":"D1","level":"warning","message":{"text":"access-code-modal.AccessCodeModal (cyclomatic 19): access-code-modal.AccessCodeModal has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/access-code-modal.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ddeb1d9fbe4e431065d1c3d388cb1f4c25ecb300b14899fc6c1d53bf331b9f"}},{"ruleId":"D1","level":"warning","message":{"text":"generation-toolbar.CourseMaterialChip (cyclomatic 19): generation-toolbar.CourseMaterialChip has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/generation-toolbar.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"148ed9431738f4f8aa63d25a6ec73ed99dc42a8339d0381aa34e4734729b7f77"}},{"ruleId":"D1","level":"warning","message":{"text":"image-settings.ImageSettings (cyclomatic 19): image-settings.ImageSettings has cyclomatic complexity 19 (threshold 15). Of this number, 11 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/settings/image-settings.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"064c85f43b742a822649e55712b2492ae4c8b31497d834707fc467a810921cc1"}},{"ruleId":"D1","level":"warning","message":{"text":"sidebar.MilestoneNode (cyclomatic 19): sidebar.MilestoneNode has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/sidebar.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b618dfcaa072a95778d92f709de88dfa9529879def44d728f10061a184ec3fc9"}},{"ruleId":"D1","level":"warning","message":{"text":"use-learning-stream.useLearningStream (cyclomatic 19): use-learning-stream.useLearningStream has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 29, 35, 56, \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/scene-renderers/pbl/v3/use-learning-stream.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84b2ce9bfe47047b17fde840374c3762b1fcdd42c6c0fcf0d43ea12d7d7281d"}},{"ruleId":"D1","level":"warning","message":{"text":"ResizeHandler.ResizeHandler (cyclomatic 19): ResizeHandler.ResizeHandler has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 19, 33). 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/slide-renderer/Editor/Canvas/Operate/ResizeHandler.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1ceef7d3ab04804b70b014462dd3231537d6820ec6d5edf4c210f7acbb98bf"}},{"ruleId":"D1","level":"warning","message":{"text":"useSelectElement.useSelectElement.selectElement (cyclomatic 19): useSelectElement.useSelectElement.selectElement has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 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":"components/slide-renderer/Editor/Canvas/hooks/useSelectElement.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c9e0061e8d7628a6c54b28024c8e6e7b3f1018bf9aaf3da0e07c24e4a1fc7d"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionEngine.executeWbEditCode (cyclomatic 19): ActionEngine.executeWbEditCode has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/action/engine.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cd77c2c40546c9562bdbca9df2e3dec0aebe22507026daa4e37d84a007d980"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-timeout.executeWithToolBound (cyclomatic 19): tool-timeout.executeWithToolBound has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (cleanup, onTimeout, a function literal at line 258, \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":"lib/agent/runtime/tool-timeout.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"518e1c005453ef4182fb527579e4ee2f5f0ebd88ca8b4a7d0d1452085686dee5"}},{"ruleId":"D1","level":"warning","message":{"text":"tts-providers.generateTTS (cyclomatic 19): tts-providers.generateTTS has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/tts-providers.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9519c56e34bb767a0ae2796fde5656b918da53f0a281427a801e61af7dbdd667"}},{"ruleId":"D1","level":"warning","message":{"text":"native-whiteboard.settleWhiteboardMutation (cyclomatic 19): native-whiteboard.settleWhiteboardMutation has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7411d9d99f5f393f8c8623381def85d8ff05ec26960435c2472d78cb397d7ab"}},{"ruleId":"D1","level":"warning","message":{"text":"classroom-zip-utils.rewriteAudioRefsToIds (cyclomatic 19): classroom-zip-utils.rewriteAudioRefsToIds has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 422). 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":"lib/export/classroom-zip-utils.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"a200ecda41aa7beffebe8fb38e09f5769b9c8d22d9c7cfd64cf8e69fe488c763"}},{"ruleId":"D1","level":"warning","message":{"text":"media.fillLegacyMedia (cyclomatic 19): media.fillLegacyMedia has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/media.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ad91bd99578355cf6ee8d15360ee6ae3a0cea7abeb6d62bb7fef3447d7b96e"}},{"ruleId":"D1","level":"warning","message":{"text":"course.settleDocument (cyclomatic 19): course.settleDocument 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":"lib/legacy-browser-import/course.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"662bd6701cd7215f17cdfaf38d869548169e144dea2ff9af23d81d46ae3c4633"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve-stored-bytes.resolveStoredBytes (cyclomatic 19): resolve-stored-bytes.resolveStoredBytes 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":"lib/media/resolve-stored-bytes.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d526f73958c498f3e508965622791f41dcb5ce07fe710072e5ee7d155ac6ea5d"}},{"ruleId":"D1","level":"warning","message":{"text":"client.createModelSettingsClient.apply (cyclomatic 19): client.createModelSettingsClient.apply has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model-settings/client.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c114dcb02239d0a874b994efca6d85c36519edffd704bf2ae77d860e0dd02de"}},{"ruleId":"D1","level":"warning","message":{"text":"edit.providerChange (cyclomatic 19): edit.providerChange 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":"lib/model-settings/edit.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3d8c10d6e64a4f3f32a9d1248f4c59f6aab0b3938ddd26c6eb6c27936e18c8"}},{"ruleId":"D1","level":"warning","message":{"text":"eval-prompts.buildMilestoneEvalPrompt (cyclomatic 19): eval-prompts.buildMilestoneEvalPrompt 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":"lib/pbl/v2/operations/runtime/eval-prompts.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6177230ef2c37c2427a0dcb48232d82564a54c34f156cfcd14fe3ea56dcafa1f"}},{"ruleId":"D1","level":"warning","message":{"text":"advance-patch.applyAdvanceProjectPatch (cyclomatic 19): advance-patch.applyAdvanceProjectPatch 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":"lib/pbl/v2/operations/runtime/advance-patch.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb5a80d254b2a938ccb2c6fd05b4a78a150a6fcfc9f709d6a9df22088762f1b"}},{"ruleId":"D1","level":"warning","message":{"text":"alidocmind-client.fetchResult (cyclomatic 19): alidocmind-client.fetchResult 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":"lib/pdf/alidocmind-client.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0994b7b9229b7fa5760297fec63d1756a2d440af8503877ef550dafa4d051b"}},{"ruleId":"D1","level":"warning","message":{"text":"alidocmind-client.verifyAliDocMindCredentials (cyclomatic 19): alidocmind-client.verifyAliDocMindCredentials has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/alidocmind-client.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f13712eff3dbd6ebc3fd2bc497aab1808177655a29cd3d444cc008c4a3dca96"}},{"ruleId":"D1","level":"warning","message":{"text":"event-notify-bus.parseRoute (cyclomatic 19): event-notify-bus.parseRoute has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/event-notify-bus.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c36e8f5f06ad3e3c25185ba473fa79ecb1bf9643c9c0f6b8b4939b6b0779f67"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.slimEventDataForLog (cyclomatic 19): runner.slimEventDataForLog 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":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fadb1ed2810ec4b9005fccf103431fa3a2aec89d9d97bd0bae9a9a46d045a4"}},{"ruleId":"D1","level":"warning","message":{"text":"review-question.reviewReceipt (cyclomatic 19): review-question.reviewReceipt 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":"lib/server/pbl-v3/review-question.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"be31a427da289d0354bd3870041c3eaab5ed05dcc68f589709928b87829b6497"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.validateCommand (cyclomatic 19): runtime.validateCommand has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runtime.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"1846a27a3097fa88a39ac3e56019a40f895ed973cf2559a83aaf95475b90f3b3"}},{"ruleId":"D1","level":"warning","message":{"text":"execution-watchdog.expireStalledTeachingTurns (cyclomatic 19): execution-watchdog.expireStalledTeachingTurns has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 97). 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":"lib/server/pbl-v3/execution-watchdog.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e4400cb82900d12f0fa41c21be1a1e809a36a37ec427daa11dce97c59624ab"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-config.applyBedrockProviderConfig (cyclomatic 19): provider-config.applyBedrockProviderConfig has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/provider-config.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"6236be78818fd72a259fce97735f70e9f69651e0a47066992566d383f8bd084c"}},{"ruleId":"D1","level":"warning","message":{"text":"collect.collectVideoAssets (cyclomatic 19): collect.collectVideoAssets has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/video-export-app/collect.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf520c72eac1c7e047ee516e5a62a113c975d75e2b1ac8bead0dd00a8eca62f"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.normalizeAndValidateLegacyWhiteboard (cyclomatic 19): validate.normalizeAndValidateLegacyWhiteboard has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/whiteboard/runtime/validate.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8939e8e9afb30a833da3feb964bb262b330722cd00b4fbda2ecb56367051cbc2"}},{"ruleId":"D1","level":"warning","message":{"text":"OwnerSessionClient.runFullFetch (cyclomatic 19): OwnerSessionClient.runFullFetch has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 369, 372, 413, \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":"lib/workbench/owner-session-client.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"7200ad7aaa121e1f1d55e15b9102020311bf01563a8ca1297cc18c97703875b9"}},{"ruleId":"D1","level":"warning","message":{"text":"useMarqueeGesture.useMarqueeGesture.onCanvasPointerDown (cyclomatic 19): useMarqueeGesture.useMarqueeGesture.onCanvasPointerDown has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (handleUp, handleMove, rectPastThreshold, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useMarqueeGesture.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a1ec79d35c3976a8c2f8433c283f25d46cb0d2ff39326ff1809f4babfb8d94"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementToolbarOverlay.ElementToolbarOverlay (cyclomatic 19): ElementToolbarOverlay.ElementToolbarOverlay has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, 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/@openmaic/editor/src/ui/element/ElementToolbarOverlay.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"773a06cd538b2b4a54677a1893dbf6ed9457ddb72df422406d95424f86a759a6"}},{"ruleId":"D1","level":"warning","message":{"text":"progress.normalizeProjectRuntime (cyclomatic 19): progress.normalizeProjectRuntime has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8c714e794b76dc6696342bede5e67a0758c1448d9407a2d3cd8000313c45b1"}},{"ruleId":"D1","level":"warning","message":{"text":"shapeSerializer.resolveInheritedPlaceholderFill (cyclomatic 19): shapeSerializer.resolveInheritedPlaceholderFill has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4cb35b840f56c10ce7f70387b42c424fb79e61d66d6bae964072f13307260d"}},{"ruleId":"D1","level":"warning","message":{"text":"groupSerializer.scaleSvgPath (cyclomatic 19): groupSerializer.scaleSvgPath has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/groupSerializer.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a7a76bb63a6387ef123ba63372db2bed13f3634a9630ebc7f567a1374cebb0"}},{"ruleId":"D1","level":"warning","message":{"text":"groupSerializer.groupToElement (cyclomatic 19): groupSerializer.groupToElement has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/groupSerializer.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"df98574c7d8a92977d8d25e638a7d3cf53c4ab41050166e198d5acf5345262c9"}},{"ruleId":"D1","level":"warning","message":{"text":"index.slideToPng (cyclomatic 19): index.slideToPng has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, 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/@openmaic/renderer/src/snapshot/index.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1c6e1e5b0001d5ffe437759375116be155326cca6e6a83de503bef7a7a5602"}},{"ruleId":"D1","level":"warning","message":{"text":"document.classifyStoreError (cyclomatic 19): document.classifyStoreError has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/document.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"704dab685a78d086d43dc707c1ddc473718e797977aa9a1ba285b64643268ec1"}},{"ruleId":"D1","level":"warning","message":{"text":"use-chat-sessions.useChatSessions.endSession (cyclomatic 18): use-chat-sessions.useChatSessions.endSession has cyclomatic complexity 18 (threshold 15). Of this number, 10 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":"components/chat/use-chat-sessions.ts"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"740c8f19d451e5e10fa2ab7432571109291a6310eb99659ca2b8c8a6f8124866"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementRefLassoButton.ElementRefLassoButton (cyclomatic 18): ElementRefLassoButton.ElementRefLassoButton has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/EditDock/ElementRefLassoButton.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5e73f9ae4c77d783cc897643594798125cf9fe08b90b49582adc56b853a887"}},{"ruleId":"D1","level":"warning","message":{"text":"CanvasOverlayPortal.useAnchorRect (cyclomatic 18): CanvasOverlayPortal.useAnchorRect 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 7 function literals inside it that branch (lines 121, 106, 131, \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/edit/surfaces/slide/CanvasOverlayPortal.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9efe3e6299c7f1bffa66263f19bd44cad54d7447b79948169a644e817352cb3"}},{"ruleId":"D1","level":"warning","message":{"text":"step-visualizers.StreamingOutlineVisualizer (cyclomatic 18): step-visualizers.StreamingOutlineVisualizer has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/step-visualizers.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b80b70b80f782683b48d230503cbfcb578dc522b215f048d4b441ce1753bfca"}},{"ruleId":"D1","level":"warning","message":{"text":"project-hero.ProjectHero (cyclomatic 18): project-hero.ProjectHero has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/project-hero.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d33871347243f4119c27b642c4953de75d5c7f6780b29543d001857612f319a"}},{"ruleId":"D1","level":"warning","message":{"text":"use-project-editor.useProjectEditor (cyclomatic 18): use-project-editor.useProjectEditor has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 199, 333, 78). 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/scene-renderers/pbl/v3/use-project-editor.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c4d70badc26d42eb4b488294609bc71bfdedc10b168612671ad3221efb03a8"}},{"ruleId":"D1","level":"warning","message":{"text":"code-editor.CodeEditor (cyclomatic 18): code-editor.CodeEditor has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 140, 41, 47, \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/scene-renderers/pbl/v3/code-editor.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda126984ababcd1298e802cd0d78763f0aa63f8d8328a3783e8e59ff3b6b314"}},{"ruleId":"D1","level":"warning","message":{"text":"index.VideoElement (cyclomatic 18): index.VideoElement 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":"components/slide-renderer/components/element/VideoElement/index.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d374f81fc0ddaa0318ecbf4705bdb4e067fb8973d795553714191cc9f3b87e49"}},{"ruleId":"D1","level":"warning","message":{"text":"MaterialLibraryPage.materialKind (cyclomatic 18): MaterialLibraryPage.materialKind 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":"components/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f8acd7a2aeea776c7ee7849b71ae0310f987a57305dd163d4b366712708b3d"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceChatPane.WorkspaceChatPane (cyclomatic 18): WorkspaceChatPane.WorkspaceChatPane 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":"components/workbench/workspace/WorkspaceChatPane.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"18650b7edb121a6351b199155214655fd593c42189d23f0103b38958a29745f0"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.writeMarkdownReport (cyclomatic 18): runner.writeMarkdownReport has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af6c86af25e022179329e70989dc7e7f165eedbe3b5775b474715af97526ac0"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionEngine.executePlayVideo (cyclomatic 18): ActionEngine.executePlayVideo has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 378, 385, 417, \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":"lib/action/engine.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2324aa9942ee84a841d4d3a125e5b82526c7171d4735167cc768fdae0d6e6d6"}},{"ruleId":"D1","level":"warning","message":{"text":"page-scroll-boundary.installPageScrollBoundary::move (cyclomatic 18): page-scroll-boundary.installPageScrollBoundary::move has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/adaptive/page-scroll-boundary.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d571e70ea7de363f001248e5b971af506d870a6da7d575d221e22a82d30ae5"}},{"ruleId":"D1","level":"warning","message":{"text":"llm.withStreamFallback (cyclomatic 18): llm.withStreamFallback 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 items inside it that branch (a function literal at line 799, serveFallback, track). 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":"lib/ai/llm.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ff9311dd4973f6af2af33e7624f088b2cf0710ec367cd2a1a468bde28d829b"}},{"ruleId":"D1","level":"warning","message":{"text":"tts-providers.generateVoxCPMTTS (cyclomatic 18): tts-providers.generateVoxCPMTTS 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/audio/tts-providers.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a3deb91316dcd592b99691ec7fbaeba0689974a588e1aa2eb29e438f8ebfe3"}},{"ruleId":"D1","level":"warning","message":{"text":"css-asset-parser.parseFontSrcEntry (cyclomatic 18): css-asset-parser.parseFontSrcEntry has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/css-asset-parser.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"09934a3f17d9005990d26f9760df857123f8c91bc8833827803ffc632f70e062"}},{"ruleId":"D1","level":"warning","message":{"text":"parser.parse (cyclomatic 18): parser.parse has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/html-parser/parser.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab8be205976d72ecb14e36b81ce480f8d9bbc7a1089a6a3be2cb3d53a1def74"}},{"ruleId":"D1","level":"warning","message":{"text":"pptx-scene-placeholders.renderScenePlaceholder (cyclomatic 18): pptx-scene-placeholders.renderScenePlaceholder has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"lib/export/pptx-scene-placeholders.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"4076e5d6a3055dbbe6e0b6b459d1cf14ff20f99c6e8562d3bc6f06a529657bf9"}},{"ruleId":"D1","level":"warning","message":{"text":"agents-import.runAgentsImportLocked (cyclomatic 18): agents-import.runAgentsImportLocked has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dd826087a759a54dc01a7729dd31b85229f61be59fdc8ed7023f9c94ca814b"}},{"ruleId":"D1","level":"warning","message":{"text":"comfyui-image-adapter.patchWorkflow (cyclomatic 18): comfyui-image-adapter.patchWorkflow has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"283c72d02172265c3f5d625d98ade1302043ecfb7ab0e09aad42bb28df211ef1"}},{"ruleId":"D1","level":"warning","message":{"text":"minimax-video-adapter.generateWithMiniMaxVideo (cyclomatic 18): minimax-video-adapter.generateWithMiniMaxVideo has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 264). 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":"lib/media/adapters/minimax-video-adapter.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"590874506e0be266c665ceb8403fbaea07d048d554900898ec6aea8de27e975b"}},{"ruleId":"D1","level":"warning","message":{"text":"media-orchestrator.generateSingleMedia (cyclomatic 18): media-orchestrator.generateSingleMedia has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/media-orchestrator.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db021552dec9b8495fde1d18097f0d80e322fdf9203a56592c88a6a8c2cd8e6"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve-media-ref.resolveMediaRef (cyclomatic 18): resolve-media-ref.resolveMediaRef has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/resolve-media-ref.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06b99f5272c2fe3701bae9b95aae8c3db03e6cba61fa2f97178f2a6f342cd4e"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluator.runShared (cyclomatic 18): evaluator.runShared has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/evaluator.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8405c6c9d551d60a6f6a86b85b14e222d74e0c05d0d8e5d103b8362c5d50b840"}},{"ruleId":"D1","level":"warning","message":{"text":"instructor.buildPriorSubmissionsBlock (cyclomatic 18): instructor.buildPriorSubmissionsBlock has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7fd7bed036c4f6ae2b4f3104ba794e0ecc41352f107917e2b39e75439a5c75"}},{"ruleId":"D1","level":"warning","message":{"text":"event-notify-bus.connect (cyclomatic 18): event-notify-bus.connect has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/event-notify-bus.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f86d14c8dce7db42b6dc13fb110fbdd5a1450a871e823364d6cfc28a8b8a4a4"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl-tools.textScene (cyclomatic 18): dsl-tools.textScene has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af267250f19631369266ed0d8b5a2fb099776ffdb348017cffdef8aab126659"}},{"ruleId":"D1","level":"warning","message":{"text":"resume.planResume (cyclomatic 18): resume.planResume has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/resume.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"baed07d29920cb38919f3a10baeedc0b2e1efb96b6c30b09640642eaddcd6977"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.elementRefsPromptBlock (cyclomatic 18): runner.elementRefsPromptBlock has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 541). 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":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff0993832e3a8686f4a9e685abfa9296064c28421bbf5d2d1b113001fe787cd"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.planRunStart (cyclomatic 18): runner.planRunStart has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"475be9c6a6caf4faed342c1e3bcc3127150223fb4a57badd9f721a9bd1b62fd4"}},{"ruleId":"D1","level":"warning","message":{"text":"http.parseAgentBody (cyclomatic 18): http.parseAgentBody 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":"lib/server/agents/http.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"33068fedf1bb91fb927a9a09a3f1947532d684f59e2ab02bf28ba44f0f45e44a"}},{"ruleId":"D1","level":"warning","message":{"text":"vision-images.prepareVisionImages (cyclomatic 18): vision-images.prepareVisionImages has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/vision-images.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c279888b7b3a7fcddce02b82e32eeaa0405ec77f63ce0bd35fed37372394c4a"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation.evaluationFor (cyclomatic 18): evaluation.evaluationFor has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (compile, a function literal at line 48, sourcePath, \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":"lib/server/pbl-v3/evaluation.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"261f7e5769a8f94b667e2df445a0daa6db5ed5b3e60e2590d9f5a676739375de"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-config.resolveServerWebSearchProviderId (cyclomatic 18): provider-config.resolveServerWebSearchProviderId 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/server/provider-config.ts"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58cb0e31f594ff3eff9f6e96df36162b346b19f259a155cacac9d7d9a8f94fc"}},{"ruleId":"D1","level":"warning","message":{"text":"PblScene.PblScene (cyclomatic 18): PblScene.PblScene has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, 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/standalone-player/scenes/PblScene.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d95e89d875dadf14d7986507a1f0b4fa032811ec46bf9e3354e6ac4a4707b3"}},{"ruleId":"D1","level":"warning","message":{"text":"SceneSequencer.step (cyclomatic 18): SceneSequencer.step has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/standalone-player/playback/sequencer.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f8381aeca000368fcb3b661d8e35f7dca5062681e6552cfb59739e77b93727"}},{"ruleId":"D1","level":"warning","message":{"text":"FetchEventSource.connect (cyclomatic 18): FetchEventSource.connect has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/fetch-event-source.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"934b8e581b9d1a232123094db18075b79b6a2931896e40215204165deaffcede"}},{"ruleId":"D1","level":"warning","message":{"text":"split-cue.isWide (cyclomatic 18): split-cue.isWide 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/video-export/split-cue.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cba2751284af7097781c6296c32c5c88cd7e209a920cdba7ada52e001cb2494"}},{"ruleId":"D1","level":"warning","message":{"text":"read.isUsableLegacyCoverConfig (cyclomatic 18): read.isUsableLegacyCoverConfig 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/video-export/legacy/read.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0a85ed43ef5ad00bd7f17e9920914ff4e31438556828e4c2ef8f1a76efb818"}},{"ruleId":"D1","level":"warning","message":{"text":"session-store.uploadWorkbenchMaterial (cyclomatic 18): session-store.uploadWorkbenchMaterial 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":"lib/workbench/session-store.ts"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac56f1bada07d19c25fa113defee467be901b19841a811d99443311e4f2de2b"}},{"ruleId":"D1","level":"warning","message":{"text":"course-discovery-sync.useGeneratedCourseDiscoverySync (cyclomatic 18): course-discovery-sync.useGeneratedCourseDiscoverySync 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 118, 103, 133). 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":"lib/workbench/course-discovery-sync.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a120d011151624a1555c3a8f5244edffd609940d7cdf3be96d032ffddb3197a4"}},{"ruleId":"D1","level":"warning","message":{"text":"request-schedule.sceneChanges (cyclomatic 18): request-schedule.sceneChanges has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/request-schedule.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8799ea191f2dc8de36fb8ba48cc8b1eb5bcdb53299e99b4f24cddf404b0c5e87"}},{"ruleId":"D1","level":"warning","message":{"text":"interactive.isInteractiveContent (cyclomatic 18): interactive.isInteractiveContent 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":"packages/@openmaic/dsl/src/interactive.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9997fc751a6879e6c5ee2fe393ee4b02d557d10b709c6280c3369bb56a1506"}},{"ruleId":"D1","level":"warning","message":{"text":"rotate.computeRotate (cyclomatic 18): rotate.computeRotate 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":"packages/@openmaic/editor/src/react/core/rotate.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11bb75f7b8ee49ce6d67886d86aee507f3fdb3f46e2f43bb4261e696e282ab9"}},{"ruleId":"D1","level":"warning","message":{"text":"useShapeKeypointGesture.useShapeKeypointGesture.onShapeKeypointPointerDown (cyclomatic 18): useShapeKeypointGesture.useShapeKeypointGesture.onShapeKeypointPointerDown has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useShapeKeypointGesture.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3236d20d4d6bf9ec69ca6bd2061d33eb00934cc5ea759fd48904a1ebfe2dc8fb"}},{"ruleId":"D1","level":"warning","message":{"text":"LineFormatToolbar.LineFormatToolbar (cyclomatic 18): LineFormatToolbar.LineFormatToolbar has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/line/LineFormatToolbar.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09cc47dfe393736dcfa3de1bef674d1e05f7f3c99754246244887457ceb7229"}},{"ruleId":"D1","level":"warning","message":{"text":"json-repair.tryParseJson (cyclomatic 18): json-repair.tryParseJson has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/json-repair.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e429c806036e840a414032a6e969424ba329b2dcb5fcfb7c31aa2f8ad1ba44"}},{"ruleId":"D1","level":"warning","message":{"text":"interactive-post-processor.postProcessInteractiveHtml (cyclomatic 18): interactive-post-processor.postProcessInteractiveHtml has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/interactive-post-processor.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a4321edfdf1a082ded2913e3cff0ca15e59152e9a17b7b606b990fc3e874f4"}},{"ruleId":"D1","level":"warning","message":{"text":"planner-single-call.hydrateScenario (cyclomatic 18): planner-single-call.hydrateScenario has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: 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/@openmaic/generation/src/pbl/planner-single-call.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13dd7aa6cde3d95894585091e29cb50022f71393eade719747911dc00e700fd"}},{"ruleId":"D1","level":"warning","message":{"text":"emfParser.parseStretchDibits (cyclomatic 18): emfParser.parseStretchDibits 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":"packages/@openmaic/importer/src/utils/emfParser.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58c227eba6963dc4cd2af4523d282a5dd2a7d7605eb673314f3d693bc4ec90a"}},{"ruleId":"D1","level":"warning","message":{"text":"shapeSerializer.pickVisibleGradientStop (cyclomatic 18): shapeSerializer.pickVisibleGradientStop has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3a2f494d64f8e84a2154de4be45246de22c5236924795990a7beac7d48d26c"}},{"ruleId":"D1","level":"warning","message":{"text":"imageSerializer.buildImage (cyclomatic 18): imageSerializer.buildImage 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":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f60931866d22328bca23a9f916fc8a0b03b138e33c488a88117f3987a4ebd7"}},{"ruleId":"D1","level":"warning","message":{"text":"chartSerializer.extractSeriesColors (cyclomatic 18): chartSerializer.extractSeriesColors has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/chartSerializer.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e606fe915ae85b5a44a0e6934444215ce4ee89e1bb2bd4ada2d06c03ed6b39f0"}},{"ruleId":"D1","level":"warning","message":{"text":"chartOption.getChartOption::axisOptions (cyclomatic 18): chartOption.getChartOption::axisOptions 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. This shape REPEATS in the file: one other method here (chartOption.getChartOption) 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":"packages/@openmaic/renderer/src/elements/chart/chartOption.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1c5f5f6362260988359736f9db05007ff93661eafe79f56d8722dc700bf5a7"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpDocumentStore.request (cyclomatic 18): HttpDocumentStore.request has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/http.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68228d901b5c329ecd9890752fe9a0f170d4ef3c3065bbe1ff8b82281257d52"}},{"ruleId":"D1","level":"warning","message":{"text":"BrowserRuntimeStore.appendRecord (cyclomatic 18): BrowserRuntimeStore.appendRecord 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 one function literal inside it that branches (line 369). 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/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a92257484908aaef47811af1aad7ecc6f3cd11b4d7abc9982af2502bc55559f"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpRuntimeStore.requestWithStatus (cyclomatic 18): HttpRuntimeStore.requestWithStatus has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/http.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6b4136382032bd9b0d2a612c1ff4fe00f2c5c79ee0f22a289ce1626783d8b"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-preview-gateway.headersFor (cyclomatic 18): sandbox-preview-gateway.headersFor has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"scripts/sandbox-preview-gateway.mjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce317467677499f39dbbba15d5b89da41eefe7d0de8ab9230b6ab00a5c8a1fca"}},{"ruleId":"D1","level":"warning","message":{"text":"skill-settings.SkillSettings (cyclomatic 17): skill-settings.SkillSettings has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 359, 380, 414, \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/settings/skill-settings.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb8c52420b42b5267f1887c1e43404ecccf9efb31a188ebc25773d957b7b42e"}},{"ruleId":"D1","level":"warning","message":{"text":"media-service-panel.MediaServicePanel (cyclomatic 17): media-service-panel.MediaServicePanel has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 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":"components/settings/media-service-panel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b098d20a0015bf9113a9ae446421fd8ba55e8f1b33389f975e19ad85cccbe12c"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.StreamingDraft (cyclomatic 17): chat.StreamingDraft 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":"components/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"0151ea0c4bdc138ddf8040f6642e764aada9d1f95bf0394d815c11986176f47a"}},{"ruleId":"D1","level":"warning","message":{"text":"learning-panels.LearningPanels (cyclomatic 17): learning-panels.LearningPanels has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 74, 20, 52, \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/scene-renderers/pbl/v3/learning-panels.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdcb0d00eea1deed992be365d675c08d611736343ea2c82af019faa4ee42d81"}},{"ruleId":"D1","level":"warning","message":{"text":"pbl-renderer.PBLV2Container (cyclomatic 17): pbl-renderer.PBLV2Container has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 199, 186, 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/scene-renderers/pbl-renderer.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae4307609e72a2055df96a7abcf52260d02819845a6bd0cbede62006e2c2bb3"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseLineElement.BaseLineElement (cyclomatic 17): BaseLineElement.BaseLineElement has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 37, 51, 27, \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/slide-renderer/components/element/LineElement/BaseLineElement.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fec7fc3eada7ae97e0d971a8ce1f7c6932d1a7b87aa360240d9404ab1b0124f"}},{"ruleId":"D1","level":"warning","message":{"text":"useScaleElement.useScaleElement.scaleMultiElement::handleMouseMove (cyclomatic 17): useScaleElement.useScaleElement.scaleMultiElement::handleMouseMove 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":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab5316ce6f01f79450e819422962641bc4947f56a87eaee4cf7934aa3cada09"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceCourseTabs.WorkspaceCourseTabs::onKeyDown (cyclomatic 17): WorkspaceCourseTabs.WorkspaceCourseTabs::onKeyDown 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":"components/workbench/workspace/WorkspaceCourseTabs.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de3281355348c2071a8e01fc02f2c7b7c9618efcde9beceab1c633f1f30edb0"}},{"ruleId":"D1","level":"warning","message":{"text":"reporter.generateReport (cyclomatic 17): reporter.generateReport 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":"eval/whiteboard-layout/reporter.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd2b678ef47df05da755cbd33406145d9e7f5334448f13f996fcc0bfc8acf88"}},{"ruleId":"D1","level":"warning","message":{"text":"apply-regenerate.planRegenerateApply (cyclomatic 17): apply-regenerate.planRegenerateApply 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/agent/client/apply-regenerate.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5cfc3c53fe6bb18612b686a3436d5e6bd548da1ed59fc3f353a3ce084857ff"}},{"ruleId":"D1","level":"warning","message":{"text":"reasoning-sse.createReasoningContentRewriter.rewrite (cyclomatic 17): reasoning-sse.createReasoningContentRewriter.rewrite 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/ai/reasoning-sse.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08a293a6138e6cf61557a800a86b9d29d218624d4b32e73c4783db05607cf74"}},{"ruleId":"D1","level":"warning","message":{"text":"local-media.extractMediaMaterial (cyclomatic 17): local-media.extractMediaMaterial 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/document/extractors/local-media.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ce522cd553dac81efc30115afc0d0e0d79701222bc352150d582a0e6ef40f1"}},{"ruleId":"D1","level":"warning","message":{"text":"css-asset-parser.cssImportReference (cyclomatic 17): css-asset-parser.cssImportReference 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":"lib/export/css-asset-parser.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be399175c751de36dc71bc71a05d86237bbc3fb40ed98d4b84885046c343ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-observation.sampleInteractiveState (cyclomatic 17): chat-observation.sampleInteractiveState has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/interactive/chat-observation.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c449255cea4f9071630baa3c41ca53065f8990e53745dbfc2cee2bfe5389c802"}},{"ruleId":"D1","level":"warning","message":{"text":"sources.legacySpeechHolders (cyclomatic 17): sources.legacySpeechHolders has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/sources.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be14acfc51567fa4c03a8267849f9deadb3acf2b9761eb3eb59250e9221d229"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.copySession (cyclomatic 17): runtime.copySession has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/legacy-browser-import/runtime.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"412869a9a45b4bdd23808324e039c86278838bb3bdb5450c5cf48d61c19643e0"}},{"ruleId":"D1","level":"warning","message":{"text":"types.hasPBLProjectV2Containers (cyclomatic 17): types.hasPBLProjectV2Containers 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":"lib/pbl/v2/types.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"c653173242fd53597f3db065735ac118ad76c3dc927e800339a9e41bd4ddaf0f"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.markRecoveredTeachingTools (cyclomatic 17): conversation.markRecoveredTeachingTools 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":"lib/pbl/v3/conversation.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d559d5670a453c04cbc476fc073a0cd7a39b9eebb14cc6a687d9c1f46e6afbdc"}},{"ruleId":"D1","level":"warning","message":{"text":"file-reference.parseFileReference (cyclomatic 17): file-reference.parseFileReference has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/file-reference.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"754588dd3d34951878cb5c7937fe0d721c533fe59724d3921c077e4f25ff333d"}},{"ruleId":"D1","level":"warning","message":{"text":"mineru-cloud.parseWithMinerUCloud (cyclomatic 17): mineru-cloud.parseWithMinerUCloud 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/pdf/mineru-cloud.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11b48822f5b36dbaff1155d4fe6e03c1970b795dc515bbb8a96d2ed433aab47"}},{"ruleId":"D1","level":"warning","message":{"text":"pdf-providers.aliDocMindLayoutsToParsedPdf (cyclomatic 17): pdf-providers.aliDocMindLayoutsToParsedPdf 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":"lib/pdf/pdf-providers.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33cb2a73b404a197c8bf12f31d3b683cbc74d9c4c20dfbbeacfffa3405ab715"}},{"ruleId":"D1","level":"warning","message":{"text":"owner-material-extraction.publishOwnerMaterialExtraction (cyclomatic 17): owner-material-extraction.publishOwnerMaterialExtraction has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 426). 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":"lib/persistence/owner-material-extraction.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cdf74f78920b9e57bb363a13ec4f37e5bc41800edf72cb42efdf99125d187b"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaybackEngine.playBrowserTTSChunk (cyclomatic 17): PlaybackEngine.playBrowserTTSChunk has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own 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/playback/engine.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d9502047489512aca435d88c588a513ea2f63e41e971b3e83da22b894c5038"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.findNodesWithSameMark (cyclomatic 17): utils.findNodesWithSameMark 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/prosemirror/utils.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"81619b2c40bd20ca734f1475f35dda5bba572fe8f2330f82aea0509134f77de8"}},{"ruleId":"D1","level":"warning","message":{"text":"ask-user.buildAskUserTool.execute (cyclomatic 17): ask-user.buildAskUserTool.execute 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, 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":"lib/server/agent-runtime/ask-user.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"519d1b8b2daae0fc9de249d373cfabb4c59f1c98ae954f21c3cd6261248b99ad"}},{"ruleId":"D1","level":"warning","message":{"text":"media-byte-omission.percentDecodedUtf8Length (cyclomatic 17): media-byte-omission.percentDecodedUtf8Length has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (media-byte-omission.percentDecodedUtf8Length::feedPercentByte) 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":"lib/server/agent-runtime/course-edit/media-byte-omission.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3282df416a7c34fe0a8570441a26741ca2b8c5ace08c50539474a8b2c713da79"}},{"ruleId":"D1","level":"warning","message":{"text":"apply.applySlideEdit (cyclomatic 17): apply.applySlideEdit 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/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7b96e537fbef135eac56963b6570588106eaa84062cc354b9b0d55b77a94e5"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl-tools.applyStrReplaceOp (cyclomatic 17): dsl-tools.applyStrReplaceOp 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":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b4bec2a34d46310781a92ba9b94dce927b6f2d2421ab5591b437ed64c68153"}},{"ruleId":"D1","level":"warning","message":{"text":"store.applyPatch (cyclomatic 17): store.applyPatch 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":"lib/server/generation/run/store.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"251bd1c890a9d3e0966061d58ec6c57d80265f028c9f088668f2705d60b88959"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.modelSettingsView (cyclomatic 17): settings.modelSettingsView has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 502, 488, 558, \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":"lib/server/model-config/settings.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7e971413917ffcd0b1cc1375aa1cf6f832a114d2de3f94fa76c0a8f18c54c9"}},{"ruleId":"D1","level":"warning","message":{"text":"model-routes.parseThinking (cyclomatic 17): model-routes.parseThinking has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, 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":"lib/server/model-routes.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61d7d48feafb3ac6595dc08212f39a4db8488bdd72a5a8ba3fdf400130cb80c"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningStore.reconcileIdleTurns (cyclomatic 17): LearningStore.reconcileIdleTurns 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 one function literal inside it that branches (line 192). 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":"lib/server/pbl-v3/store.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6427494a06149fa401bd7de56a6ef1e1a31887a1cc494ee837d24bb120bb8f76"}},{"ruleId":"D1","level":"warning","message":{"text":"environment.touchEnvironment (cyclomatic 17): environment.touchEnvironment 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/server/pbl-v3/environment.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c39d5eb252ec1ed8324ce685cee9ad4902d75469c7728d36ee39d1b7940481"}},{"ruleId":"D1","level":"warning","message":{"text":"registry.configureAssetByteStore (cyclomatic 17): registry.configureAssetByteStore 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":"lib/server/persistence-hooks/registry.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c1ebe2306c6c8a2c23ed075eaf1ed73df002ec003743581b04e23116a10b75"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoRegistry.play (cyclomatic 17): VideoRegistry.play has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: 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":"lib/standalone-player/playback/media-ports.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e853650638dfdf079c370752bbcd29eff9a598866d5dbddba7afd2f4b481ce7"}},{"ruleId":"D1","level":"warning","message":{"text":"read.hasPblV2CoverContainers (cyclomatic 17): read.hasPblV2CoverContainers has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/legacy/read.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96453550b3fde095be1cde6e8c53597e0d020b92978af43d7e326d7b3d52aca"}},{"ruleId":"D1","level":"warning","message":{"text":"index.planPblCover (cyclomatic 17): index.planPblCover has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (degrade). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/emit-hyperframes/index.ts"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc23a2f410f233902389c00c68635172f31150010068057fbfe0ac7e9bc76d72"}},{"ruleId":"D1","level":"warning","message":{"text":"deepseek.searchWithDeepSeek (cyclomatic 17): deepseek.searchWithDeepSeek has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/deepseek.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e88f070d428eb9d22a1090cab05bf0341e7f84319948ab2cc3637bd5c99e4ef"}},{"ruleId":"D1","level":"warning","message":{"text":"material-library-client.materialOf (cyclomatic 17): material-library-client.materialOf 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":"lib/workbench/material-library-client.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdc06b4a84ec9b72fae3b402ac9fbf45319ce2833bf03956985e6cf48ff20d3"}},{"ruleId":"D1","level":"warning","message":{"text":"useResizeGesture.useResizeGesture.onResizeHandlePointerDown (cyclomatic 17): useResizeGesture.useResizeGesture.onResizeHandlePointerDown has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (handleUp, modifierOf, handleMove, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useResizeGesture.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e04c6dc3f659c8fc9e36ca594045335330d56d1f6733d411d5cde0439a227bb"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.findNodesWithSameMark (cyclomatic 17): utils.findNodesWithSameMark 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/@openmaic/editor/src/react/text/prosemirror/utils.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5006a7c4da2148294a91b846a4efef25c930082df34ed12e87af80a8496634"}},{"ruleId":"D1","level":"warning","message":{"text":"TextAutoSize.TextAutoSize (cyclomatic 17): TextAutoSize.TextAutoSize has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 76, 53, 73, \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/@openmaic/editor/src/react/text/TextAutoSize.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcd8b0cdc68f74b43628371b2da946dc84c48cf3e02363ef732dda0b2cca872"}},{"ruleId":"D1","level":"warning","message":{"text":"CanvasContextMenu.CanvasContextMenu (cyclomatic 17): CanvasContextMenu.CanvasContextMenu has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/context/CanvasContextMenu.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8b074f3afb1780430992dd0aa0ca15aa0573105b548eb798e7c2e7106e9b17"}},{"ruleId":"D1","level":"warning","message":{"text":"generation-retry.isRetryableGenerationError (cyclomatic 17): generation-retry.isRetryableGenerationError has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/generation-retry.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"169a567c71df06e1411dab2e295000bc9a43112358f8501c343a7d9998b73f66"}},{"ruleId":"D1","level":"warning","message":{"text":"outline-type.changeOutlineType (cyclomatic 17): outline-type.changeOutlineType has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/outline-type.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea1dbaa5cff79e6ced2acfa51d66c97565a2b1d22dad63b6e8fb8b7a8021c28"}},{"ruleId":"D1","level":"warning","message":{"text":"types.hasPBLProjectV2Containers (cyclomatic 17): types.hasPBLProjectV2Containers has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/types.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2405a73a52128a7a49958750f6cc26f0602df79b5082c5ccd347645122c3533"}},{"ruleId":"D1","level":"warning","message":{"text":"scene-generator.processActions (cyclomatic 17): scene-generator.processActions has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 1995). 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6faf6d9ad11f5be4cf03b91352775140604150607c2df9a9ba5eefc24438a9c"}},{"ruleId":"D1","level":"warning","message":{"text":"Presentation.findMatchingPlaceholder (cyclomatic 17): Presentation.findMatchingPlaceholder 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/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"88904552d030ba2f2899540648ef3e83da13854b7a2fb84a9159619c0268a4e8"}},{"ruleId":"D1","level":"warning","message":{"text":"Presentation.findMatchingLayoutPlaceholder (cyclomatic 17): Presentation.findMatchingLayoutPlaceholder 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/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6fdb5eb8e6fa1dbc582ac8ba4b5c816bde5f58e479a054843494fd1684908e"}},{"ruleId":"D1","level":"warning","message":{"text":"mtef.charLatex (cyclomatic 17): mtef.charLatex has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: mtef.bigOpLimits (cyclomatic 26) 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/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fe63d30305ada88dab49e4367c0ee7c4579f2f1a0e568b66704e920472ff0b"}},{"ruleId":"D1","level":"warning","message":{"text":"mathSerializer.mathToElement (cyclomatic 17): mathSerializer.mathToElement 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/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba7ec7e6487366ed3e7166f9780941dc5e0b0f8a269c30e1a352ad159ffc29f"}},{"ruleId":"D1","level":"warning","message":{"text":"transformParsedToSlides.parseLineElement (cyclomatic 17): transformParsedToSlides.parseLineElement has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"71246143120a560550870bb2282d25d9b9c96dd543194655df7c5bf2f5e4eb87"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseLineElement.BaseLineElement (cyclomatic 17): BaseLineElement.BaseLineElement has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 32, 43, 22, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/line/BaseLineElement.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"239b9382f53e224f2020532823af5a549df2424a0eb6fba106bf706b21467699"}},{"ruleId":"D1","level":"warning","message":{"text":"pg-migrations.splitSqlStatements (cyclomatic 17): pg-migrations.splitSqlStatements 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/@openmaic/storage/src/pg-migrations.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bff93d50ae65b6a1ac03ebd7c3924d7a62da7782e3966af4096d7d7f84a79e5"}},{"ruleId":"D1","level":"warning","message":{"text":"roots.changeAssetRoots (cyclomatic 17): roots.changeAssetRoots 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":"packages/@openmaic/storage/src/asset/roots.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a138da677e759d2b502af18a06a332c38d168acab8390488399491dfaf997f68"}},{"ruleId":"D1","level":"warning","message":{"text":"types.applyOpsOnce (cyclomatic 17): types.applyOpsOnce 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/@openmaic/storage/src/skill/types.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d98dfc404145fc9b8c0e5b68bb09a37b2b63b0767cc6daf65c08fdbd601712"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-preview-gateway.resolve (cyclomatic 17): sandbox-preview-gateway.resolve 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":"scripts/sandbox-preview-gateway.mjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f74d732c82f43da52645e3cb7dd4b1ba93ebdd2414e4a0c28a656d9c1981b7"}},{"ruleId":"D1","level":"warning","message":{"text":"waitForStarted (cyclomatic 17): waitForStarted 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":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9be8b2def483d3737d559598be0cc795c5ce6e535a99a3acd9e95d1cbbd50d"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 16): route.POST has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 41). 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":"app/api/agents/import/route.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4990f793980f6f7dbbc694b0df9974b4cf33df15521490e501beb577df00eba"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 16): route.POST has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/pbl/v2/evaluate/route.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc29b4ec4a04f31754555bed9fb8319df9526defe45fb4916eb15b8aca156a75"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 16): route.POST 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":"app/api/quiz-grade/route.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b34d1fb2b4aafde5db9a3327197ed85a82032b57f9a52d9824b70da7f2a5644"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt-input.PromptInputTextarea (cyclomatic 16): prompt-input.PromptInputTextarea has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (handleKeyDown, handlePaste). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/prompt-input.tsx"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ef1e35838c9e957f8a17fda4eae143acefb33a14407cb79f100e4aba006028"}},{"ruleId":"D1","level":"warning","message":{"text":"QuestionCard.QuestionCard (cyclomatic 16): QuestionCard.QuestionCard has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 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":"components/edit/surfaces/quiz/QuestionCard.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"561beb3ee7e7d3e20522503212261c8aabcfd90bcaf112b7b87edea4ee688bfe"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.MessageBubble (cyclomatic 16): chat.MessageBubble has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"b046c28884530edf2f7de9344eab383d8847ea6c91be0bfa1b4bbab43525abcd"}},{"ruleId":"D1","level":"warning","message":{"text":"workbench-panel.LearningWorkbenchPanel::run (cyclomatic 16): workbench-panel.LearningWorkbenchPanel::run has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (workbench-panel.LearningWorkbenchPanel) 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":"components/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea83cace83b610eefadecf723dd027a6cd963de20ca1d9017def1056eeb576c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.LineElement (cyclomatic 16): index.LineElement has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/LineElement/index.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0578fc82624ea0b19278e07fff0d8b8c0bfe280f3d61895716b3cedd55fab0d4"}},{"ruleId":"D1","level":"warning","message":{"text":"useDragElement.useDragElement.dragElement (cyclomatic 16): useDragElement.useDragElement.dragElement has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (useDragElement.useDragElement.dragElement::handleMouseMove) 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":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5442e73838031059afce887813ae868958f971f8c23051e830fa947d6a5e51dc"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.main (cyclomatic 16): runner.main 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":"eval/whiteboard-shapes/runner.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0671a2abd9cc33c6a444ab4314ea82c035ac9dfd245cb066da1b39d95dfd954f"}},{"ruleId":"D1","level":"warning","message":{"text":"asr-providers.transcribeQwenASR (cyclomatic 16): asr-providers.transcribeQwenASR has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/asr-providers.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5780a5611a75f8a6de06f1e8fdc7c4c82f773860b4ed4253fcd87ebecbed7b0"}},{"ruleId":"D1","level":"warning","message":{"text":"element-reference.validateInteractiveReference (cyclomatic 16): element-reference.validateInteractiveReference 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":"lib/chat/pi/element-reference.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0473bcbcc692199c82e74ffd99247da29d6d6442726d5da18a4f4cde4f452a"}},{"ruleId":"D1","level":"warning","message":{"text":"load-classroom.hydrateDeferredMediaTasks (cyclomatic 16): load-classroom.hydrateDeferredMediaTasks has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 555, 546). 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":"lib/classroom/load-classroom.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4fe5ddca564d1cc260b5e7615a72c2ac8331a1de0ab4afac363805c8d63cb7"}},{"ruleId":"D1","level":"warning","message":{"text":"media-registry.selectMediaExtractorProvider (cyclomatic 16): media-registry.selectMediaExtractorProvider has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own 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/document/extractors/media-registry.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"540bcef27df6cf572bfe7537d780deaa436f7f7cf4bf80c08d3340945da879e8"}},{"ruleId":"D1","level":"warning","message":{"text":"proxied-fetch.createProxiedFetch.\u003Creturned closure\u003E (cyclomatic 16): proxied-fetch.createProxiedFetch.\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/export/proxied-fetch.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb4e7e391cccba75d562a480855eb5f022efa04c6662427816d7c95979b314e"}},{"ruleId":"D1","level":"warning","message":{"text":"build-standalone-html.linkStandaloneImages (cyclomatic 16): build-standalone-html.linkStandaloneImages has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own 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/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2714ff67f171f3b29f640b1fa85bf9307a3f7fe9b85b97925230962c368cccc6"}},{"ruleId":"D1","level":"warning","message":{"text":"minimax-image-adapter.generateWithMiniMaxImage (cyclomatic 16): minimax-image-adapter.generateWithMiniMaxImage 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/media/adapters/minimax-image-adapter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74192f65de8462b54ba97806b99fec953e99fb028b33ab5b5ab1fb2a667483e"}},{"ruleId":"D1","level":"warning","message":{"text":"instructor.buildScenarioAwarenessBlock (cyclomatic 16): instructor.buildScenarioAwarenessBlock has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"777bcc79bc84b9a6f191cb1eef56dbb735bd7f9c29b4a202c5db5b9e748dc6b8"}},{"ruleId":"D1","level":"warning","message":{"text":"transition.recordArtifact (cyclomatic 16): transition.recordArtifact 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":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5eb776b7e3d4192010992a6354ed88625fcf59ac1f3224aaaca88083b420f61"}},{"ruleId":"D1","level":"warning","message":{"text":"report-client.readReportResponse (cyclomatic 16): report-client.readReportResponse 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":"lib/pbl/v3/report-client.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8a189bd629aec14ac398e8d8b141cab1745956f866513040b6e2e8d4838a08"}},{"ruleId":"D1","level":"warning","message":{"text":"asset-collector-schedule.startAssetCollectorSchedule (cyclomatic 16): asset-collector-schedule.startAssetCollectorSchedule has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (collectNow). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/asset-collector-schedule.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"de71d88a4841f3a1bfddfd4c299e1f1b04c6b92b2a714736907470c5d4d3c1bb"}},{"ruleId":"D1","level":"warning","message":{"text":"media-byte-omission.percentDecodedUtf8Length::feedPercentByte (cyclomatic 16): media-byte-omission.percentDecodedUtf8Length::feedPercentByte has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (media-byte-omission.percentDecodedUtf8Length) 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":"lib/server/agent-runtime/course-edit/media-byte-omission.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf974ded2d3f9690d0523f8cd6c774c7815da7e1431c575463e47b6c8d61676"}},{"ruleId":"D1","level":"warning","message":{"text":"generation-tools.collectUnresolvedMediaPlaceholders (cyclomatic 16): generation-tools.collectUnresolvedMediaPlaceholders 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/server/agent-runtime/generation-tools.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd5e05284a47cf74bb33bceabc3f2d520d7eb54f2a23b7dbe6b0792c511e916"}},{"ruleId":"D1","level":"warning","message":{"text":"generate-image.buildGenerateImageTool.execute (cyclomatic 16): generate-image.buildGenerateImageTool.execute 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/server/agent-runtime/generate-image.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0f6a2d3218f75465b713540cd252f039f358c9aaefaeff36929436944c75ad"}},{"ruleId":"D1","level":"warning","message":{"text":"openmaic-yml.interpolate (cyclomatic 16): openmaic-yml.interpolate has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/openmaic-yml.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"862d3110be10a6af775f2254b46d50dcd8f82a0ed7317c80d18b39799d43a8af"}},{"ruleId":"D1","level":"warning","message":{"text":"fetch-with-redirect-validation.fetchWithRedirectValidation (cyclomatic 16): fetch-with-redirect-validation.fetchWithRedirectValidation 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/server/fetch-with-redirect-validation.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abc445aa5bb463d033388e4c21b1bf950d5d85f396fbf249ab299dbd2c03b76"}},{"ruleId":"D1","level":"warning","message":{"text":"outline.extractNewOutlines (cyclomatic 16): outline.extractNewOutlines 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/server/generation/steps/outline.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1363c7dcaa08bbde6d70e457ffb8f32664915566a21936bd39c7b94a688ae534"}},{"ruleId":"D1","level":"warning","message":{"text":"image-sizing.resolveImageSize (cyclomatic 16): image-sizing.resolveImageSize 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":"lib/server/image-sizing.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b645675b0b22995444b8c6f98202659f2b2aa987c321bec8b6ea52dc1f65596"}},{"ruleId":"D1","level":"warning","message":{"text":"document-image-apply.applyImagePlan (cyclomatic 16): document-image-apply.applyImagePlan has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/document-image-apply.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c006a537b6e87c3554febb502d04ff02f7146e85b7cc812acc6e7f2e7125e989"}},{"ruleId":"D1","level":"warning","message":{"text":"extraction.extractOwnerMaterial (cyclomatic 16): extraction.extractOwnerMaterial has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/materials/extraction.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6263363f94b5da8f8e98bad6a11839c4d0a4050a4944e409867c736931df4b"}},{"ruleId":"D1","level":"warning","message":{"text":"extraction.startOwnerMaterialExtractor (cyclomatic 16): extraction.startOwnerMaterialExtractor has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (scan, a function literal at line 748). 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":"lib/server/materials/extraction.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3d2f6acc5402d5642985f5d63182c11b14f0ecbc9646190845384726cbb795"}},{"ruleId":"D1","level":"warning","message":{"text":"media.fromTarget (cyclomatic 16): media.fromTarget has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/media.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb8e935c109530736269ecd1173cf57800632b9c95d080f1d435e8c1e6c9995"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.queueRole (cyclomatic 16): runtime.queueRole 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/server/pbl-v3/runtime.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba75372d2c6f92421e9bc0bda34b6c10ef557821ee2507fab7f4282a59476f9"}},{"ruleId":"D1","level":"warning","message":{"text":"application.inspectApplication (cyclomatic 16): application.inspectApplication has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/application.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8938f48f267d496b03c33beccbb46ea74d021c797c26d7ce7da0dc1baa1349"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-config.ttsModelFor (cyclomatic 16): provider-config.ttsModelFor 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/server/provider-config.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ac8d02c5419a39796d5131ce4d80a9248fe6815ab2c7b9c8e822f2a60c9917"}},{"ruleId":"D1","level":"warning","message":{"text":"web-search-config.requestedWebSearchConnection (cyclomatic 16): web-search-config.requestedWebSearchConnection has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/web-search-config.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1568f23e1293dd547cdb842c9c787569ded286810519f10a2bd49c9c87abe753"}},{"ruleId":"D1","level":"warning","message":{"text":"doubao.searchWithDoubao (cyclomatic 16): doubao.searchWithDoubao has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/doubao.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"68627f1d0fc00718d87ada257a0962f14b096a47e6cb0dd68f513171005b005a"}},{"ruleId":"D1","level":"warning","message":{"text":"OwnerSessionClient.openStream::onSessionEvent (cyclomatic 16): OwnerSessionClient.openStream::onSessionEvent 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/workbench/owner-session-client.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d70d5f8b913ed677105691abbddccd5a8f282d299aa629f4a045be99ad3e7f"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.checkInteractiveContent (cyclomatic 16): validate.checkInteractiveContent has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/dsl/src/validate.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad3044776e120e41bb35ab99a5196005cd1984ddb9e8de82a6278c0aa3accb3"}},{"ruleId":"D1","level":"warning","message":{"text":"Slide.buildDiagramGroup (cyclomatic 16): Slide.buildDiagramGroup has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eb963a87579c096f90707b19f7f54fe4ca9c6b224323b21f417eb59d7110a2"}},{"ruleId":"D1","level":"warning","message":{"text":"shapeSerializer.fillToJson (cyclomatic 16): shapeSerializer.fillToJson has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b451ede2716d82a6f86b7b7ea96f82e9ce93b1e71993c289d63b9ed89e5e5a3"}},{"ruleId":"D1","level":"warning","message":{"text":"groupSerializer.detectLineOrientation (cyclomatic 16): groupSerializer.detectLineOrientation has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/groupSerializer.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ded060b5a142891122ef8868caebe8042034d9f6faca6271314e67144ceee75"}},{"ruleId":"D1","level":"warning","message":{"text":"measure.measureSlideElementGeometry (cyclomatic 16): measure.measureSlideElementGeometry has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/snapshot/measure.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5720adfebe5b190ea7e18f1836eff9c302eab589e1544a4693ee28afcd095d95"}},{"ruleId":"D1","level":"warning","message":{"text":"base-url.assertHttpBaseUrl (cyclomatic 16): base-url.assertHttpBaseUrl has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/http/base-url.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"181bf8dd1e5702c5d1f6437071b1db70a9ddd24e3bf9a6439bf6571659d18765"}},{"ruleId":"D1","level":"warning","message":{"text":"PgAssetStore.replace (cyclomatic 16): PgAssetStore.replace has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 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/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"204053fdff2b9de2b7ecccd47539c899f77383c7fa15577c1fa48c393dd00353"}},{"ruleId":"D1","level":"warning","message":{"text":"asset.createAssetHttpHandler (cyclomatic 16): asset.createAssetHttpHandler has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"893296f64caaa0bab2a5fdfca02f75dc56f28a9e365cb326700517b2cc809057"}},{"ruleId":"D1","level":"warning","message":{"text":"reference.createReferenceRuntimeServer (cyclomatic 16): reference.createReferenceRuntimeServer has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/reference.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7954f8a4fbf828ed2550dc62e6bfa53c6658f83c91b35b2aeb7ad77bc2368aa"}},{"ruleId":"D1","level":"warning","message":{"text":"probe-mineru-cloud.probe (cyclomatic 16): probe-mineru-cloud.probe 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":"scripts/probe-mineru-cloud.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4ef7ab76752d450b0f36fe1f10f90c89e413953e172d338e5358df5062a03e"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-preview-activity.installPreviewActivity::flush (cyclomatic 16): sandbox-preview-activity.installPreviewActivity::flush 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":"scripts/sandbox-preview-activity.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49bcdfb3884311878f274dd441c9b675868f3250229a1370750184293f1716a"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox-preview-gateway.responseHeaders (cyclomatic 16): sandbox-preview-gateway.responseHeaders 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":"scripts/sandbox-preview-gateway.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc1a8f0bda523db01682a458b4e7c65cdac77ba9fd0da8a4ab4f6196029d3d5"}},{"ruleId":"D2","level":"warning","message":{"text":"use-export-pptx.buildPptxBlob (cognitive 630): use-export-pptx.buildPptxBlob has cognitive complexity 630 (threshold 15). Drivers by points: if/else 135 (483 pts), ternaries 12 (55 pts), loops 9 (40 pts), boolean chains 30, error handling 4 (22 pts) (nesting depth added 440). Of this number, 624 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb96fda439d9c1a55b5f1c385ac589c56daac48878b1e1a47a2929c46731eda"}},{"ruleId":"D2","level":"warning","message":{"text":"textSerializer.renderTextBody (cognitive 514): textSerializer.renderTextBody has cognitive complexity 514 (threshold 15). Drivers by points: if/else 95 (331 pts), ternaries 18 (78 pts), boolean chains 51, loops 11 (48 pts), error handling 1 (6 pts) (nesting depth added 338). Of this number, 470 points are the body\u0027s own statements and 44 belong to 11 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"d488927d27d8a19610c5c723168019ada3431fa03f2b62fb90e4d2a750737468"}},{"ruleId":"D2","level":"warning","message":{"text":"transformParsedToSlides.transformParsedToSlides::parseElements (cognitive 413): transformParsedToSlides.transformParsedToSlides::parseElements has cognitive complexity 413 (threshold 15). Drivers by points: if/else 74 (225 pts), ternaries 26 (117 pts), boolean chains 56, loops 3 (8 pts), error handling 1 (4 pts), match/switch 1 (3 pts) (nesting depth added 252). 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/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bb7fb68203b94358ac9e51da0dc46cfcf804126810de1515a1e16f6f5bb10c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Roundtable (cognitive 280): index.Roundtable has cognitive complexity 280 (threshold 15). Drivers by points: boolean chains 113, ternaries 51 (94 pts), if/else 52 (72 pts), match/switch 1 (nesting depth added 63). Of this number, 171 points are the body\u0027s own statements and 109 belong to 35 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/roundtable/index.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f0d35585515519f111221d3919054cc25bb2042a2cdc6821580390ad3ac46e"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-presentation.presentTool (cognitive 276): tool-presentation.presentTool has cognitive complexity 276 (threshold 15). Drivers by points: ternaries 72 (152 pts), if/else 54 (110 pts), boolean chains 13, match/switch 1 (nesting depth added 136). 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/workbench/chat/tool-presentation.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41c7b67b353347ae81b36fb8be86c9fe83bc300d28ce09b70daee3154b72fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackChromeRoot.PlaybackChromeRoot (cognitive 266): PlaybackChromeRoot.PlaybackChromeRoot has cognitive complexity 266 (threshold 15). Drivers by points: if/else 127 (158 pts), boolean chains 87, ternaries 15 (16 pts), error handling 2 (3 pts), match/switch 2 (nesting depth added 33). Of this number, 41 points are the body\u0027s own statements and 225 belong to 65 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/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4234cab6c601dcd3dcc544d797a24bcbb7f5af3686c0620a1059a6e12070dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.projectConversation (cognitive 215): conversation.projectConversation has cognitive complexity 215 (threshold 15). Drivers by points: if/else 44 (140 pts), boolean chains 23, loops 8 (23 pts), ternaries 8 (20 pts), error handling 1 (9 pts) (nesting depth added 131). Of this number, 198 points are the body\u0027s own statements and 17 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/conversation.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7cf04964b46abc8cf148984efe9b923e26a7211ddc7c3fe961877eb49f6d74"}},{"ruleId":"D2","level":"warning","message":{"text":"shapeSerializer.renderShape (cognitive 214): shapeSerializer.renderShape has cognitive complexity 214 (threshold 15). Drivers by points: if/else 58 (82 pts), ternaries 26 (72 pts), boolean chains 58, loops 1 (2 pts) (nesting depth added 71). To reduce it, split the body into named stages: move each independent step or branch into 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/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d4166d154ccc6904ed8e7283f9cc1d6346cbf19eeb7320ee9a3b084a6249cb"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceShell.WorkspaceShellController (cognitive 203): WorkspaceShell.WorkspaceShellController has cognitive complexity 203 (threshold 15). Drivers by points: if/else 66 (74 pts), ternaries 47 (63 pts), boolean chains 62, loops 3, error handling 1 (nesting depth added 24). Of this number, 72 points are the body\u0027s own statements and 131 belong to 50 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":"components/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbbb84bdd43cbcd40cb6e4e8093a2de3085c6e40513d9f1610d25ea7819c622"}},{"ruleId":"D2","level":"warning","message":{"text":"session-store.foldEvent (cognitive 192): session-store.foldEvent has cognitive complexity 192 (threshold 15). Drivers by points: if/else 55 (116 pts), ternaries 13 (35 pts), boolean chains 31, loops 5 (9 pts), match/switch 1 (nesting depth added 87). Of this number, 171 points are the body\u0027s own statements and 21 belong to 19 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/workbench/session-store.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7faac9a86e8f9738aafbef2bfe290ab5abdbb6b10368ea8a2d6376e8c882aef"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.executeSession (cognitive 187): runner.executeSession has cognitive complexity 187 (threshold 15). Drivers by points: if/else 103 (164 pts), ternaries 51 (86 pts), boolean chains 55, error handling 5 (7 pts), loops 3 (5 pts) (nesting depth added 100). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (runner.executeSession::emit) 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":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"f772f43b104d99957f4e01ef4fa675341fb48b6ee571ec70757e8d06a66fe26f"}},{"ruleId":"D2","level":"warning","message":{"text":"model-settings.planModelSettingsImport (cognitive 177): model-settings.planModelSettingsImport has cognitive complexity 177 (threshold 15). Drivers by points: ternaries 23 (77 pts), if/else 25 (63 pts), boolean chains 29, loops 6 (8 pts) (nesting depth added 94). Of this number, 176 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/model-settings.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9743ba3b759facce4315f1a9659a4a46d39c9c2ecf1d0490bbd2ff01a6844b82"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkbenchChat.WorkbenchChat (cognitive 176): WorkbenchChat.WorkbenchChat has cognitive complexity 176 (threshold 15). Drivers by points: ternaries 45 (78 pts), if/else 51 (65 pts), boolean chains 30, error handling 2, loops 1 (nesting depth added 47). Of this number, 86 points are the body\u0027s own statements and 90 belong to 30 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/workbench/WorkbenchChat.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce103fd1e7fa2902fc223c902bb8e71c6527ca72875b3f8c024a195783cf7d1"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialLibraryPage.MaterialLibraryPage (cognitive 175): MaterialLibraryPage.MaterialLibraryPage has cognitive complexity 175 (threshold 15). Drivers by points: if/else 58 (69 pts), ternaries 50 (63 pts), boolean chains 39, error handling 2, loops 2 (nesting depth added 24). Of this number, 31 points are the body\u0027s own statements and 144 belong to 38 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":"components/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4b0cf6ede8ab1e166ec2a50a3ab69a1dbdc0c36408e428bc6bf53dad45b168"}},{"ruleId":"D2","level":"warning","message":{"text":"material-tools.buildMaterialTools (cognitive 172): material-tools.buildMaterialTools has cognitive complexity 172 (threshold 15). Drivers by points: if/else 51 (94 pts), ternaries 29 (47 pts), boolean chains 24, loops 4 (7 pts) (nesting depth added 64). Most of this is not in the body itself: 1 of the 172 points is its own statement and the rest belongs to 14 function literals inside it that branch (lines 834, 992, 624, \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":"lib/server/agent-runtime/material-tools.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02f421805905d4e7bd155fb3069a04bcbd13ccfdb2ccf97661caf315ff35a97"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.PBLV3WorkspaceContent (cognitive 166): workspace.PBLV3WorkspaceContent has cognitive complexity 166 (threshold 15). Drivers by points: boolean chains 112, if/else 27 (30 pts), ternaries 12 (22 pts), error handling 2 (nesting depth added 13). Of this number, 121 points are the body\u0027s own statements and 45 belong to 28 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/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fba22c6d742cd278bfa825d707f542a3b5937c3d32c107b8228b602b2ea1e5"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-tools.teachingRunnerConfig (cognitive 165): runner-tools.teachingRunnerConfig has cognitive complexity 165 (threshold 15). Drivers by points: if/else 46 (87 pts), boolean chains 45, ternaries 15 (31 pts), loops 1 (2 pts) (nesting depth added 58). Of this number, 30 points are the body\u0027s own statements and 135 belong to 13 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/server/pbl-v3/runner-tools.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"07551f39440310e4d9845f4136481a84d1d0e791ef3cea8617d140c9738ca047"}},{"ruleId":"D2","level":"warning","message":{"text":"project-package.validateProjectPackage (cognitive 161): project-package.validateProjectPackage has cognitive complexity 161 (threshold 15). Drivers by points: if/else 50 (83 pts), boolean chains 36, loops 22 (35 pts), ternaries 4 (7 pts) (nesting depth added 49). Of this number, 155 points are the body\u0027s own statements and 6 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/project-package.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ebef5bda42df9beec04e5a92fafcca6a8dbc4fc084f4929b34b78356e2d2ed"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceRail.WorkspaceRail (cognitive 149): WorkspaceRail.WorkspaceRail has cognitive complexity 149 (threshold 15). Drivers by points: ternaries 30 (69 pts), if/else 43 (59 pts), boolean chains 17, error handling 4 (nesting depth added 55). Of this number, 41 points are the body\u0027s own statements and 108 belong to 21 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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"36161ded78d74a110ce5adbd58a29c34176ee18e4af56180bee222f265f20833"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.commandStudy::execute (cognitive 149): runtime.commandStudy::execute has cognitive complexity 149 (threshold 15). Drivers by points: if/else 59 (107 pts), boolean chains 30, loops 2 (7 pts), ternaries 2 (5 pts) (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runtime.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"97384b25a983982be360b491513f2cc2a5bcfd21bee979419f3f52ba846b5d88"}},{"ruleId":"D2","level":"warning","message":{"text":"stage.useStageStoreBase (cognitive 148): stage.useStageStoreBase has cognitive complexity 148 (threshold 15). Drivers by points: if/else 53 (93 pts), boolean chains 23, ternaries 19 (23 pts), error handling 3 (5 pts), loops 2 (4 pts) (nesting depth added 48). None of this is in the body itself: all 148 points belong to 16 function literals inside it that branch (lines 1206, 1117, 1012, \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":"lib/store/stage.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"310f1bf885c2dc3e726f43e90b73b290bd70c9c72ecee4e634ce40a8229b3437"}},{"ruleId":"D2","level":"warning","message":{"text":"use-export-pptx.formatHTML::parse (cognitive 147): use-export-pptx.formatHTML::parse has cognitive complexity 147 (threshold 15). Drivers by points: if/else 40 (124 pts), boolean chains 14, ternaries 2 (5 pts), loops 2 (4 pts) (nesting depth added 89). 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":"lib/export/use-export-pptx.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd30486da7a59e5be3af7a836b3097def0dc2c5e16d7e385a381c65dc836356e"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle.maintainStudy (cognitive 142): lifecycle.maintainStudy has cognitive complexity 142 (threshold 15). Drivers by points: if/else 47 (94 pts), boolean chains 27, error handling 6 (12 pts), ternaries 2 (5 pts), loops 2 (4 pts) (nesting depth added 58). Most of this is not in the body itself: 12 of the 142 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 260, a function literal at line 509, maintain). 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":"lib/server/pbl-v3/lifecycle.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f9bd75c65b08c9fd28d0fa6e434d8b39bf34850ccfa40c47ab5c16bd1e1563"}},{"ruleId":"D2","level":"warning","message":{"text":"providers.getCompatThinkingBodyParams (cognitive 138): providers.getCompatThinkingBodyParams has cognitive complexity 138 (threshold 15). Drivers by points: if/else 39 (78 pts), ternaries 15 (45 pts), boolean chains 14, match/switch 1 (nesting depth added 69). 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":"lib/ai/providers.ts"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9179f0f905dc340fec25d2a2d57bf011f40ab32dda9150686fa1003fdc8767d"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-storage.syncOne (cognitive 132): chat-storage.syncOne has cognitive complexity 132 (threshold 15). Drivers by points: if/else 23 (87 pts), error handling 7 (30 pts), loops 4 (10 pts), boolean chains 5 (nesting depth added 93). Of this number, 131 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/chat-storage.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36f052eed92d463ac26be7d4f4a9a14a0e89db2bc9591fdd313b4c3f58b6ac0"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.applyModelSettingsChange (cognitive 113): settings.applyModelSettingsChange has cognitive complexity 113 (threshold 15). Drivers by points: if/else 23 (50 pts), ternaries 15 (35 pts), loops 8 (17 pts), boolean chains 9, error handling 1 (2 pts) (nesting depth added 57). Of this number, 112 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/settings.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74b18e7bcde560f3cee3b519b1cc755cc99b52fc9612e3a9e6aed3389a1cef8"}},{"ruleId":"D2","level":"warning","message":{"text":"report.buildLearningEvidence (cognitive 113): report.buildLearningEvidence has cognitive complexity 113 (threshold 15). Drivers by points: if/else 22 (53 pts), ternaries 13 (33 pts), boolean chains 17, loops 6 (8 pts), match/switch 1 (2 pts) (nesting depth added 54). Of this number, 106 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/report.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e79348d61f43566615a9f8c790e94bb62880cde4a7fde3d5e7909a2d155ef89"}},{"ruleId":"D2","level":"warning","message":{"text":"use-workbench-session.useStageFreshnessSync (cognitive 113): use-workbench-session.useStageFreshnessSync has cognitive complexity 113 (threshold 15). Drivers by points: if/else 54 (77 pts), boolean chains 19, ternaries 8 (13 pts), loops 3, error handling 1 (nesting depth added 28). None of this is in the body itself: all 113 points belong to 22 function literals inside it that branch (lines 553, 813, 857, \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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf1f7e9b617a2f440a13e9d3b39638eb22392d83d243ec72876bec57ca4e0d0"}},{"ruleId":"D2","level":"warning","message":{"text":"material-analysis.analyzeMaterial (cognitive 111): material-analysis.analyzeMaterial has cognitive complexity 111 (threshold 15). Drivers by points: ternaries 26 (51 pts), boolean chains 33, if/else 16 (26 pts), error handling 1 (nesting depth added 35). Of this number, 110 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/server/generation/steps/material-analysis.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dccedbf6bd3538668e9d0140852c8914564ea95d698aaede80c07628bc21195"}},{"ruleId":"D2","level":"warning","message":{"text":"css-asset-parser.collectCssAssetReferencesByRegex (cognitive 110): css-asset-parser.collectCssAssetReferencesByRegex has cognitive complexity 110 (threshold 15). Drivers by points: if/else 18 (58 pts), ternaries 5 (21 pts), loops 6 (18 pts), boolean chains 13 (nesting depth added 68). 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":"lib/export/css-asset-parser.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbacb3d7e9deafb3efbc383778ad38e4171c041b1b34b6cf49e32e26ac8d69e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProsemirrorEditor.ProsemirrorEditor (cognitive 102): ProsemirrorEditor.ProsemirrorEditor has cognitive complexity 102 (threshold 15). Drivers by points: if/else 57 (71 pts), boolean chains 20, ternaries 4 (8 pts), loops 2, match/switch 1 (nesting depth added 18). Most of this is not in the body itself: 1 of the 102 points is its own statement and the rest belongs to 15 function literals inside it that branch (lines 173, 435, 527, \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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82c072bd193d0bc581c8ac2bd8db3a076ae2d3f8d7039e06432d2ad8ccf24ed"}},{"ruleId":"D2","level":"warning","message":{"text":"index.route (cognitive 102): index.route has cognitive complexity 102 (threshold 15). Drivers by points: if/else 29 (59 pts), boolean chains 18, ternaries 4 (12 pts), error handling 4 (10 pts), loops 1 (3 pts) (nesting depth added 46). 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/@openmaic/storage/src/server/index.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"561c312c162953e550db28805f35785671a0b5b0262c41477d58984a76082a54"}},{"ruleId":"D2","level":"warning","message":{"text":"element-refs.decodeElementRefs (cognitive 101): element-refs.decodeElementRefs has cognitive complexity 101 (threshold 15). Drivers by points: if/else 27 (71 pts), ternaries 7 (16 pts), boolean chains 8, loops 3 (6 pts) (nesting depth added 56). Of this number, 99 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/element-refs.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a7ddd91341757f46dc94f276faaf56d96159bc17d7d04b78ab3ff97ddb105f"}},{"ruleId":"D2","level":"warning","message":{"text":"classroom-actions.buildChildActionTools (cognitive 100): classroom-actions.buildChildActionTools has cognitive complexity 100 (threshold 15). Drivers by points: if/else 47 (71 pts), boolean chains 16, ternaries 7 (13 pts) (nesting depth added 30). Of this number, 18 points are the body\u0027s own statements and 82 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/chat/pi/tools/classroom-actions.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9853b7b9dffee243b9e31f59d816a3291638515f7bbdf2594d1266fce4f6b57d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.validateSvgPath (cognitive 99): index.validateSvgPath has cognitive complexity 99 (threshold 15). Drivers by points: if/else 23 (51 pts), ternaries 8 (24 pts), boolean chains 14, loops 6 (9 pts), error handling 1 (nesting depth added 47). Of this number, 95 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/geometry/src/index.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"53666949a464dd8f0c6d91878f8c9793406fb011b4d622eeb55b8dd466bfc807"}},{"ruleId":"D2","level":"warning","message":{"text":"page.GenerationPreviewContent (cognitive 97): page.GenerationPreviewContent has cognitive complexity 97 (threshold 15). Drivers by points: ternaries 24 (41 pts), if/else 30 (34 pts), boolean chains 20, error handling 2 (nesting depth added 21). Of this number, 40 points are the body\u0027s own statements and 57 belong to 15 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":"app/generation-preview/page.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c31a422243432a1546cb51d801c3b0d7ea2388d15aa1b764d82820bf27cffe"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.learningView (cognitive 96): runtime.learningView has cognitive complexity 96 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 30, ternaries 16 (25 pts), error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 31). Of this number, 87 points are the body\u0027s own statements and 9 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":"lib/server/pbl-v3/runtime.ts"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a61a793698f9f0c3ef8e0439fe886b2063180cdd31779d7a0aa1c2a69c9c10"}},{"ruleId":"D2","level":"warning","message":{"text":"providers.fetchCustomOpenAIChat (cognitive 94): providers.fetchCustomOpenAIChat has cognitive complexity 94 (threshold 15). Drivers by points: if/else 23 (60 pts), boolean chains 14, ternaries 6 (11 pts), loops 3 (6 pts), error handling 2 (3 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into 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":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a55e7f476301f39f66db7da4a6044223734d5d8d795177d93e07c274ead537"}},{"ruleId":"D2","level":"warning","message":{"text":"outline.streamOutlines (cognitive 93): outline.streamOutlines has cognitive complexity 93 (threshold 15). Drivers by points: if/else 28 (68 pts), boolean chains 8, ternaries 3 (8 pts), loops 3 (6 pts), error handling 2 (3 pts) (nesting depth added 49). Of this number, 88 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/outline.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e44439ea47a8a8f79abd71dbe060965a0c6d23fee109d8ca5072ea337be34d1"}},{"ruleId":"D2","level":"warning","message":{"text":"application-preview.ApplicationPreviewContent (cognitive 91): application-preview.ApplicationPreviewContent has cognitive complexity 91 (threshold 15). Drivers by points: boolean chains 59, if/else 17 (20 pts), ternaries 8, loops 3 (4 pts) (nesting depth added 4). Of this number, 50 points are the body\u0027s own statements and 41 belong to 18 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/scene-renderers/pbl/v3/application-preview.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4e740c187f7489689fa1a8e3eea56710e6c4602325be87c67513c2c59388ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageClipHandler.ImageClipHandler (cognitive 91): ImageClipHandler.ImageClipHandler has cognitive complexity 91 (threshold 15). Drivers by points: if/else 53 (79 pts), boolean chains 11, ternaries 1 (nesting depth added 26). None of this is in the body itself: all 91 points belong to 7 function literals inside it that branch (lines 266, 446, 195, \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/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b902785c41b9ad9f602ffe68a6dad520a49b29e54b0569e0417e7b2667bd12"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.recordQuizAttempt (cognitive 91): runtime.recordQuizAttempt has cognitive complexity 91 (threshold 15). Drivers by points: if/else 21 (62 pts), boolean chains 12, error handling 3 (10 pts), ternaries 4 (6 pts), loops 1 (nesting depth added 50). None of this is in the body itself: all 91 points belong to 2 function literals inside it that branch (lines 505, 551). 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":"lib/quiz/runtime.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"5177715ac34b13b30ca1936b7b54b88fc409c8a048fe3cd1e265540f5ce77572"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.PBLV2Chat (cognitive 90): chat.PBLV2Chat has cognitive complexity 90 (threshold 15). Drivers by points: if/else 34 (36 pts), boolean chains 31, ternaries 18 (20 pts), loops 2, error handling 1 (nesting depth added 4). Of this number, 28 points are the body\u0027s own statements and 62 belong to 16 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/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"446147783647aad1b077330ce3d4ff7aa415256da8ba5967a13be193d2806e08"}},{"ruleId":"D2","level":"warning","message":{"text":"curriculum-tools.buildCurriculumTools (cognitive 90): curriculum-tools.buildCurriculumTools has cognitive complexity 90 (threshold 15). Drivers by points: if/else 46 (60 pts), ternaries 20 (26 pts), boolean chains 2, error handling 2 (nesting depth added 20). Of this number, 84 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/curriculum-tools.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d87fe78bb7d0b059aa44efce9ce6ab1cced08aac6dfd4f99397aec4098e8586"}},{"ruleId":"D2","level":"warning","message":{"text":"timeline-deps.createVideoTimelineDeps (cognitive 90): timeline-deps.createVideoTimelineDeps has cognitive complexity 90 (threshold 15). Drivers by points: if/else 31 (53 pts), loops 11 (15 pts), boolean chains 11, ternaries 5 (8 pts), error handling 2 (3 pts) (nesting depth added 30). Of this number, 77 points are the body\u0027s own statements and 13 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export-app/timeline-deps.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1931cdd1683c16a2db9cb3c8083e5a0ac065ddd1544a160d2cd7e320106444"}},{"ruleId":"D2","level":"warning","message":{"text":"mtef.parseObjectList (cognitive 90): mtef.parseObjectList has cognitive complexity 90 (threshold 15). Drivers by points: if/else 26 (76 pts), loops 4 (11 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into 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/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"562863f8ecdcb3b94903232b23472f05348d31f2e87a94cb29444546a827c890"}},{"ruleId":"D2","level":"warning","message":{"text":"stage-storage.loadFirstSlideThumbnail (cognitive 89): stage-storage.loadFirstSlideThumbnail has cognitive complexity 89 (threshold 15). Drivers by points: ternaries 13 (44 pts), if/else 11 (27 pts), boolean chains 15, loops 2 (3 pts) (nesting depth added 48). Of this number, 85 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/stage-storage.ts"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1db48341390ce4024e0b75e1eb92790c6c78fc9acad9f8e4551043803c105b3"}},{"ruleId":"D2","level":"warning","message":{"text":"workbench-panel.LearningWorkbenchPanel (cognitive 88): workbench-panel.LearningWorkbenchPanel has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 24 (53 pts), boolean chains 47, if/else 15 (16 pts), error handling 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (workbench-panel.LearningWorkbenchPanel::run) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32b7ef84d3c1105d565b256bdf0696d43afca56006fc9e3df1739b947f727db"}},{"ruleId":"D2","level":"warning","message":{"text":"course-mention-menu.CourseMentionMenu (cognitive 86): course-mention-menu.CourseMentionMenu has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 27 (51 pts), if/else 18 (21 pts), boolean chains 13, loops 1 (nesting depth added 27). Of this number, 29 points are the body\u0027s own statements and 57 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/course-mention-menu.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd58a7570cc02dbb689cac96e671b4208c96aae263eb07d5e175d3e0e05d114"}},{"ruleId":"D2","level":"warning","message":{"text":"report-share-image.renderReportShareImage (cognitive 86): report-share-image.renderReportShareImage has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 35 (50 pts), if/else 18 (23 pts), loops 5 (7 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 23). Of this number, 41 points are the body\u0027s own statements and 45 belong to 15 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":"lib/pbl/v3/report-share-image.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba7ea6fa97a9ce5cd1e62c137517737e2f5f9ebb7c7e4b0eb5ac233864ed4c7"}},{"ruleId":"D2","level":"warning","message":{"text":"model-map.ModelMap (cognitive 85): model-map.ModelMap has cognitive complexity 85 (threshold 15). Drivers by points: if/else 35 (41 pts), boolean chains 21, ternaries 14 (16 pts), loops 5 (7 pts) (nesting depth added 10). Of this number, 42 points are the body\u0027s own statements and 43 belong to 19 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":"components/settings/models/model-map.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b724f675933ce23e7380ca069eba07797a9d5c2c030567cf314fc6a8fcd0af"}},{"ruleId":"D2","level":"warning","message":{"text":"interactive-library-mapper.rewriteInteractiveLibraries (cognitive 85): interactive-library-mapper.rewriteInteractiveLibraries has cognitive complexity 85 (threshold 15). Drivers by points: if/else 14 (33 pts), ternaries 7 (23 pts), boolean chains 11, error handling 4 (10 pts), loops 3 (8 pts) (nesting depth added 46). Of this number, 65 points are the body\u0027s own statements and 20 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/interactive-library-mapper.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee237be46d2c63dbc55724191d4ac993b2ae35e3b123a3b7e86b42cab32e8ac"}},{"ruleId":"D2","level":"warning","message":{"text":"mtef.renderTmpl (cognitive 84): mtef.renderTmpl has cognitive complexity 84 (threshold 15). Drivers by points: ternaries 22 (46 pts), if/else 18 (24 pts), boolean chains 14 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8904e2828e50060bd40cff5bddd760098d9dc91c6c134bf5e41d93b1033762"}},{"ruleId":"D2","level":"warning","message":{"text":"element-reference.projectElement (cognitive 82): element-reference.projectElement has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 23 (44 pts), if/else 10 (27 pts), loops 3 (7 pts), boolean chains 3, match/switch 1 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into 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/chat/pi/element-reference.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"d046fa3490a1b343e36875c5651e978dbaa8d2961f02ad5c27069a8bf6e2331d"}},{"ruleId":"D2","level":"warning","message":{"text":"eqFieldParser.eqToPlain (cognitive 82): eqFieldParser.eqToPlain has cognitive complexity 82 (threshold 15). Drivers by points: if/else 26 (59 pts), loops 5 (16 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into 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/@openmaic/importer/src/utils/eqFieldParser.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5426bd923e471cdcfcdf1db78f73f3198da1f9d0967601ae6f83adf66d936"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-sidebar.SceneSidebar (cognitive 80): scene-sidebar.SceneSidebar has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 19 (57 pts), boolean chains 20, if/else 3 (nesting depth added 38). Of this number, 18 points are the body\u0027s own statements and 62 belong to 10 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/scene-sidebar.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec3570d27fee1ac5ead5e9f5b92d659f13edc28268b16b509f96dcf004055d7"}},{"ruleId":"D2","level":"warning","message":{"text":"EditableSlideCanvas.EditableSlideCanvas (cognitive 80): EditableSlideCanvas.EditableSlideCanvas has cognitive complexity 80 (threshold 15). Drivers by points: boolean chains 43, if/else 22 (25 pts), ternaries 11 (12 pts) (nesting depth added 4). Of this number, 36 points are the body\u0027s own statements and 44 belong to 21 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":"packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a00988f27fef9c9617890faf521106c445e8cc7b541b743c3a42a6450d4045"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateSchema (cognitive 78): validate.validateSchema has cognitive complexity 78 (threshold 15). Drivers by points: if/else 28 (57 pts), loops 5 (13 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bee5caa6308e6e7c7ad2ba835772941c957684d3a95ce815e6a93ddd23a9d07"}},{"ruleId":"D2","level":"warning","message":{"text":"generation-tools.buildGenerationTools (cognitive 77): generation-tools.buildGenerationTools has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 22 (33 pts), if/else 22 (26 pts), boolean chains 16, error handling 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/generation-tools.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d50c51453270f1b059464fe2c8ae0713de5ea90daa74064df7a3bf12742d40d"}},{"ruleId":"D2","level":"warning","message":{"text":"media.planUploads (cognitive 76): media.planUploads has cognitive complexity 76 (threshold 15). Drivers by points: if/else 16 (36 pts), ternaries 8 (22 pts), boolean chains 15, loops 3 (nesting depth added 34). Of this number, 73 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/media.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f588690a47b917f9d5f7b5fb9651c509fe60a9c183f2e0ac1b46507fff540c"}},{"ruleId":"D2","level":"warning","message":{"text":"runResourceTask (cognitive 76): runResourceTask has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 17 (34 pts), other 16, if/else 10 (13 pts), boolean chains 10, error handling 2, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"684e3b76a815d0e768880444acef2d3a7e55c75135e04f149182cf87b53b2e85"}},{"ruleId":"D2","level":"warning","message":{"text":"generation-toolbar.GenerationToolbar (cognitive 75): generation-toolbar.GenerationToolbar has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 22 (36 pts), boolean chains 20, if/else 16 (19 pts) (nesting depth added 17). Of this number, 51 points are the body\u0027s own statements and 24 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/generation-toolbar.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de1eccd6760db3385e3884a07e0624e0cf9bb15977bbf03186112498b721e8"}},{"ruleId":"D2","level":"warning","message":{"text":"useScaleElement.useScaleElement.scaleElement::handleMouseMove (cognitive 75): useScaleElement.useScaleElement.scaleElement::handleMouseMove has cognitive complexity 75 (threshold 15). Drivers by points: if/else 37 (69 pts), boolean chains 4, ternaries 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (useScaleElement.useScaleElement.scaleElement, useScaleElement.useScaleElement.scaleElement::alignedAdsorption) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c101e10c506de5e4a3f0a4ad49bef134704c173a68334c8c7a3392a94da69cf"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassroomSurface.ClassroomSurfaceContent (cognitive 74): ClassroomSurface.ClassroomSurfaceContent has cognitive complexity 74 (threshold 15). Drivers by points: if/else 26 (35 pts), ternaries 10 (28 pts), boolean chains 10, error handling 1 (nesting depth added 27). Of this number, 26 points are the body\u0027s own statements and 48 belong to 8 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/classroom/ClassroomSurface.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1007d3ebf8e77c5267bfead330956b11ac548eda72083869819f8c7e6db7cb"}},{"ruleId":"D2","level":"warning","message":{"text":"InProcessExecutor.execute (cognitive 74): InProcessExecutor.execute has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 17 (37 pts), if/else 16 (28 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 33). Of this number, 64 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/render-executor.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fcf3c6d29ca0428ed484b06c3e67032030b2657c6728e46766d0c2b1348446"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.executeClaimedRun (cognitive 73): engine.executeClaimedRun has cognitive complexity 73 (threshold 15). Drivers by points: if/else 98 (176 pts), ternaries 39 (61 pts), boolean chains 34, error handling 15 (25 pts), loops 15 (17 pts), match/switch 2 (nesting depth added 112). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (engine.executeClaimedRun::runStep, engine.executeClaimedRun::executeMediaOnly) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/engine.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef51f5698ed8f738fb41e4ce7215fcffa3c3d79af7f9ca1d9f1327a9c8a8cc46"}},{"ruleId":"D2","level":"warning","message":{"text":"line-drag.computeLineDrag (cognitive 73): line-drag.computeLineDrag has cognitive complexity 73 (threshold 15). Drivers by points: if/else 39 (68 pts), boolean chains 5 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/core/line-drag.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"821507ed5fd24694bad8bfe09366ebafbc8ff61764acc0c9525bbc70704f8017"}},{"ruleId":"D2","level":"warning","message":{"text":"course-issues.collectCourseIssues (cognitive 72): course-issues.collectCourseIssues has cognitive complexity 72 (threshold 15). Drivers by points: if/else 8 (27 pts), ternaries 7 (26 pts), boolean chains 11, loops 4 (8 pts) (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into 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/@openmaic/dsl/src/course-issues.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c026b248ac4aadecccf74d655c747a4914aed29651608d7c0b4351d50884a68e"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl-tools.validationError (cognitive 71): dsl-tools.validationError has cognitive complexity 71 (threshold 15). Drivers by points: if/else 19 (54 pts), loops 3 (9 pts), boolean chains 8 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into 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/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"5695e8f25023bc6609faca93091018f86389315d4e19cfd0aca0307e57711ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"tts-voice-managers.VoxCPMVoiceManager (cognitive 69): tts-voice-managers.VoxCPMVoiceManager has cognitive complexity 69 (threshold 15). Drivers by points: ternaries 22 (37 pts), boolean chains 17, if/else 10, error handling 5 (nesting depth added 15). Most of this is not in the body itself: 11 of the 69 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 313, startReferenceRecording, handleAddPromptVoice, \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/tts-voice-managers.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7961ff37801acd2eb10f5c684ab12c2f8f71e9e9b6d46612ef81aa084f4d99cf"}},{"ruleId":"D2","level":"warning","message":{"text":"stage.Stage (cognitive 69): stage.Stage has cognitive complexity 69 (threshold 15). Drivers by points: boolean chains 25, ternaries 16 (25 pts), if/else 18 (19 pts) (nesting depth added 10). Of this number, 33 points are the body\u0027s own statements and 36 belong to 18 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/stage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12e027a0605d5de7e6a4df91b1eb9382f42fab2cc9181dfc767a9285c2bb857"}},{"ruleId":"D2","level":"warning","message":{"text":"workbench.workbenchCommand (cognitive 69): workbench.workbenchCommand has cognitive complexity 69 (threshold 15). Drivers by points: if/else 32 (50 pts), boolean chains 8, ternaries 4 (7 pts), loops 2 (4 pts) (nesting depth added 23). Of this number, 20 points are the body\u0027s own statements and 49 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":"lib/server/pbl-v3/workbench.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad7633125ec47ef048e62d03f0c3450c79746989c237c36b49d0e5701006a90"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-config.translateLegacyConfig (cognitive 68): legacy-config.translateLegacyConfig has cognitive complexity 68 (threshold 15). Drivers by points: if/else 17 (37 pts), ternaries 8 (18 pts), boolean chains 7, loops 4 (6 pts) (nesting depth added 32). Of this number, 63 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":"lib/server/model-config/legacy-config.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7d1d7c329806f49a97cceec33a577e62e0259f7e0d6a25c93a7ff9d8daad26"}},{"ruleId":"D2","level":"warning","message":{"text":"use-material-library-tree.useMaterialLibraryTree (cognitive 67): use-material-library-tree.useMaterialLibraryTree has cognitive complexity 67 (threshold 15). Drivers by points: if/else 26 (30 pts), ternaries 14 (19 pts), boolean chains 13, loops 4 (5 pts) (nesting depth added 10). Most of this is not in the body itself: 5 of the 67 points are its own statements and the rest belongs to 23 function literals inside it that branch (lines 274, 461, 217, \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":"lib/workbench/use-material-library-tree.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be394227b1f0b61f269d3819513cf38b2ccb1a1e91e4fc7887ce1e5f74eea0c"}},{"ruleId":"D2","level":"warning","message":{"text":"page.HomePage (cognitive 66): page.HomePage has cognitive complexity 66 (threshold 15). Drivers by points: if/else 58 (76 pts), boolean chains 61, ternaries 25 (31 pts), error handling 13 (14 pts), loops 2 (nesting depth added 25). 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 (page.HomePage::handleGenerate) 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":"app/page.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18af19288f28597d6582241173cd00967bd419af25d9cd70976f99a46f90c0d"}},{"ruleId":"D2","level":"warning","message":{"text":"validators.validateAppScene (cognitive 66): validators.validateAppScene has cognitive complexity 66 (threshold 15). Drivers by points: if/else 23 (40 pts), boolean chains 14, ternaries 2 (7 pts), loops 1 (5 pts) (nesting depth added 26). Of this number, 38 points are the body\u0027s own statements and 28 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/document-store/validators.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca711374e5d8b4de581b04d79074ed95a8093ecaa2cdc42abea2b016ca7dd16c"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.extractInteractiveElements (cognitive 66): scene-generator.extractInteractiveElements has cognitive complexity 66 (threshold 15). Drivers by points: if/else 20 (51 pts), loops 3 (7 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ee4abfef1c3b9d400fe71e360d64bcb9ebf8efb36acc0f4cd8629232e9cb85"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.callLLM (cognitive 65): llm.callLLM has cognitive complexity 65 (threshold 15). Drivers by points: if/else 19 (42 pts), ternaries 5 (11 pts), boolean chains 10, error handling 1, loops 1 (nesting depth added 29). Of this number, 57 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/llm.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9e309940bde383c042584228c72d1c8f350c52c351e1038c037451c4674e10"}},{"ruleId":"D2","level":"warning","message":{"text":"textSerializer.mergeRunProps (cognitive 65): textSerializer.mergeRunProps has cognitive complexity 65 (threshold 15). Drivers by points: if/else 35 (53 pts), boolean chains 8, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"97983118f7bdbb8e8a9752b726ae0d3c902638a565568458934fe98c9e160217"}},{"ruleId":"D2","level":"warning","message":{"text":"route.chat (cognitive 64): route.chat has cognitive complexity 64 (threshold 15). Drivers by points: if/else 19 (26 pts), ternaries 9 (14 pts), boolean chains 12, error handling 8 (12 pts) (nesting depth added 16). Of this number, 49 points are the body\u0027s own statements and 15 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":"app/api/chat/pi/route.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3415783f6a11cda99f4d4bbf4ab755ec006b794b4a4350c8e08ece0a5daadf"}},{"ruleId":"D2","level":"warning","message":{"text":"project-report.ProjectReport (cognitive 64): project-report.ProjectReport has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 32, if/else 18 (22 pts), ternaries 6 (8 pts), error handling 1, loops 1 (nesting depth added 6). Of this number, 30 points are the body\u0027s own statements and 34 belong to 16 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/project-report.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"04313a362613cd85002e35d6b02c9b9a6014f1a3975ef5ca70412364b63b7f6e"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-resolver.getEnabledProvidersWithVoices (cognitive 64): voice-resolver.getEnabledProvidersWithVoices has cognitive complexity 64 (threshold 15). Drivers by points: if/else 13 (27 pts), ternaries 7 (19 pts), boolean chains 13, loops 3 (5 pts) (nesting depth added 28). Of this number, 52 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/voice-resolver.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"38acf25d4d8042264b8c9262d29cb0e17c156e53a13d9b1562b9874c092a5feb"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-config-panel.ProviderConfigPanel (cognitive 63): provider-config-panel.ProviderConfigPanel has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 44, if/else 13 (15 pts), error handling 2, ternaries 2 (nesting depth added 2). Of this number, 28 points are the body\u0027s own statements and 35 belong to 11 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/provider-config-panel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1880a3062b6f4d5f05eaecd7365f48af9d543f0f0c199768c271b7dc4902e10"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-assets.inlineHtmlAssets (cognitive 63): inline-assets.inlineHtmlAssets has cognitive complexity 63 (threshold 15). Drivers by points: if/else 24 (44 pts), loops 16 (24 pts), boolean chains 12, ternaries 7 (12 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (inline-assets.inlineHtmlAssets::inlineAttributes) 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":"lib/export/inline-assets.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5adf0011549b3d1e736ceff89bf39afeeab28e0d3cd3b9df55d577f298a423b"}},{"ruleId":"D2","level":"warning","message":{"text":"state-context.buildStateContext (cognitive 63): state-context.buildStateContext has cognitive complexity 63 (threshold 15). Drivers by points: if/else 13 (30 pts), ternaries 7 (25 pts), boolean chains 8 (nesting depth added 35). Of this number, 30 points are the body\u0027s own statements and 33 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":"lib/orchestration/summarizers/state-context.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2412cbd42c88d52366b8ecc7e85fa33a047b9c7536f7fb1641d7f7a1dc4adfdf"}},{"ruleId":"D2","level":"warning","message":{"text":"asset.route (cognitive 63): asset.route has cognitive complexity 63 (threshold 15). Drivers by points: if/else 22 (41 pts), error handling 5 (10 pts), boolean chains 9, ternaries 3 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c0c9f7bf7b379b0e505063aa4aaa2b104027a1dee9e4382c9c91a7f0e0f61d"}},{"ruleId":"D2","level":"warning","message":{"text":"main.createApp (cognitive 63): main.createApp has cognitive complexity 63 (threshold 15). Drivers by points: if/else 35 (48 pts), boolean chains 6, error handling 5, ternaries 3 (4 pts) (nesting depth added 14). None of this is in the body itself: all 63 points belong to 7 function literals inside it that branch (lines 420, 302, 340, \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":"render-service/src/main.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"880a529c2a73415584c292136e2b3a1896598234af0ee0412ffaf527da185565"}},{"ruleId":"D2","level":"warning","message":{"text":"ProLaunchPanel.ProLaunchPanel (cognitive 62): ProLaunchPanel.ProLaunchPanel has cognitive complexity 62 (threshold 15). Drivers by points: if/else 25 (27 pts), ternaries 19 (24 pts), boolean chains 10, error handling 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 40 belong to 13 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/ProLaunchPanel.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bf5ae0901b687e2ee065669d929f95b5467e05eaaeccc22ce11c2306dcf1ff"}},{"ruleId":"D2","level":"warning","message":{"text":"call-agent.buildCallAgentTool.execute (cognitive 62): call-agent.buildCallAgentTool.execute has cognitive complexity 62 (threshold 15). Drivers by points: if/else 23 (29 pts), ternaries 11 (16 pts), boolean chains 15, error handling 2 (nesting depth added 11). Of this number, 50 points are the body\u0027s own statements and 12 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"8941d2bad37aa9563ac0099a4e008e6829464948b8b4edb81dc442410d13253b"}},{"ruleId":"D2","level":"warning","message":{"text":"application.applicationRequest (cognitive 62): application.applicationRequest has cognitive complexity 62 (threshold 15). Drivers by points: if/else 25 (37 pts), boolean chains 15, ternaries 7 (10 pts) (nesting depth added 15). Of this number, 21 points are the body\u0027s own statements and 41 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":"lib/server/pbl-v3/application.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0131ee42b32cf7495e0956560ac2923d362dcb38917c9e454014743e7c576cd"}},{"ruleId":"D2","level":"warning","message":{"text":"svgPathParser.getSvgPathRange (cognitive 62): svgPathParser.getSvgPathRange has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 17 (49 pts), if/else 6 (9 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 36). Of this number, 59 points are the body\u0027s own statements and 3 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/@openmaic/importer/src/openmaic/utils/svgPathParser.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"963d6c624db5f104ff074c3e7d9575302e7adfdc90a8deac1c010b0f5a7fa49a"}},{"ruleId":"D2","level":"warning","message":{"text":"use-application-preview.useApplicationPreview (cognitive 61): use-application-preview.useApplicationPreview has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 27, if/else 24 (25 pts), ternaries 8, error handling 1 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 43 belong to 15 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a79234853bf103f625f9cc3c20bab00a853222c50c883f37a86e2afd44356d"}},{"ruleId":"D2","level":"warning","message":{"text":"use-application-preview.useApplicationPreview.load (cognitive 61): use-application-preview.useApplicationPreview.load has cognitive complexity 61 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 21, ternaries 4 (8 pts), error handling 1 (nesting depth added 14). Of this number, 53 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9ed8805c0fbb80b75d637b1325d2788ac55a2274094427388bf6c73c94f668"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-tts.synthesizeSceneNarration (cognitive 61): scene-tts.synthesizeSceneNarration has cognitive complexity 61 (threshold 15). Drivers by points: if/else 14 (35 pts), boolean chains 11, ternaries 3 (7 pts), error handling 2 (5 pts), loops 2 (3 pts) (nesting depth added 29). Of this number, 28 points are the body\u0027s own statements and 33 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":"lib/server/agent-runtime/scene-tts.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7affd4eb71a51c81545ae3119e10dca2e976afbcbb9e07d6630b0a6f3655aa6"}},{"ruleId":"D2","level":"warning","message":{"text":"Presentation.resolveNodesPlaceholders (cognitive 61): Presentation.resolveNodesPlaceholders has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (56 pts), boolean chains 4, loops 1 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d83660af2488679e1d358100273c12754e5d01892b60efa68bbe1d80b71ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"workbench-onboarding.WorkbenchOnboarding (cognitive 60): workbench-onboarding.WorkbenchOnboarding has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 23 (28 pts), if/else 15 (18 pts), boolean chains 13, loops 1 (nesting depth added 8). Most of this is not in the body itself: 7 of the 60 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 90, a function literal at line 111, scrollReading, \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/scene-renderers/pbl/v3/workbench-onboarding.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8898b809be5f269e4122434aef73df0ff40ad3f80200b96aba7da86baedf45"}},{"ruleId":"D2","level":"warning","message":{"text":"providers.getModel::compatFetch (cognitive 60): providers.getModel::compatFetch has cognitive complexity 60 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 12, error handling 6 (11 pts), ternaries 3 (5 pts), loops 1 (4 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (providers.getModel) 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":"lib/ai/providers.ts"},"region":{"startLine":2462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8186392e235b24e4b53d74f0e48de6536abcd92c0ac0f06fa13930234723f070"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateWhiteboardRuntimePayload (cognitive 60): validate.validateWhiteboardRuntimePayload has cognitive complexity 60 (threshold 15). Drivers by points: if/else 31 (53 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb20b2682d4a42d4361a9d4b51ffdbdace1fcc0e8a592bb09de044f69a39df87"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementPickLayer.ElementPickLayer (cognitive 59): ElementPickLayer.ElementPickLayer has cognitive complexity 59 (threshold 15). Drivers by points: if/else 31 (35 pts), boolean chains 13, ternaries 9 (10 pts), error handling 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 43 belong to 20 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/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3918701e4c5a39345ac42182bf0e8ce771c74d7dc1db0d8e0cd0e08736c22f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-card.ToolCard (cognitive 59): tool-card.ToolCard has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 30 (43 pts), boolean chains 12, if/else 4 (nesting depth added 13). Of this number, 54 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":"components/workbench/chat/tool-card.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3760f151fff16604efee50ae87c78691c8a7ddc06e9ac066cfa8f29dd927e5"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl-tools.buildDslCourseTools (cognitive 59): dsl-tools.buildDslCourseTools has cognitive complexity 59 (threshold 15). Drivers by points: if/else 24 (40 pts), ternaries 7 (9 pts), boolean chains 5, loops 3 (4 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c5505b1d98d5bf3e7e148308db5bfba5c7c7188d37c4b43fa7a4fadf889a3a"}},{"ruleId":"D2","level":"warning","message":{"text":"video-render.useVideoRenderStore (cognitive 58): video-render.useVideoRenderStore has cognitive complexity 58 (threshold 15). Drivers by points: if/else 23 (33 pts), boolean chains 17, ternaries 4 (6 pts), error handling 2 (nesting depth added 12). None of this is in the body itself: all 58 points belong to 4 function literals inside it that branch (lines 171, 298, 281, \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":"lib/store/video-render.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf032ffbd9f016274af469dcc56577e2eae42c0e73eec5c67a2eb40c98c8e36"}},{"ruleId":"D2","level":"warning","message":{"text":"planner-single-call.validateLLMOutput (cognitive 58): planner-single-call.validateLLMOutput has cognitive complexity 58 (threshold 15). Drivers by points: if/else 28 (43 pts), boolean chains 8, ternaries 4 (7 pts) (nesting depth added 18). Of this number, 40 points are the body\u0027s own statements and 18 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/planner-single-call.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a57f337412a82547a12bbfd32d36eaa9a762bd3f6b80fd949af29a0e7c87a7"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-input.PromptInput (cognitive 57): prompt-input.PromptInput has cognitive complexity 57 (threshold 15). Drivers by points: if/else 27 (32 pts), ternaries 10, boolean chains 9, loops 3 (4 pts), error handling 2 (nesting depth added 6). Most of this is not in the body itself: 6 of the 57 points are its own statements and the rest belongs to 23 function items inside it that branch (a function literal at line 629, a function literal at line 505, a function literal at line 706, \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/ai-elements/prompt-input.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf13d4f9a0713861f0a99f85df081724ec8ec193b2a639235dcccfb9e5335de8"}},{"ruleId":"D2","level":"warning","message":{"text":"useDragLineElement.useDragLineElement.dragLineElement::handleMouseMove (cognitive 57): useDragLineElement.useDragLineElement.dragLineElement::handleMouseMove has cognitive complexity 57 (threshold 15). Drivers by points: if/else 27 (48 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useDragLineElement.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eda454755c1635ea10f6f17a5c8a9825116219fd46ae37330008d53f4dc3fa"}},{"ruleId":"D2","level":"warning","message":{"text":"instructor.runInstructorTurn (cognitive 57): instructor.runInstructorTurn has cognitive complexity 57 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 9 (14 pts), boolean chains 10, loops 3 (7 pts), match/switch 1 (2 pts), error handling 1 (nesting depth added 18). Of this number, 52 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f48e719f7e949edf50c48d3e637aa82c07f1b73f0c14313fbb316c4ffac51cd"}},{"ruleId":"D2","level":"warning","message":{"text":"textSerializer.mergeParagraphProps (cognitive 57): textSerializer.mergeParagraphProps has cognitive complexity 57 (threshold 15). Drivers by points: if/else 32 (53 pts), boolean chains 4 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"940a598e1ed7320f30c59b07a0cf7e216e3f2315ef14df6a564970ac234b28d9"}},{"ruleId":"D2","level":"warning","message":{"text":"use-chat-sessions.useChatSessions.sendMessage (cognitive 56): use-chat-sessions.useChatSessions.sendMessage has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 3 (10 pts), boolean chains 7, ternaries 5 (7 pts), error handling 1 (nesting depth added 24). Of this number, 30 points are the body\u0027s own statements and 26 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":"components/chat/use-chat-sessions.ts"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d40fef08ebc7a19cbf9cf6be9cd31d306cc5a8de68114d917f587718f6e21da"}},{"ruleId":"D2","level":"warning","message":{"text":"openmaic-yml.crossCheck (cognitive 56): openmaic-yml.crossCheck has cognitive complexity 56 (threshold 15). Drivers by points: if/else 23 (42 pts), boolean chains 10, loops 2, ternaries 2 (nesting depth added 19). Of this number, 42 points are the body\u0027s own statements and 14 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":"lib/server/model-config/openmaic-yml.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b55ce6fffd540778d618ccd4d097dfedc767c1751bd820773f631c87044b4d"}},{"ruleId":"D2","level":"warning","message":{"text":"resize.computeResize (cognitive 56): resize.computeResize has cognitive complexity 56 (threshold 15). Drivers by points: if/else 31 (39 pts), boolean chains 9, ternaries 6 (8 pts) (nesting depth added 10). Of this number, 39 points are the body\u0027s own statements and 17 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/core/resize.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4983ae6ae41198a75d5e8649f2c3b644e97dadff1e703e2ab1dc6877217d13b3"}},{"ruleId":"D2","level":"warning","message":{"text":"presets.buildCircularArrowPath (cognitive 56): presets.buildCircularArrowPath has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 46 (49 pts), if/else 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"310ffdb28312264264d0ec2fa83fc9343f526a252cce1b5cbadd3ef72a13af20"}},{"ruleId":"D2","level":"warning","message":{"text":"json-value.findNonJsonValue (cognitive 56): json-value.findNonJsonValue has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (41 pts), boolean chains 8, loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/json-value.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c90f1608687cda3c351cea2f9a938e518743233e1b8314866cac534d0217a36"}},{"ruleId":"D2","level":"warning","message":{"text":"route.GET (cognitive 55): route.GET has cognitive complexity 55 (threshold 15). Drivers by points: if/else 29 (40 pts), boolean chains 7, error handling 3 (4 pts), loops 2, ternaries 2 (nesting depth added 12). Most of this is not in the body itself: 7 of the 55 points are its own statements and the rest belongs to 12 function items inside it that branch (poll, drainBacklog, writePage, \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/api/agent/sessions/[id]/events/route.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4458642049cc0e930510a7c6e7167af56e8cd4ac078382a21b9474bead1d24"}},{"ruleId":"D2","level":"warning","message":{"text":"whiteboard-ledger.buildVirtualWhiteboardContext (cognitive 55): whiteboard-ledger.buildVirtualWhiteboardContext has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 9 (23 pts), if/else 9 (15 pts), boolean chains 10, loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 23). Of this number, 49 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/orchestration/summarizers/whiteboard-ledger.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c5bf3fdbac1c045d6e727787a7643fae63fd43189077a109bb2cd476b80ab5"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackEngine.processNext (cognitive 55): PlaybackEngine.processNext has cognitive complexity 55 (threshold 15). Drivers by points: if/else 21 (40 pts), boolean chains 10, error handling 1 (2 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 21). Of this number, 36 points are the body\u0027s own statements and 19 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/engine.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"86671d79698c2880f328e23bbb2e3e17f387e2a84f6484f8f7ebcdab5221dacb"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.executeSession::emit (cognitive 55): runner.executeSession::emit has cognitive complexity 55 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 11, loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (runner.executeSession) 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":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"febab48274261b302250d8acb432f751df8522a1d47f06e64764d816afd4eebd"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-preview-gateway.server (cognitive 54): sandbox-preview-gateway.server has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 11, ternaries 7 (11 pts), error handling 2, loops 1 (2 pts) (nesting depth added 16). Of this number, 51 points are the body\u0027s own statements and 3 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":"scripts/sandbox-preview-gateway.mjs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"071ffcfbc03831ace672e186b2405bf1959510f2cd8bba3064b2a77a5536d731"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-activity.ToolCard (cognitive 53): tool-activity.ToolCard has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 21 (42 pts), boolean chains 11 (nesting depth added 21). Of this number, 51 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/tool-activity.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0595b3f52829e344600ea582b83f8a3e35ab8cf9191624c0f566c338e5c25f1"}},{"ruleId":"D2","level":"warning","message":{"text":"model-routes.parseRouteValue (cognitive 53): model-routes.parseRouteValue has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (29 pts), ternaries 7 (17 pts), boolean chains 7 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-routes.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bdbc481e5eba4a843b69e5b813942159517dd5dc90a85d6e21b95f28643af4"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 52): route.POST has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (38 pts), boolean chains 7, ternaries 4 (6 pts), error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/verify-pdf-provider/route.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbdee6158607326d01b0cefd145a474c2e943e6e1ab4beb2c35dbe1198b9a17"}},{"ruleId":"D2","level":"warning","message":{"text":"native-whiteboard.buildNativeWhiteboardTools (cognitive 52): native-whiteboard.buildNativeWhiteboardTools has cognitive complexity 52 (threshold 15). Drivers by points: if/else 25 (33 pts), ternaries 9 (13 pts), boolean chains 5, error handling 1 (nesting depth added 12). Most of this is not in the body itself: 15 of the 52 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 1162, a function literal at line 757, a function literal at line 802, \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":"lib/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c05f87d9048f8597164c5e44e82d9501e98947d228b46b0cd2b33db30b9593"}},{"ruleId":"D2","level":"warning","message":{"text":"collect.resolveGeneratedMedia (cognitive 52): collect.resolveGeneratedMedia has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 12, ternaries 2 (5 pts), loops 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export-app/collect.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"207c2cc22c2c85357e7c7fbfed21e57efdcebe8b59013f3d9576b5c86da34b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"request-activity.requestTrack (cognitive 52): request-activity.requestTrack has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 13, ternaries 4 (8 pts), loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/request-activity.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb641d84f390426c55c0ff26537a7a63d9ce1de25dc1a6882d7dfe17c25e092e"}},{"ruleId":"D2","level":"warning","message":{"text":"use-workbench-session.useWorkbenchStream (cognitive 52): use-workbench-session.useWorkbenchStream has cognitive complexity 52 (threshold 15). Drivers by points: if/else 22 (28 pts), ternaries 6 (11 pts), boolean chains 9, loops 3, error handling 1 (nesting depth added 11). None of this is in the body itself: all 52 points belong to 12 function literals inside it that branch (lines 193, 151, 250, \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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a37c43a943ed4df15e5475a2062a1a1110de3148292487844f985043488d48a"}},{"ruleId":"D2","level":"warning","message":{"text":"slot-picker.SlotPicker (cognitive 51): slot-picker.SlotPicker has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 23, ternaries 14 (18 pts), if/else 9 (10 pts) (nesting depth added 5). Of this number, 34 points are the body\u0027s own statements and 17 belong to 13 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/settings/models/slot-picker.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a31a2837c69e0bb51ecbf899483bc37914d0fbd6a3995108237f14c7074e3bb"}},{"ruleId":"D2","level":"warning","message":{"text":"input.parseRunInput (cognitive 51): input.parseRunInput has cognitive complexity 51 (threshold 15). Drivers by points: if/else 24 (39 pts), boolean chains 9, ternaries 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/input.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"321a269b90c752cb96d641909202d1e10edf2296b16d3e6550dcce5cc30b82de"}},{"ruleId":"D2","level":"warning","message":{"text":"course-refs.decodeCourseRefs (cognitive 51): course-refs.decodeCourseRefs has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (43 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 27). Of this number, 49 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/course-refs.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a10c7cce06d98f7ba11ec6b350b8a89e5b832e39669f095cc36c5c45949d31"}},{"ruleId":"D2","level":"warning","message":{"text":"request-schedule.scheduleRequestPreview (cognitive 51): request-schedule.scheduleRequestPreview has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 14, loops 4 (8 pts), ternaries 5 (7 pts) (nesting depth added 16). Of this number, 49 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/request-schedule.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1d91a8c573298abf91657902e80d18113275d931a5a0ac803bf8cd3c12511e"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.generateSlideContent (cognitive 51): scene-generator.generateSlideContent has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 17, ternaries 4 (8 pts) (nesting depth added 11). Of this number, 48 points are the body\u0027s own statements and 3 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":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4fe376860b18f09b4b9cc60634f29d48e7d782ed19a1caf4f25caca1ac1f3c"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpAssetStore.fetchBytes (cognitive 51): HttpAssetStore.fetchBytes has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 8, error handling 4 (8 pts), ternaries 2 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"963dfbdfbaaca830b93d860deb79f104f922a59337e69152d2fbcfece108307c"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 50): route.POST has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (28 pts), loops 4 (6 pts), ternaries 6, boolean chains 5, error handling 5 (nesting depth added 10). Most of this is not in the body itself: 1 of the 50 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 200, context, reject, \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/api/materials/route.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31fc8f3440f3d0b7063cec92d40b9434727f8d939b4e39090dddeb5578f6838"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-settings.SandboxSettings (cognitive 50): sandbox-settings.SandboxSettings has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 17 (33 pts), boolean chains 12, if/else 3, error handling 2 (nesting depth added 16). Of this number, 26 points are the body\u0027s own statements and 24 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/sandbox-settings.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdf7c910a1e869f17c251c3c1453bb00d1551f1d7a0db904b8393e7b4ecab44"}},{"ruleId":"D2","level":"warning","message":{"text":"token-plan-settings.TokenPlanSettings (cognitive 50): token-plan-settings.TokenPlanSettings has cognitive complexity 50 (threshold 15). Drivers by points: boolean chains 25, if/else 14, ternaries 9 (11 pts) (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 33 belong to 14 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/token-plan-settings.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac662dec5d11ccdd4fab9fac683a91a9b125721c4ff7e698e8ff1220090c5a11"}},{"ruleId":"D2","level":"warning","message":{"text":"event-stream.readLearningStream::read (cognitive 50): event-stream.readLearningStream::read has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/event-stream.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c6cae3ec2dc4842f4da34668d0aa6733e96cd85a9d08d6965d5aa77b7a745c"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-classroom-import.importClassroomMedia (cognitive 50): legacy-classroom-import.importClassroomMedia has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (35 pts), loops 6 (9 pts), boolean chains 4, error handling 2 (nesting depth added 22). Of this number, 42 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/legacy-classroom-import.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afb27f8f7c6c4c3f6b863a2df3c1906e6752f944674ea5061e2335036938192"}},{"ruleId":"D2","level":"warning","message":{"text":"textSerializer.renderTextWarp (cognitive 50): textSerializer.renderTextWarp has cognitive complexity 50 (threshold 15). Drivers by points: if/else 7 (22 pts), ternaries 7 (15 pts), loops 5 (11 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ced55ef96febc06dd7cdd30d929ba298e786168324011ac734ce56fccf6e1a3"}},{"ruleId":"D2","level":"warning","message":{"text":"stream-fn.toModelMessages (cognitive 49): stream-fn.toModelMessages has cognitive complexity 49 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 5 (16 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 27). Of this number, 41 points are the body\u0027s own statements and 8 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":"lib/agent/runtime/stream-fn.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5615c72f6f95490cc44315e4b8cebd75d05c281485f3a749261965ff87111b"}},{"ruleId":"D2","level":"warning","message":{"text":"user-messages.readAgentMessageLog (cognitive 49): user-messages.readAgentMessageLog has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 8 (24 pts), if/else 6 (15 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/user-messages.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c66ed0c4be4b8441a369a794b64cfec904268898d2f2e28780cc8a72df183d"}},{"ruleId":"D2","level":"warning","message":{"text":"chartOption.getChartOption (cognitive 49): chartOption.getChartOption has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 41 (80 pts), if/else 16 (24 pts), boolean chains 13, loops 1 (2 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (chartOption.getChartOption::axisOptions) 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":"packages/@openmaic/renderer/src/elements/chart/chartOption.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e043227eb7f3c95f861b734c49efaedc26c8cf9362286588f68555aa607c34d9"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.runScenario (cognitive 48): runner.runScenario has cognitive complexity 48 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 5 (13 pts), loops 4 (7 pts), error handling 3 (6 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 25). Of this number, 39 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6371fe459ac44e703f7e78a5e6c0ac9f104b5b070b7f3988b922bbe2790f617d"}},{"ruleId":"D2","level":"warning","message":{"text":"model-settings-import.unimportedItems (cognitive 48): model-settings-import.unimportedItems has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 14 (24 pts), if/else 7 (14 pts), boolean chains 5, loops 5 (nesting depth added 17). Of this number, 45 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2791375752bc20fe3a981326c9757b878af5a117de5571680f13f2ae2ba7a39"}},{"ruleId":"D2","level":"warning","message":{"text":"owner-bound-document-store.createOwnerBoundDocumentStore::withTransaction (cognitive 48): owner-bound-document-store.createOwnerBoundDocumentStore::withTransaction has cognitive complexity 48 (threshold 15). Drivers by points: if/else 20 (38 pts), boolean chains 7, ternaries 1 (2 pts), error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/owner-bound-document-store.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"260e5c137664d4b1a121a2227eb17e62d2b20914ff61a89e22958cb6e3d55aca"}},{"ruleId":"D2","level":"warning","message":{"text":"imageSerializer.applyExtLstImageEffectsToFilters (cognitive 48): imageSerializer.applyExtLstImageEffectsToFilters has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (35 pts), loops 3 (6 pts), match/switch 1 (4 pts), boolean chains 3 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc91709c9e805193e6815209ec1120441922211d7c874707aec34964b1d6915e"}},{"ruleId":"D2","level":"warning","message":{"text":"tableSerializer.getStyleSections (cognitive 48): tableSerializer.getStyleSections has cognitive complexity 48 (threshold 15). Drivers by points: if/else 22 (36 pts), boolean chains 10, ternaries 1 (2 pts) (nesting depth added 15). Of this number, 43 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"575fd680f784d54b918bc126793bae905b7481c71e41390693894589dd11a62e"}},{"ruleId":"D2","level":"warning","message":{"text":"resource-reference-scan.scanExternalReferences (cognitive 48): resource-reference-scan.scanExternalReferences has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (30 pts), ternaries 4 (9 pts), loops 3 (5 pts), error handling 2 (4 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-reference-scan.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1281ae90d027f97ad9e38a736a0d539e318ae9b3e7b69469e22d905302580c57"}},{"ruleId":"D2","level":"warning","message":{"text":"createResourceHandler::handle (cognitive 48): createResourceHandler::handle has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 14 (20 pts), if/else 14 (16 pts), boolean chains 9, other 2, error handling 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-owner.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb3450921389bad8ac77f9e9b00a9941c5d92322653e5bf523d898df81f34f2"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 47): route.POST has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (30 pts), ternaries 4 (8 pts), boolean chains 6, error handling 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/generate/voice/route.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cac7c174f51c946264d40df090602084a00116526a23e26809676a00fb5c585"}},{"ruleId":"D2","level":"warning","message":{"text":"page.ClassroomCard (cognitive 47): page.ClassroomCard has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 19, ternaries 12 (16 pts), if/else 9 (12 pts) (nesting depth added 7). Of this number, 30 points are the body\u0027s own statements and 17 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":"app/page.tsx"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb67cbc77411aa759deeb3477a966bae489a6434eec41c3ea83152fcd35b56d5"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionsBar.SpeechTtsBar (cognitive 47): ActionsBar.SpeechTtsBar has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (18 pts), ternaries 12 (18 pts), boolean chains 8, error handling 3 (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 29 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9584cb7e65c521b6376c41f8b991a825087994d93348854fa64abc639316eb44"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveIframeHost.PooledIframe (cognitive 47): InteractiveIframeHost.PooledIframe has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 15 (17 pts), boolean chains 16, if/else 14 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 30 belong to 10 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/scene-renderers/InteractiveIframeHost.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ea14fcf8d0f329bc46d526f4b465b23b876e48846f49e42a42bb8a9646e8b9"}},{"ruleId":"D2","level":"warning","message":{"text":"submission.SubmissionModal::handleFile (cognitive 47): submission.SubmissionModal::handleFile has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (32 pts), ternaries 3 (8 pts), error handling 3 (5 pts), boolean chains 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (submission.SubmissionModal) 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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a6086e94009090b53feeb7edc1a98c762b18fd5f63c56423f55323c0f9e690"}},{"ruleId":"D2","level":"warning","message":{"text":"workbench-split.WorkbenchSplit (cognitive 47): workbench-split.WorkbenchSplit has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (20 pts), ternaries 13 (16 pts), boolean chains 11 (nesting depth added 5). Of this number, 24 points are the body\u0027s own statements and 23 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, 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/scene-renderers/pbl/v3/workbench-split.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb4fe752479e09ce40bf7ac14ca1b338b91949e2d36940dea52e42992aafacc"}},{"ruleId":"D2","level":"warning","message":{"text":"chartOption.getChartOption (cognitive 47): chartOption.getChartOption has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (23 pts), ternaries 13 (19 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 14). Of this number, 34 points are the body\u0027s own statements and 13 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0528af66ec8b0b30e8bb4029ef4f3bc54da526ee4fc6c22ed6c944441a5fe0b8"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.main (cognitive 47): runner.main has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 9 (21 pts), if/else 7 (13 pts), boolean chains 9, loops 3 (4 pts) (nesting depth added 19). Of this number, 16 points are the body\u0027s own statements and 31 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"b644f2c5dd43c6ebe61f8428a6f6da258c26ea70a71346d0051b3044b1b84333"}},{"ruleId":"D2","level":"warning","message":{"text":"json-repair.parseJsonResponseCandidate (cognitive 47): json-repair.parseJsonResponseCandidate has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (34 pts), boolean chains 5, ternaries 2 (5 pts), loops 2 (3 pts) (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":"packages/@openmaic/generation/src/json-repair.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2056742ee895fd18750bec96e71c90dd8db740a0b58c58b45813a579fdebff1d"}},{"ruleId":"D2","level":"warning","message":{"text":"mathSerializer.normalizeMathCharToUnicode (cognitive 47): mathSerializer.normalizeMathCharToUnicode has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (24 pts), boolean chains 22, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a8c46a5945b9284b9d4d1d66b84226ac69f83a86efe662d62788253e408adb"}},{"ruleId":"D2","level":"warning","message":{"text":"mathSerializer.postProcessLatex (cognitive 47): mathSerializer.postProcessLatex has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (41 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed34a0525c29033895cbc9cd821fbeffeb6875595e89afa4137414077e984e03"}},{"ruleId":"D2","level":"warning","message":{"text":"folder-card.FolderCard (cognitive 45): folder-card.FolderCard has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (22 pts), ternaries 8 (12 pts), boolean chains 11 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 25 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/discovery/folder-card.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8574430c23626f5662fb9ccd5e6d34858248dc48365d60b9498adc473a18e5"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticTable.StaticTable (cognitive 45): StaticTable.StaticTable has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 16 (17 pts), if/else 15, boolean chains 13 (nesting depth added 1). Most of this is not in the body itself: 4 of the 45 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 115, getCellBg, getHeaderTextColor, \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/slide-renderer/components/element/TableElement/StaticTable.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e41215e7d745cabed2ece7f4091bffd660267bd93a4f5b4e59add081ab7a5c0"}},{"ruleId":"D2","level":"warning","message":{"text":"textSerializer.runStylesToCssString (cognitive 45): textSerializer.runStylesToCssString has cognitive complexity 45 (threshold 15). Drivers by points: if/else 26 (28 pts), boolean chains 13, ternaries 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"416a88a15184b2ef982b67eefb23d9cbfbe4ea5d78a7234c80c1027e170bba0b"}},{"ruleId":"D2","level":"warning","message":{"text":"shapeSerializer.resolveInheritedPlaceholderFill (cognitive 45): shapeSerializer.resolveInheritedPlaceholderFill has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 4 (18 pts), boolean chains 1, loops 1 (nesting depth added 27). 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/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d7ea88770428fcc9122500c0bd94d158401e26eafb8076ddfc7c1466da5e85"}},{"ruleId":"D2","level":"warning","message":{"text":"groupSerializer.groupToElement (cognitive 45): groupSerializer.groupToElement has cognitive complexity 45 (threshold 15). Drivers by points: if/else 7 (22 pts), ternaries 5 (13 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/groupSerializer.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca9f00bad7d11349a636b6cf6d1a768211e6ee66dc340112875b6e2230ad16f"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 44): route.POST has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 12, ternaries 6, error handling 3 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 26 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/sessions/route.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1d12ca9879c336c230ece8c20140585886072b9acf43b482036b16963c70e7"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ImageElement (cognitive 44): index.ImageElement has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 13 (37 pts), boolean chains 4, if/else 3 (nesting depth added 24). Of this number, 40 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ImageElement/index.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08a98a58a44a2ae2021af85a98ca834a5b631cd4fc4eb4903812c9a582019d4"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamBuffer.tick (cognitive 44): StreamBuffer.tick has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (38 pts), boolean chains 3, ternaries 1 (2 pts), match/switch 1 (nesting depth added 21). 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":"lib/buffer/stream-buffer.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"208f4e3565cdc01032b8317050071f61d980e6065edc6c3c8ceb689962818de8"}},{"ruleId":"D2","level":"warning","message":{"text":"classroom-zip-utils.collectLegacyAudioForExport (cognitive 44): classroom-zip-utils.collectLegacyAudioForExport has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 6 (11 pts), ternaries 4 (6 pts), boolean chains 2, error handling 1 (nesting depth added 22). Of this number, 40 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/classroom-zip-utils.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd0de967afef422f1dafc2ae5882a23095806b35d931f097b6db181047c9309"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.parse (cognitive 44): parser.parse has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 5 (12 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/html-parser/parser.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a789918db7ac0d0dae96111f9a533ff5d79f8e09b3d8908d138fdd9e428617"}},{"ruleId":"D2","level":"warning","message":{"text":"completion-stats.normalizeActGoals (cognitive 44): completion-stats.normalizeActGoals has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (23 pts), ternaries 4 (9 pts), loops 4 (7 pts), boolean chains 5 (nesting depth added 22). Of this number, 39 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":"lib/pbl/v2/operations/runtime/completion-stats.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bae83cbf2a90dcbc3b8db99ef49471a087debe0160b6343d0026b1bdc25def8"}},{"ruleId":"D2","level":"warning","message":{"text":"derived-state.computePlaybackView (cognitive 44): derived-state.computePlaybackView has cognitive complexity 44 (threshold 15). Drivers by points: if/else 34, boolean chains 10. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/derived-state.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea0ff551fc9fa08c02b6765428a01f6520b42a6ddfacce73b440c3eed534b29"}},{"ruleId":"D2","level":"warning","message":{"text":"media-generation.useMediaGenerationStore (cognitive 44): media-generation.useMediaGenerationStore has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (22 pts), ternaries 5 (16 pts), loops 4, boolean chains 1, error handling 1 (nesting depth added 18). None of this is in the body itself: all 44 points belong to 9 function literals inside it that branch (lines 194, 253, 266, \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":"lib/store/media-generation.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa98663e4b314541ea9672de8bcb03aa23ba06b9757c1a88806bc6c1c41c8c7"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.assertLosslessJson (cognitive 44): validate.assertLosslessJson has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 8, loops 3 (5 pts), ternaries 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f6d8a7e67d0c5dda59fe998393099bf3bef8a2c85f44b5a93dd13151081ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"RendererTableEditor.RendererTableEditor (cognitive 44): RendererTableEditor.RendererTableEditor has cognitive complexity 44 (threshold 15). Drivers by points: if/else 20, boolean chains 12, ternaries 11 (12 pts) (nesting depth added 1). None of this is in the body itself: all 44 points belong to 12 function items inside it that branch (getCellBackground, a function literal at line 224, getHeaderTextColor, \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":"packages/@openmaic/editor/src/react/table/RendererTableEditor.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"98167ee7cf88cb0cc7778bfe59975098c3edf2e4175e8df0e35a3e3dbfcbb16d"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionsBar.ActionsBar (cognitive 43): ActionsBar.ActionsBar has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 12 (15 pts), boolean chains 13, if/else 9 (12 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 13 of the 43 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 1139, a function literal at line 1350, newId, \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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1903527c1925a8174533685423a266b7dbca506f657421c77eb2ad916a95b10"}},{"ruleId":"D2","level":"warning","message":{"text":"header-controls.HeaderControls (cognitive 43): header-controls.HeaderControls has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 22, ternaries 16 (20 pts), if/else 1 (nesting depth added 4). Of this number, 39 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/header-controls.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faeffa9aae10c77f15d8eea29e89667452082e4d1bcac996d1c2a4ceeb92c65"}},{"ruleId":"D2","level":"warning","message":{"text":"interactive-state-evidence.attachInteractiveState (cognitive 43): interactive-state-evidence.attachInteractiveState has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 9 (15 pts), boolean chains 8 (nesting depth added 14). Of this number, 30 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/interactive-state-evidence.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0571d8ddba501cba7aa7727baf4fa8ab7b387aecf566478b37e60652245bd360"}},{"ruleId":"D2","level":"warning","message":{"text":"index.runLocked (cognitive 43): index.runLocked has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (28 pts), loops 5 (8 pts), ternaries 4 (5 pts), boolean chains 1, error handling 1 (nesting depth added 14). Of this number, 40 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/index.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"531b4e06235029378f9e8caa54490be0987b05ab3b504f3ba6ac2c6b36e6810b"}},{"ruleId":"D2","level":"warning","message":{"text":"product-context.teachingProductContext (cognitive 43): product-context.teachingProductContext has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 24 (39 pts), boolean chains 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/product-context.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c9ef53cfc016e646ba2b43928231c652d46d67892f656d6d21e320441520d6"}},{"ruleId":"D2","level":"warning","message":{"text":"builtin-extraction.fetchAndExtractUrl (cognitive 43): builtin-extraction.fetchAndExtractUrl has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 6, ternaries 3 (5 pts), error handling 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/builtin-extraction.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39b0bacd6e83345616f45f4d68f568568b914f1e990206ef47e83b087bb2cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"tts-voice-managers.QwenVoiceCloneManager (cognitive 42): tts-voice-managers.QwenVoiceCloneManager has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 11, if/else 11, error handling 4 (nesting depth added 4). Most of this is not in the body itself: 10 of the 42 points are its own statements and the rest belongs to 14 function items inside it that branch (startRecording, handleSave, handleFileChange, \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/tts-voice-managers.tsx"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e151e2a4fc64e543a57cf5c2895b9d999b641ee793bed03772dd754e2860f8"}},{"ruleId":"D2","level":"warning","message":{"text":"question-form.QuestionForm (cognitive 42): question-form.QuestionForm has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 15 (27 pts), if/else 10, boolean chains 5 (nesting depth added 12). Most of this is not in the body itself: 8 of the 42 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 162, 120, 98, \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/workbench/chat/question-form.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b301306d27fe86b4598c21d057a082044d43ebd4d04588c1be67cee16e4e3913"}},{"ruleId":"D2","level":"warning","message":{"text":"audio-duration.measureMp3Duration (cognitive 42): audio-duration.measureMp3Duration has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 8 (13 pts), boolean chains 7, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/audio-duration.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2032ad1ad55ec9b4cf70488e1c076ab0cba43b36aad2dc5dc8d6aca9580702"}},{"ruleId":"D2","level":"warning","message":{"text":"instructor.buildPriorSubmissionsBlock (cognitive 42): instructor.buildPriorSubmissionsBlock has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 6 (22 pts), if/else 8 (15 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3060252e04b6cfdab9b449a10f3d82e592e63d50bf48bf5f34c5b84a857de0"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-video.patchStageVideoPlaceholder (cognitive 42): generate-video.patchStageVideoPlaceholder has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 8, ternaries 3 (6 pts), error handling 1, loops 1 (nesting depth added 13). Most of this is not in the body itself: 9 of the 42 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 520, isReplaceableSrc, isReplaceablePoster). 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":"lib/server/agent-runtime/generate-video.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac89bfa7b8fad248a0d0eabb9f9c6e0c9faaed95c15e49062a5d494fb142c809"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-content.generateSceneContent (cognitive 42): scene-content.generateSceneContent has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 21). Of this number, 40 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/scene-content.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1451602915e47be3c84c7b7d4dd7d0419f6cc4fa11deb17562dfbe646d23cc5"}},{"ruleId":"D2","level":"warning","message":{"text":"stage-storage.saveStageDataIncremental (cognitive 42): stage-storage.saveStageDataIncremental has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 5, loops 1 (3 pts), error handling 1 (2 pts), ternaries 2 (nesting depth added 16). Most of this is not in the body itself: 10 of the 42 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 406, 377, 408, \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":"lib/utils/stage-storage.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6186a8517d10db7dfd253ec0b7fc34b8a458a5cb166972fc37289743e419c0b6"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.generateSceneActions (cognitive 42): scene-generator.generateSceneActions has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 19, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaf9736db96de8ae08258d6db5e7f4db63189328702189397a9b57ffb0db86b"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipParser.parseZip (cognitive 42): ZipParser.parseZip has cognitive complexity 42 (threshold 15). Drivers by points: if/else 29 (40 pts), boolean chains 1, loops 1 (nesting depth added 11). Of this number, 16 points are the body\u0027s own statements and 26 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/parser/ZipParser.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"820c96311ca3b3e678044fef76b1d3ab1c1c5cbd866324360f76c0582942bd0b"}},{"ruleId":"D2","level":"warning","message":{"text":"StyleResolver.resolveLineStyle (cognitive 42): StyleResolver.resolveLineStyle has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 13, ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0dc4d5d4d81c677e7c9e26cf6e56ba502d395cac664e1902846b982b025320"}},{"ruleId":"D2","level":"warning","message":{"text":"document.route (cognitive 42): document.route has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (26 pts), error handling 4 (10 pts), boolean chains 6 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/document.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bf7fb81a11e16694cfd8931435666a9ba6bd0ef8e232697ad7306c9f15a7f7"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-preview-activity.installPreviewActivity (cognitive 42): sandbox-preview-activity.installPreviewActivity has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 13, ternaries 3, error handling 1 (nesting depth added 8). Most of this is not in the body itself: 7 of the 42 points are its own statements and the rest belongs to 4 function items inside it that branch (flush, a function literal at line 130, input, \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":"scripts/sandbox-preview-activity.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc448b647bc0a0aecede8dff1b33117bf7a4e095822230e656bddfcc4e3b3ad"}},{"ruleId":"D2","level":"warning","message":{"text":"EditShell.surfaceStateEqual (cognitive 41): EditShell.surfaceStateEqual has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (37 pts), loops 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/EditShell/EditShell.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd8b7e4b8dcbbfe30506eb8537f994fee677f397347afeaf47e77581f853b2b"}},{"ruleId":"D2","level":"warning","message":{"text":"use-project-editor.useProjectEditor.load (cognitive 41): use-project-editor.useProjectEditor.load has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 16, ternaries 3 (6 pts), error handling 1 (nesting depth added 8). Of this number, 27 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-project-editor.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ae2b8126fa3936f53d7052b4135d236c88c6ade5023783832183e8efab21b8"}},{"ruleId":"D2","level":"warning","message":{"text":"compose-extras.SkillSlashMenu (cognitive 41): compose-extras.SkillSlashMenu has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 7 (20 pts), if/else 10 (14 pts), boolean chains 7 (nesting depth added 17). Most of this is not in the body itself: 10 of the 41 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 114, 199, 96, \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/workbench/compose-extras.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a2b999e13b7d5073006a259500a0d99887ef75378d2d5adebcda0f4e8cf0f8"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.writeMarkdownReport (cognitive 41): runner.writeMarkdownReport has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 11 (32 pts), loops 3 (4 pts), if/else 1 (3 pts), boolean chains 2 (nesting depth added 24). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"8195e1611119b9101de2eaee6735d9eadc9e82c092cd761694cb6f248920fbf3"}},{"ruleId":"D2","level":"warning","message":{"text":"lexer.lexTagAttributes (cognitive 41): lexer.lexTagAttributes has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (35 pts), boolean chains 4, loops 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/html-parser/lexer.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"86424a5e83efa697a72fa9fc7b751ad41d01ebee87738f6847bb60d631209477"}},{"ruleId":"D2","level":"warning","message":{"text":"use-run-course.useRunCourse (cognitive 41): use-run-course.useRunCourse has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 12, ternaries 9, loops 1 (nesting depth added 3). Most of this is not in the body itself: 12 of the 41 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 201, 180, 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":"lib/generation-run-client/use-run-course.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"110c57eb8d37a0058ab1b014fe7ee6d10abe9578ad3bf8e46f46ac494dbfd32a"}},{"ruleId":"D2","level":"warning","message":{"text":"event-stream.learningEventResponse (cognitive 41): event-stream.learningEventResponse has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 5, loops 3, ternaries 2, error handling 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 80, subscribe, a function literal at line 57, \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":"lib/server/pbl-v3/event-stream.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9a497667fdd4ae6b504e8b19d656b6fe40e2ca54ee206c5137f751b7cfd2fd"}},{"ruleId":"D2","level":"warning","message":{"text":"cover-config.resolveVideoExportCta (cognitive 41): cover-config.resolveVideoExportCta has cognitive complexity 41 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 13, ternaries 4, error handling 2 (nesting depth added 2). Of this number, 33 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export-app/cover-config.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a24f42580e30d1026c0f42ac1b3a86968eaebf2cc259bdc0695f56211acdec0"}},{"ruleId":"D2","level":"warning","message":{"text":"asset-manifest.enumerateAssetManifest (cognitive 41): asset-manifest.enumerateAssetManifest has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 7 (14 pts), loops 7 (9 pts), boolean chains 2 (nesting depth added 16). Of this number, 31 points are the body\u0027s own statements and 10 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/@openmaic/dsl/src/asset-manifest.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfada8566297fd4ec5a7792af3f00d62d9f59fe8d7b5aa1994cfd616b63ea2fe"}},{"ruleId":"D2","level":"warning","message":{"text":"action-parser.parseActionsFromStructuredOutput (cognitive 41): action-parser.parseActionsFromStructuredOutput has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 10, error handling 4 (9 pts), loops 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":"packages/@openmaic/generation/src/action-parser.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef5ffea2aad8eeaf6f242b70f4bb5def2a60bf2d38eb9f41a1480cb587175c2"}},{"ruleId":"D2","level":"warning","message":{"text":"Presentation.buildPresentation (cognitive 41): Presentation.buildPresentation has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 7 (8 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 17). Of this number, 39 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":"packages/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"12023e982eff988a862740be928522f5dc299022641eb4c169a1af4b05762aad"}},{"ruleId":"D2","level":"warning","message":{"text":"chartSerializer.extractSeriesColors (cognitive 41): chartSerializer.extractSeriesColors has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/chartSerializer.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f8a2a46e5f78bdc94b283446f3b751a54c85ac3f734232319eda3500ffe7d"}},{"ruleId":"D2","level":"warning","message":{"text":"outlines-editor.OutlinesEditor (cognitive 40): outlines-editor.OutlinesEditor has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 15, ternaries 7 (9 pts) (nesting depth added 4). Most of this is not in the body itself: 14 of the 40 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 146, moveOutline, reorderOutline, \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/generation/outlines-editor.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafe69c342f1e7a7d1d5562d7eb103f234d36094e6fceb537cc26a7c603122a2"}},{"ruleId":"D2","level":"warning","message":{"text":"narration-tts.generateAndStoreTTS (cognitive 40): narration-tts.generateAndStoreTTS has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 4 (9 pts), boolean chains 7, error handling 1, loops 1 (nesting depth added 14). Of this number, 38 points are the body\u0027s own statements and 2 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":"lib/audio/narration-tts.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3423fb1d9ac123bdff048accb8a01fa2a90a63a28b7c425712ade1f609bd4196"}},{"ruleId":"D2","level":"warning","message":{"text":"course-timeline.applyTimelineEntry (cognitive 40): course-timeline.applyTimelineEntry has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 7 (9 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/edit/course-timeline.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0ae6e3428c59fb029af7b67ba7a330790ee24a806b660a6afa62eedcd69f70"}},{"ruleId":"D2","level":"warning","message":{"text":"html-asset-inventory.analyzeHtmlAssetInventory::visit (cognitive 40): html-asset-inventory.analyzeHtmlAssetInventory::visit has cognitive complexity 40 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 5, loops 3 (5 pts), ternaries 2 (4 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/html-asset-inventory.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d879a58c9c66654873da53ea0ca52bd6889341042420b1f4f1e224846e114c62"}},{"ruleId":"D2","level":"warning","message":{"text":"sources.legacySpeechHolders (cognitive 40): sources.legacySpeechHolders has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 4 (10 pts), error handling 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 24). Of this number, 24 points are the body\u0027s own statements and 16 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/legacy-browser-import/sources.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb31b4850cbdbcad3e73a1c17fc16dd81a7b40e482940daf5028cf0d8131b27"}},{"ruleId":"D2","level":"warning","message":{"text":"planner.buildTools (cognitive 40): planner.buildTools has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 23, if/else 13, boolean chains 4. Most of this is not in the body itself: 3 of the 40 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 480, 420, 638, \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":"lib/pbl/v2/agents/planner.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b2dcb9536fdc7f609fdfc25bb2bf5c8c205765d5fb41903bd75adde2ea50d4"}},{"ruleId":"D2","level":"warning","message":{"text":"mineru-cloud.parseMinerUZip (cognitive 40): mineru-cloud.parseMinerUZip has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 3 (4 pts), ternaries 3 (4 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 15). Of this number, 30 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/mineru-cloud.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aafc0dd0ba6f67fe55d0a1f9a86927ae2b71b2f44d44ffd29b9f145c7d274c7"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-storage.saveChatSessions (cognitive 40): chat-storage.saveChatSessions has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 7, loops 2 (4 pts), ternaries 3, error handling 1 (nesting depth added 11). Most of this is not in the body itself: 4 of the 40 points are its own statements and the rest belongs to one function literal inside it that branches (line 1006). 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":"lib/utils/chat-storage.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"2680e27908f91e77b9e97d0f370934cd5ba647ff28b6f2f5a3bad02fd0a9c4f3"}},{"ruleId":"D2","level":"warning","message":{"text":"interactive-library-mapper.mapInteractiveLibraryUrl (cognitive 40): interactive-library-mapper.mapInteractiveLibraryUrl has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 12, ternaries 1 (2 pts), error handling 1 (nesting depth added 8). Of this number, 36 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/interactive-library-mapper.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e893dd2e5f041fe166d7f555c15019d256e2c9d2211e011ad5acabc9cc526b3"}},{"ruleId":"D2","level":"warning","message":{"text":"tableSerializer.tableToElement.data (cognitive 40): tableSerializer.tableToElement.data has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (28 pts), loops 4 (6 pts), ternaries 4, boolean chains 2 (nesting depth added 11). None of this is in the body itself: all 40 points belong to one function literal inside it that branches (line 506). 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/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"75598afab5b90f597b0a1b5dd051b254f7878265930f62a4b8e707b6ff6654b0"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-lab.SandboxLab (cognitive 39): sandbox-lab.SandboxLab has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 15, if/else 8 (14 pts), loops 3 (4 pts), ternaries 2 (4 pts), error handling 2 (nesting depth added 9). Most of this is not in the body itself: 13 of the 39 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 130, perform, a function literal at line 64, \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/sandbox-lab/sandbox-lab.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bda363f9e2a7236497252c3fc10185c204ed957483a984a7889975fcfe2826"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-bar.AgentBar (cognitive 39): agent-bar.AgentBar has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 16, if/else 11 (12 pts), ternaries 10 (11 pts) (nesting depth added 2). Most of this is not in the body itself: 12 of the 39 points are its own statements and the rest belongs to 8 function items inside it that branch (handleModeChange, renderAgentRow, a function literal at line 647, \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/agent/agent-bar.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aac4ae288b338e2bfc689ae2e8f153b94d99135c9381b0b3d47a07fe1680e8"}},{"ruleId":"D2","level":"warning","message":{"text":"use-tree-drag.useTreeDrag (cognitive 39): use-tree-drag.useTreeDrag has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 8, ternaries 5 (8 pts) (nesting depth added 6). None of this is in the body itself: all 39 points belong to 8 function literals inside it that branch (lines 170, 138, 196, \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/workbench/workspace/use-tree-drag.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1793a2b2868649862f71814cbf6bca064999607c78e10101b1a4a5396431dce5"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare-manifest.collectMediaSlots (cognitive 39): prepare-manifest.collectMediaSlots has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 5 (17 pts), boolean chains 1 (nesting depth added 26). Of this number, 36 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/prepare-manifest.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2eec30294a06ce6d1737108f20b33160a157d99ab74ba844586a7e59bf464ef"}},{"ruleId":"D2","level":"warning","message":{"text":"plain-json.canonicalize (cognitive 39): plain-json.canonicalize has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 6, loops 4 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/plain-json.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f45536d6b7ed70defb9024e14f63fe3a0a3bd04994ca5e1ff17a2a2a98a1ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.compileEditorEditIntents (cognitive 39): index.compileEditorEditIntents has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (26 pts), ternaries 2 (7 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 22). Of this number, 38 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/@openmaic/editor/src/core/index.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0e6f7803d8b226a905c166fcb9619f5a0c36ae1598959bfedc6352e4df11b1"}},{"ruleId":"D2","level":"warning","message":{"text":"chartSerializer.chartToElement (cognitive 39): chartSerializer.chartToElement has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 4, loops 1 (4 pts), ternaries 3 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/chartSerializer.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ab85c6c551f4930f1a6ef27eff4feea9ebf678df6956a62dfdc404e055fc58"}},{"ruleId":"D2","level":"warning","message":{"text":"pg-migrations.splitSqlStatements (cognitive 39): pg-migrations.splitSqlStatements has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (26 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/pg-migrations.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2be893d3456b0f2e584fff931a47efac3899d045cf5e5a6fa149b05cb7764a7"}},{"ruleId":"D2","level":"warning","message":{"text":"use-chat-sessions.runPiSingleRequest (cognitive 38): use-chat-sessions.runPiSingleRequest has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 6, loops 2 (3 pts), ternaries 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/use-chat-sessions.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51ff0b27daf92d79d2a2e10729b9211475da8813ac6efdaac7b03bb6d7802bc"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ShapeElement (cognitive 38): index.ShapeElement has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 14 (17 pts), boolean chains 12, if/else 8 (9 pts) (nesting depth added 4). Of this number, 27 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"753e8f29ed34ce58cfcb15c9ee2017d80e20fd8a19b2f9b675ec4f8f8ae68b89"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseCodeElement.BaseCodeElement (cognitive 38): BaseCodeElement.BaseCodeElement has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 8, loops 3 (5 pts), error handling 2, ternaries 2 (nesting depth added 7). Most of this is not in the body itself: 5 of the 38 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 502, 539, 576, \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/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7a7361dcf9ce4e01c064fb5c613c5330134d2108725ed5347e332db541bc33"}},{"ruleId":"D2","level":"warning","message":{"text":"call-agent.validateActionParams (cognitive 38): call-agent.validateActionParams has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 10, ternaries 2 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc9d03fd7527c55158d0eb9e493ff950590a5e11fb113a44356db184df85ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"director-loop.runPiDirectorLoop (cognitive 38): director-loop.runPiDirectorLoop has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 14, if/else 13 (14 pts), ternaries 8 (9 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 13 of the 38 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 223, a function literal at line 77, isTeachingSubstantiveTurn, \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":"lib/chat/pi/director-loop.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16ad8788c45f9556ab38aa124ab3cf8c4eeeb15c426725913771aa7e6b2cdcb"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-prompts.buildMilestoneEvalPrompt (cognitive 38): eval-prompts.buildMilestoneEvalPrompt has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (33 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/eval-prompts.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"601d1bb88fb65a24378f133a5a4119bdca470eca13ec0ed6ccc622ef14672224"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.checkOutlineAgainstSkill (cognitive 38): skills.checkOutlineAgainstSkill has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 9, loops 4 (5 pts) (nesting depth added 10). Of this number, 36 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":"lib/server/agent-runtime/skills.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92d8577d1514a4b1ac6d56d37e71b01e91841dd23c2ea08086f896aac383488"}},{"ruleId":"D2","level":"warning","message":{"text":"collect.collectVideoAssets (cognitive 38): collect.collectVideoAssets has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts), loops 2 (nesting depth added 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, split the body into named stages: move each independent step or branch into 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/video-export-app/collect.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9769036d9f3344f9f20cdee0b90be9bf82ca4297065e544d46cbff9458650501"}},{"ruleId":"D2","level":"warning","message":{"text":"closeoutTask (cognitive 38): closeoutTask has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 4 (12 pts), error handling 3 (7 pts), other 5, boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"330a99ac20273646565fd324ce669b9f395495871b03fbbd45fc36ebb4549a54"}},{"ruleId":"D2","level":"warning","message":{"text":"model-picker.ModelPicker (cognitive 37): model-picker.ModelPicker has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 18, ternaries 8 (11 pts), if/else 5 (7 pts), loops 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 20 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/model-picker.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"174d257a9e8fd1712d8630cab821218ebab47f4bdfdac832aee882bf1aef61af"}},{"ruleId":"D2","level":"warning","message":{"text":"run-native-child.runNativeChild (cognitive 37): run-native-child.runNativeChild has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23 (24 pts), boolean chains 13 (nesting depth added 1). Of this number, 23 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":"lib/agent/runtime/run-native-child.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7de23afa3bd5b4b5b54d50df03a7881add17a5e85ed5e9778ac5761de6a63c"}},{"ruleId":"D2","level":"warning","message":{"text":"migration.migrateLocked (cognitive 37): migration.migrateLocked has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 8, error handling 4 (7 pts), ternaries 2 (nesting depth added 9). Most of this is not in the body itself: 5 of the 37 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 471, 404). 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":"lib/document-store/migration.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6d7f4db60cec8c3d6c129080e437b84099c25a063c67eb93315c19baa4fb01"}},{"ruleId":"D2","level":"warning","message":{"text":"use-discussion-tts.useDiscussionTTS.processQueue (cognitive 37): use-discussion-tts.useDiscussionTTS.processQueue has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 6, ternaries 2, error handling 1 (nesting depth added 9). Of this number, 35 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/use-discussion-tts.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0c1fca0482ec5b58bbee582e040ec88cf91deb14919c3f4bc49838e077d076"}},{"ruleId":"D2","level":"warning","message":{"text":"collect-stage-asset-refs.collectStageAssetRefs (cognitive 37): collect-stage-asset-refs.collectStageAssetRefs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 6 (13 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 17). Of this number, 22 points are the body\u0027s own statements and 15 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/collect-stage-asset-refs.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8dc9c19f6abe11922dcdd35a89aa2a238b1848073110b097d1732fb43408b2"}},{"ruleId":"D2","level":"warning","message":{"text":"fold.applyRuntimeEvent (cognitive 37): fold.applyRuntimeEvent has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (36 pts), match/switch 1 (nesting depth added 18). 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/pbl/v2/runtime/fold.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f984b20ab44c7b7f174c326c41cbd18058042133752393390ba30b3ddb67a289"}},{"ruleId":"D2","level":"warning","message":{"text":"transition.allowedStudentActions (cognitive 37): transition.allowedStudentActions has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 5 (11 pts), boolean chains 8 (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/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a414772d9a5e47d37c01767261eeb07b44bef63190529311ed857c3e669ede6"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy-classroom-import.importLegacyClassrooms (cognitive 37): legacy-classroom-import.importLegacyClassrooms has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (25 pts), error handling 3 (6 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 17). Of this number, 30 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/legacy-classroom-import.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d65c1a308dd9540365ea797400edb4bfdfea702411c298d09d3129901e18f5"}},{"ruleId":"D2","level":"warning","message":{"text":"context-projection.createTeachingContextProjection.prepare (cognitive 37): context-projection.createTeachingContextProjection.prepare has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 5, loops 3 (4 pts), ternaries 3, error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/context-projection.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"467ca3dfeba07d4bde0220f37e88d31649c6972384202e44a3f3c6f32110dbdf"}},{"ruleId":"D2","level":"warning","message":{"text":"PgRuntimeStore.appendRecord (cognitive 37): PgRuntimeStore.appendRecord has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4, ternaries 2 (4 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 16). Most of this is not in the body itself: 11 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 514). 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/@openmaic/storage/src/runtime/pg.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"238d7c80663ecdfdc403f2189367665d7970023b9b85dd3a1d85394ac86642c4"}},{"ruleId":"D2","level":"warning","message":{"text":"check-package-version-bumps.checkDslFormatVersionRule (cognitive 37): check-package-version-bumps.checkDslFormatVersionRule has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 9 (13 pts), error handling 3 (5 pts), boolean chains 2, loops 2 (nesting depth added 14). Of this number, 29 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-package-version-bumps.mjs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f027b699833617d4d1f67eab66a0000aa65771096f3c74c5c53d32b6d3350e"}},{"ruleId":"D2","level":"warning","message":{"text":"tts-settings.TTSSettings (cognitive 36): tts-settings.TTSSettings has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 26, ternaries 6 (8 pts), error handling 1, if/else 1 (nesting depth added 2). Of this number, 27 points are the body\u0027s own statements and 9 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":"components/settings/tts-settings.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"551beea668ec2aa46ee65d5c6fef545265ac5a0154cf5c8a1ee46ffd494cc317"}},{"ruleId":"D2","level":"warning","message":{"text":"use-project-editor.useProjectEditor.pump::run (cognitive 36): use-project-editor.useProjectEditor.pump::run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 6, error handling 1 (2 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-project-editor.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad33ca5af7e12cf18ce01f082d113b2cfa839d9ad5d121d0f108d33be0218cf"}},{"ruleId":"D2","level":"warning","message":{"text":"task-dock.TaskDock (cognitive 36): task-dock.TaskDock has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 14 (21 pts), boolean chains 9, if/else 6 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 14 belong to 8 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/task-dock.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7c50b2c603a5eba40546ac679f3c56a2561aa7c367059640b2b49692b632d3"}},{"ruleId":"D2","level":"warning","message":{"text":"index.TextElement (cognitive 36): index.TextElement has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 8, ternaries 7 (nesting depth added 4). Most of this is not in the body itself: 9 of the 36 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 86, a function literal at line 51, a function literal at line 169, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/TextElement/index.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85442cb6b26893ddc041a70a9e6ac9c40c50ee7fc97162e4bd0fa1915dc1cd9"}},{"ruleId":"D2","level":"warning","message":{"text":"tableUtils.getHiddenCells (cognitive 36): tableUtils.getHiddenCells has cognitive complexity 36 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 3 (11 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/TableElement/tableUtils.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7665ccd7babdfe84939fc84b5a21460e90b8ebf439c97f30f14cac7d14982ca9"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Canvas (cognitive 36): index.Canvas has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 17, ternaries 9 (10 pts), if/else 9 (nesting depth added 1). Most of this is not in the body itself: 10 of the 36 points are its own statements and the rest belongs to 9 function items inside it that branch (handleClickBlankArea, contextmenus, a function literal at line 377, \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/slide-renderer/Editor/Canvas/index.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e26a1af3891dac881462cfcec9b171da070a803ee47a246c01f1de8c6ce4f09"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseVideoElement.BaseVideoElement (cognitive 36): BaseVideoElement.BaseVideoElement has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 7 (19 pts), if/else 7 (12 pts), boolean chains 5 (nesting depth added 17). Of this number, 22 points are the body\u0027s own statements and 14 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c957fa7b2dbf5ecd845f53381ae046b84a4fa44aa73eaa2b534fe9adba6b803"}},{"ruleId":"D2","level":"warning","message":{"text":"stream-fn.pump (cognitive 36): stream-fn.pump has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 5 (7 pts), boolean chains 5, error handling 1, loops 1, match/switch 1 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 14 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/agent/runtime/stream-fn.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a23d86a0a039030b6656fc2ee60ef01bfafed4b6a24c7d5aa586d15f69bceb"}},{"ruleId":"D2","level":"warning","message":{"text":"adopt-cached-narration.adoptCachedNarrationRun (cognitive 36): adopt-cached-narration.adoptCachedNarrationRun has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 4, ternaries 2 (4 pts), loops 1 (nesting depth added 14). Of this number, 30 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/adopt-cached-narration.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"531a447a4bb8026fa59259722d9c83cd107d773cb77e8ad569eb6c988d473d17"}},{"ruleId":"D2","level":"warning","message":{"text":"qwen-voice-clone.downloadAudio (cognitive 36): qwen-voice-clone.downloadAudio has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 7, ternaries 3 (5 pts), error handling 3 (4 pts), loops 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":"lib/audio/qwen-voice-clone.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8accf9350f940a4588ea4dc3e2561cf8601bcb057f3b18a332a316382ca12b74"}},{"ruleId":"D2","level":"warning","message":{"text":"structured-output.parseStructuredChunk (cognitive 36): structured-output.parseStructuredChunk has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 8, error handling 2 (3 pts), loops 2, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/structured-output.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3a27c903f5ab777609a98d93121251a9884263cab7b5e698323afe9387329f"}},{"ruleId":"D2","level":"warning","message":{"text":"use-export-classroom.buildClassroomExportSnapshot (cognitive 36): use-export-classroom.buildClassroomExportSnapshot has cognitive complexity 36 (threshold 15). Drivers by points: loops 11, if/else 5 (9 pts), boolean chains 8, ternaries 8 (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 14 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":"lib/export/use-export-classroom.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eada74a374c9c2b0d16e6c910f814846c80237efee76bb8e643ea794cb99ae2"}},{"ruleId":"D2","level":"warning","message":{"text":"use-import-classroom.useImportClassroom.handleFileChange (cognitive 36): use-import-classroom.useImportClassroom.handleFileChange has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 11 (16 pts), if/else 7 (8 pts), boolean chains 6, error handling 5 (6 pts) (nesting depth added 7). Of this number, 27 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/import/use-import-classroom.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1bc4d43b1c343ab1ac956779cd44c86036ee64aa2272e0ab50f068ceaeaf42"}},{"ruleId":"D2","level":"warning","message":{"text":"whiteboard-conflicts.buildWhiteboardConflicts (cognitive 36): whiteboard-conflicts.buildWhiteboardConflicts has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 6 (8 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/orchestration/summarizers/whiteboard-conflicts.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"555366726dc79d77775dce552dd0cd6c86f276e0a66654305b7252fff005c057"}},{"ruleId":"D2","level":"warning","message":{"text":"package-client.readClassroomProjects (cognitive 36): package-client.readClassroomProjects has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 11, loops 4 (6 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/package-client.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"582bb9ac47223849ad7bba830521a61150f317c5e6323f9d1856524436697fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-preview-content.prepareSlide (cognitive 36): scene-preview-content.prepareSlide has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 8, ternaries 5 (7 pts), loops 2 (nesting depth added 10). Of this number, 28 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/scene-preview-content.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"14115c2ad441c1d25e43174a4eabf744d812214f48b37720ad31bb0cfaf883f2"}},{"ruleId":"D2","level":"warning","message":{"text":"import-pptx.buildImportPptxTool.execute (cognitive 36): import-pptx.buildImportPptxTool.execute has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 12 (17 pts), if/else 13 (16 pts), boolean chains 2, error handling 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/import-pptx.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"72057b91fd211fc57506bdf4b81cdd281b6bbbfc878f3cc3e75c0a9a50e6054c"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-tools.teachingRunnerConfig.tool.execute (cognitive 36): runner-tools.teachingRunnerConfig.tool.execute has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 11 (12 pts), boolean chains 8 (nesting depth added 9). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 266, 244, 233). 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":"lib/server/pbl-v3/runner-tools.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"4282e4dc7f9c38307621bcc928b5e5da5b88caa77cf7bac2a833e0c1dfda8e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Slide.parseDiagramFrame (cognitive 36): Slide.parseDiagramFrame has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (18 pts), ternaries 3 (11 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 24). Of this number, 24 points are the body\u0027s own statements and 12 belong to 3 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/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"da85dd2d6eea3e93d10f21b37e59374efe3996243765865202254d1c77bbdea3"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 35): route.POST has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/provider/probe-models/route.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bab91991720825a56cdb68cb965bef27e21ff8e3ec105504dd9301aa959f2d1"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-session.ChatSessionComponent (cognitive 35): chat-session.ChatSessionComponent has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 19, if/else 7 (8 pts), ternaries 7 (8 pts) (nesting depth added 2). Most of this is not in the body itself: 14 of the 35 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 239, 306, 210, \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/chat-session.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fd0e80f1de001adc65fed600bbb542905117fd7233812de1b680d6490a5ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.SettingsDialog (cognitive 35): index.SettingsDialog has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 9, if/else 8 (9 pts), match/switch 1 (nesting depth added 7). Most of this is not in the body itself: 12 of the 35 points are its own statements and the rest belongs to 9 function items inside it that branch (listed, a function literal at line 104, a function literal at line 63, \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/index.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa191930c890da16b8d03e4dfbe5ca3fd4b10dfd728aa9631449b0d17feea4b2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.VideoElement (cognitive 35): index.VideoElement has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 12 (31 pts), boolean chains 3, if/else 1 (nesting depth added 19). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/VideoElement/index.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e253b333388fa8126f9840c23dc1ab5d2e6ccc75bd84df209b31fe4a648c8ef"}},{"ruleId":"D2","level":"warning","message":{"text":"useDragElement.useDragElement.dragElement::handleMouseMove (cognitive 35): useDragElement.useDragElement.dragElement::handleMouseMove has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 10, loops 2, ternaries 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. This shape REPEATS in the file: one other method here (useDragElement.useDragElement.dragElement) 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":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28feb4001249e5bb5e3b49e5a41990ddfceba99360fa565646993ac3075d0e4"}},{"ruleId":"D2","level":"warning","message":{"text":"useSelectElement.useSelectElement.selectElement (cognitive 35): useSelectElement.useSelectElement.selectElement has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (24 pts), ternaries 4 (10 pts), boolean chains 1 (nesting depth added 15). Of this number, 26 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useSelectElement.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a646ee46371a2ab6a378096c64d48ea69299c574a296134cb6d56250e1d393c"}},{"ruleId":"D2","level":"warning","message":{"text":"question-card.QuestionCard (cognitive 35): question-card.QuestionCard has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 16 (23 pts), boolean chains 8, if/else 3 (4 pts) (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 12 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":"components/workbench/chat/question-card.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c74e363673f1b49efaa9ca49ff4d2c3dcc23987fb361186fb6d2ee6af960c18"}},{"ruleId":"D2","level":"warning","message":{"text":"html-asset-inventory.collectAssetRefs (cognitive 35): html-asset-inventory.collectAssetRefs has cognitive complexity 35 (threshold 15). Drivers by points: loops 12 (19 pts), if/else 9 (11 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 11 belong to one function item inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/html-asset-inventory.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a6bbe814f2de9bc7dad541379cd841bc2d8e98b347e3f3f44cf240fc67e701"}},{"ruleId":"D2","level":"warning","message":{"text":"media.fillLegacyMedia (cognitive 35): media.fillLegacyMedia has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 2 (5 pts), boolean chains 3, loops 3, error handling 1 (2 pts) (nesting depth added 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/legacy-browser-import/media.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc32b0607dba1b1d13aa8c66770fc2d2cd4266a024f3ae84cadf2415ca0baa39"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.executeClaimedRun::runStep (cognitive 35): engine.executeClaimedRun::runStep has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (21 pts), ternaries 4 (10 pts), boolean chains 3, match/switch 1 (nesting depth added 20). 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. This shape REPEATS in the file: 2 other methods here (engine.executeClaimedRun, engine.executeClaimedRun::executeMediaOnly) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/engine.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"d153bef93853becb456f488ca2a5b673155230b724f118f23c71a508188efde5"}},{"ruleId":"D2","level":"warning","message":{"text":"index.applyOperation (cognitive 35): index.applyOperation has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 4 (8 pts), match/switch 1 (nesting depth added 19). Of this number, 33 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"packages/@openmaic/editor/src/core/index.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"0162e5c9843695bdb76b84cada33dd05fea48fdf24c19406ec35b1c266c045b4"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.generateWidgetContent (cognitive 35): scene-generator.generateWidgetContent has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 28, if/else 5 (6 pts), match/switch 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"db58e9733b41c29beed7470d2e57e7281140fe35378fb224d1bda6f26524ad7c"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-toolbar.CanvasToolbar (cognitive 34): canvas-toolbar.CanvasToolbar has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 17, ternaries 10 (17 pts) (nesting depth added 7). Of this number, 33 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/canvas-toolbar.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"febe24c53396ae237e9ecc4f0ac55cf787b01ba17d02337047359b06c5b7a876"}},{"ruleId":"D2","level":"warning","message":{"text":"use-chat-sessions.useChatSessions.endSession (cognitive 34): use-chat-sessions.useChatSessions.endSession has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 6, loops 2 (6 pts), ternaries 1 (2 pts) (nesting depth added 15). Most of this is not in the body itself: 11 of the 34 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1376, 1420). 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-chat-sessions.ts"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b94fd455a8e8d06f3a2596d11b3332ecd901f9d280ea71d9be49b81c1bf303"}},{"ruleId":"D2","level":"warning","message":{"text":"useMoveShapeKeypoint.useMoveShapeKeypoint.moveShapeKeypoint (cognitive 34): useMoveShapeKeypoint.useMoveShapeKeypoint.moveShapeKeypoint has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (24 pts), ternaries 6, boolean chains 4 (nesting depth added 4). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 69, handleMouseUp, handleMouseMove). 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/slide-renderer/Editor/Canvas/hooks/useMoveShapeKeypoint.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"797778c72bdee33d61462bee82942576b88013c97fb7d626e2503a41556e07c3"}},{"ruleId":"D2","level":"warning","message":{"text":"providers.getModel (cognitive 34): providers.getModel has cognitive complexity 34 (threshold 15). Drivers by points: if/else 32 (80 pts), error handling 7 (24 pts), boolean chains 22, ternaries 5 (17 pts), loops 1 (6 pts), match/switch 1 (nesting depth added 82). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (providers.getModel::compatFetch) 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":"lib/ai/providers.ts"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7eae91e3b5c9f0ea049de4e72ed03d395867e6ce08d2fa3b998e4ff0fc1388"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamBuffer.flushRemaining (cognitive 34): StreamBuffer.flushRemaining has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (31 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/buffer/stream-buffer.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f12891109b451dfbde4703466e80a44f1279b0f9d4b76b3c7d711efe460dbaf"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve-slot.resolveSlot (cognitive 34): resolve-slot.resolveSlot has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 12 (23 pts), if/else 4 (6 pts), boolean chains 5 (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/server/model-config/resolve-slot.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f98121777f60bfdcf16633d13457f930056caeeba2a903930c4f58ea4816b15"}},{"ruleId":"D2","level":"warning","message":{"text":"stage.writePendingChangesForUnload (cognitive 34): stage.writePendingChangesForUnload has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, loops 3 (6 pts), ternaries 1 (nesting depth added 11). Of this number, 17 points are the body\u0027s own statements and 17 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/store/stage.ts"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ef8f695db9e4888404b642776feaeffffd003d93d37039aa1e9fba4c07d318"}},{"ruleId":"D2","level":"warning","message":{"text":"customGeometry.renderCustomGeometry (cognitive 34): customGeometry.renderCustomGeometry has cognitive complexity 34 (threshold 15). Drivers by points: if/else 5 (15 pts), ternaries 4 (12 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/customGeometry.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd1772c74a38eae77f70db027cf39931c946b4bc3e2bc1ba746475b3e2e8743"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-bar.AgentVoicePill (cognitive 33): agent-bar.AgentVoicePill has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 5 (8 pts), error handling 2 (3 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 98, 123, 275, \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/agent/agent-bar.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaf5a5c46cf3708cecd2354d49f44bc551680cee9250eaf7343029bd88c2ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"model-services.ModelServicesPanel (cognitive 33): model-services.ModelServicesPanel has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 17, ternaries 11 (14 pts), if/else 2 (nesting depth added 3). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 6 function items inside it that branch (header, a function literal at line 149, a function literal at line 146, \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/model-services.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2394a2e179169016f305dea0f65630e4b63792d698b0afbe1ccbcf44ac3d068"}},{"ruleId":"D2","level":"warning","message":{"text":"load-classroom.runClassroomLoad (cognitive 33): load-classroom.runClassroomLoad has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 4 (7 pts), boolean chains 1, error handling 1 (nesting depth added 8). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/classroom/load-classroom.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8ebe4bbbc003c76a189f4e05740177a6943b673faace55bf0ea39012c2fd51"}},{"ruleId":"D2","level":"warning","message":{"text":"course.runCourse (cognitive 33): course.runCourse has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/course.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec0352e4a34e6d08699ae9b1acca8a50d755100ba257d53078e33f5bf473abe"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluator.runShared (cognitive 33): evaluator.runShared has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (18 pts), ternaries 6 (10 pts), match/switch 1 (2 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/evaluator.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9881247158a0c447476e311623bb8e5d4ff6ba2f7e522959e459fd2973988d3"}},{"ruleId":"D2","level":"warning","message":{"text":"simulator.runSimulatorTurn (cognitive 33): simulator.runSimulatorTurn has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 5 (8 pts), loops 3 (5 pts), boolean chains 3, error handling 1 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/pbl/v2/agents/simulator.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"49111305bd2121f63509d18fbc34753fbaad252450456bd6e964fd3f45321f6d"}},{"ruleId":"D2","level":"warning","message":{"text":"media.generateItem (cognitive 33): media.generateItem has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 3 (6 pts), ternaries 3 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). Of this number, 21 points are the body\u0027s own statements and 12 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/server/generation/run/media.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cc86dee8857bc12188398d40b990ced36b6db39797864082013ceae7acccbc"}},{"ruleId":"D2","level":"warning","message":{"text":"StyleResolver.resolveColorUncached (cognitive 33): StyleResolver.resolveColorUncached has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (11 pts), ternaries 2 (7 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2f9bae63c210e5d6235a3e5f6509beeb52ee41dc527b2a64ed84f5538d6263"}},{"ruleId":"D2","level":"warning","message":{"text":"shapeSerializer.pickVisibleGradientStop (cognitive 33): shapeSerializer.pickVisibleGradientStop has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (22 pts), ternaries 2 (6 pts), boolean chains 4, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4ee7b1bc661f87c75ebab3917ffdf379ff89c693ff9066020ce5dcc51dc794"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseCodeElement.BaseCodeElement (cognitive 33): BaseCodeElement.BaseCodeElement has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 7, loops 2 (4 pts), error handling 2 (nesting depth added 7). Most of this is not in the body itself: 3 of the 33 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 469, 502, 539, \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/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7d00a123641d463e5fb59a61862778a6b67f6212d42061f2da4f832ae52ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"speech-button.SpeechButton (cognitive 32): speech-button.SpeechButton has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 12 (17 pts), boolean chains 10, if/else 5 (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: 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/audio/speech-button.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2431f01f986e254ea63f26ff7380344efc81cfbc7847d9961f6816de0ace03"}},{"ruleId":"D2","level":"warning","message":{"text":"asr-settings.ASRSettings (cognitive 32): asr-settings.ASRSettings has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 25, if/else 4 (6 pts), error handling 1 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 13 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":"components/settings/asr-settings.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d234275636e397660347cf4569246cace7964e9e8c111365aff45bb6823b75b"}},{"ruleId":"D2","level":"warning","message":{"text":"useScaleElement.useScaleElement.scaleElement (cognitive 32): useScaleElement.useScaleElement.scaleElement has cognitive complexity 32 (threshold 15). Drivers by points: if/else 61 (107 pts), boolean chains 23, ternaries 12 (15 pts), loops 3 (6 pts) (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (useScaleElement.useScaleElement.scaleElement::alignedAdsorption, useScaleElement.useScaleElement.scaleElement::handleMouseMove) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3839523dd56f4c14198d608126cecfb88dc8e6f9ecd861ae6442d33a390a5a61"}},{"ruleId":"D2","level":"warning","message":{"text":"reporter.generateReport (cognitive 32): reporter.generateReport has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 7 (11 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/whiteboard-layout/reporter.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34ebd3e7e3fc4b5b5dab0a43952887cc2b92e062e9be3fc8477cef8462b60f3"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-resolver.resolveAgentVoice (cognitive 32): voice-resolver.resolveAgentVoice has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 4 (9 pts), boolean chains 6, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/voice-resolver.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"def1c3c0f49292e74fc21f19b1d14ff44d94768b5ceb8ec6187e6706e8830016"}},{"ruleId":"D2","level":"warning","message":{"text":"native-whiteboard.settleWhiteboardMutation (cognitive 32): native-whiteboard.settleWhiteboardMutation has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (27 pts), error handling 3 (4 pts), boolean chains 1 (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"20329ba7ead74e48eabfa4523ac9a8f3a37bd32462e2d44521e973bb7bece5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"local-media.extractMediaMaterial (cognitive 32): local-media.extractMediaMaterial has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 2 (5 pts), ternaries 2 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document/extractors/local-media.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda49361d4794798c3f7ec44bfd704e4d60d1821f88673706cf4c776621e06fe"}},{"ruleId":"D2","level":"warning","message":{"text":"pptx-scene-placeholders.planPptxDeck (cognitive 32): pptx-scene-placeholders.planPptxDeck has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 5 (8 pts), boolean chains 7, loops 1 (nesting depth added 13). Of this number, 29 points are the body\u0027s own statements and 3 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":"lib/export/pptx-scene-placeholders.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"677535dafd09b2b44385dd5a0aa9e18c4c3e281750096fd3b8e5b7f21477b8ca"}},{"ruleId":"D2","level":"warning","message":{"text":"comfyui-image-adapter.patchWorkflow (cognitive 32): comfyui-image-adapter.patchWorkflow has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 5, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"271971b459d1bc8607b70bf4777745278bd131b2a204b7b864233f5815baf8b5"}},{"ruleId":"D2","level":"warning","message":{"text":"reconcile-scene-media.applyKnownMediaAllocations (cognitive 32): reconcile-scene-media.applyKnownMediaAllocations has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 5 (6 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 11). Most of this is not in the body itself: 10 of the 32 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 131, narrationRewritesFor, rewritesFor). 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":"lib/media/reconcile-scene-media.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4301d95f9748b8da6d90c2cfa10dc68dc6ce883d7b98627d2d822967dc202f68"}},{"ruleId":"D2","level":"warning","message":{"text":"mineru-parser.extractMinerUResult (cognitive 32): mineru-parser.extractMinerUResult has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 4 (9 pts), boolean chains 6, loops 1 (2 pts), error handling 1 (nesting depth added 13). Of this number, 25 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/mineru-parser.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"528e583d2ab7468b05a8bfa689cc911f2485b3ee8f89a9bdc778e076fe5b7a74"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-call-integrity.repairOrphanedToolCalls (cognitive 32): tool-call-integrity.repairOrphanedToolCalls has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 7 (12 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/tool-call-integrity.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e170fe3d0bb10e8fcd102064549da51696f74c5de792bac92ceef39b61292b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-storage.loadChatSessions (cognitive 32): chat-storage.loadChatSessions has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 13). Of this number, 22 points are the body\u0027s own statements and 10 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/utils/chat-storage.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9300778db3308038daa0b8d39037095a387641e573833d0381de5dfe6716f34e"}},{"ruleId":"D2","level":"warning","message":{"text":"planner-core.plannerCompletionGaps (cognitive 32): planner-core.plannerCompletionGaps has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 2, loops 1 (nesting depth added 12). Of this number, 27 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/planner-core.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d4972a07c4bd9e4435e69f51c110efe37c96c8c521ba89af931f24c7f45bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeNode.parseParagraph (cognitive 32): ShapeNode.parseParagraph has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 8 (17 pts), if/else 6 (10 pts), loops 3, boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/nodes/ShapeNode.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5936a2d275fe6097bed5afe7ce62dd3211b47966e71ad72e1c985224533811d7"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetCollector.collectPass (cognitive 32): AssetCollector.collectPass has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (23 pts), error handling 4 (6 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/collector.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"93293f059994542d5d42ce73200b2752dac03be2b1473c5e0a98e11962575d43"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 31): route.POST has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 5, ternaries 5, error handling 2 (nesting depth added 5). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to one function literal inside it that branches (line 33). 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":"app/api/agent/sessions/[id]/messages/route.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dccb80406f812b08b08b1ae97748b9d51bddfcc5ebe3aaf91ef2b8f79d842d7"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 31): route.POST has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 6, error handling 2 (3 pts), ternaries 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/verify-image-provider/route.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2f9cc33e71dcbe2cf28ab35a3f79cde27d9e27312c9512922e23c50bf9c0f2"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-bar.TeacherVoicePill (cognitive 31): agent-bar.TeacherVoicePill has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 5 (8 pts), boolean chains 6, error handling 2 (3 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 377, 404, 544, \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/agent/agent-bar.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c0faa89de4022ba51a95ed8329f384997f07b8653dcec8f84325b0f6b39f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideNavRail.SlideNavRail (cognitive 31): SlideNavRail.SlideNavRail has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12, boolean chains 9, ternaries 7 (8 pts), error handling 2 (nesting depth added 1). Most of this is not in the body itself: 11 of the 31 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 244, 105, 139, \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/edit/SlideNavRail/SlideNavRail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f66fe28d0d08301c81a1d1890ce3f746383ada8e927b37bd327238068c6dcf"}},{"ruleId":"D2","level":"warning","message":{"text":"model-picker.InlineThinkingControl (cognitive 31): model-picker.InlineThinkingControl has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 18, ternaries 8 (11 pts), if/else 2 (nesting depth added 3). Of this number, 25 points are the body\u0027s own statements and 6 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/settings/model-picker.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06184ce335ab7d3dc1162b56c7da1e37c53581fc856cc5c879eb110e2dfff5f"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.renderRows (cognitive 31): runner.renderRows has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 7 (23 pts), if/else 1 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). Of this number, 30 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"019b503003a2232d93847aa64f60aa68759a47d66573e6f18cd9d3795ad56f44"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.buildThinkingProviderOptions (cognitive 31): llm.buildThinkingProviderOptions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 6 (12 pts), boolean chains 2, match/switch 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/llm.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"903ab12a7a558118ada89db5cf6637cc9b846c7ad960296ca9b0500d201bfeef"}},{"ruleId":"D2","level":"warning","message":{"text":"slide-ops.applyOperationToContent (cognitive 31): slide-ops.applyOperationToContent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 1 (nesting depth added 14). None of this is in the body itself: all 31 points belong to 2 function literals inside it that branch (lines 156, 192). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/edit/slide-ops.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"61628c2c4c0e18d08b0439cf6b01ebc9ff61d08058ba16fc65b57ff82b6e68a9"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare-manifest.prepareStandaloneActions (cognitive 31): prepare-manifest.prepareStandaloneActions has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 7 (21 pts), if/else 2 (5 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/prepare-manifest.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb18a42d700c7bb1e17bee3403b4f95d361c1d4f6707203517f0f27df8c66d9"}},{"ruleId":"D2","level":"warning","message":{"text":"reducer.applyRunEvent (cognitive 31): reducer.applyRunEvent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 3 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/generation-run-client/reducer.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aed8b7eec60cf2a1ac4fd693d598d5c5d01a112aa1d75352f3d6287c45df809"}},{"ruleId":"D2","level":"warning","message":{"text":"model-settings-import.runModelSettingsImport (cognitive 31): model-settings-import.runModelSettingsImport has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (19 pts), error handling 5 (7 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 10). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb121d4ae90698540547cf7428df26403ab367a2e837afab8b0146fcf7b1a794"}},{"ruleId":"D2","level":"warning","message":{"text":"media-orchestrator.retryMediaTask (cognitive 31): media-orchestrator.retryMediaTask has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6, ternaries 2 (6 pts), error handling 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/media-orchestrator.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa83f7bf9b42fc985610ca387a8f3244e68ddcc978e8930eaaba555ff9d0de68"}},{"ruleId":"D2","level":"warning","message":{"text":"document-access.decideDocumentAccess (cognitive 31): document-access.decideDocumentAccess has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 4 (9 pts), boolean chains 1, match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/document-access.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3128eba938537dfb7f3873d981ac2a9ff44f1cb96366bda3a95148ca58871c69"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-math.liftInlineMath (cognitive 31): inline-math.liftInlineMath has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 2 (7 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/sanitize/inline-math.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"13711635cec30b91a3f6968121d41ecf27eb2155edb7b89eb4eb7096725566a1"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.applyStrReplace (cognitive 31): apply.applyStrReplace has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (27 pts), loops 2, boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ceac30cc51d20c4ffd2ceb41bca70cb40cbe46835e82cb7be2451316a28f8b9"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl-tools.textScene (cognitive 31): dsl-tools.textScene has cognitive complexity 31 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 7 (11 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 14). Of this number, 23 points are the body\u0027s own statements and 8 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":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc36d97c69c3d2cf706ed5b5bc1a47be106d240b56f876a5161baf0249a5985"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-preview.buildScenePreviewTools (cognitive 31): scene-preview.buildScenePreviewTools has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 12 (14 pts), error handling 2 (nesting depth added 8). Of this number, 28 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/scene-preview.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7ee652b940c868a36943287acc622718af1e244fcd28392b3dca45c3d72745"}},{"ruleId":"D2","level":"warning","message":{"text":"voice-clone-tools.buildVoiceCloneTools (cognitive 31): voice-clone-tools.buildVoiceCloneTools has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14, boolean chains 10, ternaries 5, error handling 2. Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 376, a function literal at line 315, recordRegisteredVoice, \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":"lib/server/agent-runtime/voice-clone-tools.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"36196e9151ea14722cc3fe2c765e2beeba3056c872935e2708e91da961609a24"}},{"ruleId":"D2","level":"warning","message":{"text":"environment.recoveredProgress (cognitive 31): environment.recoveredProgress has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 13, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/environment.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e68221bce04d25c1bb4939e024a1f5f3ff2b84dad6d3c3af0af8103c7706231"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-config.loadEnvSection (cognitive 31): provider-config.loadEnvSection has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 9, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 12). Of this number, 30 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/server/provider-config.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4a36554115db7820f2586ec8218aaeb4401ff53cbdbc919e920995b5d81ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"stage-storage.writeStageChangesForUnload (cognitive 31): stage-storage.writeStageChangesForUnload has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/stage-storage.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"684a03fbc7cb575f14a7be1dfaf6252651c36aea91952a8d486391cd5619c562"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementInteractionLayer.ElementInteractionTarget (cognitive 31): ElementInteractionLayer.ElementInteractionTarget has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 9 (10 pts), boolean chains 8, error handling 1 (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/layers/ElementInteractionLayer.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"26321ce0a635b3e75f2945a2179527335f224fcddf7cf25cf2947fbb9b644ba3"}},{"ruleId":"D2","level":"warning","message":{"text":"useEditGesture.useEditGesture.onElementPointerDown (cognitive 31): useEditGesture.useEditGesture.onElementPointerDown has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18, boolean chains 6, ternaries 4 (6 pts), error handling 1 (nesting depth added 2). 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 (handleUp, compute, handleMove, \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":"packages/@openmaic/editor/src/react/useEditGesture.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d9c3bd42d490349e869da9cc130bed51828eee68bd99717182fe112890f20a"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.fixElementDefaults (cognitive 31): scene-generator.fixElementDefaults has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 6 (10 pts), boolean chains 5, error handling 1 (nesting depth added 14). None of this is in the body itself: all 31 points belong to one function literal inside it that branches (line 499). 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"debbd1c793a38bee7f457aafa2a24c48d2ecef466ae6e6b20e966646f2ebf5b0"}},{"ruleId":"D2","level":"warning","message":{"text":"inlineMath.renderPass (cognitive 31): inlineMath.renderPass has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 8, ternaries 2 (4 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/utils/inlineMath.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2899dbcba86ae7c9b918e90b1a3c900fb739f5681e06bd74bd9b7384e76b7060"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticTable.StaticTable (cognitive 31): StaticTable.StaticTable has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13, boolean chains 10, ternaries 7 (8 pts) (nesting depth added 1). None of this is in the body itself: all 31 points belong to 5 function items inside it that branch (getCellBg, a function literal at line 90, getHeaderTextColor, \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":"packages/@openmaic/renderer/src/elements/table/StaticTable.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"849a58507b12e5c6d4e64ccd8885fb8c387b0f5bd0ea615c0f64eb4caf489107"}},{"ruleId":"D2","level":"warning","message":{"text":"types.applyOpsOnce (cognitive 31): types.applyOpsOnce has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (24 pts), ternaries 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/skill/types.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e724e8c8de116556cf66e99b0210cff2b456f9ce775428d942def04d8cf2ac8"}},{"ruleId":"D2","level":"warning","message":{"text":"lecture-notes-view.LectureNotesView (cognitive 30): lecture-notes-view.LectureNotesView has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 8 (10 pts), boolean chains 5, loops 1 (nesting depth added 5). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 204, 157, 106, \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/lecture-notes-view.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8473d7da0f207dc34aca45c9ebcb6f0065abc69feff04d151e008a55312f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeCreateCanvas.ShapeCreateCanvas (cognitive 30): ShapeCreateCanvas.ShapeCreateCanvas has cognitive complexity 30 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 3, loops 2, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 7 function items inside it that branch (updateMousePosition, getPoint, a function literal at line 134, \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/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"793cfd3ffdbcfb3a382cacfb70dfeb51dc51b0c41f66d96f0d79d5f922555e03"}},{"ruleId":"D2","level":"warning","message":{"text":"build-standalone-html.collectStandaloneMediaBytes (cognitive 30): build-standalone-html.collectStandaloneMediaBytes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 5, ternaries 1 (4 pts), loops 2 (nesting depth added 10). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 242, resolveRef, a function literal at line 218). 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":"lib/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c3bb8ff55b5d2f3c633f5fe64699d4a079e6dbcb72cb3b02f54e4778702a5c"}},{"ruleId":"D2","level":"warning","message":{"text":"agents-import.runAgentsImportLocked (cognitive 30): agents-import.runAgentsImportLocked has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 4 (7 pts), ternaries 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/legacy-browser-import/agents-import.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e4d822e625101ace2991831cc5cd3d6ced8077e97ab29c7be678aee2991835"}},{"ruleId":"D2","level":"warning","message":{"text":"alidocmind-client.fetchResult (cognitive 30): alidocmind-client.fetchResult has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/alidocmind-client.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1f7d64edbdacf689495d7fd5fcb5260d9cf3873e0307b2329e5619f2e94aca"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf-providers.aliDocMindLayoutsToParsedPdf (cognitive 30): pdf-providers.aliDocMindLayoutsToParsedPdf has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 5 (9 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 14). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/pdf/pdf-providers.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b0bb75a7c3465523b76126865b85cfe99611c0d8366e7d735658ade9f74352"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl-tools.applyPatchOp (cognitive 30): dsl-tools.applyPatchOp has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (21 pts), ternaries 3 (5 pts), boolean chains 4 (nesting depth added 6). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, 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":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"7597754c7c79abf7ff92070e652ba944ab6aa0947ef4ab4f34bc4ebc16f6cbea"}},{"ruleId":"D2","level":"warning","message":{"text":"outline.extractNewOutlines (cognitive 30): outline.extractNewOutlines has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), error handling 1 (4 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/outline.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b496ba2b57a10d3cdc5ef006624cbfb96aea0251c8334d04e80586aee743c42"}},{"ruleId":"D2","level":"warning","message":{"text":"execution-watchdog.expireStalledTeachingTurns (cognitive 30): execution-watchdog.expireStalledTeachingTurns has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 6 (15 pts), if/else 7 (10 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 13). Most of this is not in the body itself: 8 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 97). 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":"lib/server/pbl-v3/execution-watchdog.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f633c55275c07a7663f85a1a1626f651c1c5beae54b90cf01c504a8301cb5496"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve-model.resolveRequestedModel (cognitive 30): resolve-model.resolveRequestedModel has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (11 pts), ternaries 7 (8 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/resolve-model.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae275e4ee42fb85a9032563284f2c3cf63e3861f5de56d993a3df4dd903b3aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioPlayer.play (cognitive 30): AudioPlayer.play has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 5, error handling 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/audio-player.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111db94f06054519cced374927bddf6e3c04d51552b9681bb2173340957c70e"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleList.toggleList.\u003Creturned closure\u003E (cognitive 30): toggleList.toggleList.\u003Creturned closure\u003E has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (nesting depth added 12). Of this number, 24 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/text/prosemirror/commands/toggleList.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"33de216a4fc4fd6c835ec7c77d65763846b84da1223e011fe9d635b061b186be"}},{"ruleId":"D2","level":"warning","message":{"text":"shape-text-fallback.shapeToTextFallback (cognitive 30): shape-text-fallback.shapeToTextFallback has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 16 (17 pts), boolean chains 11, if/else 2 (nesting depth added 1). Of this number, 24 points are the body\u0027s own statements and 6 belong to 3 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":"packages/@openmaic/geometry/src/shape-text-fallback.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"302db6c458df4c1fb2d58f52f6d5a1fac854b7c949714f48b150b95af130d291"}},{"ruleId":"D2","level":"warning","message":{"text":"runTask (cognitive 30): runTask has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 3 (10 pts), error handling 4 (9 pts), if/else 6 (9 pts), loops 2 (nesting depth added 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"1396e759b910d7c2fe53d107140092d9ba6230f29788ac32c942cbef9788e5f0"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 29): route.POST has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, ternaries 3 (4 pts), error handling 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/generate/tts/route.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"230365260938a6f2d47b006fad3b2b5125c7091d56bd1f7aaef75a359798dcb4"}},{"ruleId":"D2","level":"warning","message":{"text":"route.verify (cognitive 29): route.verify has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 2 (5 pts), boolean chains 4, error handling 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/verify-model/route.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e24a7d59dbc8ce6781d77202d8c983e99b70d1ce5ff02ccf5f801c3ad7be22"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 29): route.POST has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 4, error handling 2 (3 pts), ternaries 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/verify-video-provider/route.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"023001e69b8e857e89acbaed9117a36c1235263e107eb7f5486b8e203d63f4fd"}},{"ruleId":"D2","level":"warning","message":{"text":"use-chat-sessions.useChatSessions.softPauseSession (cognitive 29): use-chat-sessions.useChatSessions.softPauseSession has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 14). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 1521). 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":"components/chat/use-chat-sessions.ts"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1e73b8e0c306a1b7eaeb3552dbde5afa4e1f0e8aace50e28f782c439ffa69c"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-session.MessageBubble (cognitive 29): chat-session.MessageBubble has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 7 (12 pts), boolean chains 11, if/else 5 (6 pts) (nesting depth added 6). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 122, 66, 106). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/chat-session.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ae5c6bd5d8aa83069790ba0d6a07b3bb59d4b4bf9ca11137bd99937f58a5f7"}},{"ruleId":"D2","level":"warning","message":{"text":"css-asset-parser.parseFontSrcEntry (cognitive 29): css-asset-parser.parseFontSrcEntry has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 7, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/css-asset-parser.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19ad9c20a04203f903ab407fe3bb28f39cc4aa5cf76195f8555c98abd671e83"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-assets.inlineImportmaps (cognitive 29): inline-assets.inlineImportmaps has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (6 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/inline-assets.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0b240b4b6d068c3b377e35dd6e63e904e630282e35896cce9a6e0c50f0b3fa"}},{"ruleId":"D2","level":"warning","message":{"text":"folders.importFolders (cognitive 29): folders.importFolders has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (22 pts), error handling 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/folders.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b9a5e0486f4004bf647673148814557c09778756f9aa5a3ff74975b2f05aad"}},{"ruleId":"D2","level":"warning","message":{"text":"state-context.summarizeElement (cognitive 29): state-context.summarizeElement has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (18 pts), boolean chains 10, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/orchestration/summarizers/state-context.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8544eb798085f858f1518b302286634ea3c7acc6831358d164644f137f779c3"}},{"ruleId":"D2","level":"warning","message":{"text":"project-schema.projectSchema (cognitive 29): project-schema.projectSchema has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 8, loops 3 (4 pts), ternaries 1 (nesting depth added 10). Of this number, 28 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/pbl/v3/domain/project/project-schema.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"be87572f825fddebbd5368b774f7bba88f62958488ae0ad3038c6c5581f67a26"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate-to-pool.migrateOwnerMaterialsToPool (cognitive 29): migrate-to-pool.migrateOwnerMaterialsToPool has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 4 (6 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). Of this number, 19 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":"lib/server/materials/migrate-to-pool.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"72133e3b195d3a11541a468cf02b48d3479ace33b3f80e1d13431ad9c6feda55"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation.evaluationReceipt (cognitive 29): evaluation.evaluationReceipt has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 12, loops 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 6). Of this number, 19 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":"lib/server/pbl-v3/evaluation.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7548ffcb1a84afce57c5e98dddfc9a19969df39a5b8cbf7fd6e009de1f94c6"}},{"ruleId":"D2","level":"warning","message":{"text":"quiz-layout.measureQuizQuestionList (cognitive 29): quiz-layout.measureQuizQuestionList has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 4, loops 2, error handling 1, ternaries 1 (nesting depth added 9). Of this number, 25 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export-app/quiz-layout.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a63ad1ebeb2e11decd7c0d951452a5f271997199a56e229c17d5282f481a44"}},{"ruleId":"D2","level":"warning","message":{"text":"fold.applyWhiteboardRuntimeOperation (cognitive 29): fold.applyWhiteboardRuntimeOperation has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (24 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). Of this number, 25 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/fold.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"73682bd3dc4d293ab43427593da77643e3cb24fcbd464a7de13f249c9a87d7fa"}},{"ruleId":"D2","level":"warning","message":{"text":"document.classifyStoreError (cognitive 29): document.classifyStoreError has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), error handling 2 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/document.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed4096bbbc31dff7d3d928e734ff36b858851edac6bc478681f0e6800507393"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderCoordinator.run (cognitive 29): RenderCoordinator.run has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (16 pts), if/else 7 (9 pts), boolean chains 3, error handling 1 (nesting depth added 8). Of this number, 25 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/render-coordinator.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"368112913af3d8e15b519387a2be2ad2909481f90f6ab2912faab54a92188e5a"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 28): route.POST has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (16 pts), if/else 6 (7 pts), boolean chains 4, error handling 1 (nesting depth added 10). None of this is in the body itself: all 28 points belong to one function literal inside it that branches (line 30). 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":"app/api/export-video/render/route.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e69693c3518b7ade1f929c09e78b5d0f9f22ab2bc6ce18d0728b0ef6f815e1"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 28): route.POST has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/pbl/v2/task/update/route.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7588f3cae98f23ea32b8d9f4625f10a685522d7e4758104c37205d0a3f8cedf"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 28): route.POST has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, ternaries 2 (4 pts), error handling 2 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/proxy-media/route.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"219adbeb41b18c44f23cdc2654087df73cc33f9eb34d95ec55210b3544158918"}},{"ruleId":"D2","level":"warning","message":{"text":"tts-providers.generateDoubaoTTS (cognitive 28): tts-providers.generateDoubaoTTS has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 10, ternaries 3, error handling 1 (2 pts), loops 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/tts-providers.ts"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c68a2405dc1b8848db6b9a13b1ad46dc4eefaae855856bd5a6339b6519fcbc"}},{"ruleId":"D2","level":"warning","message":{"text":"element-reference.compactInteractiveSourceHtml (cognitive 28): element-reference.compactInteractiveSourceHtml has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21 (35 pts), loops 10 (18 pts), boolean chains 6, ternaries 3 (6 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (element-reference.compactInteractiveSourceHtml::containsInlineBase64) 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":"lib/chat/pi/element-reference.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dd8c31a83117f4704a2d5d4638367471317f436ebc909e58a401d3d5e074b6"}},{"ruleId":"D2","level":"warning","message":{"text":"classroom-zip-utils.rewriteAudioRefsToIds (cognitive 28): classroom-zip-utils.rewriteAudioRefsToIds has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 9 (21 pts), boolean chains 5, if/else 2 (nesting depth added 12). None of this is in the body itself: all 28 points belong to one function literal inside it that branches (line 422). 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":"lib/export/classroom-zip-utils.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdf8d37c12b51c2f1ace37387610b0ccefe9f1121d78db75aa338a7bba8f829"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-assets-importmap.buildInlinedImportmap (cognitive 28): inline-assets-importmap.buildInlinedImportmap has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 4 (5 pts), boolean chains 2, ternaries 2, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 4 of the 28 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 89, visitSpecifier, resolveExternal, \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":"lib/export/inline-assets-importmap.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ceb648067b3e860f5a5c1dbfac608150ba79d5cfd75d373cad701d95b23fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"sources.readLegacyCourse (cognitive 28): sources.readLegacyCourse has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 4 (5 pts), error handling 3 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/sources.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c88a4a8ae7a8095bfa5440c42ebc7cee896756ffb369dfe9722fb50177c036"}},{"ruleId":"D2","level":"warning","message":{"text":"course.settleDocument (cognitive 28): course.settleDocument has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, error handling 1 (2 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/course.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab5c338197bd3a13a81ee87784d7428509baeb68087198ab6df015a124305db"}},{"ruleId":"D2","level":"warning","message":{"text":"instructor.runSetupFollowup (cognitive 28): instructor.runSetupFollowup has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 3 (6 pts), boolean chains 4, match/switch 1 (2 pts), error handling 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1b21c0e8fd1a981da7e4d2042bc08900e11c47e136d352555c5f3e0726643b"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.markRecoveredTeachingTools (cognitive 28): conversation.markRecoveredTeachingTools has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/conversation.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e195674b63af127414673b21cd7c6ec94871f6471c5ad46b258996caf2f94387"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.skillReadsInTranscript (cognitive 28): skills.skillReadsInTranscript has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (4 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/skills.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"7592f890d5c058ef60f94857be958d8d247b856fd027491d14975a6b84839c97"}},{"ruleId":"D2","level":"warning","message":{"text":"material-library-tools.buildMaterialLibraryTools (cognitive 28): material-library-tools.buildMaterialLibraryTools has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 7 (10 pts), match/switch 3, error handling 1 (nesting depth added 8). None of this is in the body itself: all 28 points belong to 6 function items inside it that branch (a function literal at line 264, a function literal at line 174, a function literal at line 218, \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":"lib/server/agent-runtime/material-library-tools.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8416158053ec3aecfca99c989b0fb0c78d1fabe4b72f8c0ba883fd8f2b8b47be"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-preload.buildSkillPreload (cognitive 28): skill-preload.buildSkillPreload has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (6 pts), boolean chains 4, loops 3, error handling 1 (2 pts) (nesting depth added 8). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/server/agent-runtime/skill-preload.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3219e712a83c6c499b8b3e78330b68208e3627f966d5f39fe639a01a372fe68c"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.slimEventDataForLog (cognitive 28): runner.slimEventDataForLog has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, error handling 1 (4 pts), ternaries 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d63b92f66fb049d6e8d4090588f8d3c8cee427e20a9eb29d0a9d4b175d16fad"}},{"ruleId":"D2","level":"warning","message":{"text":"outline.prepareOutline (cognitive 28): outline.prepareOutline has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 10, if/else 5 (6 pts) (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/outline.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e2e50348663c5d62840edf234c2850c1277180b19914b98537c350444200f9"}},{"ruleId":"D2","level":"warning","message":{"text":"environment.touchEnvironment (cognitive 28): environment.touchEnvironment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/environment.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53948011f38fa10afe538b2276ab941e0a3e3296b16c32bb152883691670606"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 28): App.App has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 10, if/else 6, error handling 1 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, 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/standalone-player/App.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b0856aca657a05c293205668cce561fa35c99a9a144d8f31e25068d09d69f8"}},{"ruleId":"D2","level":"warning","message":{"text":"copyStage (cognitive 28): copyStage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, error handling 2 (4 pts), loops 2 (3 pts), other 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-stage-copy.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"143af31a1905a6707751f9a7eddd5174477d2da3c37ae99bdec8c1f0e19bef0b"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 27): route.POST has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 9). None of this is in the body itself: all 27 points belong to 3 function literals inside it that branch (lines 15, 78, 62). 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/api/pbl/v3/packages/route.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"179d21adf5c06172f10a8a83fd51f7b71ce2c3e1d48eedd0cea1ec3e0ca44a35"}},{"ruleId":"D2","level":"warning","message":{"text":"outlines-editor.SceneRow (cognitive 27): outlines-editor.SceneRow has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 19, if/else 8. Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 551, handleKeyPointKeyDown, addKeyPoint, \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/generation/outlines-editor.tsx"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8040a1a84e28ca02a1bc1a6e3948adfaa8ede9696480457bd3f78412223e1da"}},{"ruleId":"D2","level":"warning","message":{"text":"step-visualizers.ScrollingSources (cognitive 27): step-visualizers.ScrollingSources has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 8 (9 pts), boolean chains 5 (nesting depth added 6). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 259, 311, 230, \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/generation/step-visualizers.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"85034e085ebee5aee0332d74326457f68f94233aefca65f9f5051c082265dc02"}},{"ruleId":"D2","level":"warning","message":{"text":"useMouseSelection.useMouseSelection.updateMouseSelection::handleMouseUp (cognitive 27): useMouseSelection.useMouseSelection.updateMouseSelection::handleMouseUp has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 9, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useMouseSelection.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab9ff0dd0d2ab3baf98afca0452088c282f711a915aba49dce2eafd249a9f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceRequestActivity.RequestPreview (cognitive 27): WorkspaceRequestActivity.RequestPreview has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 16 (19 pts), boolean chains 8 (nesting depth added 3). Of this number, 25 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: 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/workbench/workspace/WorkspaceRequestActivity.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2a32b54beaa4647680c64f0c36d669499e52de6cc8490891d152e41cf04ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"use-tts-preview.useTTSPreview.startPreview (cognitive 27): use-tts-preview.useTTSPreview.startPreview has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/use-tts-preview.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"107d220c8a7e50e8102a10440a22d2dda8a13b3e36083a09cc68be364dadec49"}},{"ruleId":"D2","level":"warning","message":{"text":"element-reference.buildInteractiveComponentContentHint (cognitive 27): element-reference.buildInteractiveComponentContentHint has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9, ternaries 3 (5 pts), loops 2 (3 pts) (nesting depth added 5). 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, split the body into named stages: move each independent step or branch into 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/chat/pi/element-reference.ts"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"936c86421fe3d2b95d2cbce9f148b366e8a810c90faa0161d834aa291d1b6e96"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare-manifest.prepareElement (cognitive 27): prepare-manifest.prepareElement has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (nesting depth added 11). Of this number, 20 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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/export/standalone-html/prepare-manifest.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae79313ce636a9f0bcdac027b848f13f8a3da3b33a3008d902706e0a7700b1d8"}},{"ruleId":"D2","level":"warning","message":{"text":"use-import-classroom.materializeImportedMedia (cognitive 27): use-import-classroom.materializeImportedMedia has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (8 pts), ternaries 3 (6 pts), loops 3 (4 pts) (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/import/use-import-classroom.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"122db7fa04fc2bb7002b7c65f30c77ed8605c6aea4d13ad0a47115f26f59a3de"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-prompts.formatProjectSynthesisChecks (cognitive 27): eval-prompts.formatProjectSynthesisChecks has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 10, if/else 2 (3 pts), loops 1 (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/eval-prompts.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5d26090addc097ae9100bbbff1aa0a0384db64ca84744b2f367b37807ea7bf"}},{"ruleId":"D2","level":"warning","message":{"text":"edit-access.projectEditAccess (cognitive 27): edit-access.projectEditAccess has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 5 (11 pts), boolean chains 3 (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/pbl/v3/edit-access.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ae74319c8479d2d6abf2d41fa9f1d70669023f97cf819cb9fbab7bc1d108a4"}},{"ruleId":"D2","level":"warning","message":{"text":"media-byte-omission.percentDecodedUtf8Length (cognitive 27): media-byte-omission.percentDecodedUtf8Length has cognitive complexity 27 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 8, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (media-byte-omission.percentDecodedUtf8Length::feedPercentByte) 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":"lib/server/agent-runtime/course-edit/media-byte-omission.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1665edc613d7bac5ef31bf867375a535bc9e27b638eeb6a04254ff4e8f2fc311"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.buildCourseAudioAndDeckTools (cognitive 27): tools.buildCourseAudioAndDeckTools has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 5 (8 pts), boolean chains 6 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 8 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":"lib/server/agent-runtime/course-edit/tools.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"036c145cae625ed43ab1ea0760d3e23cd65a4aae17ac3c3dfff81813b3ae110b"}},{"ruleId":"D2","level":"warning","message":{"text":"extract.runSourceExtraction (cognitive 27): extract.runSourceExtraction has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 4 (9 pts), error handling 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/extract.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd16e9f6ab32a9f8df7f334754debba05412b60b8c03f6780a41e6e6896fd32"}},{"ruleId":"D2","level":"warning","message":{"text":"Slide.spHasVisibleFillOrLine (cognitive 27): Slide.spHasVisibleFillOrLine has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6137bb6c0d15e369914814e6bb8b67af477a23985b657f033177870b43950f7a"}},{"ruleId":"D2","level":"warning","message":{"text":"Slide.parseChildNode (cognitive 27): Slide.parseChildNode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffc899c3517aa3734186f566313d8c89563042015b0cb7aabf0308fccc91332"}},{"ruleId":"D2","level":"warning","message":{"text":"groupSerializer.scaleSvgPath (cognitive 27): groupSerializer.scaleSvgPath has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 3, loops 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/@openmaic/importer/src/serializer/groupSerializer.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e45ac44922f0ef1d6fc0095d387ca24422984ca12762971d2e5b2f131591c1a"}},{"ruleId":"D2","level":"warning","message":{"text":"slideSerializer.getNoteForSlide (cognitive 27): slideSerializer.getNoteForSlide has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (10 pts), ternaries 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/slideSerializer.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a450ee6576fb97e49b1213fbd64b9c3ed60d0252cb65ef1139b2cbe806d26c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpAssetStore.resolveFresh (cognitive 27): HttpAssetStore.resolveFresh has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (20 pts), ternaries 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff3209c33759aca53e859238edbcb94412be4eae5c64b55be4c3f145401bed2"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementRefPinLayer.ElementRefPinLayer (cognitive 26): ElementRefPinLayer.ElementRefPinLayer has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 6 (9 pts), boolean chains 4, loops 2 (nesting depth added 7). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 75, 84, 126, \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/edit/surfaces/slide/ElementRefPinLayer.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec96f9a5dbeb1e4c97e8b7bee55a29a954704e9321401033c71ad12504da9785"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.PBLV2Workspace (cognitive 26): workspace.PBLV2Workspace has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13, boolean chains 6, ternaries 4 (5 pts), error handling 2 (nesting depth added 1). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 229, 144, 190, \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/scene-renderers/pbl/v2/workspace.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c1da6d1ab2cd85b3a719438f268c7dd00209bf14d288cd4ff755e6d58ddca5"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace-layer.PBLWorkspaceLayer (cognitive 26): workspace-layer.PBLWorkspaceLayer has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 7, if/else 6 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/workspace-layer.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a64eaa41e4ab3a6bfd82c91bf15600a52ba75fe862793f2ba61286c26689c01"}},{"ruleId":"D2","level":"warning","message":{"text":"quiz-view.QuizView (cognitive 26): quiz-view.QuizView has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 7, error handling 1, loops 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 795, 749, 840, \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/scene-renderers/quiz-view.tsx"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e97084dd77483ada691d14acd18accf4e0003fa4a5fa9dafaa61c3bc9ec101a"}},{"ruleId":"D2","level":"warning","message":{"text":"RendererScreenCanvas.PlaybackVideoContent (cognitive 26): RendererScreenCanvas.PlaybackVideoContent has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6, ternaries 3 (6 pts) (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3bd91575e11b8a6bac3230d99e4bf66a825c2756da5feb955a07686cb47dec"}},{"ruleId":"D2","level":"warning","message":{"text":"request-device.identifyRequestDevice (cognitive 26): request-device.identifyRequestDevice has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 10 (24 pts), boolean chains 2 (nesting depth added 14). 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":"lib/adaptive/request-device.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"460b5121ffca1bf0da34389b3b34303ce10cb0ca931c4ae7978ca03eb953a0dc"}},{"ruleId":"D2","level":"warning","message":{"text":"use-export-html.useExportHtml.exportStandaloneHtml (cognitive 26): use-export-html.useExportHtml.exportStandaloneHtml has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (17 pts), if/else 6 (7 pts), boolean chains 1, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-html.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2701f8369bc9197d0dd453fa8f446846e679815624687263fc61f77e6b5c3300"}},{"ruleId":"D2","level":"warning","message":{"text":"advance-patch.applyAdvanceProjectPatch (cognitive 26): advance-patch.applyAdvanceProjectPatch has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (5 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/advance-patch.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"014407b3f099f0028a577340be9ed56f08d633de739492a92323e393b1d77c3e"}},{"ruleId":"D2","level":"warning","message":{"text":"instructor.buildRoadmapBlock (cognitive 26): instructor.buildRoadmapBlock has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 3 (9 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a021648fe59c1fd7fcded36f26babfeacfa2fa1cd984ec32606ffbb78890bc7"}},{"ruleId":"D2","level":"warning","message":{"text":"grapheme.splitGraphemeText (cognitive 26): grapheme.splitGraphemeText has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/rag/chunking/grapheme.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4ac78a3e59ab0aa79276778e181e7fe92e1b5df45e295921c49701c3065b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.applyPointer (cognitive 26): apply.applyPointer has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7bd88823cf7c2d8c9edd692ba4b917903647496aa2bf2c87af7824b0333345"}},{"ruleId":"D2","level":"warning","message":{"text":"document-image-apply.applyImagePlan (cognitive 26): document-image-apply.applyImagePlan has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 5 (10 pts), loops 4, boolean chains 1 (nesting depth added 10). 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, split the body into named stages: move each independent step or branch into 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/server/material-extraction/document-image-apply.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"95abec6cc50eccfd4420e1240e5c2a02f77b915731e496bc7ae6ad9254a6bd52"}},{"ruleId":"D2","level":"warning","message":{"text":"document-images.resolveDerivativeRefsAsync (cognitive 26): document-images.resolveDerivativeRefsAsync has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 4 (6 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/document-images.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1f956868802dc93390e860dc7d3f0c7d352e6dcb885aaca8c1ab3771cc6bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"model-routes.parseUserStageRoutes (cognitive 26): model-routes.parseUserStageRoutes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-routes.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef867162a930499505aca196ca558f370d475838806c05b2e22e0f239cf12978"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-storage-core.planChatSync (cognitive 26): chat-storage-core.planChatSync has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, ternaries 8 (9 pts), if/else 6 (7 pts) (nesting depth added 2). 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, 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":"lib/utils/chat-storage-core.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"a312efe22a344a91e1dbd7d0f0e76c11e13c9d9f30018f33aca2bf053917ae86"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-storage.syncSessions (cognitive 26): chat-storage.syncSessions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (9 pts), boolean chains 7, loops 1 (nesting depth added 9). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 900, 883). 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":"lib/utils/chat-storage.ts"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"758436b2f09fb5ec33f2d5e6e262b029f815ea7b456d21ccd31164e3f3c3d386"}},{"ruleId":"D2","level":"warning","message":{"text":"builtin-extraction.readWithTruncation (cognitive 26): builtin-extraction.readWithTruncation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 12). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/web-fetch/builtin-extraction.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae36fe4e1cb6bddc168f258bc16b864ca3e82c234d46ce38398169976129dd28"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-math.isLikelySingleDollarMath (cognitive 26): markdown-math.isLikelySingleDollarMath has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15, boolean chains 11. 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/workbench/markdown-math.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5212c7afad9535bfa7ad117f7d0ca11ac9c18a2542a6ae7b72e17f56b085a725"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.findQuizOptionsContractFailure (cognitive 26): scene-generator.findQuizOptionsContractFailure has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (5 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"9560fd5d0994b0748644b4848ada20db9911c3c9c8ecfa713405c4b919912b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"tableUtils.getHiddenCells (cognitive 26): tableUtils.getHiddenCells has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 2 (9 pts), boolean chains 2 (nesting depth added 17). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/table/tableUtils.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2280b6ddc1aebb04361b5602e9ea752f4e723dc0fb0808e5be7bdf4f714e1d44"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseCodeElement.CodeLineRow (cognitive 25): BaseCodeElement.CodeLineRow has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, boolean chains 11, ternaries 1. Of this number, 13 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7734a908e2aa2cf6d43f4d0c0c949420827842ac53a7c31aca60f2697e14205"}},{"ruleId":"D2","level":"warning","message":{"text":"stage-api-whiteboard.createWhiteboardAPI (cognitive 25): stage-api-whiteboard.createWhiteboardAPI has cognitive complexity 25 (threshold 15). Drivers by points: error handling 10, if/else 7, ternaries 6, boolean chains 2. Of this number, 20 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-whiteboard.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e586467955b3001bbba5f19b0a6cc3db5be8d67b062755f785d6f5ffd5427c"}},{"ruleId":"D2","level":"warning","message":{"text":"load-classroom.hydrateDeferredMediaTasks (cognitive 25): load-classroom.hydrateDeferredMediaTasks has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (12 pts), ternaries 4 (8 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 555, 546). 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":"lib/classroom/load-classroom.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e46c7e84542ee2330147d843a80b5af47e8cdcf510c017b966a4d5694d76b7"}},{"ruleId":"D2","level":"warning","message":{"text":"model-settings.normalizeLegacyModelSettings (cognitive 25): model-settings.normalizeLegacyModelSettings has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, ternaries 3 (5 pts), loops 2 (nesting depth added 5). Of this number, 20 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":"lib/legacy-browser-import/model-settings.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3b38f086354ee51028880619835bddc2a196abec916a47a3a7f124fc7b3206"}},{"ruleId":"D2","level":"warning","message":{"text":"edit.providerChange (cognitive 25): edit.providerChange has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, ternaries 3 (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":"lib/model-settings/edit.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e92b389eb5d8e32fefb9160a62efb258781268147c9686c09b2f989f883645d"}},{"ruleId":"D2","level":"warning","message":{"text":"transition.completeCurrentStage (cognitive 25): transition.completeCurrentStage has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 12, ternaries 1. Of this number, 24 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ece41bdbf4f9dad608e19e00a2f44e09f08452390a3c9e723b8546c48791e2"}},{"ruleId":"D2","level":"warning","message":{"text":"document-access.parseDocumentAction (cognitive 25): document-access.parseDocumentAction has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/document-access.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dd9dbc1d5711434ef05db9221a17df0af5c55ecbe1f1b6fc7735aa0a28646a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-profiles.generateAgentProfiles (cognitive 25): agent-profiles.generateAgentProfiles has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 5, if/else 2, error handling 1 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/agent-profiles.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab989dbbe227c8355628e30cbef8c9c20ec481a58d2ddb71d5d10ebc90a55703"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-config.ttsModelFor (cognitive 25): provider-config.ttsModelFor has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/provider-config.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"0499dbaff093707b085c3291950f7b024f7fcd186b26da16a62bedd875ca4cb4"}},{"ruleId":"D2","level":"warning","message":{"text":"builtin-extraction.extractPdfToMarkdown (cognitive 25): builtin-extraction.extractPdfToMarkdown has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (12 pts), ternaries 3 (7 pts), loops 2 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/builtin-extraction.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db947afade23ef6fb1141b18c05055a24e8922a38c6f12a8ccc3e5b2e6de761"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoToolbarOverlay.VideoToolbarOverlay (cognitive 25): VideoToolbarOverlay.VideoToolbarOverlay has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 6, if/else 6 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a5f339cf79850362110638fcd40c151cd61193503fb8792ed7ba9c6fd52025"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.resolveImageIds (cognitive 25): scene-generator.resolveImageIds has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4 (nesting depth added 11). None of this is in the body itself: all 25 points belong to one function literal inside it that branches (line 367). 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a13d052561dc61601ef402501efa3a017fd96ea4dfc276890ee929f7ad407d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ShapeNode.parseShapeNode (cognitive 25): ShapeNode.parseShapeNode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 4 (8 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/nodes/ShapeNode.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"80918141dab9bbf5ffe7fc4be802c6133ab78f9161f24da2668b673da140fa61"}},{"ruleId":"D2","level":"warning","message":{"text":"backgroundSerializer.renderBgPr (cognitive 25): backgroundSerializer.renderBgPr has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/backgroundSerializer.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6b9ad49b590f198271ab09ace6e038aafc0e1ac14cff9e63e0181456c1696a"}},{"ruleId":"D2","level":"warning","message":{"text":"route.GET (cognitive 24): route.GET has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 7, if/else 3 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body: 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/materials/library/route.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9be81996bb0ab27ad53b1593f53b83a92b16cecd70432924d581791ea82e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 24): route.POST has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 6 (7 pts), boolean chains 4, error handling 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/parse-pdf/route.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"45781bf7fd63825431800c1251e8b396973f3f4d66c736d8e96af76cfe22409d"}},{"ruleId":"D2","level":"warning","message":{"text":"use-chat-sessions.useChatSessions.createBufferForSession (cognitive 24): use-chat-sessions.useChatSessions.createBufferForSession has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15, boolean chains 4, ternaries 4, error handling 1. Of this number, 14 points are the body\u0027s own statements and 10 belong to 7 function literals inside it that branch. To reduce it, split the body: 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/use-chat-sessions.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2fc360b3600fc6ec248bd1666a61ed514f6fbf7d4c09f3eea8e6dcc2f7f941"}},{"ruleId":"D2","level":"warning","message":{"text":"presentation-speech-overlay.PresentationBubbleCard (cognitive 24): presentation-speech-overlay.PresentationBubbleCard has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 11 (18 pts), boolean chains 6 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5fb150884af66f6a3e6ec10e5581815bac3eec96241e790a1132fb34bcd5b3"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Operate (cognitive 24): index.Operate has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts), ternaries 3, loops 2 (nesting depth added 2). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 79, 126, 72, \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/slide-renderer/Editor/Canvas/Operate/index.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5cc80a96bd72ea30c213be3400a1d37c5559db75d54eb18c8ad666df5721f6"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideThumbnail.renderThumbnailVideo (cognitive 24): SlideThumbnail.renderThumbnailVideo has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 8 (21 pts), boolean chains 3 (nesting depth added 13). 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/slide-renderer/SlideThumbnail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7512fa804b2848920b5b258969655f1d7e52d07f566dd910529ce4799d6226af"}},{"ruleId":"D2","level":"warning","message":{"text":"adopt-cached-narration.derivedNarrationRefs (cognitive 24): adopt-cached-narration.derivedNarrationRefs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/adopt-cached-narration.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbcb3059406920076ff2bbf62060615a5e96a153099c23d2738769369092076"}},{"ruleId":"D2","level":"warning","message":{"text":"css-asset-parser.cssImportReference (cognitive 24): css-asset-parser.cssImportReference has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 6 (nesting depth added 7). Of this number, 23 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/export/css-asset-parser.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e23a0b8cfd36e9e9150e6bc7e22cbda3c7bfd71027ed11e3e0469e8c4a974b3"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-assets.inlineCssUrls (cognitive 24): inline-assets.inlineCssUrls has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 3 (6 pts), loops 2 (3 pts) (nesting depth added 11). Of this number, 23 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/export/inline-assets.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6fe9974e981f3a5965ceaca72c992660d02f37c1eeb1d6ed7c98bdab19caf2"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.copySession (cognitive 24): runtime.copySession has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 10). Of this number, 23 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/legacy-browser-import/runtime.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5358012b8b120327aecb1825eaee7d4f2532b14d4e12e888ed035bee99d0152"}},{"ruleId":"D2","level":"warning","message":{"text":"comfyui-image-adapter.loadWorkflow (cognitive 24): comfyui-image-adapter.loadWorkflow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (24 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d3bff28d0e4eafeb73295d0ebeb2a3701a95c20ce7642dd2b258cf2826feec"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve-stored-bytes.resolveStoredBytes (cognitive 24): resolve-stored-bytes.resolveStoredBytes has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (12 pts), if/else 5 (8 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/resolve-stored-bytes.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0595b8e9f82b3ee546152137164c9f8a6b2298bd8577daa08d23fa115d2cad55"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.commitLegacyQuizSnapshot (cognitive 24): runtime.commitLegacyQuizSnapshot has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (6 pts), ternaries 3 (6 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/quiz/runtime.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"be750dea3b8310c0083a0e93dd7d6fd4f6701ca16d2b4f79948837f3cc2224b5"}},{"ruleId":"D2","level":"warning","message":{"text":"apply.applySlideEdit (cognitive 24): apply.applySlideEdit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 11). 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/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21bbb074b1a9641880d06b915815437811739845d404aeeaa0d38e5528cd515"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl-tools.applyStrReplaceOp (cognitive 24): dsl-tools.applyStrReplaceOp has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 2, ternaries 1 (nesting depth added 8). Of this number, 23 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/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa5876286759899a9f893f9ef1d88bdab6d6c78ed654c5ff9ff9655e0251f37"}},{"ruleId":"D2","level":"warning","message":{"text":"entry-tree-storage.loadSessionEntryHistory (cognitive 24): entry-tree-storage.loadSessionEntryHistory has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (8 pts), ternaries 3 (5 pts), error handling 1, loops 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 10 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/server/agent-runtime/entry-tree-storage.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55fb624730ddf8de25914853a3401b9750354ea5a94d3283a87500153b97437"}},{"ruleId":"D2","level":"warning","message":{"text":"vision-images.prepareVisionImages (cognitive 24): vision-images.prepareVisionImages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (5 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/vision-images.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0c02edbfe570cc416bf388f3d0c02a2b5615ef1e2ae46b569e3cd2eb7d2d71"}},{"ruleId":"D2","level":"warning","message":{"text":"ssrf-guard.validateUrlForSSRFWithPolicy (cognitive 24): ssrf-guard.validateUrlForSSRFWithPolicy has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (16 pts), error handling 3 (4 pts), boolean chains 3, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/ssrf-guard.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ac8c5bc56b8cf77af2c17354ac05b20842e542ab287f4f1536882ad586c303"}},{"ruleId":"D2","level":"warning","message":{"text":"element-refs.useElementRefsStoreBase (cognitive 24): element-refs.useElementRefsStoreBase has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 7, loops 1 (nesting depth added 2). None of this is in the body itself: all 24 points belong to 9 function literals inside it that branch (lines 92, 140, 127, \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":"lib/store/element-refs.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9a7f781cc3103e5cd699511f617465b3cf11eeb89130974ebd5169aa3353db"}},{"ruleId":"D2","level":"warning","message":{"text":"store.createWhiteboardRuntimeService (cognitive 24): store.createWhiteboardRuntimeService has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, error handling 3 (4 pts), ternaries 2 (nesting depth added 4). None of this is in the body itself: all 24 points belong to 4 function items inside it that branch (a function literal at line 205, append, a function literal at line 295, \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":"lib/whiteboard/runtime/store.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9029dbd4713fa4fcc659bf5c44178a2ada23c0893dee8d4598833cc9554b337a"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioToolbarOverlay.AudioToolbarOverlay (cognitive 24): AudioToolbarOverlay.AudioToolbarOverlay has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 5, if/else 5, error handling 1 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 11 belong to 4 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7351ec75284c05b0f01c779750c7e71bdec545924a015a9c808604e641b3ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"CanvasContextMenu.CanvasContextMenu (cognitive 24): CanvasContextMenu.CanvasContextMenu has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (16 pts), if/else 5, boolean chains 3 (nesting depth added 9). Of this number, 17 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/context/CanvasContextMenu.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"69143057798663278caca9c97305aa0d6b86376e1fb7fcdae9826a0d2b4a2bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"interactive-post-processor.postProcessInteractiveHtml (cognitive 24): interactive-post-processor.postProcessInteractiveHtml has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/interactive-post-processor.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f5ae47085581b78e020db38379cc74dbe3a6b3c6fad87c4b7285034d63c173"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.processActions (cognitive 24): scene-generator.processActions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 8, ternaries 1 (3 pts) (nesting depth added 8). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 1995). 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33d2a79aec96d4b761087bcc565a819795a2b4e9433b10143ae9174cdec0de5"}},{"ruleId":"D2","level":"warning","message":{"text":"presets.presetShapes.set(\u0022wedgeRectCallout\u0022) (cognitive 24): presets.presetShapes.set(\u0022wedgeRectCallout\u0022) has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 16 (24 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (presets.presetShapes.set(\u0022wedgeRoundRectCallout\u0022)) 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":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78221710253b0bea59aec6aa1a6a058ee889883dc82bb5e8d1776208e3a5a77"}},{"ruleId":"D2","level":"warning","message":{"text":"presets.presetShapes.set(\u0022wedgeRoundRectCallout\u0022) (cognitive 24): presets.presetShapes.set(\u0022wedgeRoundRectCallout\u0022) has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 16 (24 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (presets.presetShapes.set(\u0022wedgeRectCallout\u0022)) 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":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"065e099a0c77be96c8c2999a9a51b8c672f4e706a08067ec2297ffe3387a00ef"}},{"ruleId":"D2","level":"warning","message":{"text":"tableSerializer.applyStyleBorders (cognitive 24): tableSerializer.applyStyleBorders has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21b65c7905112f0be27a5b72e2469f678232ccb68dc900ee194153e6fa61f2e"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseCodeElement.CodeLineRow (cognitive 24): BaseCodeElement.CodeLineRow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12, boolean chains 11, ternaries 1. Of this number, 13 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f420ef8af8ccb1ce5afd2e4b34214ecdf8fa060c5be9c740345496cfcf3de485"}},{"ruleId":"D2","level":"warning","message":{"text":"asset.readWrite (cognitive 24): asset.readWrite has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3, ternaries 3, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"723d7693870d0114cecdb41d727613f84e88a9a0e6359880fb32191879ba7e85"}},{"ruleId":"D2","level":"warning","message":{"text":"index.createStorageHttpHandler (cognitive 24): index.createStorageHttpHandler has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 13 (24 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/index.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"516bca0006f3975d06e477b8d8f0f9e8528917198b30b1eb20972378d22400c3"}},{"ruleId":"D2","level":"warning","message":{"text":"chunk-executor.renderOne (cognitive 24): chunk-executor.renderOne has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (4 pts), ternaries 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/chunk-executor.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a844748b745576e9f81619319ef54a58ce14b183994005df0f1192805b5c25"}},{"ruleId":"D2","level":"warning","message":{"text":"resource-task-runner.drain (cognitive 24): resource-task-runner.drain has cognitive complexity 24 (threshold 15). Drivers by points: error handling 2 (8 pts), if/else 4 (7 pts), loops 3 (7 pts), boolean chains 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":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"532710ba1f00ac01a6dfa6dced35dd13c9cc58950b192ec530c101ffa87836f4"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-area.CanvasArea (cognitive 23): canvas-area.CanvasArea has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 17, if/else 2 (3 pts), ternaries 2, loops 1 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, 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/canvas-area.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39db6f1de71e80ac0a4df0c87b75eb3b71267d915b1b9e59f4e1a3313f7d7de"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-dashboard.UsageDashboard (cognitive 23): usage-dashboard.UsageDashboard has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 11, if/else 5 (7 pts), boolean chains 2, loops 2, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 106, a function literal at line 87, a function literal at line 62, \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/usage-dashboard.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98c38114fe8186b22aee583a1da91b9f1bebfd7a67ea5145368b29fb4380e61"}},{"ruleId":"D2","level":"warning","message":{"text":"station-node.SlotLine (cognitive 23): station-node.SlotLine has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 17, ternaries 5, if/else 1. Of this number, 21 points are the body\u0027s own statements and 2 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/station-node.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8a6598cf69229d74cd0a78a7e2109c08aed09830e280c80c99cef6a987660d"}},{"ruleId":"D2","level":"warning","message":{"text":"classroom-complete.ClassroomCompletePage (cognitive 23): classroom-complete.ClassroomCompletePage has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 11, boolean chains 8, error handling 2, if/else 2. Of this number, 18 points are the body\u0027s own statements and 5 belong to 6 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/classroom-complete.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"462cd03f8ef96ec86049e9939c1706c508b94fc5a8c46b8f5a1e41958bc3a573"}},{"ruleId":"D2","level":"warning","message":{"text":"use-resolved-slide.resolveSlideMediaState (cognitive 23): use-resolved-slide.resolveSlideMediaState has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10 (11 pts), if/else 7, boolean chains 5 (nesting depth added 1). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 95). 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":"components/slide-renderer/use-resolved-slide.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95694a680f3ea09e33f6f2d8280ec6876edbcf9394104461761c135d29cacba"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseImageElement.BaseImageElement (cognitive 23): BaseImageElement.BaseImageElement has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (20 pts), boolean chains 3 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ImageElement/BaseImageElement.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb00bdcf4f41a0e9cde316430a0cff988f0cd48309ba4438021b786efc6d003f"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-thumbnail-content.SceneThumbnailContent (cognitive 23): scene-thumbnail-content.SceneThumbnailContent has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (16 pts), if/else 5 (6 pts), boolean chains 1 (nesting depth added 10). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 142, 64). 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/stage/scene-thumbnail-content.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b2c62b0ec316c1cc8341fc870a9da0dc8f19cb692cfb72f375951fa1a9c726"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry-checks.isPentagon (cognitive 23): geometry-checks.isPentagon has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (7 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 11). Of this number, 16 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/whiteboard-shapes/geometry-checks.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"518b28e8132237dfab06ac7f24fcc3c397c83d093947251c8489ae58c910c178"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.main (cognitive 23): runner.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (6 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/whiteboard-shapes/runner.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbc66199f39f646f724f244901bc69ad4b1351d82c8f7aa27c785e00beac5be"}},{"ruleId":"D2","level":"warning","message":{"text":"qwen-voice-clone-registration.registerVoice (cognitive 23): qwen-voice-clone-registration.registerVoice has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 2, loops 1 (nesting depth added 8). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 115, a function literal at line 105, release). 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":"lib/audio/qwen-voice-clone-registration.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"53af19d451a43843edc58747b3c017e18604421df3ab34a186ccd559b789adf8"}},{"ruleId":"D2","level":"warning","message":{"text":"build-standalone-html.buildStandaloneHtmlExport (cognitive 23): build-standalone-html.buildStandaloneHtmlExport has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 7, boolean chains 4, loops 1 (2 pts) (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe58260592a4cdf5e2a7ad09277e24c85a957a1938773db42bcc4fbf0e6eddb6"}},{"ruleId":"D2","level":"warning","message":{"text":"minimax-video-adapter.generateWithMiniMaxVideo (cognitive 23): minimax-video-adapter.generateWithMiniMaxVideo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 8, ternaries 1 (3 pts) (nesting depth added 7). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 264). 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":"lib/media/adapters/minimax-video-adapter.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b4b875eb63712ca785611f7984d25f828344ab196c0c08be5d2316a29719e1"}},{"ruleId":"D2","level":"warning","message":{"text":"media-orchestrator.generateSingleMedia (cognitive 23): media-orchestrator.generateSingleMedia has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 4 (5 pts), boolean chains 4, 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":"lib/media/media-orchestrator.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"159e5e262dabb2b5447c634fd434011b9774fca0cc74b167f2b9fa0c3c602298"}},{"ruleId":"D2","level":"warning","message":{"text":"client.createModelSettingsClient.apply (cognitive 23): client.createModelSettingsClient.apply has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 6 (9 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model-settings/client.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"27211519b8484871f940aaf129d091bf3f0fc8851cff191a8f1593ba1338d342"}},{"ruleId":"D2","level":"warning","message":{"text":"fold.foldPBLRuntime (cognitive 23): fold.foldPBLRuntime has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/runtime/fold.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3795c68ed3540d1ae1b2a1099f731ee485df8226b1ca0c87f03d35a5682f6be8"}},{"ruleId":"D2","level":"warning","message":{"text":"fetch-with-redirect-validation.fetchWithRedirectValidation (cognitive 23): fetch-with-redirect-validation.fetchWithRedirectValidation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, error handling 1 (2 pts), loops 1, 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/server/fetch-with-redirect-validation.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4095d4c5075c63ccdab5b8a3be6d33408f4ab52918d529f30d8416683aac5de8"}},{"ruleId":"D2","level":"warning","message":{"text":"sse.polledEventStream (cognitive 23): sse.polledEventStream has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, boolean chains 4, error handling 3. Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 8 function items inside it that branch (write, read, clear, \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":"lib/server/generation/run/sse.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cab69773a0e2ffff09418ac7f7a1b00aa6eea40d32b792505e700daac25a01"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve.assertPrincipal (cognitive 23): resolve.assertPrincipal has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (21 pts), boolean chains 1, if/else 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/identity/resolve.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfb62ffd007f7061333e4709fa2781d384f4cac728e5c59769789d08cb93817"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve-slot.resolveTarget (cognitive 23): resolve-slot.resolveTarget has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 10 (11 pts), if/else 6, boolean chains 5, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/resolve-slot.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0334a8c14baf7b941981e085768ef154832dca318551d2c6d371d139ad47b42b"}},{"ruleId":"D2","level":"warning","message":{"text":"review-question.reviewReceipt (cognitive 23): review-question.reviewReceipt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/review-question.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"965ecd2b0e7e0e69d0245722388cecc89f3e6ecef387a1932030cfbb42c99f52"}},{"ruleId":"D2","level":"warning","message":{"text":"FetchEventSource.connect (cognitive 23): FetchEventSource.connect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2, error handling 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/fetch-event-source.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f82496f1796770203875e27b2f16cfde25579b06af9e84654308833c34b4ce"}},{"ruleId":"D2","level":"warning","message":{"text":"progress.normalizeProjectRuntime (cognitive 23): progress.normalizeProjectRuntime has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8504f2976f96d81b82a208c2b4168da92b2678a1bee113a8c465be988bd06bba"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.normalizeGeneratedVideoRefs (cognitive 23): scene-generator.normalizeGeneratedVideoRefs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 8, ternaries 3 (nesting depth added 3). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to one function literal inside it that branches (line 433). 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba60be2e95291f8d57aedfa647307f00fb5b8aa7df4a8f35383cdd76ab4d37f"}},{"ruleId":"D2","level":"warning","message":{"text":"mathSerializer.mathToElement (cognitive 23): mathSerializer.mathToElement has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (7 pts), boolean chains 6 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fcfacbc7addb38a3bc632a90d40b2f3cc7994b714138425564cbec37667b15"}},{"ruleId":"D2","level":"warning","message":{"text":"slideSerializer.slideToSlide (cognitive 23): slideSerializer.slideToSlide has cognitive complexity 23 (threshold 15). Drivers by points: error handling 3 (8 pts), loops 4 (7 pts), if/else 3 (5 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/slideSerializer.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e7a9b36302eb8de4c6d78382f54b8db2df4fe3bfe54cb09b681de8238dcc03"}},{"ruleId":"D2","level":"warning","message":{"text":"check-package-version-bumps.comparePrerelease (cognitive 23): check-package-version-bumps.comparePrerelease has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-package-version-bumps.mjs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"acff0f39a3d2d6aff2c35cf31eb8874f7a9b60ed3d04ad670e429f97c9d6847f"}},{"ruleId":"D2","level":"warning","message":{"text":"probe-mineru-cloud.probe (cognitive 23): probe-mineru-cloud.probe has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (5 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/probe-mineru-cloud.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e19224f9735b15c777cb1dec1f7329f1f1911327cef9fb2b2e8bf36865c3a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"inspectMainPid (cognitive 23): inspectMainPid has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7, ternaries 4 (6 pts), boolean chains 4, other 4, error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3669308583911ee6e161a2a284892848181040a5caff1a9a33c8b91a7abe5c81"}},{"ruleId":"D2","level":"warning","message":{"text":"waitForStarted (cognitive 23): waitForStarted has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), other 7, boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baff4732a50fb638889237d61704d87301256f5a1ec325e19c0663a1a8fbb9c"}},{"ruleId":"D2","level":"warning","message":{"text":"imagePlan::visit (cognitive 23): imagePlan::visit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (7 pts), boolean chains 2, loops 1 (2 pts), other 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/document-image-plan.mjs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c6b7b9bebe63c3bacdbb3296d2a9deb0d52b25b23b97a4e1099f904752c547"}},{"ruleId":"D2","level":"warning","message":{"text":"folder-dialogs.NewFolderDialog::submit (cognitive 22): folder-dialogs.NewFolderDialog::submit has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (14 pts), if/else 6 (7 pts), error handling 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/discovery/folder-dialogs.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a577b36df0537ed8dbcf81a893cc69932a3fe0de45cc17ca1a1e4f59adb8dad"}},{"ruleId":"D2","level":"warning","message":{"text":"FloatingInsertToolbar.FloatingInsertToolbar (cognitive 22): FloatingInsertToolbar.FloatingInsertToolbar has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 5, if/else 5 (nesting depth added 2). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 2 function items inside it that branch (handleDragKeyDown, moveWithinBounds). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/EditShell/FloatingInsertToolbar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc17d4924909e0af7d6435c259a305d3539ed869c59279ab9fccb962f2c353c"}},{"ruleId":"D2","level":"warning","message":{"text":"model-edit-dialog.ModelEditDialog (cognitive 22): model-edit-dialog.ModelEditDialog has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, if/else 5, ternaries 3, error handling 1. Of this number, 14 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/model-edit-dialog.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"023cf503c307c5b9f70ef897ec4eb388131cf9ff697b795ea8dc2122161cbab8"}},{"ruleId":"D2","level":"warning","message":{"text":"use-instructor-stream.runOneStream (cognitive 22): use-instructor-stream.runOneStream has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/use-instructor-stream.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"251f5c9a0fe857e86175bd09f83b47600f71251dc4a8c6e3fe2673d56a36aec6"}},{"ruleId":"D2","level":"warning","message":{"text":"submission.PBLV2SubmissionPanel::runImmediateTaskEval::runStream (cognitive 22): submission.PBLV2SubmissionPanel::runImmediateTaskEval::runStream has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts), error handling 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b863ee6c84245a51e7d6eda57f9230fad0a64761ccef47d15e98c006cc23b1"}},{"ruleId":"D2","level":"warning","message":{"text":"quiz-view.MultipleChoiceQuestion (cognitive 22): quiz-view.MultipleChoiceQuestion has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 18, if/else 3, ternaries 1. Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 2 function items inside it that branch (a function literal at line 353, toggle). 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/scene-renderers/quiz-view.tsx"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c46af357c61d41e2ca2599f6026e3c817d901cf55dbee045e6c3d5948371c3f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceRail.InlineNewFolderRow::submit (cognitive 22): WorkspaceRail.InlineNewFolderRow::submit has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (14 pts), if/else 6 (7 pts), error handling 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4d29896676dea789327cb86f34fd819a7f8d3a14c8b0cb05b1829b90540315"}},{"ruleId":"D2","level":"warning","message":{"text":"compare-html.collectRunData (cognitive 22): compare-html.collectRunData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (4 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":"eval/pbl-v2-planner/compare-html.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fd07e6d9b3d7c502d3ec72287ab7bb12d1f426dd58a2034881906116758aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"tts-providers.generateQwenTTS (cognitive 22): tts-providers.generateQwenTTS has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 3 (6 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/tts-providers.ts"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeb65d877b040b0f8369dfed0824580f9398fc62e7769eb25136fadfa1cb9de"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare-manifest.stripMediaPayloads (cognitive 22): prepare-manifest.stripMediaPayloads has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/prepare-manifest.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1724acbb5c6d8cbbe633c6901c2ea31f08b7ee0e4ca6dc5a2e904ac733c911f"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve-media-ref.resolveMediaRef (cognitive 22): resolve-media-ref.resolveMediaRef has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 6 (9 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/resolve-media-ref.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f35c5948aa1bb36c9cbc6b0050f8db6569d25c6b0c717f1aaaa557d0d6ed1b3"}},{"ruleId":"D2","level":"warning","message":{"text":"mineru-cloud.parseWithMinerUCloud (cognitive 22): mineru-cloud.parseWithMinerUCloud has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (6 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/mineru-cloud.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"26af21855a7a0a975c3804d2fb63299fb3e03d9e14dbe517f7f65856833653d8"}},{"ruleId":"D2","level":"warning","message":{"text":"personal-history-tools.buildPersonalHistoryTools (cognitive 22): personal-history-tools.buildPersonalHistoryTools has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10, boolean chains 7, error handling 4, ternaries 1. Of this number, 15 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/personal-history-tools.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb91c65417209c026498c425700a353a217d149da577110f27312fbbbf689e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"resume.planResume (cognitive 22): resume.planResume has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/resume.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6310c78d4a507b4ff7e7754e463a5a6bedc6e5e8be8d3edfc285dfc866e16f5"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.planRunStart (cognitive 22): runner.planRunStart has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 5 (6 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c75d15981d1d3c00f97e3ad283323b2b98008340bb23350de6cede8605049dd"}},{"ruleId":"D2","level":"warning","message":{"text":"narration.synthesizeNarration (cognitive 22): narration.synthesizeNarration has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, ternaries 7 (8 pts), if/else 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/narration.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8244fac8aa3158d515eeef2b82a2c90bbcf795841bbef2e335522233ff5be5a"}},{"ruleId":"D2","level":"warning","message":{"text":"owner-extraction.runClaimedOwnerExtraction (cognitive 22): owner-extraction.runClaimedOwnerExtraction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 6 (9 pts), error handling 2, boolean chains 1, loops 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/owner-extraction.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0503b64122741b2c2a0373c7c5ee5812b8223b7aadb3fe7922a947ffa6dfa80"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.queueRole (cognitive 22): runtime.queueRole has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (9 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runtime.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"6038796eeded261b9d0d34116a85000076842e4e1ee2ab08f91ef0cdc8e2d4d7"}},{"ruleId":"D2","level":"warning","message":{"text":"runner-tools.withTeachingTurnBoundary.\u003Creturned closure\u003E (cognitive 22): runner-tools.withTeachingTurnBoundary.\u003Creturned closure\u003E has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 3 (7 pts), boolean chains 3 (nesting depth added 11). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runner-tools.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0bf736fc2aff2efd9ef1b96189c8672aa10472c274ff86e5f710746626575e"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.normalizeAndValidateLegacyWhiteboard (cognitive 22): validate.normalizeAndValidateLegacyWhiteboard has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25a01fbf9b195523ef2cd2c531f647d316330f71d33a6fed50dea064055047e"}},{"ruleId":"D2","level":"warning","message":{"text":"RendererTextEditor.RendererTextEditor (cognitive 22): RendererTextEditor.RendererTextEditor has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 2). None of this is in the body itself: all 22 points belong to 6 function literals inside it that branch (lines 87, 103, 207, \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/@openmaic/editor/src/react/text/RendererTextEditor.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef509bbad8494482a57bcecbe3e8a0c0a4544fe5805f00479897d9906cc51e3"}},{"ruleId":"D2","level":"warning","message":{"text":"eqFieldParser.parseDocxMathContent (cognitive 22): eqFieldParser.parseDocxMathContent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/eqFieldParser.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70b84b132cead1a1074493fb71ff4a679ca3c75a0c6e20d820bc98501d2775a"}},{"ruleId":"D2","level":"warning","message":{"text":"shapeSerializer.resolveShapeShadow (cognitive 22): shapeSerializer.resolveShapeShadow has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 4 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf85a6b7cdb8f309d43de4194d92e81803a8c00b2ace9386b17d8a3b301c311"}},{"ruleId":"D2","level":"warning","message":{"text":"toPptxtojson.collectOmml (cognitive 22): toPptxtojson.collectOmml has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/adapter/toPptxtojson.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0c424c2af141838998eeee13fbe51cf70cbe5a95ce3b18bc6bf15096b3c471"}},{"ruleId":"D2","level":"warning","message":{"text":"index.slideToPng (cognitive 22): index.slideToPng has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/snapshot/index.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e860e58f4853736867fd9a89962a8c1bcb72beb4f5fd94de3b72295e75355d"}},{"ruleId":"D2","level":"warning","message":{"text":"chunk-executor.createRenderPlan (cognitive 22): chunk-executor.createRenderPlan has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 6, boolean chains 4, error handling 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/chunk-executor.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c12a57b5aee71512f6e894bb60d1ab2fa33dbb135c74dca9eefc291451d63dd"}},{"ruleId":"D2","level":"warning","message":{"text":"preview-validation.findNonSelfContainedInteractiveReferences::visit (cognitive 22): preview-validation.findNonSelfContainedInteractiveReferences::visit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (preview-validation.findNonSelfContainedInteractiveReferences) 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":"render-service/src/preview-validation.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5572261ff9b58cea53b93150604f1e7162ebc315f753a0d384644654c02ae218"}},{"ruleId":"D2","level":"warning","message":{"text":"route.GET (cognitive 21): route.GET has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 8). None of this is in the body itself: all 21 points belong to one function literal inside it that branches (line 28). 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":"app/api/pbl/v3/route.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b02c9ec2254648766f64635669cf00bcd08046826ef104963b37f7f1c0a067"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt-input.PromptInputTextarea (cognitive 21): prompt-input.PromptInputTextarea has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 2 function items inside it that branch (handleKeyDown, handlePaste). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/prompt-input.tsx"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"be934787d111d91eaebe9b2f65b799e6b014d02ea0fbc5f1114aecb7369837c2"}},{"ruleId":"D2","level":"warning","message":{"text":"video-export-dialog.VideoExportDialog (cognitive 21): video-export-dialog.VideoExportDialog has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (8 pts), ternaries 2 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 6 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/video-export-dialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"495343c08911f3169f3a5344794122d3cd3653b7af52d109c96091056f12823b"}},{"ruleId":"D2","level":"warning","message":{"text":"sidebar.PBLV2Sidebar (cognitive 21): sidebar.PBLV2Sidebar has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, loops 2, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 162, 111, 211, \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/scene-renderers/pbl/v2/sidebar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c874f6559324ad64f8055cab480458e5a9e3c7a578517e73e4b129420adc91b"}},{"ruleId":"D2","level":"warning","message":{"text":"use-instructor-stream.useInstructorStream.run (cognitive 21): use-instructor-stream.useInstructorStream.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 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/scene-renderers/pbl/v2/use-instructor-stream.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c9e1e3f0f3390b0e0fe7531833830b47a2c4e07d92d7537757017964f83ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.StreamingDraft (cognitive 21): chat.StreamingDraft has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 6, if/else 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ccb576bd714b91025f539125ad163038bbf57e094dc14c37ad6a66bf1794e8"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.AgentTurn (cognitive 21): conversation.AgentTurn has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, ternaries 6 (9 pts), if/else 1 (nesting depth added 3). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 94, 67, 70, \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/scene-renderers/pbl/v3/conversation.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0980a83c44e79dcc92180a3315132182905306081b9e1a00da3fe5d54b881453"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Whiteboard (cognitive 21): index.Whiteboard has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, if/else 7, ternaries 1. Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (handleClear, a function literal at line 67, a function literal at line 83). 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/whiteboard/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"458e50c2707a83fb38a6c58838bef8feecb4b648c10aa2221cddf806832196a5"}},{"ruleId":"D2","level":"warning","message":{"text":"answer-content-runner.writeReport (cognitive 21): answer-content-runner.writeReport has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/orchestration/answer-content-runner.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c63398bbd5179b018fbd8ab10e645c6e3c8aca2dea4e8dab67005c680fbc128"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionEngine.executeWbEditCode (cognitive 21): ActionEngine.executeWbEditCode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 6). Of this number, 19 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":"lib/action/engine.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"b192d09a2c35a71c549c6e2cb0ae3b80fb57f93d864bc1410f8c00733389b358"}},{"ruleId":"D2","level":"warning","message":{"text":"apply-regenerate.planRegenerateApply (cognitive 21): apply-regenerate.planRegenerateApply has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 5 (6 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/agent/client/apply-regenerate.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a2cc77a239c77ed484951496fd109029571ca1fad7e9811956ee6d2b037d9a"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-timeout.executeWithToolBound (cognitive 21): tool-timeout.executeWithToolBound has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 1, error handling 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 8 function items inside it that branch (cleanup, onTimeout, a function literal at line 258, \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":"lib/agent/runtime/tool-timeout.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aa5f44f95e3b748cfb2eb32ab08942eb81534de9f720595212397a581adf10"}},{"ruleId":"D2","level":"warning","message":{"text":"tts-providers.extractGoogleInteractionsAudio (cognitive 21): tts-providers.extractGoogleInteractionsAudio has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/tts-providers.ts"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbcfd88ffd50ba664e6d11327e7fd2c69a753aaffae531c4a4e69d45f48b937"}},{"ruleId":"D2","level":"warning","message":{"text":"wav-validate.validateReferenceAudio (cognitive 21): wav-validate.validateReferenceAudio has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/wav-validate.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4b324d652147fe60dda30bdb5b1a6ce360cc10b97f6cfb52ee6f94a9327049"}},{"ruleId":"D2","level":"warning","message":{"text":"call-agent.executeParsedAction (cognitive 21): call-agent.executeParsedAction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86748d88676530569be05c9a6842830f98571ecd9730efd4e68d1f0730c1aa3"}},{"ruleId":"D2","level":"warning","message":{"text":"bundle.allocateDocumentTextBudgets (cognitive 21): bundle.allocateDocumentTextBudgets has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document/bundle.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1953f175c28955ceb92b34a7cb4ce63b4c8c281092344b5652eb5de4a26c6ad"}},{"ruleId":"D2","level":"warning","message":{"text":"media-registry.selectMediaExtractorProvider (cognitive 21): media-registry.selectMediaExtractorProvider has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, ternaries 2, loops 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document/extractors/media-registry.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed865dcbd9ae9080f61a3fb354ae2435196e96be59c95ffbf8bd8e98c56c579b"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-assets.createAssetFetcher.fetchAsset (cognitive 21): inline-assets.createAssetFetcher.fetchAsset has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 10). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to one function literal inside it that branches (line 151). 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":"lib/export/inline-assets.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc08d8fe7567274f8fd932758724ab5ae51199bc00b4da0653f80a5c8d1645a"}},{"ruleId":"D2","level":"warning","message":{"text":"report-share-text.wrapShareText (cognitive 21): report-share-text.wrapShareText has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/report-share-text.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba81c0165389527f7ccf87a13841a1251997d7e63b5c9046a257612d4f1c9ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.findNodesWithSameMark (cognitive 21): utils.findNodesWithSameMark has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 8, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/prosemirror/utils.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f4e3c8897df71a2e4e00acad2a73e6c784116559017f56fea56fdfe2ca4e62"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-video.runVideoGenerationJob (cognitive 21): generate-video.runVideoGenerationJob has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 5 (7 pts), error handling 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/generate-video.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"672ab075669444dc9b9c5cd93e6a7bb9da2a4f18024b9d4bbf5cf2ab64d67e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"roster-tools.agentVoiceCatalog (cognitive 21): roster-tools.agentVoiceCatalog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/roster-tools.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3067caaedfe637ca61a5381866adc7ebf6dea53954bf45099e5af4426bb1894a"}},{"ruleId":"D2","level":"warning","message":{"text":"store.claimNextGenerationRun (cognitive 21): store.claimNextGenerationRun has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (7 pts), boolean chains 3, loops 1 (nesting depth added 8). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 832). 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":"lib/server/generation/run/store.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"979d51d6a8c553894255397aaaa847ce876391ae52d6988c606f829db2ea056f"}},{"ruleId":"D2","level":"warning","message":{"text":"services.resolveExtractionServices (cognitive 21): services.resolveExtractionServices has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (19 pts), if/else 2 (nesting depth added 9). Of this number, 19 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":"lib/server/material-extraction/services.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10f82334ab0d823940ab716cd91343bffac458861c88acdd02c8524f7618bbd"}},{"ruleId":"D2","level":"warning","message":{"text":"document-images.keptImages (cognitive 21): document-images.keptImages has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 3 (6 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 9). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/document-images.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4146bcca93d2b8b399ef14c3773b7eaf4841d09c1f54e46731d1cec98fea9f"}},{"ruleId":"D2","level":"warning","message":{"text":"document-images.imagePathIndex (cognitive 21): document-images.imagePathIndex has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/document-images.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f355a71000dd20199177408ff6588e7ea2d3f3b9a1e839e53d6542332466861"}},{"ruleId":"D2","level":"warning","message":{"text":"owner-extraction.runNextOwnerExtraction (cognitive 21): owner-extraction.runNextOwnerExtraction has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 3 (4 pts), boolean chains 2, error handling 1 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/owner-extraction.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"431f1361b86c75aedf179268f2896222404b2d7172a291df02049b6c71f84735"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-images.inlineRemoteImages.worker (cognitive 21): inline-images.inlineRemoteImages.worker has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/materials/inline-images.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"3442bf9ae86a674b4581bc5806d494c6e9e4e959d629b76d0d9f0f9abf4d9992"}},{"ruleId":"D2","level":"warning","message":{"text":"model-routes.parseThinking (cognitive 21): model-routes.parseThinking has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 2, ternaries 1 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"lib/server/model-routes.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1630eb60951264f50dabc55907c964273ed7c7e8dc122899c967aa7a60a8859f"}},{"ruleId":"D2","level":"warning","message":{"text":"teaching-prompt.teachingLiveContext (cognitive 21): teaching-prompt.teachingLiveContext has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 9 (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/server/pbl-v3/teaching-prompt.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a8a81020e3080c64375311397186d03e9db6cffd7251628abd6eb50a512e71"}},{"ruleId":"D2","level":"warning","message":{"text":"thinking-timing.createThinkingTimingTracker.\u003Creturned closure\u003E (cognitive 21): thinking-timing.createThinkingTimingTracker.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/thinking-timing.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8165a8a8dda37b3bcdd83ed93c0c7a1cd292a6508c917d84b844488b2de79f"}},{"ruleId":"D2","level":"warning","message":{"text":"OwnerSessionClient.runFullFetch (cognitive 21): OwnerSessionClient.runFullFetch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, loops 2 (nesting depth added 3). None of this is in the body itself: all 21 points belong to 4 function literals inside it that branch (lines 369, 372, 413, \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":"lib/workbench/owner-session-client.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da153cbe8791ef9dd04f8bdf07a497206dcae42086361c4d645bf53c4749f11"}},{"ruleId":"D2","level":"warning","message":{"text":"request-schedule.sceneChanges (cognitive 21): request-schedule.sceneChanges has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 4, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/request-schedule.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c641b0ab55178baa742d80d9a0cf37ec9de07dc59522299494cf109f6269b763"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.findNodesWithSameMark (cognitive 21): utils.findNodesWithSameMark has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 8, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/text/prosemirror/utils.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7005b8f91a1f9a46539d38838aaf072f4b834029173c4ad7c005cd2213a4fa"}},{"ruleId":"D2","level":"warning","message":{"text":"emfParser.parseEmfContent (cognitive 21): emfParser.parseEmfContent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/emfParser.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6bffb372a2e94512c7176289e5c0e6be659dcbc0b4b698327ae8f30c1f81c4"}},{"ruleId":"D2","level":"warning","message":{"text":"tableSerializer.getEffectiveTableStyleTextProps (cognitive 21): tableSerializer.getEffectiveTableStyleTextProps has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5939dc51ec7370e717f5427d8da7699a36b0861570ed7d2b323d8e7bb0e9ccc0"}},{"ruleId":"D2","level":"warning","message":{"text":"transformParsedToSlides.parseLineElement (cognitive 21): transformParsedToSlides.parseLineElement has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, ternaries 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2941538f388bf8efa4a26258ed5338e71d567fb516f5e9e33c61adb8a174ff85"}},{"ruleId":"D2","level":"warning","message":{"text":"preview-validation.srcsetUrls (cognitive 21): preview-validation.srcsetUrls has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (7 pts), boolean chains 3 (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":"render-service/src/preview-validation.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5936176ca338bd36766487853604f4e625cb68070dee12e4dd3200318b4ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"main.parsePreviewPayload (cognitive 21): main.parsePreviewPayload has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, boolean chains 6, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/main.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"154282aeb72cecc30e88b788186be373673968011fbce5ad0bbaaa04cca530f2"}},{"ruleId":"D2","level":"warning","message":{"text":"check-package-version-bumps.runReleaseMode (cognitive 21): check-package-version-bumps.runReleaseMode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-package-version-bumps.mjs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd560ea922cf706234cf273f8f7dce2ece9f6751007e0971b54e66fe37fe853f"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 20): route.POST has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (5 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 4). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to one function literal inside it that branches (line 41). 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":"app/api/agents/import/route.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9762442ed7f1d9fb78bfb21f821600ab1dd12f7c48d2001d9eb5d58f70ebe0"}},{"ruleId":"D2","level":"warning","message":{"text":"slide-element-pick-overlay.ElementPickOverlay (cognitive 20): slide-element-pick-overlay.ElementPickOverlay has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, ternaries 2, loops 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 203, a function literal at line 318, a function literal at line 225, \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/slide-element-pick-overlay.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f2858680b021c089880effd3cfe130e5cdb393698fdb03f526c2d240f1db45"}},{"ruleId":"D2","level":"warning","message":{"text":"ThumbItem.ThumbItemComponent (cognitive 20): ThumbItem.ThumbItemComponent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 6 (7 pts), boolean chains 6 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 9 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":"components/edit/SlideNavRail/ThumbItem.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c30844aea7b8bb407a5a2c579685c4691459c723d76f1985bbc74cd9ca6fc5a"}},{"ruleId":"D2","level":"warning","message":{"text":"station-text.lineText (cognitive 20): station-text.lineText has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 4 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/station-text.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4f1a5ede60d9259457d20c98633d6a054936db85b777abd7e5dc4be4e03dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf-settings.PDFSettings (cognitive 20): pdf-settings.PDFSettings has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 15, if/else 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 5 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":"components/settings/pdf-settings.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"954da50201068b2e73bc010ee59804a9888311e8dff41b2ce9c29562b2d8791e"}},{"ruleId":"D2","level":"warning","message":{"text":"submission.SubmissionModal (cognitive 20): submission.SubmissionModal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 27 (47 pts), boolean chains 23, ternaries 12 (19 pts), error handling 4 (6 pts), loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (submission.SubmissionModal::handleFile) 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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcfeb75ced2b35428ac33a3f8db3c04f631ec5d5ee6fc55d1e0495f1ffe52d0"}},{"ruleId":"D2","level":"warning","message":{"text":"use-application-preview.waitForApplication (cognitive 20): use-application-preview.waitForApplication has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 2 (6 pts), error handling 1 (2 pts), loops 2, ternaries 2 (nesting depth added 5). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to one function item inside it that branches (observe). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c524b0edc64f846e31e5bb3cb89522186cbc3417135b01069c15b032ea88d61"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.LearningConversation (cognitive 20): conversation.LearningConversation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (openReference, a function literal at line 260, a function literal at line 220). 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/scene-renderers/pbl/v3/conversation.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"434abffad7b3bb496cde93aa4ae15d1031fbf810f90b1f8adb9d9920ac08c68c"}},{"ruleId":"D2","level":"warning","message":{"text":"useRotateElement.useRotateElement.rotateElement::handleMouseMove (cognitive 20): useRotateElement.useRotateElement.rotateElement::handleMouseMove has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 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":"components/slide-renderer/Editor/Canvas/hooks/useRotateElement.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3d6aeec109ff9dcea69a26b2006c53e2d50aa1e6ca99e58e94c2690f3fd0da"}},{"ruleId":"D2","level":"warning","message":{"text":"useScaleElement.useScaleElement.scaleElement::alignedAdsorption (cognitive 20): useScaleElement.useScaleElement.scaleElement::alignedAdsorption has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (8 pts), loops 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (useScaleElement.useScaleElement.scaleElement, useScaleElement.useScaleElement.scaleElement::handleMouseMove) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ba3c34b389c776ce938902018a78a300213ba4727bc0182beac20479cf5fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-timeline.rowsForRender (cognitive 20): chat-timeline.rowsForRender has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/workbench/chat/chat-timeline.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"842865b40d5cd295f5ae73970bb2fec4bf1c2e9004e8b3e75832394477cd9c12"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialLibraryPage.InlineName (cognitive 20): MaterialLibraryPage.InlineName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 7, ternaries 2. Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 596, 614, 646, \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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"6164f9fa085928ef4bd23b25466a0a0af76f2cf55f9b7104b96e0f3ddf12aea3"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceClassroomPane.WorkspaceClassroomPane (cognitive 20): WorkspaceClassroomPane.WorkspaceClassroomPane has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 5, if/else 1 (2 pts) (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/WorkspaceClassroomPane.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb5b7e706d8bd9976fb0ffbdec067be1a78a3b86bf1352bcb235010a23a4147"}},{"ruleId":"D2","level":"warning","message":{"text":"json-stream.splitConcatenatedJsonObjects (cognitive 20): json-stream.splitConcatenatedJsonObjects has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/json-stream.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fbe4a2e609e65a02ac2b8cb56e371f0b222fdcadfa0e3a1721f496f97e3e83"}},{"ruleId":"D2","level":"warning","message":{"text":"bundle.pickVisionImageIds (cognitive 20): bundle.pickVisionImageIds has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (5 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":"lib/document/bundle.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c01d6beff4ee0c5c5cba39d3306c36dc09ba469e22f92e1a878edd520fa5479"}},{"ruleId":"D2","level":"warning","message":{"text":"use-audio-recorder.useAudioRecorder.startRecording (cognitive 20): use-audio-recorder.useAudioRecorder.startRecording has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/use-audio-recorder.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"043d57482720c613a1d1c421b8639bb406cb8d2cdcf95ea17f2001fc0c97add0"}},{"ruleId":"D2","level":"warning","message":{"text":"media.collectDocumentMediaRefs (cognitive 20): media.collectDocumentMediaRefs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/media.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e78d4398e59acce8dcd496afa007ea00fd8d1a468b23d7643b201b492b337a4"}},{"ruleId":"D2","level":"warning","message":{"text":"services.serviceEntries (cognitive 20): services.serviceEntries has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 4, if/else 2 (4 pts), loops 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 5 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":"lib/model-settings/services.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c48197389935c2d4d6b413906253150b877ede4a3a58bd7d8adf151f3e7edb"}},{"ruleId":"D2","level":"warning","message":{"text":"instructor.buildScenarioAwarenessBlock (cognitive 20): instructor.buildScenarioAwarenessBlock has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 8 (9 pts), boolean chains 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9aea5bf88e41b51787f6d617c6fcde1ce3debcf39a16ce8d3cc2c4f9dc6e599"}},{"ruleId":"D2","level":"warning","message":{"text":"package-client.installClassroomProjects (cognitive 20): package-client.installClassroomProjects has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/package-client.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"43791409669636c3be88c7977876bb295f89a88c9c4f5fe4213a5004b6fb6eca"}},{"ruleId":"D2","level":"warning","message":{"text":"document-image-parser.inputBudget (cognitive 20): document-image-parser.inputBudget has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (8 pts), boolean chains 3 (nesting depth added 7). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to one function item inside it that branches (charge). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/document-image-parser.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ae51d40dc23ebe8ac0a835dbe59650d4a15f46c2b31bcf2803af1496701fec"}},{"ruleId":"D2","level":"warning","message":{"text":"extraction.extractOwnerMaterial (cognitive 20): extraction.extractOwnerMaterial has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 6, error handling 2 (3 pts), boolean chains 1 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/server/materials/extraction.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"8316e05d60cc25bb8d9da0e27f0872b7e88bb866585e96fd04f5a3df09f91dac"}},{"ruleId":"D2","level":"warning","message":{"text":"extraction.startOwnerMaterialExtractor (cognitive 20): extraction.startOwnerMaterialExtractor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 3 (4 pts), error handling 1, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 2 function items inside it that branch (scan, a function literal at line 748). 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":"lib/server/materials/extraction.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"937dcd6d4de80a33717f413c4cf18e965f28525270b9fa82a2da6d55dea9af24"}},{"ruleId":"D2","level":"warning","message":{"text":"deployment-layer.loadDeploymentLayer (cognitive 20): deployment-layer.loadDeploymentLayer has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts), ternaries 3 (4 pts) (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/deployment-layer.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f4156471fab804ea1fbb1884f6c03aedba78c1be0487c8cbfdbe43ad248709"}},{"ruleId":"D2","level":"warning","message":{"text":"teaching-prompt.buildTeachingPrompt (cognitive 20): teaching-prompt.buildTeachingPrompt has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, ternaries 5 (9 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/teaching-prompt.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ee114a601fd8ea8c6d7faad254d41c2adaa539f50b5dd40c4a1e8a2379e1f4"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-config.collectDisabledProviders (cognitive 20): provider-config.collectDisabledProviders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/provider-config.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8ecc2a9410e2fb475c23e3b785a46c1b08d3361648b63d41df7c4c23d5e7e6"}},{"ruleId":"D2","level":"warning","message":{"text":"timeline.dispatchSegment (cognitive 20): timeline.dispatchSegment has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (8 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/passes/timeline.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4918a26a74c3adc11204f31620501d8c93e2cec8fc0b7f2fe88e9b28077e5380"}},{"ruleId":"D2","level":"warning","message":{"text":"visuals.applyVisuals.scenes (cognitive 20): visuals.applyVisuals.scenes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 1 (4 pts), boolean chains 3, ternaries 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":"lib/video-export/passes/visuals.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca55821409669970f8c46256b3ff44417e76877f99c7ce8d01c04a89e4672b83"}},{"ruleId":"D2","level":"warning","message":{"text":"TextFormatToolbar.TextFormatToolbar (cognitive 20): TextFormatToolbar.TextFormatToolbar has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 7, if/else 4 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 5 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":"packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b69347b65b63d04dcea16e672221e779a744453ada30540cb4b2d8f5e7e5db"}},{"ruleId":"D2","level":"warning","message":{"text":"LineFormatToolbar.LineFormatToolbar (cognitive 20): LineFormatToolbar.LineFormatToolbar has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 4, if/else 4 (nesting depth added 4). Of this number, 10 points are the body\u0027s own statements and 10 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/line/LineFormatToolbar.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63718775ad76830f30a526665b881503fe6dd9e4452863b7c7f4148edd793bd"}},{"ruleId":"D2","level":"warning","message":{"text":"engagement.microtaskEngagement (cognitive 20): engagement.microtaskEngagement has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/operations/kernel/engagement.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d0044848029178595dca12ac55719d21ccb777899d57eb77bc0b8e4fcd7196"}},{"ruleId":"D2","level":"warning","message":{"text":"progress.normalizeScenario (cognitive 20): progress.normalizeScenario has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 4 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/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed45470c64e6b881bb23a0609c66224bc01c4367942d38567937849d307f73ee"}},{"ruleId":"D2","level":"warning","message":{"text":"planner-single-call.hydrateScenario (cognitive 20): planner-single-call.hydrateScenario has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 4 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/planner-single-call.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"589174f83244ff5c2f58b7879d21a72a6b3a45ab448ff745df899c2cc1050539"}},{"ruleId":"D2","level":"warning","message":{"text":"Presentation.findMatchingPlaceholder (cognitive 20): Presentation.findMatchingPlaceholder has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf37adfde7b8d72bac4033f4da3e0cb2592a0f4d540a8940dc914d3395b30df2"}},{"ruleId":"D2","level":"warning","message":{"text":"groupSerializer.detectLineOrientation (cognitive 20): groupSerializer.detectLineOrientation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, 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/@openmaic/importer/src/serializer/groupSerializer.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1539cbe623c45a6f735bd482eb6369827f0d8e70c962309de964e0764832f3e8"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpDocumentStore.request (cognitive 20): HttpDocumentStore.request has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (7 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/http.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d33baf20bec908c12a1e22fd1bb560ea7ad89dc25f72d78a262bb8e43480b8"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpRuntimeStore.requestWithStatus (cognitive 20): HttpRuntimeStore.requestWithStatus has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 3 (5 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/http.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"381c780ff4424eac483cdd7cf9e2ce5569072d1dd0b4e6ca08c5641b863f5222"}},{"ruleId":"D2","level":"warning","message":{"text":"preview-validation.previewabilityError (cognitive 20): preview-validation.previewabilityError has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/preview-validation.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90c8416bfdfea9e22a45d6fd8d5920468c46373e11400c08afc0f93990128a2"}},{"ruleId":"D2","level":"warning","message":{"text":"imagePlan (cognitive 20): imagePlan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 31 (56 pts), loops 8 (17 pts), boolean chains 14, ternaries 4 (14 pts), other 7 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into 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/server/material-extraction/document-image-plan.mjs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6f96e1de463edcc2f8c5bc97884ad2bf39df40a19250bfb6aa61c25a3dd086"}},{"ruleId":"D2","level":"warning","message":{"text":"route.PATCH (cognitive 19): route.PATCH has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (4 pts), loops 1 (3 pts), error handling 2, boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 64, 71). 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/api/folders/[id]/route.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcd78cb1878196327c2ed51bb8cade5e04df959addc1eb2911bd2d871edcba6"}},{"ruleId":"D2","level":"warning","message":{"text":"route.GET (cognitive 19): route.GET has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 68). 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":"app/api/generation-runs/[id]/events/route.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f2db9b4fe00371e9a59f1c24b81d3a35e9517c024968fc3253d92ce6c02bcb"}},{"ruleId":"D2","level":"warning","message":{"text":"use-learning-stream.useLearningStream (cognitive 19): use-learning-stream.useLearningStream has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, ternaries 2, error handling 1 (nesting depth added 2). None of this is in the body itself: all 19 points belong to 5 function literals inside it that branch (lines 29, 35, 56, \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/scene-renderers/pbl/v3/use-learning-stream.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b32fb2fa2e872664933c39f7168c907b2c7e04b1a2b1d9a07398d94f14ba567"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation-history.ConversationHistory (cognitive 19): conversation-history.ConversationHistory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, ternaries 2 (3 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 6 function items inside it that branch (load, a function literal at line 60, select, \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/scene-renderers/pbl/v3/conversation-history.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d818a6c89e0dafafa477b7d0056ad0ec5346d07dd365069d3ccf65d356d978"}},{"ruleId":"D2","level":"warning","message":{"text":"useDragElement.useDragElement.dragElement (cognitive 19): useDragElement.useDragElement.dragElement has cognitive complexity 19 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 15, ternaries 7, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (useDragElement.useDragElement.dragElement::handleMouseMove) 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":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad0437fa8911cf21a0a6eb813b9d3ba62ff5ef41fb36c0c122793a7c9d9f398"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceRail.RailRow (cognitive 19): WorkspaceRail.RailRow has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, ternaries 7, if/else 2. Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"510a280837be9967c3cb7b7178230d6ef50b99ef8fca0b66b6bcec8d94f4c441"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.printReport (cognitive 19): runner.printReport has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (12 pts), loops 3 (5 pts), boolean chains 1, if/else 1 (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fd325dfe05c614d32d223716f5d763e31f1b7d139b0393ad9433cc5d34b53e"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry-checks.isCircle (cognitive 19): geometry-checks.isCircle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (7 pts), loops 2 (4 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/whiteboard-shapes/geometry-checks.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"050aebce55b090a26ec75c37553aa2dfe39021924b888d60ebb822e0131d3950"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionEngine.executePlayVideo (cognitive 19): ActionEngine.executePlayVideo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 8 belong to 6 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/action/engine.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"edee4f5ff8f590a07dca598f6e4635fd3674c15b513fb370aa2f03c3ab23dbf2"}},{"ruleId":"D2","level":"warning","message":{"text":"page-scroll-boundary.installPageScrollBoundary::move (cognitive 19): page-scroll-boundary.installPageScrollBoundary::move has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (7 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/adaptive/page-scroll-boundary.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cba57fe90e245e3a857fbebcbe258d3ab00509eca5f208d3497eb06080fd722"}},{"ruleId":"D2","level":"warning","message":{"text":"stream-fn.createPartMapper.handle (cognitive 19): stream-fn.createPartMapper.handle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/agent/runtime/stream-fn.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a00030545272dec1ba2e2d88c976127f1fca33c45edd07a2e6fa3da543d4f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning-sse.createReasoningContentRewriter.rewrite (cognitive 19): reasoning-sse.createReasoningContentRewriter.rewrite has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/reasoning-sse.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"50753e7bac9be219ff05e231994720429960166465f02a347f0d459f0db97de0"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.withStreamFallback (cognitive 19): llm.withStreamFallback has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, error handling 2, ternaries 1 (nesting depth added 4). None of this is in the body itself: all 19 points belong to 3 function items inside it that branch (a function literal at line 799, serveFallback, track). 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":"lib/ai/llm.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e12dd0389c73a76d472e5165ef162e47045c6556888bd8a9bd92464d3d32f39"}},{"ruleId":"D2","level":"warning","message":{"text":"tts-utils.splitLongSpeechText (cognitive 19): tts-utils.splitLongSpeechText has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (hardSplitUnit, appendUnit, pushChunk). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/tts-utils.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"024643bf4f6b0a56361aa323c4c89adf8e5936504bccae00b957ce411370863a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-ops.applyOperationToRoster (cognitive 19): agent-ops.applyOperationToRoster has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, match/switch 1 (nesting depth added 8). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 111). 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":"lib/edit/agent-ops.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6092f60b53db4303d20a318515141fb4d93996af4a8b30cb26c791a853718b"}},{"ruleId":"D2","level":"warning","message":{"text":"pptx-rich-text.proseToPlainText::walk (cognitive 19): pptx-rich-text.proseToPlainText::walk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/pptx-rich-text.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c292bc88acadfe319d750654fb0723bf3461a7aa5278e19a6c8407814cb4382"}},{"ruleId":"D2","level":"warning","message":{"text":"build-standalone-html.linkStandaloneImages (cognitive 19): build-standalone-html.linkStandaloneImages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 5 (7 pts), loops 3, boolean chains 2 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"112d116b29fa68384e9c3cb0927a56711b50c637c4714ce4bb9ef5c1f5902139"}},{"ruleId":"D2","level":"warning","message":{"text":"svg-path-parser.toPoints (cognitive 19): svg-path-parser.toPoints has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/svg-path-parser.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e2470b890b35f527a5125191e3e27921b3830475dd991343569ba9b9630206"}},{"ruleId":"D2","level":"warning","message":{"text":"use-import-classroom.materializeImportedAudio (cognitive 19): use-import-classroom.materializeImportedAudio has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 3 (6 pts), boolean chains 3, loops 1 (nesting depth added 7). Of this number, 16 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/import/use-import-classroom.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0e49d2c7b22308d42b4b252319ab5a2f677ea9d2e6f0436b6864ca1f0d15fb"}},{"ruleId":"D2","level":"warning","message":{"text":"observation-bridge.createObservationSession.capture (cognitive 19): observation-bridge.createObservationSession.capture has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 6, error handling 2, ternaries 1. Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 186, 160, 158). 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":"lib/interactive/observation-bridge.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6357331defdbd1d4745a07741b3060710beecd4709e71d36327723366c253eab"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.classifyFailure (cognitive 19): errors.classifyFailure has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, ternaries 3 (4 pts), boolean chains 3 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, 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/legacy-browser-import/errors.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6573ecda938703706d5de8f981ab237572dd8f09a61b4c6df56929a5a47a30b"}},{"ruleId":"D2","level":"warning","message":{"text":"minimax-image-adapter.generateWithMiniMaxImage (cognitive 19): minimax-image-adapter.generateWithMiniMaxImage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/minimax-image-adapter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1528644ac75c353308712b59e76601e0debbdfcaf1109156870a7b4514f95d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"generated-media-references.rewriteSlideMediaReference (cognitive 19): generated-media-references.rewriteSlideMediaReference has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/generated-media-references.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"732fbd7907a586af241e5a95c27677fefe2fb1670f03c0260efe6913ec3de5da"}},{"ruleId":"D2","level":"warning","message":{"text":"quiz-snapshot.buildQuizSnapshot (cognitive 19): quiz-snapshot.buildQuizSnapshot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/quiz-snapshot.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ddef0a027a6907c3994d38ebfb3d5d36471c18cae812d160dcd4e0679851b5"}},{"ruleId":"D2","level":"warning","message":{"text":"package-client.attachClassroomProjects (cognitive 19): package-client.attachClassroomProjects has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 4, loops 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/package-client.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae18039d752e4eb1caa41df592dda92a51ed90d101c35021b05ed9a34471205"}},{"ruleId":"D2","level":"warning","message":{"text":"math-text.parseQuizMathText (cognitive 19): math-text.parseQuizMathText has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/quiz/math-text.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ce3cc09a5d79f4d6cdf48be823895060b0c243e093c36c99ae6d630073ddb2"}},{"ruleId":"D2","level":"warning","message":{"text":"ask-user.buildAskUserTool.execute (cognitive 19): ask-user.buildAskUserTool.execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, ternaries 3, loops 1 (2 pts) (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"lib/server/agent-runtime/ask-user.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5f1466aba542de9a36b06fd91504996fb43622634a06bc72dbc8481e19594e"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-image.buildGenerateImageTool.execute (cognitive 19): generate-image.buildGenerateImageTool.execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (4 pts), boolean chains 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/generate-image.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b35d7a9a176c0fd5ad2c353b30ede56c984a89bd2aa70c65aa78469fddef0b"}},{"ruleId":"D2","level":"warning","message":{"text":"personal-history-tools.visibleChatMessages (cognitive 19): personal-history-tools.visibleChatMessages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, ternaries 2, loops 1 (nesting depth added 5). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 218). 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":"lib/server/agent-runtime/personal-history-tools.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"02de2deba2a4d9239f2c25a7e721a51efdb2500fdbbd14634b0888e33309a758"}},{"ruleId":"D2","level":"warning","message":{"text":"roster-tools.buildRosterTools (cognitive 19): roster-tools.buildRosterTools has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 5. Of this number, 10 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/roster-tools.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b1be404cb78da07ace83cdf2737e4740c78e9386d7a5acc5f93bc2dca0d315"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.classifyHostFailure (cognitive 19): runtime.classifyHostFailure has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation-run-hooks/runtime.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf75484ab48866882eff0db8e1d1dacafce7f045fb6b3de6d468b1e1bf9b065"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve-slot.withoutAssignmentsNaming (cognitive 19): resolve-slot.withoutAssignmentsNaming has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/resolve-slot.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ddf1ed47e09b3f42d718452a6a28a9f6eb18df571940d19bfb1f3289df8a48"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.checkProvider (cognitive 19): settings.checkProvider has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/settings.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7769917f065a53e549c52fd997c372a34d656d4f440b1cf2c0263285b86ab33"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.importModelSettings (cognitive 19): settings.importModelSettings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (3 pts), loops 2, boolean chains 1, error handling 1 (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/settings.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bfd319d93563493af7d27a268fcf7435615f311b9440036e8a2b83fcb8bdcd"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.boundConversation (cognitive 19): conversation.boundConversation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/conversation.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2fc623abecb76b5731d850a8183e79b4f05b6f23fb7c809e2809f7282989d9"}},{"ruleId":"D2","level":"warning","message":{"text":"application.inspectApplication (cognitive 19): application.inspectApplication has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (5 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/application.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcafbddf1fc91ac585ce0401a730afd9765478987a948b17e2e44533b88ba2ab"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle.checkpointDirtyStudy (cognitive 19): lifecycle.checkpointDirtyStudy has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (6 pts), ternaries 2 (4 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 600, unchanged, a function literal at line 537, \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":"lib/server/pbl-v3/lifecycle.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae106fd8a7d9fbdd298d516251d09a9a6a7ce36c43eecfc1c06a5d6423bd97a"}},{"ruleId":"D2","level":"warning","message":{"text":"stage.startFlushRound (cognitive 19): stage.startFlushRound has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, loops 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 1452). 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":"lib/store/stage.ts"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"0190d8f50abb8b5eaef09d9d700939f61d59c413941a1111397cc32d9c5480f1"}},{"ruleId":"D2","level":"warning","message":{"text":"useMarqueeGesture.useMarqueeGesture.onCanvasPointerDown (cognitive 19): useMarqueeGesture.useMarqueeGesture.onCanvasPointerDown has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, ternaries 2, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (handleUp, handleMove, rectPastThreshold, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useMarqueeGesture.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a838bf0fcf4f890062636a2a8f7a2fa1b2b15bf0275fe6de44f44c899d2bedda"}},{"ruleId":"D2","level":"warning","message":{"text":"useCanvasShortcuts.handleCanvasShortcut (cognitive 19): useCanvasShortcuts.handleCanvasShortcut has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 9. 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/@openmaic/editor/src/react/useCanvasShortcuts.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c017f168da85d752c9bcf5482ac231ab459b696ceb47fc982b7d319ab0faa54"}},{"ruleId":"D2","level":"warning","message":{"text":"useToolbarAnchor.useToolbarAnchor (cognitive 19): useToolbarAnchor.useToolbarAnchor has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 4 (6 pts) (nesting depth added 2). None of this is in the body itself: all 19 points belong to 8 function literals inside it that branch (lines 70, 44, 80, \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/@openmaic/editor/src/ui/text/useToolbarAnchor.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c29e684c0b2af8a7eac66a527df744112957075ac78423f84e24afd9069654"}},{"ruleId":"D2","level":"warning","message":{"text":"LatexToolbarOverlay.LatexToolbarOverlay (cognitive 19): LatexToolbarOverlay.LatexToolbarOverlay has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 5, if/else 3 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bd8f5c2bc6cf344d3bc720a4b49bfa6aef8d33b79ae88d889f8ac4e16ea966"}},{"ruleId":"D2","level":"warning","message":{"text":"generation-retry.isRetryableGenerationError (cognitive 19): generation-retry.isRetryableGenerationError has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/generation-retry.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd401c8e1143785070185e8def3130696634cf4ecd772f7b1ff77c9897a8712"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.extractPlaceholdersRecursive (cognitive 19): Layout.extractPlaceholdersRecursive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Layout.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80ae0e7c048d168bccebc111cd5a27632c456af7713e4b27209fec175f53f6a"}},{"ruleId":"D2","level":"warning","message":{"text":"measure.measureSlideElementGeometry (cognitive 19): measure.measureSlideElementGeometry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/@openmaic/renderer/src/snapshot/measure.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df959dd4e3758d3e1cf34f15493aa94a942f4e9d4eee797bbdc43c68629d606"}},{"ruleId":"D2","level":"warning","message":{"text":"PgAssetStore.replace (cognitive 19): PgAssetStore.replace has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 2 (3 pts), ternaries 3, boolean chains 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, 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/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8c68179ec667347ed5c3dfee6a4bed3cc98ad23362f6aab15a4c82ca41f4cc"}},{"ruleId":"D2","level":"warning","message":{"text":"check-i18n-keys.main (cognitive 19): check-i18n-keys.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-i18n-keys.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"316b20d4b2c6d14a8537b891cfbc11c5b84f2b7e81eff337e6861efe8eb21068"}},{"ruleId":"D2","level":"warning","message":{"text":"showUnit (cognitive 19): showUnit has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (9 pts), boolean chains 5, if/else 2 (4 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0b8f33291b41bc767dfc0c4c47f6bccdaaf25646be949053aeed0d22562818"}},{"ruleId":"D2","level":"warning","message":{"text":"route.GET::poll (cognitive 18): route.GET::poll has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/owner-events/route.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"18090e3ac466024ba79a32d450234913e1902e268ddce43b4c4c9f43ba883141"}},{"ruleId":"D2","level":"warning","message":{"text":"route.PUT (cognitive 18): route.PUT has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 1 (3 pts), error handling 2 (nesting depth added 7). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 103). 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":"app/api/model-config/route.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"94522a02a16d4f78bdaf776dd156f23fedf9c5ef967667aaf46aad59507f7dac"}},{"ruleId":"D2","level":"warning","message":{"text":"route.createPersistenceHandler (cognitive 18): route.createPersistenceHandler has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 4 (7 pts) (nesting depth added 8). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 286, 273). 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/api/persistence/[...path]/route.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e629c16037841d0eb47b18f52238392ec0924eb67ef982fa6b2bb2da8da6ff5"}},{"ruleId":"D2","level":"warning","message":{"text":"client.WorkbenchLaunchBridge (cognitive 18): client.WorkbenchLaunchBridge has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 7, error handling 2, boolean chains 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 53, 69, 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":"app/workbench/new/client.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee652bff2034c330d48db8e276e834f5a71a73ec4b49614a309bc7d31fbdc063"}},{"ruleId":"D2","level":"warning","message":{"text":"proactive-card.ProactiveCard (cognitive 18): proactive-card.ProactiveCard has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7, boolean chains 6, if/else 5. Of this number, 13 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/proactive-card.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4563a875eb663049768225e575347aab116afb5eb3d041e17517234bcba5982f"}},{"ruleId":"D2","level":"warning","message":{"text":"CanvasOverlayPortal.useAnchorRect (cognitive 18): CanvasOverlayPortal.useAnchorRect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 6, ternaries 1. None of this is in the body itself: all 18 points belong to 7 function literals inside it that branch (lines 121, 131, 106, \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/edit/surfaces/slide/CanvasOverlayPortal.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda564c613d3f69194f9103078803247075f0b6a6e905af18489246d5fb1fd80"}},{"ruleId":"D2","level":"warning","message":{"text":"presentation-speech-overlay.buildPresentationBubbleModel (cognitive 18): presentation-speech-overlay.buildPresentationBubbleModel has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 5, ternaries 1. Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8396c37c3fd784a236e57608190af75648a8c00592de18953f00ec0d8c541ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"apply-instructor-event.applyInstructorEvent (cognitive 18): apply-instructor-event.applyInstructorEvent has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 2 (7 pts), if/else 2 (6 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/apply-instructor-event.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fffacadf5fd39fed85e3f8d8d77868c284dc97d4e4c8e4c501ffc06b526262"}},{"ruleId":"D2","level":"warning","message":{"text":"workbench-panel.LearningWorkbenchPanel::run (cognitive 18): workbench-panel.LearningWorkbenchPanel::run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (workbench-panel.LearningWorkbenchPanel) 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":"components/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3b035e90dc73fd75f4fb7cf93f212d0c3292809b330a717248ddffaef2c70a"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLineElement.BaseLineElement (cognitive 18): BaseLineElement.BaseLineElement has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 5, boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 37, 51, 27, \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/slide-renderer/components/element/LineElement/BaseLineElement.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9893a33c388f155c9ed1c084df10b2afcb2606ae68b80e6a13f2283ac7cb525b"}},{"ruleId":"D2","level":"warning","message":{"text":"ResizeHandler.ResizeHandler (cognitive 18): ResizeHandler.ResizeHandler has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 8. Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 19, 33). 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/slide-renderer/Editor/Canvas/Operate/ResizeHandler.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cebdc85303e05fdf77e23b42baade632469f99503c94eeaed09248ff8668b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"useScaleElement.useScaleElement.scaleMultiElement::handleMouseMove (cognitive 18): useScaleElement.useScaleElement.scaleMultiElement::handleMouseMove has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e12adcd8b24be8b6fca49a155cf0afcd0531420e93d1abd4e99d0f8debbb67"}},{"ruleId":"D2","level":"warning","message":{"text":"motion-descriptor-adapter.resolveMotionLayer (cognitive 18): motion-descriptor-adapter.resolveMotionLayer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4, ternaries 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/motion-descriptor-adapter.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc6967193b9f557224c8d9df092f65eeeff8f353cd71f13813841e031e08de8"}},{"ruleId":"D2","level":"warning","message":{"text":"whiteboard-canvas.InteractiveWhiteboardCanvas (cognitive 18): whiteboard-canvas.InteractiveWhiteboardCanvas has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 5, ternaries 3. Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 298, 164, 250, \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/whiteboard/whiteboard-canvas.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7211c8bba8798181e154816e20d8a9d5d10ddfca917bb53fb7c538e06fe8613"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceChatPane.WorkspaceChatPane (cognitive 18): WorkspaceChatPane.WorkspaceChatPane has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 6 (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":"components/workbench/workspace/WorkspaceChatPane.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"de91d40b8d8d6ab155b2b7480389119207d1e9a29261aa876e2f3a3f937d4625"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceCourseTabs.WorkspaceCourseTabs::onKeyDown (cognitive 18): WorkspaceCourseTabs.WorkspaceCourseTabs::onKeyDown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/WorkspaceCourseTabs.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54f83469b1773b816620b69e61fe554acab287b4f3135fd925b1ff17a1564ca"}},{"ruleId":"D2","level":"warning","message":{"text":"thinking-config.getThinkingDisplayValue (cognitive 18): thinking-config.getThinkingDisplayValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/thinking-config.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16b94ba695807d36031007a37bfce65c81ae528fc3343b3bf9e6837cd8003e0"}},{"ruleId":"D2","level":"warning","message":{"text":"element-reference.compactInteractiveSourceHtml::containsInlineBase64 (cognitive 18): element-reference.compactInteractiveSourceHtml::containsInlineBase64 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (element-reference.compactInteractiveSourceHtml) 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":"lib/chat/pi/element-reference.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59ac544b93d9d1edb6bead144462f155a6d84e6812589323d7370eaddd15c10"}},{"ruleId":"D2","level":"warning","message":{"text":"element-reference.resolveInteractiveComponentReference (cognitive 18): element-reference.resolveInteractiveComponentReference has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, ternaries 5, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/element-reference.ts"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4eeec577dc5918724432397266e8359fede18221756a1cba4834aac2f137a70"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.isTransientExtractionError (cognitive 18): errors.isTransientExtractionError has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/errors.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5a201161139e3f977fc8e768a2efd2148debc40d505c754064714df902efe9"}},{"ruleId":"D2","level":"warning","message":{"text":"inline-assets.inlineHtmlAssets::inlineAttributes (cognitive 18): inline-assets.inlineHtmlAssets::inlineAttributes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (inline-assets.inlineHtmlAssets) 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":"lib/export/inline-assets.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"412fd4f6b7a09987f052508a2e41cb969846b1fdd4e043d4799f55eab7b330c1"}},{"ruleId":"D2","level":"warning","message":{"text":"proxied-fetch.createProxiedFetch.\u003Creturned closure\u003E (cognitive 18): proxied-fetch.createProxiedFetch.\u003Creturned closure\u003E has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 4 (5 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/proxied-fetch.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f28fcbcfab298e484435e366820d6395bc04f3f1c773cfc08add122692f6291"}},{"ruleId":"D2","level":"warning","message":{"text":"use-export-pptx.getShadowOption (cognitive 18): use-export-pptx.getShadowOption has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce35a37617b3e25ef55640a4065530b87b729ac686972e6fff96c046cbe6be"}},{"ruleId":"D2","level":"warning","message":{"text":"use-course-materials.useCourseMaterials (cognitive 18): use-course-materials.useCourseMaterials has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (5 pts), boolean chains 3, loops 2 (nesting depth added 5). None of this is in the body itself: all 18 points belong to 9 function literals inside it that branch (lines 370, 377, 364, \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":"lib/generation-run-client/use-course-materials.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"0235f8ecf9ccdedd6e28c5448585870e0e6ec265ce4fba8bff8275895ba1e484"}},{"ruleId":"D2","level":"warning","message":{"text":"observation-bridge.installObservationResponder::receive (cognitive 18): observation-bridge.installObservationResponder::receive has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"lib/interactive/observation-bridge.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb3d11acec1135504d471001810f7f04265ccc2a38e9f47e524b4c130667c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"comfyui-image-adapter.generateWithComfyuiImage (cognitive 18): comfyui-image-adapter.generateWithComfyuiImage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a821fabdda98995d4760db3bbb90534eb53b696bf1041d7b9c5c826cd4f04856"}},{"ruleId":"D2","level":"warning","message":{"text":"media-orchestrator.commitPooledMedia (cognitive 18): media-orchestrator.commitPooledMedia has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 5 (7 pts), boolean chains 2, error handling 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 372). 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":"lib/media/media-orchestrator.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49362d84b120b97c09113723a1fa44f2cbd1e495c4c5e7dffb5dbc89bf270ba"}},{"ruleId":"D2","level":"warning","message":{"text":"whiteboard-conflicts.elementLabel (cognitive 18): whiteboard-conflicts.elementLabel has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 7, match/switch 1 (nesting depth added 5). 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/orchestration/summarizers/whiteboard-conflicts.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f991140fce0cff99c4c85b63fc3804888c1fa1187c3af2f3229e568285ae2b"}},{"ruleId":"D2","level":"warning","message":{"text":"alidocmind-client.parseWithAliDocMindClient (cognitive 18): alidocmind-client.parseWithAliDocMindClient has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/alidocmind-client.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16b063bea93ab711a74eeb1c0f9148d878954167d88ceeca39079330e56ca96"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.startAgentRunner.scan (cognitive 18): runner.startAgentRunner.scan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 6). Of this number, 10 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/server/agent-runtime/runner.ts"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"2954543030bd858c7c13e656300dc7079eb9dfd6f4076340f168b1569e092431"}},{"ruleId":"D2","level":"warning","message":{"text":"openmaic-yml.interpolate (cognitive 18): openmaic-yml.interpolate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/openmaic-yml.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fef6b2ed3818486bb94cdd9c76b42e703b84298e6f079e03d2078807e24545a"}},{"ruleId":"D2","level":"warning","message":{"text":"store.applyPatch (cognitive 18): store.applyPatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, ternaries 2 (4 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":"lib/server/generation/run/store.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa5eecf90cbb29064d9000f0eaaffad79288dbb52bdfeda0498b456e8369373"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.executeClaimedRun::executeMediaOnly (cognitive 18): engine.executeClaimedRun::executeMediaOnly has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 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. This shape REPEATS in the file: 2 other methods here (engine.executeClaimedRun, engine.executeClaimedRun::runStep) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/engine.ts"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fb9f0db411d7e08a94426ba866f3d3d0f42d90e032419910601517463d34cb"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.startGenerationRunner::scan (cognitive 18): runner.startGenerationRunner::scan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/runner.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79263f40e4fbc86f8033f594c5ee540134e03dda8f3d998d974efeb9042ff5f"}},{"ruleId":"D2","level":"warning","message":{"text":"media.fromTarget (cognitive 18): media.fromTarget has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 8, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/media.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f40b36ff3ac04149bfaa8b7a2e15fa7cc6176a3ab5f6c6ba948f96a8631df50"}},{"ruleId":"D2","level":"warning","message":{"text":"model-fetch.fetchModels (cognitive 18): model-fetch.fetchModels has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-fetch.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c28bc49c2f11772f4f59eea1475f27d30c3879b1046175ff46b996b06f5eac9"}},{"ruleId":"D2","level":"warning","message":{"text":"model-fetch.fetchModelsCandidate (cognitive 18): model-fetch.fetchModelsCandidate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-fetch.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cd26d7d9e4171aa3d823c6ce06cbb31ef29cba125ba519d055fc5ab0eca3c7"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation.evaluationFor (cognitive 18): evaluation.evaluationFor has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 5 (6 pts), boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (compile, a function literal at line 48, sourcePath, \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":"lib/server/pbl-v3/evaluation.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba704d43cb6dbdf9e5d07e79a6503b6aecc4b621aef0d0d3ec95d9b82cfa33f"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation.evaluationOutcome (cognitive 18): evaluation.evaluationOutcome has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 6, if/else 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"lib/server/pbl-v3/evaluation.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa1c25c8297d64479d2d1decf43a005c6dcf40faf37c0f02bbf8f429cf51868"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-storage.loadRuntimeSessions (cognitive 18): chat-storage.loadRuntimeSessions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/utils/chat-storage.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"094b36c6aeb059bfb84b5712fb45f6a80db93747434789edc51b125991aa5aab"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.generatePBLSceneContent (cognitive 18): scene-generator.generatePBLSceneContent has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (8 pts), error handling 2 (4 pts), boolean chains 3, if/else 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0e8b4a81fb08311906e8f95996073061c088d951ce67572b4529c8ca549ffa"}},{"ruleId":"D2","level":"warning","message":{"text":"Slide.buildDiagramGroup (cognitive 18): Slide.buildDiagramGroup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 7, 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/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"42798f8cc27b6206b417d3a279ca85d185778afb5891a1f149e5789dc7cca7e2"}},{"ruleId":"D2","level":"warning","message":{"text":"emfParser.parseStretchDibits (cognitive 18): emfParser.parseStretchDibits has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/emfParser.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff57a14a80f69bef6fcea6d455055f4cd414c2e50fdf51512a0be0f681a76cc8"}},{"ruleId":"D2","level":"warning","message":{"text":"textSerializer.findPlaceholderNode (cognitive 18): textSerializer.findPlaceholderNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9ff7aac6bbc2d2e9c7dd4a80431c4f17c1c687340bbd3954823ce8ef962635"}},{"ruleId":"D2","level":"warning","message":{"text":"textSerializer.autoFitLineHeight (cognitive 18): textSerializer.autoFitLineHeight has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (7 pts), loops 2 (3 pts), ternaries 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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1a6dadfeef5ecf7bb1dc068fa09ec98e399e18d0ebfe451225e214297c9775"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLineElement.BaseLineElement (cognitive 18): BaseLineElement.BaseLineElement has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 5, boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 32, 43, 22, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/line/BaseLineElement.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4726f4615b6985c1e94c9f20b13db17942305e60fc363d38f4585538d3603677"}},{"ruleId":"D2","level":"warning","message":{"text":"base-url.assertHttpBaseUrl (cognitive 18): base-url.assertHttpBaseUrl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/http/base-url.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb37c83fe004af7a816bacd8e37fe1ccc960f0a1386eebd05d2870834e5df5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"asset.createAssetHttpHandler (cognitive 18): asset.createAssetHttpHandler has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"219436bd638ca7dfa791af35caad6c48e54642467e3553cb51aaddf3e76b83a0"}},{"ruleId":"D2","level":"warning","message":{"text":"preview-validation.findNonSelfContainedInteractiveReferences (cognitive 18): preview-validation.findNonSelfContainedInteractiveReferences has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17 (33 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (preview-validation.findNonSelfContainedInteractiveReferences::visit) 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":"render-service/src/preview-validation.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b64d2ded59cb2ad1b0a6e274ae030b2ea1fde39f7a271fd16814d913e46714"}},{"ruleId":"D2","level":"warning","message":{"text":"check-package-version-bumps.registryVersions (cognitive 18): check-package-version-bumps.registryVersions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-package-version-bumps.mjs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"2deb427b52dd4f9acf2d90f9d3b08b5d5d85caf1f418b93032896517e549af04"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 17): route.POST has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3 (4 pts), boolean chains 1, loops 1 (nesting depth added 6). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 57). 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":"app/api/model-config/import/route.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9717d16a46d654f8944bcea9c29ab003d9baa72bd8f3875dca59cfa220350163"}},{"ruleId":"D2","level":"warning","message":{"text":"route.handlePersistenceRequestInner (cognitive 17): route.handlePersistenceRequestInner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 510). 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":"app/api/persistence/[...path]/route.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ec09dd3b667030968197666f2381caad4b5ec4f64593f3727f9f66b51a7be2"}},{"ruleId":"D2","level":"warning","message":{"text":"page.HomePage::handleGenerate (cognitive 17): page.HomePage::handleGenerate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (page.HomePage) 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":"app/page.tsx"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"268bae03fcdebf67c5bd509d78042663934044fce016cf91bca79283a0340fd5"}},{"ruleId":"D2","level":"warning","message":{"text":"step-visualizers.ContentVisualizer (cognitive 17): step-visualizers.ContentVisualizer has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 16, match/switch 1. Of this number, 12 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/step-visualizers.tsx"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"285c20303c8b8189392a0cc1937b9a9cc80cffcdb2f1931967a3163cf17691b1"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-settings.SkillSettings (cognitive 17): skill-settings.SkillSettings has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (7 pts), if/else 6, boolean chains 2, error handling 2 (nesting depth added 1). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 359, 380, 414, \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/settings/skill-settings.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"089bd640521cfa5af6a15c78d6eda86b7277a188cd13a8518cae8a8e52312e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"project-hero.ProjectHero (cognitive 17): project-hero.ProjectHero has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 5, if/else 1 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/project-hero.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac7fb1b60e080df1f2f678cb525b8dbb155177acaaf8e5841fb7e74c65fc770"}},{"ruleId":"D2","level":"warning","message":{"text":"quiz-view.SingleChoiceQuestion (cognitive 17): quiz-view.SingleChoiceQuestion has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 17. None of this is in the body itself: all 17 points belong to 2 function literals inside it that branch (lines 243, 252). 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/scene-renderers/quiz-view.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfebc6d000bbd57e3b26594f103f31de1f8b90daeef20f52dd5e3a69b9d1ebe"}},{"ruleId":"D2","level":"warning","message":{"text":"index.LineElement (cognitive 17): index.LineElement has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 3, boolean chains 2 (nesting depth added 2). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 42, handleSelectElement, a function literal at line 31, \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/slide-renderer/components/element/LineElement/index.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a66dedd90d41faf0c3d52c12f3526148289ad2068eb76b8184006e6022e56f"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementCreateSelection.ElementCreateSelection::createSelection::handleMouseMove (cognitive 17): ElementCreateSelection.ElementCreateSelection::createSelection::handleMouseMove has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4631b68f2210b4449d34dcdfb6a9dfc4a7616538720c4c05a3dc4ad7fee40bf"}},{"ruleId":"D2","level":"warning","message":{"text":"instrumentation.register (cognitive 17): instrumentation.register has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 4, boolean chains 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 1 belongs to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"instrumentation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc86326365e4843fe71f715999a16bf0b4de07b072a4fa43eefbadd90214f840"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning-sse.wrapJsonResponseWithReasoning (cognitive 17): reasoning-sse.wrapJsonResponseWithReasoning has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 1 (2 pts), 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":"lib/ai/reasoning-sse.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a4f36186105bac193cc191ec1e2054fc8fc7bf4838741c53f9d04551487bb2"}},{"ruleId":"D2","level":"warning","message":{"text":"qwen-voice-clone.postJson (cognitive 17): qwen-voice-clone.postJson has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 pts), error handling 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":"lib/audio/qwen-voice-clone.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c46a42864b1d8596a82263f79367c497a17afbc041579343fd93e8a87bf415"}},{"ruleId":"D2","level":"warning","message":{"text":"course.importLegacyCourse (cognitive 17): course.importLegacyCourse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, error handling 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/course.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f46ce402dca5e5e3622c4b6e3426070207fe09aed0879b8da644f4087f9259c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.runLegacyBrowserImport (cognitive 17): index.runLegacyBrowserImport has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (4 pts), boolean chains 3, error handling 1 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: 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":"lib/legacy-browser-import/index.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65f167521e8bf8d10c71a294059bbf080880bcd8ea3f389075da55f71a1df60"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-prompts.formatProjectEngagementRollup (cognitive 17): eval-prompts.formatProjectEngagementRollup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 8). 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, split the body into named stages: move each independent step or branch into 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/pbl/v2/operations/runtime/eval-prompts.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4147c75ffd5902bec2d8faad321a416a8573797f42d56380c5f7b6f902a8a513"}},{"ruleId":"D2","level":"warning","message":{"text":"instructor.stripPrematureNextTaskSetup (cognitive 17): instructor.stripPrematureNextTaskSetup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 2 (4 pts), boolean chains 3, ternaries 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"be53f19354bba8f39f7684bad07245efd57504a5a65edf4d94abc4cc9a7b4dde"}},{"ruleId":"D2","level":"warning","message":{"text":"event-notify-bus.connect (cognitive 17): event-notify-bus.connect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, error handling 2 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body: 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/server/agent-runtime/event-notify-bus.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa37946a0115c31e37da92090da0b33f02bac8288d16495f7d6d9749c1eba41"}},{"ruleId":"D2","level":"warning","message":{"text":"media-byte-omission.percentDecodedUtf8Length::feedPercentByte (cognitive 17): media-byte-omission.percentDecodedUtf8Length::feedPercentByte has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (media-byte-omission.percentDecodedUtf8Length) 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":"lib/server/agent-runtime/course-edit/media-byte-omission.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c6de0098ca49cdc3229b038cab29dbd063da7c04c9d3ba71aca59eabef5d19"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.capabilityModels (cognitive 17): settings.capabilityModels has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (6 pts), boolean chains 5, if/else 3 (5 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/settings.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd8f05429cf629ad54af4ab59ac94f76f3e6df54b38c5485865d3694c8b8482"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.modelSettingsView (cognitive 17): settings.modelSettingsView has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 4 (nesting depth added 1). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 502, 488, 558, \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":"lib/server/model-config/settings.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a00bd0cebb5b4fd7cefd6cc8ecdb3d1809c4a947a883bd644d7ccaae35f1a93"}},{"ruleId":"D2","level":"warning","message":{"text":"report-analysis.reportAnalysisProjection (cognitive 17): report-analysis.reportAnalysisProjection has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 6, if/else 2, loops 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 65, a function literal at line 55, sample). 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":"lib/server/pbl-v3/report-analysis.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71d09e918a8a8dd3253f69cdca78b0fb9d9a30589310030f7243721326685d5"}},{"ruleId":"D2","level":"warning","message":{"text":"ssrf-guard.tunnelEmbeddedIPv4 (cognitive 17): ssrf-guard.tunnelEmbeddedIPv4 has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/ssrf-guard.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c4211ec8912cfa6e91a7fcafc22b3255e13a7a22594013b064a565eaf0c99c"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoRegistry.play (cognitive 17): VideoRegistry.play has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (start, a function literal at line 225). 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":"lib/standalone-player/playback/media-ports.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f560a94799dea04b578959aaadd382f3252d0dc2cc0ac0d37cf4df8cafc2b7"}},{"ruleId":"D2","level":"warning","message":{"text":"CourseThumbnailLoader.run (cognitive 17): CourseThumbnailLoader.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/course-thumbnail-loader.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cc5189bff3da953f649379ec4b4d96dd9a7520d649c241ccd9eb52629322fc"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare-interactive-html.prepareInteractiveHtmlScenes (cognitive 17): prepare-interactive-html.prepareInteractiveHtmlScenes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), error handling 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export-app/prepare-interactive-html.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fe0bc02c933c501295f10c262be65c25d7a6337763656a64a7fca7113bd7c3"}},{"ruleId":"D2","level":"warning","message":{"text":"index.emitHyperframes (cognitive 17): index.emitHyperframes has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 4). 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, 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":"lib/video-export/emit-hyperframes/index.ts"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"58887a8d454b0da0183ba633776c09cff69a53006fa656bcc9c54dd537ca37a5"}},{"ruleId":"D2","level":"warning","message":{"text":"kimi.searchWithKimi (cognitive 17): kimi.searchWithKimi has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 3, ternaries 3, error handling 1 (2 pts) (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, 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/web-search/kimi.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42f8eaaa10162e3dad9f445b819a43403bbf3f48ec802495a66f93b57bb1086"}},{"ruleId":"D2","level":"warning","message":{"text":"fold.foldWhiteboardRuntimeRecords (cognitive 17): fold.foldWhiteboardRuntimeRecords has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/fold.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f6841503d989b527a0a1c05fe743831c1a9f4c9aec75b2d05cb0e4a656a1eb"}},{"ruleId":"D2","level":"warning","message":{"text":"OwnerSessionClient.openStream::onSessionEvent (cognitive 17): OwnerSessionClient.openStream::onSessionEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/owner-session-client.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0542b8bf48212262fb811b7e54b4498e31380e6d16eee584968c3885968c29"}},{"ruleId":"D2","level":"warning","message":{"text":"interactive.isInteractiveContent (cognitive 17): interactive.isInteractiveContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6 (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":"packages/@openmaic/dsl/src/interactive.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b536cfddc7a91e8fea151091e376057d1446d3bfa6fe07fc385031276682a53"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.checkScene (cognitive 17): validate.checkScene has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/dsl/src/validate.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d6737202660b7e60e365b5bf0dfee3acc83a006b30aff51b9cf81e924e9fae"}},{"ruleId":"D2","level":"warning","message":{"text":"rotate.computeRotate (cognitive 17): rotate.computeRotate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. 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/@openmaic/editor/src/react/core/rotate.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d89aa72cd41dbb440923bbd21bb2ec70d76611133524a4b630afa278d552ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementToolbarOverlay.ElementToolbarOverlay (cognitive 17): ElementToolbarOverlay.ElementToolbarOverlay has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 9, boolean chains 5, if/else 3. Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: 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/@openmaic/editor/src/ui/element/ElementToolbarOverlay.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a897721eed9efaf8a29cb2462553f9cd7118ccabedaddf1a236f79a521c6e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Presentation.findMatchingLayoutPlaceholder (cognitive 17): Presentation.findMatchingLayoutPlaceholder has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a618b98e248caa25374c89977e57e8ab204ebe1b6b26da1c626c570d222cea7"}},{"ruleId":"D2","level":"warning","message":{"text":"emfParser.parseGdiComment (cognitive 17): emfParser.parseGdiComment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 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/@openmaic/importer/src/utils/emfParser.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09fc4f7be9bad17bfdcb88348360a29109300af32e51279a8a13be123cb6349"}},{"ruleId":"D2","level":"warning","message":{"text":"shapeSerializer.fillToJson (cognitive 17): shapeSerializer.fillToJson has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ca8bd9a0f98d1d13597e76aec5453239e656dcd5833eb4fdfb53e84fc5592e"}},{"ruleId":"D2","level":"warning","message":{"text":"chartOption.getChartOption::axisOptions (cognitive 17): chartOption.getChartOption::axisOptions has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (chartOption.getChartOption) 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":"packages/@openmaic/renderer/src/elements/chart/chartOption.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"49189d34ad6736583b060372923781e7c509fb091f5df56da8c2869d0b291726"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetCollector.releaseEntries (cognitive 17): AssetCollector.releaseEntries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (3 pts), loops 1 (nesting depth added 8). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/collector.ts"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bc430dd5060fe05114ef8209d00b37df20e85bbb9201f1541ac83877f12791"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserRuntimeStore.appendRecord (cognitive 17): BrowserRuntimeStore.appendRecord has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, ternaries 4 (5 pts), boolean chains 3 (nesting depth added 1). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 369). 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/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"c478ce5dd3477ee6564f43a4ac25e95d885701bd1c287f73eebad2f3e39a7821"}},{"ruleId":"D2","level":"warning","message":{"text":"readTaskAccounting (cognitive 17): readTaskAccounting has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 2 (4 pts), boolean chains 2, error handling 1 (2 pts), loops 1, other 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":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"341c70b206cd7017ab959e804e2bf6e21f9baf524c0aeb9c4d611800d3b2f952"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 16): route.POST has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 5). 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 50). 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":"app/api/agent/skills/route.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b6f8cd1af54000d3ebc3c9d0d635d032d276f06143a86594f9b2cdadcc8519"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 16): route.POST has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (4 pts), loops 1 (3 pts), error handling 2 (nesting depth added 6). Of this number, 8 points are the body\u0027s own statements and 8 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":"app/api/folders/route.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f9f500cf5c96f4e88674cb3e5146fd72d40bfda375a1f170aa5c0c2b251a29"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 16): route.POST has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3, 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":"app/api/generate/image/route.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8ac5429c61123aa80dd03c8154b94fe0db1a64f7b8dfdff2ea0849d75738d5"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 16): route.POST has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3, 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":"app/api/generate/video/route.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1d740d9916462db130a275251b8dcf08ce46a77f3119df224b8c729914a7c9"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 16): route.POST has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, 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/pbl/v2/evaluate/route.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"26932579555a12436ceed77e029cea701385a553d40e02d97c544a352e37b7d0"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 16): route.POST has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, error handling 1 (nesting depth added 5). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 100). 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":"app/api/pbl/v3/route.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"712540b46f22f1ad5b58822e9811963e6d4b83bdb91619995c3e387559bebfff"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 16): route.POST has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (6 pts), if/else 4 (5 pts), boolean chains 3, error handling 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/quiz-grade/route.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f95c0d764ec2d18e9cc3b3a973fe11ead02ad186d926314eb849ee7cf1c9d82"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 16): route.POST has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 3, error handling 2, ternaries 2 (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/stages/route.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b721dc5afe30d9eaa5114073c99efee652441bcf4a4485557d65bc1d72d42e9"}},{"ruleId":"D2","level":"warning","message":{"text":"use-chat-sessions.useChatSessions.startLecture (cognitive 16): use-chat-sessions.useChatSessions.startLecture has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 7). Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/use-chat-sessions.ts"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"59028f523505ce8d718e5998b2a747718662dd190f8f04b42e6f60d4be58af95"}},{"ruleId":"D2","level":"warning","message":{"text":"generation-toolbar.CourseMaterialChip (cognitive 16): generation-toolbar.CourseMaterialChip has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, ternaries 6. 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/generation/generation-toolbar.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc6ae0b8ce92e96ad4a54685f510950c0f0670270e76a2fe4f17734e4e7df59"}},{"ruleId":"D2","level":"warning","message":{"text":"step-visualizers.StreamingOutlineVisualizer (cognitive 16): step-visualizers.StreamingOutlineVisualizer has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9, boolean chains 5, if/else 2. Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, 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/generation/step-visualizers.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ede52d112a7de24b6d0653490aa583ca90907c5940106982f069be34376bbd"}},{"ruleId":"D2","level":"warning","message":{"text":"station-node.StationNode (cognitive 16): station-node.StationNode has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, ternaries 5, if/else 2. Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, 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/settings/models/station-node.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"501f536def870c44690b1550d5b8a957d9707db25b329f0960523129eeef92c3"}},{"ruleId":"D2","level":"warning","message":{"text":"media-service-panel.MediaServicePanel (cognitive 16): media-service-panel.MediaServicePanel has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 2, ternaries 2, error handling 1. Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/media-service-panel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b3b426dc2f82c99e967cb0864d1b570980eb2464aec14794d029c3ae30ba0f"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.MessageBubble (cognitive 16): chat.MessageBubble has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"20901cc43aacad04aa6acd87a65bd49471f2e9ed6510b59afb48cb92b0c8aa07"}},{"ruleId":"D2","level":"warning","message":{"text":"scenario-stage.ScenarioStage (cognitive 16): scenario-stage.ScenarioStage has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 2. Of this number, 10 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/scene-stage/scenario-stage.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6706269dc7b30357eb43cff369972fe046de07047629badcd7a8b430f32c1355"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-activity.ToolActivity (cognitive 16): tool-activity.ToolActivity has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (14 pts), if/else 2 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 5 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/scene-renderers/pbl/v3/tool-activity.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1456fea744676ca19520502048596c2916062f2b857955b650546349f49106"}},{"ruleId":"D2","level":"warning","message":{"text":"quiz-view.QuestionCard (cognitive 16): quiz-view.QuestionCard has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 13, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/quiz-view.tsx"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bc1995b14814ced2551614282c8e6dc8045a4f8d99be9e1921dd5912edd872"}},{"ruleId":"D2","level":"warning","message":{"text":"agent-settings.AgentSettings (cognitive 16): agent-settings.AgentSettings has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 4 (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/agent-settings.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e600a51d88639979b1c30446447a21341d15918810da7d4f20f4c25e10d8366"}},{"ruleId":"D2","level":"warning","message":{"text":"useInsertFromCreateSelection.useInsertFromCreateSelection.insertElementFromCreateSelection (cognitive 16): useInsertFromCreateSelection.useInsertFromCreateSelection.insertElementFromCreateSelection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useInsertFromCreateSelection.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d07d6cf728798aa9087dbcd0404949a9d772996e7e51a860778e48fa18ab36"}},{"ruleId":"D2","level":"warning","message":{"text":"MaterialLibraryPage.StatusLabel (cognitive 16): MaterialLibraryPage.StatusLabel has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"efab5f99f3755cee76c54e9240dff7588829051687f8e2dbf0d6d026aec72baa"}},{"ruleId":"D2","level":"warning","message":{"text":"build-compare.latestRunDir (cognitive 16): build-compare.latestRunDir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/pbl-v2-planner/build-compare.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d1aaec07066c75bab8dc5967e37235e3bb0e261cbefcb18b1dc5dcc6e4564a"}},{"ruleId":"D2","level":"warning","message":{"text":"geometry-checks.polygonContours (cognitive 16): geometry-checks.polygonContours has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, 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":"eval/whiteboard-shapes/geometry-checks.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ea24be7989b3398f271b9c525b3c24acc61b8cf4285043279bd10229eb70f8"}},{"ruleId":"D2","level":"warning","message":{"text":"asr-providers.transcribeQwenASR (cognitive 16): asr-providers.transcribeQwenASR has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7 (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/audio/asr-providers.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1eeb6cc1716af1f473957200f9c95e21d41a71eb3027dddba1b4b00db00f21"}},{"ruleId":"D2","level":"warning","message":{"text":"timeline.actionDurationMs (cognitive 16): timeline.actionDurationMs has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/timeline.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a830289dffa0f8c566057b9c62d65c96b14e7c0f8c858a1414b87a91a2cf6064"}},{"ruleId":"D2","level":"warning","message":{"text":"load-classroom.outstandingMediaRetryTasks (cognitive 16): load-classroom.outstandingMediaRetryTasks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), boolean chains 3 (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":"lib/classroom/load-classroom.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c0489327189d042c6579a3c1b8e3a79727eeb457686b85255090899c0d2f03"}},{"ruleId":"D2","level":"warning","message":{"text":"local-media.uniformKeyframeTimes (cognitive 16): local-media.uniformKeyframeTimes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 4, boolean chains 3, ternaries 1 (nesting depth added 3). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document/extractors/local-media.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa376861c6c3ceab3533bc8d786149913bea73bff44f79d7760ca59efb89179"}},{"ruleId":"D2","level":"warning","message":{"text":"RunCourseSceneSync.pass (cognitive 16): RunCourseSceneSync.pass has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4, error handling 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/generation-run-client/run-course.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5068a0e7b2a07b6dbf47396d2175b0e94bd973f5ebc2ee361c60881d5c0bffeb"}},{"ruleId":"D2","level":"warning","message":{"text":"use-import-classroom.rewriteImportedSlideMediaRefs.elements (cognitive 16): use-import-classroom.rewriteImportedSlideMediaRefs.elements has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 7, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/import/use-import-classroom.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e7d353dbc68dd75abf360451df412a54b66f7d69b9c77ed858cffa34fcea91"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.mergeStoredLedger (cognitive 16): ledger.mergeStoredLedger has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/ledger.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada96ed127fad6187627322cd53522c4862dfdeced6f7d47f33a8f82a84c0085"}},{"ruleId":"D2","level":"warning","message":{"text":"video-providers.normalizeVideoOptions (cognitive 16): video-providers.normalizeVideoOptions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/video-providers.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d50b0dd88e3d1cbe261ee296a2c8cebb36864f766a088489d5359e8280cec36"}},{"ruleId":"D2","level":"warning","message":{"text":"edit.wizardAssignments (cognitive 16): edit.wizardAssignments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, 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":"lib/model-settings/edit.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"207c24ac496d80b011271ed0f44474c7714330e69a16254800ed70260b5bd79f"}},{"ruleId":"D2","level":"warning","message":{"text":"whiteboard-ledger.getInitialWhiteboardElements (cognitive 16): whiteboard-ledger.getInitialWhiteboardElements has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 5 (6 pts), boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 41, 68). 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":"lib/orchestration/summarizers/whiteboard-ledger.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0769876620fce43f3a9a267f30c27770ac286dc189b210d9490f72ed7a62bc"}},{"ruleId":"D2","level":"warning","message":{"text":"whiteboard-ledger.applyCodeEdit (cognitive 16): whiteboard-ledger.applyCodeEdit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/orchestration/summarizers/whiteboard-ledger.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"05db429773d97380c03c5e84a468a52a8e4cafe868d69729b1d752d4ceab13cb"}},{"ruleId":"D2","level":"warning","message":{"text":"completion-stats.buildStageDetails (cognitive 16): completion-stats.buildStageDetails has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 7). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 436). 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":"lib/pbl/v2/operations/runtime/completion-stats.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e13bd8d3279f8cf6edcffaf4a1d8a139ca51758feb5837f44ed9affd298342"}},{"ruleId":"D2","level":"warning","message":{"text":"eval-prompts.buildFinalEvalPrompt (cognitive 16): eval-prompts.buildFinalEvalPrompt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/pbl/v2/operations/runtime/eval-prompts.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf243f1e529f1fa926c021ba159173cba5d29c2f4ef7cb2e46ce9a52c986150"}},{"ruleId":"D2","level":"warning","message":{"text":"simulator.buildSimulatorSystemPrompt (cognitive 16): simulator.buildSimulatorSystemPrompt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/simulator.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e02a2b4613ef637c044b4b5775d91e201037a319b0d2bab1a52722f1621677a"}},{"ruleId":"D2","level":"warning","message":{"text":"alidocmind-client.verifyAliDocMindCredentials (cognitive 16): alidocmind-client.verifyAliDocMindCredentials has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, ternaries 4 (6 pts), if/else 2 (3 pts), error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/alidocmind-client.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5f540301fdc49fa60e1f33178b32e89657dc39431fc8cbf76970c7c826e7fe"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf-providers.fetchAliDocMindImageAsBase64 (cognitive 16): pdf-providers.fetchAliDocMindImageAsBase64 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/pdf-providers.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9000d709ffd77e63475c30a0aacae02220ec0ca997b0920db8d0b11ff7b236"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleList.toggleList.\u003Creturned closure\u003E (cognitive 16): toggleList.toggleList.\u003Creturned closure\u003E has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (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":"lib/prosemirror/commands/toggleList.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c895ba34cc5ab339c898dd28d20621fbd8d03cbd79ca773ee1bfb4694d021a"}},{"ruleId":"D2","level":"warning","message":{"text":"skill-edit-tools.buildSkillEditTools (cognitive 16): skill-edit-tools.buildSkillEditTools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 3 (4 pts), boolean chains 3, error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/skill-edit-tools.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"507f6722067dec03363540f7aceebfdfc0db1c155467457044fb9837a355cb68"}},{"ruleId":"D2","level":"warning","message":{"text":"openmaic-yml.parseModelConfig (cognitive 16): openmaic-yml.parseModelConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/openmaic-yml.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fba3b9bfa63b57367a665af73aaf25598b683a7030937965bd80b6b7e5e671"}},{"ruleId":"D2","level":"warning","message":{"text":"model-authorization.deploymentAuthorizedModels (cognitive 16): model-authorization.deploymentAuthorizedModels has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 4). 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, split the body into named stages: move each independent step or branch into 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/server/model-config/model-authorization.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc35834096d863e862d2e2266b4de089f8905dfec3b0e4088e14af80b22d92c5"}},{"ruleId":"D2","level":"warning","message":{"text":"image-sizing.resolveImageSize (cognitive 16): image-sizing.resolveImageSize has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (7 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/image-sizing.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e3f64a492c6e5817d1f6b0dfd78186f5ffd2059c22ccd809fcc91a5f245ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"GuidedSkillReview.advance (cognitive 16): GuidedSkillReview.advance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/guided-review.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d079e2d21e3e21f8b2cb04246aa5e2f842975286dae0cb988a349a6c4c2d494d"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-config.resolveServerWebSearchProviderId (cognitive 16): provider-config.resolveServerWebSearchProviderId has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/provider-config.ts"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"563a7e717f6514b56251bc72abb972406f9d31164fd4542607d6dc4af9a368d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ssrf-guard.expandIPv6 (cognitive 16): ssrf-guard.expandIPv6 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 2 (4 pts), boolean chains 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":"lib/server/ssrf-guard.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9011679047b41755bf52aa89ad04445d090ec13c21ced727f5bd3cd652aa9a25"}},{"ruleId":"D2","level":"warning","message":{"text":"usage-storage.readUsageRecords (cognitive 16): usage-storage.readUsageRecords has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 3 (6 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/usage-storage.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24700b7d004b41ece011d5c2617a5700f7713a704c9d02ec7fc8413c8f42ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"media-library.firstLinkedImage (cognitive 16): media-library.firstLinkedImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/standalone-player/playback/media-library.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c06f4b9e2c4a1cdce6b62f0c5afce657a97a5f30517722e32f56979a45bc35"}},{"ruleId":"D2","level":"warning","message":{"text":"QuizScene.QuizScene (cognitive 16): QuizScene.QuizScene has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 7 (8 pts) (nesting depth added 1). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 124, 112). 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":"lib/standalone-player/scenes/QuizScene.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62aac8851ccb98f3e2768dcd116cdba76a5c5fb7260a624119ffd83addf8d31"}},{"ruleId":"D2","level":"warning","message":{"text":"index.planPblCover (cognitive 16): index.planPblCover has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 4, loops 1. Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (degrade). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/emit-hyperframes/index.ts"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86ba94bd33cbf423c317b7798c662946541f88a2777ba4c5e48062508a7e02a"}},{"ruleId":"D2","level":"warning","message":{"text":"deepseek.searchWithDeepSeek (cognitive 16): deepseek.searchWithDeepSeek has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 4, ternaries 3, error handling 1 (2 pts) (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/deepseek.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1e10833073b3b70e86dabed4e6eef61bd2c75e91d1b3af708106bd347debd7"}},{"ruleId":"D2","level":"warning","message":{"text":"session-store.compactReplayEvents (cognitive 16): session-store.compactReplayEvents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (flush). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/session-store.ts"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"c773511413505e942be421469b2a042a8cfd326439d5b5cf2eaa1fc45f6a0043"}},{"ruleId":"D2","level":"warning","message":{"text":"stage-freshness.mergeFetchedScenes (cognitive 16): stage-freshness.mergeFetchedScenes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/stage-freshness.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb9af6b5f2f1504ee5544dabd97de019c641bf9ab9098801c40933b7c952f12"}},{"ruleId":"D2","level":"warning","message":{"text":"material-library-client.materialOf (cognitive 16): material-library-client.materialOf has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 11, boolean chains 3, if/else 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":"lib/workbench/material-library-client.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4038d776c079c8bbd36e1b4efae279d6bf088f12fa77615c5a6fec11e495c1"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.checkInteractiveContent (cognitive 16): validate.checkInteractiveContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/dsl/src/validate.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d52952b835ace9f4d673d62f50c574270f3edf477b5d68ad319735d1248e5ae"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundInsertPicker.BackgroundInsertPicker (cognitive 16): BackgroundInsertPicker.BackgroundInsertPicker has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 5 (6 pts), boolean chains 4 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/@openmaic/editor/src/ui/insert/BackgroundInsertPicker.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"372c2661ff277339776bae9dd922d55b898f704bc8226b3a7a7394699e4a5b19"}},{"ruleId":"D2","level":"warning","message":{"text":"text.useTextEditorAdapter (cognitive 16): text.useTextEditorAdapter has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 5, boolean chains 1 (nesting depth added 2). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 60, 55, 56, \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/@openmaic/editor/src/ui/adapters/text.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaa7bf7ad3291081eebfbe942d3068946c0b82e67415f667640b09349dea997"}},{"ruleId":"D2","level":"warning","message":{"text":"scene-generator.buildPBLProjectSummary (cognitive 16): scene-generator.buildPBLProjectSummary has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 5 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"c009e27aa6d10fb122f1d452c347de719e005ec2f6a8fb70ecbcbadab8a5b53f"}},{"ruleId":"D2","level":"warning","message":{"text":"mtef.charLatex (cognitive 16): mtef.charLatex has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, loops 1, 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":"packages/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f8e9daadb98e59a362d490ec0d316896037dfd087c7260a3f0b2db586b2a6b"}},{"ruleId":"D2","level":"warning","message":{"text":"textSerializer.resolveThemeFont (cognitive 16): textSerializer.resolveThemeFont has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a978bd5150c5fad14adb1b1514555dca4d76eadb7af0906ac3a7640ed43711e"}},{"ruleId":"D2","level":"warning","message":{"text":"slideSerializer.parseTemplateShapes (cognitive 16): slideSerializer.parseTemplateShapes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, error handling 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/slideSerializer.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"938fd29e7922df2cadf6d83f9cdd2fd9d8f48702992bc5c1898059bfb788aed3"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetCollector.backfillChunk (cognitive 16): AssetCollector.backfillChunk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (5 pts), ternaries 2 (5 pts), error handling 2 (3 pts), loops 2 (3 pts) (nesting depth added 7). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 976). 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/@openmaic/storage/src/asset/collector.ts"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9003fa8ce0f9552e1374a587f536bb5133aa97469dcc45e38b90bdae80c8101"}},{"ruleId":"D2","level":"warning","message":{"text":"check-package-version-bumps.runDiffMode (cognitive 16): check-package-version-bumps.runDiffMode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check-package-version-bumps.mjs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1976af40e96b61fd5f239cd85a706a9cf7f41cdfdc741ff3725c0b54299f325"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-preview-activity.installPreviewReadiness (cognitive 16): sandbox-preview-activity.installPreviewReadiness has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function items inside it that branch (inspect, a function literal at line 209). 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":"scripts/sandbox-preview-activity.mjs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5924bc20f53929048b59cf9eef2dbf3066ea1002b5def5687a7cfa729dd5b2"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox-preview-gateway.resolve (cognitive 16): sandbox-preview-gateway.resolve has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (5 pts), ternaries 4 (5 pts), boolean chains 4, error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sandbox-preview-gateway.mjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fd8596e16ba753517d5f452ce7d3efe531b66efdc116f3b099ffdb8978589d"}},{"ruleId":"D2","level":"warning","message":{"text":"removeAndVerify (cognitive 16): removeAndVerify has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 3 (4 pts), other 3, error handling 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0bdad2f464ded40a8488b610dcc84a40c8fc3433292a2928bc151f36df8aa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-chat-sessions.useChatSessions: FunctionTooLong \u2014 useChatSessions runs 1109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1009 over it, 11.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/use-chat-sessions.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"759215b33742807b016497c069890bdbe80487974fbb28c2ad3fcd1b70627298"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace.PBLV3WorkspaceContent: FunctionTooLong \u2014 PBLV3WorkspaceContent runs 1037 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 937 over it, 10.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f35ff6c0227ff8b0cbb911eaee37906cb7212ad098e9117bb9142b3780654e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/presets.ts: FileTooLong \u2014 5121 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4621 over it, 10.24\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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"833e2b4679f3006153ce4c05f8d1214635ff94b45f5a82ee552145f81bb47e2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: engine.executeClaimedRun: FunctionTooLong \u2014 executeClaimedRun runs 1017 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 917 over it, 10.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/engine.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6de2907af7040171ea8d830226c9a45be2cd49f3819ccfabfd3a31b7080b50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceShell.WorkspaceShellController: FunctionTooLong \u2014 WorkspaceShellController runs 964 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 864 over it, 9.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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0740528440bf91f3521fbd9e8149a4ff7723378708ecba61ab481082ac4c8c17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MaterialLibraryPage.MaterialLibraryPage: FunctionTooLong \u2014 MaterialLibraryPage runs 948 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 848 over it, 9.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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"423c5c165b91715647311ea2a178b5256bad8df729a696860468ed7e9ad1ab2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner.executeSession: FunctionTooLong \u2014 executeSession runs 893 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 793 over it, 8.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":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aef8ada496e259c7eb0e4945db2258682881798be875474f2fb408df4d81b7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner-tools.teachingRunnerConfig: FunctionTooLong \u2014 teachingRunnerConfig runs 763 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 663 over it, 7.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runner-tools.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be5b61c438341d779b1869d74c008edafd7375acb6450ef49758b3b49571bb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkbenchChat.WorkbenchChat: FunctionTooLong \u2014 WorkbenchChat runs 761 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 661 over it, 7.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":"components/workbench/WorkbenchChat.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc6ad8eedd3f0b4e0cc6e9e681cb8eefc44646b27875dc4cfc6c5ec57f72f48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-presentation.presentTool: FunctionTooLong \u2014 presentTool runs 613 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 513 over it, 6.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/chat/tool-presentation.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf426f8cd24cce50de162d3b26e796fb5cdacd1b0e763b0d042de9ffb4a0e081"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-application-preview.useApplicationPreview: FunctionTooLong \u2014 useApplicationPreview runs 564 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 464 over it, 5.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/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89628e237aa921264ea0ecfba1e22c1017b7c53238f2c0894335af4f760c11b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-export-pptx.buildPptxBlob: FunctionTooLong \u2014 buildPptxBlob runs 560 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 460 over it, 5.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"1839487c31e31703638428ca7956d9ecc40db3f86a933395197f09b33ec02ba7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workbench-panel.LearningWorkbenchPanel: FunctionTooLong \u2014 LearningWorkbenchPanel runs 526 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 426 over it, 5.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c8b754d676ab9576e4dcab0014245782545f5b863026e3fc6e4cd48c92dc0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: project-report.ProjectReport: FunctionTooLong \u2014 ProjectReport runs 515 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 415 over it, 5.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/scene-renderers/pbl/v3/project-report.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"425737301996bd893357099072b2eee6db5989a8dd1fe1db8b6947c64b48ef6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-store.foldEvent: FunctionTooLong \u2014 foldEvent runs 491 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 391 over it, 4.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/session-store.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dc50eda9ca77911aa6fe3ae245e07939fa4df468a6e060b1f69fcf016c8262"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImageClipHandler.ImageClipHandler: FunctionTooLong \u2014 ImageClipHandler runs 479 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 379 over it, 4.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/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"93af8ff5024e97cb8a583ea5b8b27fa8527e1c185a03757fa84a43540a855409"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: textSerializer.renderTextBody: FunctionTooLong \u2014 renderTextBody runs 474 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 374 over it, 4.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd60857db4e1882bb2cbb2933b5864b3a907d9a3f1911f57897e6ce6762c3f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: token-plan-settings.TokenPlanSettings: FunctionTooLong \u2014 TokenPlanSettings runs 460 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 360 over it, 4.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/token-plan-settings.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8822dbdfa482722efbc4c6fc486ef1e10d78c5191caccfbc1ba2b3dd7e4de5f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: material-tools.buildMaterialTools: FunctionTooLong \u2014 buildMaterialTools runs 456 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 356 over it, 4.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/material-tools.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a3bd38f95229eed2a9613a8eb2a53fa6db4023540084dcaad71a0d6e8a947c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scene-sidebar.SceneSidebar: FunctionTooLong \u2014 SceneSidebar runs 451 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 351 over it, 4.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":"components/stage/scene-sidebar.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bb34a8d06fd3a5e5731693291f04546df696950b793565dc51433c14c5b7a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: report-share-image.renderReportShareImage: FunctionTooLong \u2014 renderReportShareImage runs 447 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 347 over it, 4.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":"lib/pbl/v3/report-share-image.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ec79dc423fced8fca2183ca6b04b8d56af1a1d897b403df5c0c9d074ddbe47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: report.buildLearningEvidence: FunctionTooLong \u2014 buildLearningEvidence runs 443 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 343 over it, 4.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":"lib/server/pbl-v3/report.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1a4beaefd1d55e00361a6b4a73a97d7669d864a10d9894e71d72621bebf8c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.GenerationPreviewContent: FunctionTooLong \u2014 GenerationPreviewContent runs 421 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 321 over it, 4.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/generation-preview/page.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f4d330f1c8d9c095f4fa6da033fcc3cd178a181aa1bcdc460992431b301ea6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: folder-card.FolderCard: FunctionTooLong \u2014 FolderCard runs 416 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 316 over it, 4.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/discovery/folder-card.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d864315853454d3191e25423c2204eb8a84efff4c6361301c4ab59daab92ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-map.ModelMap: FunctionTooLong \u2014 ModelMap runs 415 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 315 over it, 4.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/settings/models/model-map.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4c129586c56d7a98573d5d42bbbf6757a06fd1d2615843367bbca90d1a01fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useScaleElement.useScaleElement: FunctionTooLong \u2014 useScaleElement runs 409 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 309 over it, 4.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0c41fa6c069fe4690cbe2956dbe013f0ede064b4c83151999a976d0fa0aaaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/page.tsx: FileTooLong \u2014 1957 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1457 over it, 3.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d259e749a24fae1eab6ee2da85de711b889239fdb017497ca77306acaf26ff1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: roundtable/index.tsx: FileTooLong \u2014 1953 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1453 over it, 3.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c273ef64ace2a87d266a461025e5c83fca06a68c10d6885c4ae546d710dddf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai/providers.ts: FileTooLong \u2014 1950 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1450 over it, 3.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/providers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1a86a6db1a2552aa9d63854e4dfb92e9620cec7db908b59c628bf5ae9488b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-discussion-tts.useDiscussionTTS: FunctionTooLong \u2014 useDiscussionTTS runs 389 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 289 over it, 3.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/hooks/use-discussion-tts.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"13629ba7eaf0bad8891e3febece894052d02b7a65ee908b367e04d5450f2853e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: classroom-actions.buildChildActionTools: FunctionTooLong \u2014 buildChildActionTools runs 380 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 280 over it, 3.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/chat/pi/tools/classroom-actions.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfbf069167c2a55b160c64f047c21c4dbf241d4d9588b148e780f8a782808d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: planner.buildTools: FunctionTooLong \u2014 buildTools runs 380 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 280 over it, 3.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/pbl/v2/agents/planner.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a4755c8b76577e561b6f589ccd8ed022f59c499ec9d0c9d373a0298ad96211"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.commandStudy: FunctionTooLong \u2014 commandStudy runs 373 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 273 over it, 3.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":"lib/server/pbl-v3/runtime.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d75d998559e4e6ffd75d55a6d01818bdfdc698cd477f14e25d1a1623bdc844"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: submission.SubmissionModal: FunctionTooLong \u2014 SubmissionModal runs 372 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 272 over it, 3.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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e2d41723b5610426555e4670e269049afef83779b34be72028f4a8b08777fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tts-voice-managers.VoxCPMVoiceManager: FunctionTooLong \u2014 VoxCPMVoiceManager runs 371 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 271 over it, 3.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/tts-voice-managers.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"434467b055174d8ab058aae910663aeccb1172a1ef5f4a89231fa9aa01b1f69a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-material-library-tree.useMaterialLibraryTree: FunctionTooLong \u2014 useMaterialLibraryTree runs 366 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 266 over it, 3.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/workbench/use-material-library-tree.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9714f70207cf28b0e30f962b94cb5a5ac7f3795a6613e518b938223ccb8978a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: native-whiteboard.buildNativeWhiteboardTools: FunctionTooLong \u2014 buildNativeWhiteboardTools runs 358 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 258 over it, 3.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"23befca997b21e0971e2a8b190b75211581df7d31090df50acfecc7c45059312"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: call-agent.buildCallAgentTool: FunctionTooLong \u2014 buildCallAgentTool runs 353 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 253 over it, 3.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/chat/pi/tools/call-agent.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"7367ae3723e29bbc9d3eb2392de3f923608d0155215fa0dadf843984276d9ab8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/WorkspaceRail.tsx: FileTooLong \u2014 1735 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1235 over it, 3.47\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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1de2bf8b485f04b3f2c59f67d6e8480080e5eca8418bd1e8c0dea283e52d52d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-toolbar.CanvasToolbar: FunctionTooLong \u2014 CanvasToolbar runs 346 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 246 over it, 3.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/canvas/canvas-toolbar.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"025db560137b1a5091b6846e9cf20332306af31feb142103745f19657f5e9833"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: submission.PBLV2SubmissionPanel: FunctionTooLong \u2014 PBLV2SubmissionPanel runs 345 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 245 over it, 3.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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2dbe42abb2c4d07d2d9769fd474bed89d7f178ed664ba05b8dff8fae4041b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent-runtime/runner.ts: FileTooLong \u2014 1702 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1202 over it, 3.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8187f63562e637ce88950b09626d43f9d6525d14e4b44c488bdb6f5f15d511db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: generation-tools.buildGenerationTools: FunctionTooLong \u2014 buildGenerationTools runs 339 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 239 over it, 3.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/generation-tools.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ede0cf53d33f886bc161db3583a607b97f6c2c513876c3cab7280467edcc4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: application-preview.ApplicationPreviewContent: FunctionTooLong \u2014 ApplicationPreviewContent runs 336 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 236 over it, 3.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/scene-renderers/pbl/v3/application-preview.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaeb98a92ee6df5fe58303ffc0c9d5932f7f2118e4ea135219d6bc3a284fb7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quiz-view.QuizView: FunctionTooLong \u2014 QuizView runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.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":"components/scene-renderers/quiz-view.tsx"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea0b3c3bf7ad9eff809e37c0670a153147567de253a120d6adffcc4759f6d29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workbench-onboarding.WorkbenchOnboarding: FunctionTooLong \u2014 WorkbenchOnboarding runs 330 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 230 over it, 3.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/workbench-onboarding.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1d4ccf38b1bc3dda13d91678e04cd4f84e4769d0ccb4e6b860fb47865d9577"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: shapeSerializer.renderShape: FunctionTooLong \u2014 renderShape runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"776d8cf29dd8a97ed7153fd6d5f0774bd1ae53141ed3464d641025c7c173f4b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: call-agent.buildCallAgentTool.execute: FunctionTooLong \u2014 buildCallAgentTool.execute runs 312 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 212 over it, 3.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":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e6eaa9d23b1c1f06bccb70b7264c02e9bdbc1dddaf097d13ae6e86c7b03cf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: course-mention-menu.CourseMentionMenu: FunctionTooLong \u2014 CourseMentionMenu runs 309 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 209 over it, 3.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/course-mention-menu.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17aefcca5328c51609a1e923e41110d0a8484670fce97cd09967ede993e85f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: generation-toolbar.GenerationToolbar: FunctionTooLong \u2014 GenerationToolbar runs 307 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 207 over it, 3.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/generation-toolbar.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9caf18d946b7014a00758cabc71ac164f5d6950c53b4bfb7bd965c44122e455"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ElementPickLayer.ElementPickLayer: FunctionTooLong \u2014 ElementPickLayer runs 306 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 206 over it, 3.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efbe7311a0535e2e51f148e74e332e2789c54dd21730e9f0260487ae3de6858"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/MaterialLibraryPage.tsx: FileTooLong \u2014 1489 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: MaterialLibraryPage (735-1944). The bar is 500 significant lines; this is 989 over it, 2.98\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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa01e6917877da663007fdd13eacb0bf4091ab10c884d80d23ae4856df81ef1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/use-chat-sessions.ts: FileTooLong \u2014 1488 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: useChatSessions (517-2177). The bar is 500 significant lines; this is 988 over it, 2.98\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/use-chat-sessions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b199cbefe11ebff9f28b5f35621f01fc180a947b244958f5eeb8f735f358312b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: project-package.validateProjectPackage: FunctionTooLong \u2014 validateProjectPackage runs 297 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 197 over it, 2.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/project-package.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"509de50ea6b9d1dbe48d3577cd7f18098c6249c78734d879bbf214c6a292a40e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edit/PlaybackChromeRoot.tsx: FileTooLong \u2014 1480 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 980 over it, 2.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa91d42fe2562f2901ee8e611f3114cc354dd6d0cba90912be204cc36965241"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useScaleElement.useScaleElement.scaleElement: FunctionTooLong \u2014 useScaleElement.scaleElement runs 295 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 195 over it, 2.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fe0f860faa7d4b65d94d68846fb4fbc1186443e4602ca6bf7b98949e6e3a94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent-session/pg.ts: FileTooLong \u2014 1429 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: PgAgentSessionStore (504-1792). The bar is 500 significant lines; this is 929 over it, 2.86\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/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4372753ba3aaa377df76a33094ccb4763652ab52090457945ad4c20f47c1af0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: curriculum-tools.buildCurriculumTools: FunctionTooLong \u2014 buildCurriculumTools runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/server/agent-runtime/curriculum-tools.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1610cd80495857692d085ee13f5d69020577052d0e0ead27260f240189b1af35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-audio-recorder.useAudioRecorder: FunctionTooLong \u2014 useAudioRecorder runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/use-audio-recorder.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6bedb8a3098c629f91fe361fa82a7de0f2d0f24d91efb57492d9813f44c765"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chartOption.getChartOption: FunctionTooLong \u2014 getChartOption runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.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":"packages/@openmaic/renderer/src/elements/chart/chartOption.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d470e848ebf82760823074d248f2b7bf07d8b0e360308c0c124cc73d3d64ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-bar.AgentBar: FunctionTooLong \u2014 AgentBar runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/agent/agent-bar.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b08e7b90bcf7bd07677d142595628d7215576de94b90e6d8103937a2cec2a9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: classroom-complete.ClassroomCompletePage: FunctionTooLong \u2014 ClassroomCompletePage runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/classroom-complete.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f33a9c0e530e790428be2a30ba2f9fef0015a9b999a0d9c61d71aba0fb4ffb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: presets.buildCircularArrowPath: FunctionTooLong \u2014 buildCircularArrowPath runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.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":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a962aa1d9cb7dc3e9d52bf61abc808b86ac1fc3f7ad54085b9724535879b6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: outlines-editor.OutlinesEditor: FunctionTooLong \u2014 OutlinesEditor runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.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":"components/generation/outlines-editor.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb2ea3051dae7fe3c195d7ad2d143a2a087c8353b6b7698fae0f66c889e5bcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-canvas-operations.useCanvasOperations: FunctionTooLong \u2014 useCanvasOperations runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.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":"lib/hooks/use-canvas-operations.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97b850037705a9e5b4f015163863f1bba89fa3ca69b237765450727f5a2b7a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseCodeElement.BaseCodeElement: FunctionTooLong \u2014 BaseCodeElement runs 259 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8054bc080f708246038352018963b8d6059017a8a2c9a0ab44a30a5a5b91ded"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chartOption.getChartOption: FunctionTooLong \u2014 getChartOption runs 258 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"914d9c4498709aec1bc9ad7ede9237d6e3b742ddc0a0427e743394296ef4413f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: providers.getModel: FunctionTooLong \u2014 getModel runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/providers.ts"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"683d1edd4c4e0611705740f68c300d5a2734b3fc7f21191323b0fc3b2922db2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-area.CanvasArea: FunctionTooLong \u2014 CanvasArea runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/canvas-area.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"657d55ace266e4f61391f9159b807a10631e5e4af602a6b96acfe927aba0f68b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuestionCard.QuestionCard: FunctionTooLong \u2014 QuestionCard runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/quiz/QuestionCard.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daca3f84d68a1b49be3ce740ffcf9d1540d65e66c6bcf0f82a16279f05a8b88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/engine.ts: FileTooLong \u2014 1266 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: executeClaimedRun (400-1879). The bar is 500 significant lines; this is 766 over it, 2.53\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":"lib/server/generation/run/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b7f0d25c7426c2a911bbe529ce5f87d1aab131a5e6d4e52694ccb5b39c8cf3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Canvas: FunctionTooLong \u2014 Canvas runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/slide-renderer/Editor/Canvas/index.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd1dd4f024afaa417bbc8f575d8b5cdfe7dea370d586d783edde9058703d5f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/standalone-player/App.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf9ad423ae74deab00fbe01ccbda79bc5aab6e435e40f8d52a0c911484cb40e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generation/outlines-editor.tsx: 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":"components/generation/outlines-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1671c0997a9e1b2a3ae70eda3a44550fe088f225dc284b564ac28ad9450992fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serializer/textSerializer.ts: FileTooLong \u2014 1243 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 743 over it, 2.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb253b53ee90977a28a3ff7fb5c8808d746fb5c0830dca458ec656cf0e9bb8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/scene-generator.ts: FileTooLong \u2014 1237 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 737 over it, 2.47\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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd5b90911c5cd180a835fa345027de06a531414ca94b1dbaa7b86417e0d29dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pi/element-reference.ts: FileTooLong \u2014 1234 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 734 over it, 2.47\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/chat/pi/element-reference.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d6330828a9d323e6f2921e5c8f649c9566fece5a9ca0847ed3cb326bf8700a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PgAgentSessionStore: ClassTooLong \u2014 968 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 568 over it, 2.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5428707c3eb473f92c700c187e24478b7a2387bb1a7593e7dddf164dab7c4cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseCodeElement.BaseCodeElement: FunctionTooLong \u2014 BaseCodeElement 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":"components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8c2edc98ba99d4c7a521a2d05c1678cafde2aa87e0438dc197365b4632a4ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: instructor.runInstructorTurn: FunctionTooLong \u2014 runInstructorTurn 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":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a8a195e35b297f64e7a03edf696cbf0855ba0251039d4ec5b574bec38a1df7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tts-voice-managers.QwenVoiceCloneManager: FunctionTooLong \u2014 QwenVoiceCloneManager runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/tts-voice-managers.tsx"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"69237d354b794a017c5a5bff159e2cb3c1fcdc0d1b929b396191e28f2cda2ae3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TextFormatToolbar.TextFormatToolbar: FunctionTooLong \u2014 TextFormatToolbar runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9aea5aab50f489e46c5e52db301816fa4ebd23c93034241365dc3c1cdd773d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lifecycle.maintainStudy: FunctionTooLong \u2014 maintainStudy runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/lifecycle.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd25d8efa6fd85e96483ec8744d7f172254d28e19759aca96789da78bda772c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/WorkspaceShell.tsx: FileTooLong \u2014 1193 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: WorkspaceShellController (187-1855). The bar is 500 significant lines; this is 693 over it, 2.39\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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67194a5e051a259cd402f289817ed2cfa962b63d898d755a0b266ca90f22ec14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: element-reference.projectElement: FunctionTooLong \u2014 projectElement runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/element-reference.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3ff09d9ae76eb6b71b1b8acd05c15698d634ceb9722890632f1eb50498c604"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MaterialLibraryPage: ClassTooLong \u2014 948 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 548 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bed8cd8319193d92b8f00e1485194867e6b839960fbb541361a7ce68cdf60f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace.PBLV2Workspace: FunctionTooLong \u2014 PBLV2Workspace runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/workspace.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b580a879e44a19c725e864aef429157d1f236715f4bb39aa935e80e06deb1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workbench/session-store.ts: FileTooLong \u2014 1169 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 669 over it, 2.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/session-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"324b61f4bd4afa66341c9a7190f8df24fc35019857b31c75219166ba317782fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.createApp: FunctionTooLong \u2014 createApp runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/main.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b8690d74c0a36c187591e73cd07b81fa98a3f2913839e0a9c44c48c366305f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/instructor.ts: FileTooLong \u2014 1153 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 653 over it, 2.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11305236f810703ba8560e6907e61817e93c0373ad383275c6bc4d2d606d54ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: audio/constants.ts: FileTooLong \u2014 1140 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: TTS_PROVIDERS (176-1356). The bar is 500 significant lines; this is 640 over it, 2.28\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ab3f4f95dd77e4e88ea5302240d13305b9c0d37b02128c5b0022e79314fb1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: route.chat: FunctionTooLong \u2014 chat 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":"app/api/chat/pi/route.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7409322c9654dc3a36ea05e8dd64242bb071d2fe6e8e2d998fa34f4da6a933ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ElementInteractionLayer.ElementInteractionTarget: FunctionTooLong \u2014 ElementInteractionTarget 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":"packages/@openmaic/editor/src/react/layers/ElementInteractionLayer.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89bb0d1bc7984e1a4dd77fe8f7b54253f96d7834156ede9068ee34a29c87835"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: import-pipeline/transformParsedToSlides.ts: FileTooLong \u2014 1136 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 636 over it, 2.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ceac9733e8b81378efed1687a6845c3d1135753f35c5a65acfc0961a3476c2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ActionsBar/ActionsBar.tsx: FileTooLong \u2014 1122 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 622 over it, 2.24\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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"773317472453cf020042d7b3d027c19d6f5ff731cd60d84c72fc0180b1210248"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation.projectConversation: FunctionTooLong \u2014 projectConversation runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.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":"lib/server/pbl-v3/conversation.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7215b38be428cda0f79c4509115152c4ccbf28898acd063fbca523a13ddb5ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pbl-v3/runtime.ts: FileTooLong \u2014 1116 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 616 over it, 2.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6cfbbd90825db3d8081fb38c2f0e7a72a9737634b4dddd6548d7ed39402f09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dsl-tools.buildDslCourseTools: FunctionTooLong \u2014 buildDslCourseTools runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"8899b540ef9dc29eefa4222b02e410a881fae0d786cf84e963acf1aaac819bf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/store.ts: FileTooLong \u2014 1108 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 608 over it, 2.22\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/server/generation/run/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f54255787a9739513345b5fbfad48029c5426d8c9dccf06150ab55c247f5f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-picker.ModelPicker: FunctionTooLong \u2014 ModelPicker runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/model-picker.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efd82459d63e7f02a8be0c2390858497ed6681cbd28a4a35d2e411fa6bfc9d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v3/workspace.tsx: FileTooLong \u2014 1103 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: PBLV3WorkspaceContent (65-1250). The bar is 500 significant lines; this is 603 over it, 2.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"048274a1c2c7a4f127ff7976a7df2759735100d75f17785f6f70df4c6b0edbc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-bar.AgentVoicePill: FunctionTooLong \u2014 AgentVoicePill 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/agent/agent-bar.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a759fd3e374e2143aa3f7361ca40caf674060f09b329a8de591aecbddef0d31d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prompt-input.PromptInput: FunctionTooLong \u2014 PromptInput 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/ai-elements/prompt-input.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23bd76d1f9c678cc6e3fcf7c1d964b68c96b1eba33a9fd1375da14038797979"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: director-loop.runPiDirectorLoop: FunctionTooLong \u2014 runPiDirectorLoop 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":"lib/chat/pi/director-loop.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bb269e59c19e35e2f831f78be0b2ab70d80de0d612a20be584f9b28c1c29f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ClassroomSurface.ClassroomSurfaceContent: FunctionTooLong \u2014 ClassroomSurfaceContent 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/classroom/ClassroomSurface.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6692b5b29382abf9b3c70c2655e3986c42c027170d7db6f7f7c629f71e24a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: outlines-editor.SceneRow: FunctionTooLong \u2014 SceneRow 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/generation/outlines-editor.tsx"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"9099b4ac2d862236934f5d496e89244323e2a76eb28a5e1086d5a26de4a4d579"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: export/use-export-pptx.ts: FileTooLong \u2014 1080 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 580 over it, 2.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6717264a464824e86769964781b57a92f387660c61603f8e3e9dd4d910dc3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/chat.tsx: FileTooLong \u2014 1078 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 578 over it, 2.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2c8b1d29fc9827a6e8f9f476d3b7f5064693b805ae78aa89f6d3ad5da112a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/submission.tsx: FileTooLong \u2014 1060 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 560 over it, 2.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eece2a2461c3b7572d5bea6e3797e57f1152f27cdde0db6ed21005f5a085c20c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import-pptx.buildImportPptxTool: FunctionTooLong \u2014 buildImportPptxTool runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/import-pptx.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd5fbc6e456f6fd0c0878a39faeaf14d279644146af380cf40d10d8d35e4607"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: project-hero.ProjectHero: FunctionTooLong \u2014 ProjectHero runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/project-hero.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd587a6497522e70e8937be324e687e9252cc604c3493de81b354b3f35c8732a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InteractiveIframeHost.PooledIframe: FunctionTooLong \u2014 PooledIframe 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/scene-renderers/InteractiveIframeHost.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfc8dd61fb9bbb174f14469c286ffa9263fc020afae9ef37e3c9864e47c5a79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-settings.planModelSettingsImport: FunctionTooLong \u2014 planModelSettingsImport 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":"lib/legacy-browser-import/model-settings.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb5c4afea3da5a79422391bcafef3130d605ef92f4ec947e1889ebfe1937a2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: route.GET: FunctionTooLong \u2014 GET runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/owner-events/route.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf7e2dca1b9a2b7e6ea4df4a5175e31843db76c8e09fe4e52e64680bf8931c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useDragElement.useDragElement: FunctionTooLong \u2014 useDragElement runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e0438ff35e8202d95a0770f37453d1ae66e49dc3ff5fa2b168a8efea139549"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: document/pg.ts: FileTooLong \u2014 1024 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 524 over it, 2.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/pg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e849fa30aa894ca2704b02f364aa6b44c59de92b1443d80c81fa7c1f5d781661"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.route: FunctionTooLong \u2014 route runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.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/@openmaic/storage/src/server/index.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adfb89a82a4b7b6c31e47a01bad9862390d098db0c04ad3e1f18888c98055d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-bar.TeacherVoicePill: FunctionTooLong \u2014 TeacherVoicePill runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/agent/agent-bar.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"336676c7ca56da83e3c5af7d66dce83dfe18610841bf969c2985d79201e2f66a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sandbox-settings.SandboxSettings: FunctionTooLong \u2014 SandboxSettings runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/sandbox-settings.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba44176df09ea2a06ed6d9761fa0e3d664e5249afd78dd6d6e455df3339639fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.SettingsDialog: FunctionTooLong \u2014 SettingsDialog runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/index.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e8763aea05d87d2b7fea03462938b1b888f6783b019fd675a51fa82919521e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stage-api-element.createElementAPI: FunctionTooLong \u2014 createElementAPI runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/api/stage-api-element.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"229d808cad87032de5fa3d8714a0d205c531bca1764b56cbd882e1f7a2a68913"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-course-materials.useCourseMaterials: FunctionTooLong \u2014 useCourseMaterials runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/generation-run-client/use-course-materials.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26b6ab9ffc5d3de0cbb9e6583fa430bebaec9e413a4ed4233d57606f3904cfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: route.POST: FunctionTooLong \u2014 POST runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/materials/route.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bfda8e888eb1ec34d6df10eccb50047bf72a6a5806fea375f96d47df488a86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slide-element-pick-overlay.ElementPickOverlay: FunctionTooLong \u2014 ElementPickOverlay runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/slide-element-pick-overlay.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3fbcd8f2b347e5861fe7ab4d635f90a57dfe82ba013c78224da42b746cb135"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: material-library-tools.buildMaterialLibraryTools: FunctionTooLong \u2014 buildMaterialLibraryTools runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/server/agent-runtime/material-library-tools.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0caaccdc6f146c147729210f6981140e298d4c5b22c2fe6bd8f4a6013f38a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent-runtime/dsl-tools.ts: FileTooLong \u2014 963 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 463 over it, 1.93\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/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6f0c86f3dc5a3b3cf9ed98aa6f4b63eb1ddabd47978a2aab229fb5319c1d59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ShapeElement: FunctionTooLong \u2014 ShapeElement runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a20ffbd95b9be6ad824aaa0862876b36bfc4aa48d87f95ab5dd326fff808bcd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkbenchChat: ClassTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 361 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/WorkbenchChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6acaf31b3aa02e50742a880c799ec224f3eb52bc21932d93d1ecdd3f2b2c0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: teaching-prompt.buildTeachingPrompt: FunctionTooLong \u2014 buildTeachingPrompt runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/teaching-prompt.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b582e160aac5b6423d504a76983a45bc850354c54b953d69136fc7b4f9b489"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/chat-storage.ts: FileTooLong \u2014 944 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 444 over it, 1.89\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/utils/chat-storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2e12a67dade42585b1f7abd25556b0a5c55757e80d8d1be458c6af26bb5649"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-services.ModelServicesPanel: FunctionTooLong \u2014 ModelServicesPanel 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":"components/settings/model-services.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6917d041233f6fa203eff9f5a3390c7f9e7741283404073c72f4449dccff2bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Whiteboard: FunctionTooLong \u2014 Whiteboard 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":"components/whiteboard/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2378a2d868c8eabaf1aa758f0f643ba0bb536c5bb6e7565e9dc4dd744c8ea9ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import-pptx.buildImportPptxTool.execute: FunctionTooLong \u2014 buildImportPptxTool.execute 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":"lib/server/agent-runtime/import-pptx.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6152f0f85c38751200824c079ed1d8c9ff88cddef88c89339481637e7f2a479"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LineFormatToolbar.LineFormatToolbar: FunctionTooLong \u2014 LineFormatToolbar runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/line/LineFormatToolbar.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4257317876d63b5e03e45d0d34a49def4f0654ae8d5e4d00758b18e9b3f51c66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: audio/tts-providers.ts: FileTooLong \u2014 934 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 434 over it, 1.87\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/audio/tts-providers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0694eb6a7c17aeff8509bfda790f6474e24f16ee48b725665f17d35558e43d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: emit-hyperframes/index.ts: FileTooLong \u2014 931 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 431 over it, 1.86\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/video-export/emit-hyperframes/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5e74dcade519026352d10e38ad041f113dfc8100fe9eac5bf2d74da423e377"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pbl-v3/runner-tools.ts: FileTooLong \u2014 921 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: teachingRunnerConfig (67-1011). The bar is 500 significant lines; this is 421 over it, 1.84\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":"lib/server/pbl-v3/runner-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7019a36304008b5b7d2d03edaa23b23318e441cf57a743d3338c3141d009bbc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-session.ChatSessionComponent: FunctionTooLong \u2014 ChatSessionComponent runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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-session.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2931313fcdb1fd656ef755a097273378b2c77856dcd5dc626fb720ba99b846"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lecture-notes-view.LectureNotesView: FunctionTooLong \u2014 LectureNotesView runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/lecture-notes-view.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f34adb368fe4ca018e849d9b0ae83910c628b044e08beac7a2134b1ba0a21c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: material-analysis.analyzeMaterial: FunctionTooLong \u2014 analyzeMaterial runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/server/generation/steps/material-analysis.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b734241c803d0f2937e432fb79481957219d97d0fce70001ee8434190fc71a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene-renderers/quiz-view.tsx: FileTooLong \u2014 916 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 416 over it, 1.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/quiz-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4997687d05a349c9f9f2435d85259c9f8da21f403cfa87ea47bb06e5c962c25e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/native-whiteboard.ts: FileTooLong \u2014 915 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 415 over it, 1.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda4b0631ee92052e6c468ca3fe8a77b730b92f599e156bec242e4b82578d1a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stage-api-canvas.createCanvasAPI: FunctionTooLong \u2014 createCanvasAPI 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":"lib/api/stage-api-canvas.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfe7258b75397159df86d731f509ba6f2d27a3296e482dabfdbda5fd2bd9e0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useDragLineElement.useDragLineElement: FunctionTooLong \u2014 useDragLineElement runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/slide-renderer/Editor/Canvas/hooks/useDragLineElement.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80ffc6d85ef31de0298fa0150acb9776b5b6699921954a6afe0876efd562fd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: serializer/shapeSerializer.ts: FileTooLong \u2014 906 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 406 over it, 1.81\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/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff49fd7dbaccc058ec22953f0f4f2c1a7a45073d72bd45e1c0bc24806c2d6501"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: task-dock.TaskDock: FunctionTooLong \u2014 TaskDock runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/task-dock.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c408dc6f31615ba37e4fa0a3ec7e959338ba1bf815a00127bb330d41097382a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-reveal-card.AgentRevealCard: FunctionTooLong \u2014 AgentRevealCard 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/agent/agent-reveal-card.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dd08def0bd409f8f796e2856d0ac82c624e6eda01dc0ab2be09ee82612e29f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useDragElement.useDragElement.dragElement: FunctionTooLong \u2014 useDragElement.dragElement 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/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c161c2350d400b1483b68cbce944347176abdc016b06456f5a9141d3e5f79f02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/stage.ts: FileTooLong \u2014 893 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 393 over it, 1.79\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/store/stage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07605b912affb5933f8b2db1202314ca8b4717b394b1eb8ba1fb7a37a537d4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditableElement.EditableElement: FunctionTooLong \u2014 EditableElement runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/slide-renderer/Editor/Canvas/EditableElement.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e2a1be543f3d2f4e56054f158815b932307592e8567cde5b45ff298e3f25f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-tree-drag.useTreeDrag: FunctionTooLong \u2014 useTreeDrag runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/workbench/workspace/use-tree-drag.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5623926efac12b4abfd2288a604215032bb0eb472e81588233a6c4dc3870b0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workbench.workbenchCommand: FunctionTooLong \u2014 workbenchCommand runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/server/pbl-v3/workbench.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c15f04d214d247b8df85ecc1cc608e34626181f380a3697a089fc70aa519e2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: persistence/owner-materials.ts: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 380 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/owner-materials.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1095f61a34210cd6ea872610074d1e8a794e40779323aa248df8893e785614b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-import-classroom.useImportClassroom: FunctionTooLong \u2014 useImportClassroom runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/import/use-import-classroom.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7ad1b7922f7c27b808aef198c91d4ca2b84720b2ea7d3f87dcd5f7afc5cd95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RendererTextEditor.RendererTextEditor: FunctionTooLong \u2014 RendererTextEditor runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/text/RendererTextEditor.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ef564ae9c542f386dbcab711e237c522d315e7f4ce8e07f080476040bc08d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CanvasContextMenu.CanvasContextMenu: FunctionTooLong \u2014 CanvasContextMenu runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/context/CanvasContextMenu.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af5ca30a5744ba0eed932d85f1d8001b33b477f1bc149af9d2bb20a578e625d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-picker.InlineThinkingControl: FunctionTooLong \u2014 InlineThinkingControl runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/model-picker.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"791357db45364b63670dde9d6c4f8223c4ddb77a4fe3e1915cdd5c386dd00747"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: presets.multiPathPresets.set(\u0022ribbon\u0022): FunctionTooLong \u2014 multiPathPresets.set(\u0022ribbon\u0022) runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5812}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ab8f592dfe962e9cc93f9fdbcc3b41370fa768ca55ef186e235a0fd36836c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: proactive-card.ProactiveCard: FunctionTooLong \u2014 ProactiveCard runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/proactive-card.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"614b99a787d3a7d074e4b20de259c0af2031596357bc49a61dd26b8426fd68cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stream-fn.pump: FunctionTooLong \u2014 pump runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/agent/runtime/stream-fn.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8185fa43ace855401b12c08f040a192a1f79501db15ae6ab730721d8ceb8e4a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-clone-tools.buildVoiceCloneTools: FunctionTooLong \u2014 buildVoiceCloneTools 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":"lib/server/agent-runtime/voice-clone-tools.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ca262f3470fc5fe9d1074cd08932cb4c2667d6f1c8d6f72ffd0782cda70161"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-storage.syncOne: FunctionTooLong \u2014 syncOne 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":"lib/utils/chat-storage.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db6bc778b94967baeb1e412c7df9178432d75f7378d86ba9496a596d3a6eb41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: presets.multiPathPresets.set(\u0022ribbon2\u0022): FunctionTooLong \u2014 multiPathPresets.set(\u0022ribbon2\u0022) 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":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6003}}}],"partialFingerprints":{"codehealthFindingId/v1":"757c863951a56b2f2d92ab9d0fd5906fea37f6297a18714603d65a795f1746bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resize.computeResize: FunctionTooLong \u2014 computeResize runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/core/resize.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac17279dd151c8a9a3b1befadb02b8732bd1c188ae3eac1e7a0060f3ced37020"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workbench/WorkbenchChat.tsx: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: WorkbenchChat (123-1395). The bar is 500 significant lines; this is 355 over it, 1.71\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/workbench/WorkbenchChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f7bdda125372143d275db6982f6611ddd09e561209e493b75a9f1fe29f8ab9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LegacyBrowserDatabase.constructor: MethodTooLong \u2014 constructor runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-storage/schema.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7ad2aa38320d51ea40d2730aa6f12b15ea91b8f90e7dfbf3230084e68b9012"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: question-form.QuestionForm: FunctionTooLong \u2014 QuestionForm runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/chat/question-form.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05d1d0124fde36f4f2671450c051936cce51b8a40bdb9a43412e9420069f4ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai-elements/prompt-input.tsx: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 346 over it, 1.69\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/ai-elements/prompt-input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfce0e2b1d8cdf8c6b49344c71b58d9a5ec91dceb8d3d2a33e12f70c55daa9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: timeline-deps.createVideoTimelineDeps: FunctionTooLong \u2014 createVideoTimelineDeps 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":"lib/video-export-app/timeline-deps.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7658b4a37bf4017744e3af84ac594dbb4b19c48d32ff22b324ca2596385b1a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ImageElement: FunctionTooLong \u2014 ImageElement runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ImageElement/index.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f12bf1e0a4b9eeff50c72f2a82f369ca1d6abaced044fc79feb7d33e395f44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/stage-storage.ts: FileTooLong \u2014 838 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 338 over it, 1.68\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/utils/stage-storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6118ba9781f21c442ce25daaffd4ad4597ab80e8d65eb5572aa8be007add66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent-runtime/material-tools.ts: FileTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 335 over it, 1.67\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/server/agent-runtime/material-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabdb8ab5e42a879306f488d69fe6d1530c8fe895aea34f46c157fa97e361367"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-profiles.generateAgentProfiles: FunctionTooLong \u2014 generateAgentProfiles runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/agent-profiles.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff1d073acc65e7e0c0aef4c9a4376979e3cc6b07ddc604e54f6367432e30c15"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: outlines-editor.PblConfigDisclosure: FunctionTooLong \u2014 PblConfigDisclosure runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/generation/outlines-editor.tsx"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceaa42ff772238ee3b91a150b0b74f93abe764e3ee82882ef653acd2714a1ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useDragLineElement.useDragLineElement.dragLineElement: FunctionTooLong \u2014 useDragLineElement.dragLineElement runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/slide-renderer/Editor/Canvas/hooks/useDragLineElement.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18dd1e43415d9fcc01657e3d2282d23e728a6a375efb950050d42f7f447b531"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: video-render.useVideoRenderStore: FunctionTooLong \u2014 useVideoRenderStore runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/store/video-render.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61968bf5a43a237badc2d6591ffa3a8dd97bf7528a9080852d49d38d3a7a4f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: access-code-modal.AccessCodeModal: FunctionTooLong \u2014 AccessCodeModal runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/access-code-modal.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"00166332d1bb6792d1d6d76a09f85765d1c370d086a55772da6a1d0b16d50547"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: presentation-speech-overlay.PresentationBubbleCard: FunctionTooLong \u2014 PresentationBubbleCard runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4714f8dce0e26e62d7463e79bbc1fae03be459dbd84ccab31297ecb0a45f4361"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: application.applicationRequest: FunctionTooLong \u2014 applicationRequest runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/application.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd04062d500ab45b6ef02e1e0ab2638a108dc6a9f34444cb2c0626a20738467"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-import-classroom.useImportClassroom.handleFileChange: FunctionTooLong \u2014 useImportClassroom.handleFileChange 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":"lib/import/use-import-classroom.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"2665040e57253bcfcd56394299077b613aed89da76351d319c43f349e508db79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: simulator.runSimulatorTurn: FunctionTooLong \u2014 runSimulatorTurn 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":"lib/pbl/v2/agents/simulator.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f9d579c0b9cd12ec4f666a2d1523b64957cfdbd6848c0ce92154012c11460c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resource-systemd-runner.runResourceTask: FunctionTooLong \u2014 runResourceTask 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":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"2972d9a4ae6296783fd277b484f41bdddf5eb99ad8faed1081e0fd0346e46f3c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PgAgentSessionStore: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b4c9a9a341692cfcccc37e83e61a492f877a797952f70a861c1db75e229950"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: route.POST: FunctionTooLong \u2014 POST runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/generate/voice/route.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b1a004a4b10c7381712874ffb4c367daa18593e61c4b2e67da003a853af6d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.TextElement: FunctionTooLong \u2014 TextElement runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/TextElement/index.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1177ca7d9c45c27876242d16e70b39e9f041986f34714b13788984f4fb2b2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: instrumentation.register: FunctionTooLong \u2014 register runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"instrumentation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73235f2b076ac4e09718f6242f58d264219c1f14e1936134d69803d4f096013"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: outline.streamOutlines: FunctionTooLong \u2014 streamOutlines runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/outline.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f11c119bd42def72ebeb69843b77d302e92460651a69046dedb3dd88820d82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: compose-extras.SkillSlashMenu: FunctionTooLong \u2014 SkillSlashMenu runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/compose-extras.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af498e2b2ccdedacbfd29b957ecd2daf4638f8be77528060c2a2c266edd6e08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: route.GET: FunctionTooLong \u2014 GET runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/sessions/[id]/events/route.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a5a57210876bbadf163beb89ed8c5abed7c935297b5a93bd547fcdc9e95037"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scenario-stage.ScenarioStage: FunctionTooLong \u2014 ScenarioStage runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/scene-stage/scenario-stage.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"db59d244a9962d446980d2008e5ef1a5e6eac58cf1f43ed0d06e114f48999a95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: project-entry.PBLV3Container: FunctionTooLong \u2014 PBLV3Container runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/project-entry.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadd75578db6598fbe5282d038f0b103603f38f56b7d5aab1109e233e823d055"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: personal-history-tools.buildPersonalHistoryTools: FunctionTooLong \u2014 buildPersonalHistoryTools runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/personal-history-tools.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"234e9cfb9b51197455cf140f1f808f7b06b3d3c1ea8c4675e2b9ee0ca88d7653"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useEditGesture.useEditGesture: FunctionTooLong \u2014 useEditGesture runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useEditGesture.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4dba601e6984fa23127c9f868aee25233a96d54467f2a5d695561238810028"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InProcessExecutor.execute: MethodTooLong \u2014 execute runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/render-executor.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf62de2a07b1aef99830558adf3b418903ded5dab8cdb137cfa8ee8be2014880"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: video-export-dialog.VideoExportDialog: FunctionTooLong \u2014 VideoExportDialog runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/video-export-dialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0b146be543d614631646fe299921bcf341c4b1a40b044c7737cba65a061794"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generation/step-visualizers.tsx: FileTooLong \u2014 777 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 277 over it, 1.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/step-visualizers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68a2192ce26b75176288b26f291c60a26a9e12f857bf09ff4cdfdb44e55683b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scene-content.generateSceneContent: FunctionTooLong \u2014 generateSceneContent runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/scene-content.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"70de07fe8f3eb3080eab00ce60e611bd07ce7568135157375b0b1546fe005d18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AudioToolbarOverlay.AudioToolbarOverlay: FunctionTooLong \u2014 AudioToolbarOverlay runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"64295af4b2bccaabd28881ea7705372ebbf385eb81ca18a3702f6749f0c45941"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SlideCanvas.SlideCanvas: FunctionTooLong \u2014 SlideCanvas runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/SlideCanvas.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d0b85a7b247876392b4ce3b163d4747dca6ac6c8eeb54b813e69f133fa971a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: asset/pg.ts: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: PgAssetStore (482-1555). The bar is 500 significant lines; this is 267 over it, 1.53\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/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f6f8542aba7437b78d6fff0587359181719263bc5269c0a3d7bac484d3bc70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseVideoElement.BaseVideoElement: FunctionTooLong \u2014 BaseVideoElement runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9ee684944d44828e86556a2bad77335f747bb168229cd451f7b28e5f727189"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/call-agent.ts: FileTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 255 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd189cd44a1f42d4b157a11d92528de6f07b935170b5e1871e4fa96cb342aa3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceCourseTabs.WorkspaceCourseTabs: FunctionTooLong \u2014 WorkspaceCourseTabs 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":"components/workbench/workspace/WorkspaceCourseTabs.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f997ffdff5e339b65dd933086479ad363b5c541ca0a2b044d1a48b410a2c13da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: document-image-plan.imagePlan: FunctionTooLong \u2014 imagePlan 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":"lib/server/material-extraction/document-image-plan.mjs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5170bc44c0a4ad8323dc3063ad95082b865e7efa58517de1dddac56ee6419c9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/tool-presentation.ts: FileTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: presentTool (286-1142). The bar is 500 significant lines; this is 252 over it, 1.50\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/workbench/chat/tool-presentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79ae3e570c3e9e4b56241aed579c49f8e74e8f767680b5bfcc3d8e5ecd8b3a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VideoToolbarOverlay.VideoToolbarOverlay: FunctionTooLong \u2014 VideoToolbarOverlay 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/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73d946736fa3d258910b3b0ca693e847af973f8c5431b469687d4373878be36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: presets.multiPathPresets.set(\u0022verticalscroll\u0022): FunctionTooLong \u2014 multiPathPresets.set(\u0022verticalscroll\u0022) runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb6f396cbb48d63fb094478f5443bc5ff2355b4cf481b135a67d421330f6d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/tts-voice-managers.tsx: FileTooLong \u2014 743 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 243 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/tts-voice-managers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecc01bf8ddc1ea5dc87b9e5879f04087a3d3f8a4303980c4400babd41eaf17d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/agent-bar.tsx: FileTooLong \u2014 742 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 242 over it, 1.48\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/agent/agent-bar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab19e2db9856b6f591bc26d183cb89e2b11d88a6b4d20db62837fbac7357b95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sandbox-preview-gateway.server: FunctionTooLong \u2014 server runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.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":"scripts/sandbox-preview-gateway.mjs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cb83bbb455a9e9ffd821956f5dadf33e2d51dddd967e0f2baf9ba4bbd08a3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/chunk-executor.ts: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 233 over it, 1.47\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":"render-service/src/chunk-executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fe59648e8d87175d775a4b2c5866f04b45e891cb1079a69fe208df49b8898a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: product-context.teachingProductContext: FunctionTooLong \u2014 teachingProductContext 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":"lib/server/pbl-v3/product-context.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab15dba736990a9512bdd6b3a31fb2f4ce02eab3b61798a8e115c7076580f16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner.runScenario: FunctionTooLong \u2014 runScenario runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"51934bba429a880aa7d41efed1014cd93975717ef0be29a97cd1ca64cef686cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditableSlideCanvasWithUI.EditableSlideCanvasWithUI: FunctionTooLong \u2014 EditableSlideCanvasWithUI runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/EditableSlideCanvasWithUI.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1357e3bc6f739bf3632b7b2709a117c33606e0e074eebad1c7bf2a9109786af1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-chat-sessions.useChatSessions.createBufferForSession: FunctionTooLong \u2014 useChatSessions.createBufferForSession runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/use-chat-sessions.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db110c2f67ab3c1c6a85c87102f14a9cb409b2bab861afc44b3de2c89944164"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: narration-tts.generateAndStoreTTS: FunctionTooLong \u2014 generateAndStoreTTS runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/narration-tts.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fb85bff56a1c48b5905c6804410ead2b66a13b1826b798f473eaf46c00b419"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-audio-recorder.useAudioRecorder.startRecording: FunctionTooLong \u2014 useAudioRecorder.startRecording runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/use-audio-recorder.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8a437e178e7cdf5b6be0caf0d79fd6b98ab49ba1bf879bc9debfbdeaaaf443"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stage-storage.loadFirstSlideThumbnail: FunctionTooLong \u2014 loadFirstSlideThumbnail runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/stage-storage.ts"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f055bd4fef2010fdb1fa9b6e9916e57800bac7eeac1e9ec19904196875d02b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PgAssetStore: ClassTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 168 over it, 1.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"034fcd72e3ead65ef22f7d04297d40c883b8610f881ec8d076e63318d93a0c6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: code-editor.CodeEditor: FunctionTooLong \u2014 CodeEditor 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/scene-renderers/pbl/v3/code-editor.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6887b6230b00b26b7e9a248d3df31b39afe84004eef754468fd2fe69f8e75e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-run-course.useRunCourse: FunctionTooLong \u2014 useRunCourse runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/generation-run-client/use-run-course.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c313e362e22546d61eeda0d62cd9e9a59a8add185bf5b748b3c59c4b6a311d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas.useCanvasStoreBase: FunctionTooLong \u2014 useCanvasStoreBase runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/store/canvas.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eed327c5adb51fb7200d19c5eec9aa27eda6ce25171167b1c64838aa5e99df8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMouseSelection.useMouseSelection: FunctionTooLong \u2014 useMouseSelection runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useMouseSelection.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce630611f302c744cd1ee77dc8a43c6e1b7eb9c27f619284d36324390beaea1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: react/EditableSlideCanvas.tsx: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 196 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":"packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"050c15e36507c74cfa9bc193d52ebc95d12c698e1d99c224e50ac1d9388b5a5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.runLocked: FunctionTooLong \u2014 runLocked runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/index.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a8fadd8b2f86a31c5433b4ee8a9a2093fd744ab61c3eceadffddb4e240f86e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: whiteboard-ledger.buildVirtualWhiteboardContext: FunctionTooLong \u2014 buildVirtualWhiteboardContext runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/orchestration/summarizers/whiteboard-ledger.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"090ed031a2c0d656a6d3ff2aad25cae38eea20ec9bdf574786286418a69a52fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: presets.multiPathPresets.set(\u0022horizontalscroll\u0022): FunctionTooLong \u2014 multiPathPresets.set(\u0022horizontalscroll\u0022) runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b378845175303f1bbae65694c92750b68dfbbddf231c5fe85f271dd96b080d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workbench-split.WorkbenchSplit: FunctionTooLong \u2014 WorkbenchSplit runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/workbench-split.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3a71a39a5513f76ef717616eeb6a754a123a17e29834f5f21f5ee5c6f3940d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: general-settings.GeneralSettings: FunctionTooLong \u2014 GeneralSettings runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/general-settings.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"968faa8a41d9c9f7a12c12404d750c904e609ab8dbd97ecb3f287a14ba479f8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: course-edit/apply.ts: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca261113e2eb8f3afa3b3ca162abc4c1688a2d7e3be64569f3df1781130bc57b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ElementCreateSelection.ElementCreateSelection: FunctionTooLong \u2014 ElementCreateSelection 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/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2ccbc20d36c86a1662fa3700153c73b7e50d5e71b1d25eeffefa7e2fae9def"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner.elementRefsPromptBlock: FunctionTooLong \u2014 elementRefsPromptBlock 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":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02365db62793c08e02384e9753859b1f2105e81f9ba4f0e6c1d487dda8f915c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: media-generation.useMediaGenerationStore: FunctionTooLong \u2014 useMediaGenerationStore 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":"lib/store/media-generation.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5f5069c9ccb292624e44ed35c5f80d9e44d1534cd9742a7ea45f53fa28f827"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resource-owner.createResourceHandler: FunctionTooLong \u2014 createResourceHandler 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":"render-service/src/resource-owner.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b21a2ea4c8743e15446e9d93a21a59d25b4aa331709c0c9c0ba68a00b15983"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: extractors/local-media.ts: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 175 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document/extractors/local-media.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0080cfd6f14f68d65dec33febc12a22f533e544be7048d9b8dcdbd050dffe5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useEditGesture.useEditGesture.onElementPointerDown: FunctionTooLong \u2014 useEditGesture.onElementPointerDown 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":"packages/@openmaic/editor/src/react/useEditGesture.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c22021314b971625bc645c5c54a46695ce154c91dd3a26184f1f0c25fb603a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sandbox-preview-activity.installPreviewActivity: FunctionTooLong \u2014 installPreviewActivity 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":"scripts/sandbox-preview-activity.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c8efbeddaa9bf5b451492532fd50902fd0ba380e5b28bc3dd76076650c320c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RendererScreenCanvas.PlaybackVideoContent: FunctionTooLong \u2014 PlaybackVideoContent runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1150f1dc0ca5d46d843217ee8e11a6f13ee0fc8148d2c74ccf14e8c4e7f4f84a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlaybackEngine: ClassTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 130 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/engine.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef5cf7205f776b0fa5d14e7d4bc1b8eabd3db1eab46c27de8977a8deac59e47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/provider-config.ts: FileTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 162 over it, 1.32\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/server/provider-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"599422bb429ec9398e4af8aeae25b23eccd260b9dac9bdedd91d2605c6101abe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseShapeElement.ValidShapeElement: FunctionTooLong \u2014 ValidShapeElement runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/shape/BaseShapeElement.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee97dc0d0ad1bfb81665541b4ac42c30b4214391e4d5169f8f5b83a7850e107"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pbl-v2-planner/runner.ts: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 157 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b8641f3aa3a9531916094672de1f7f6d8e43d76f463f3fe386fc14d3872f0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/resource-systemd-runner.mjs: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 156 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72d193568444e19b8b9524e935f239e66ecfda01b7f32e48da118f5f0007997"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: configs/shapes.ts: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 155 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/shapes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86a4739cc6c0eb46753f4ba2e93b2cab13fc16860051cefb3f578acb7b72eb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: configs/shapes.ts: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 155 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/openmaic/configs/shapes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"918f5f52d73cf8f014fa39e05cfd7687efe2af97ab847d6515c1a6cfeafae065"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaybackEngine.processNext: MethodTooLong \u2014 processNext runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/engine.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"75466a3ad64b8150f3d4d0400dfd5963f6cf002ff90df0c9ca35ac00dd77f614"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tools.buildCourseAudioAndDeckTools: FunctionTooLong \u2014 buildCourseAudioAndDeckTools runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/tools.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"703706adf80675f8e2461e33f2c76d93fa799e5df2985d122d503172384982c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation-history.ConversationHistory: FunctionTooLong \u2014 ConversationHistory runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/conversation-history.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"56227dea3de0b0fb9052f8422b9f92785d84a2639692b1e417fcbb54fdd552f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-settings.AgentSettings: FunctionTooLong \u2014 AgentSettings runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/agent-settings.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba0852c114262e9e2a6c131ad161da04f67be7f754d6c177c408887478b5182"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scene-tts.synthesizeSceneNarration: FunctionTooLong \u2014 synthesizeSceneNarration runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/scene-tts.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"730e9be926de977374ab90e123696fab532f2ba6ef22c7f83673598b7d5108c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.validateSvgPath: FunctionTooLong \u2014 validateSvgPath runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/geometry/src/index.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fadeb8c8b62d256017e7ab8658a534852602d879a2a039613d8dd8a3e2685ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resource-task-runner.runTask: FunctionTooLong \u2014 runTask runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b3ac461a2e61529d2f0b3b0de6c6050c39ade09340019bba2224b66f9b70cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model-config/settings.ts: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 145 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/settings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa67f965f7984b049a9f9f9947c047faa0522165135616073a937ec948cee79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-instructor-stream.useInstructorStream: FunctionTooLong \u2014 useInstructorStream runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/use-instructor-stream.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15bc5f203d92810b92c0d196575ae7d71ca78cad1051530e341cc8c78e0c704"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShapeCreateCanvas.ShapeCreateCanvas: FunctionTooLong \u2014 ShapeCreateCanvas runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e945a6a469772ec3e9f2d734962cc16b5b727fe0837409a1abccb33786a7be5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SpotlightOverlay.SpotlightOverlay: FunctionTooLong \u2014 SpotlightOverlay runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/effects/SpotlightOverlay.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7a93b9160b88fddb8e53b9cd3b91dd08ad8a8a0d4cfae8954435e257ebd6a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseCodeElement.CodeLineRow: FunctionTooLong \u2014 CodeLineRow runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"da075b915524b1bed987400c529e0a73de55b8a12c8a6df23e9178d5754183d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseCodeElement.CodeLineRow: FunctionTooLong \u2014 CodeLineRow 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":"components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"301c68e7332d922a777faceef10578b1a938598c8822d7d8cac26c596b1694ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-native-child.runNativeChild: FunctionTooLong \u2014 runNativeChild 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":"lib/agent/runtime/run-native-child.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f7cdd3fe94aea68d0fccb3f2c633bedeed8dbb3d3e204b8596f54bcffbe742"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: orchestration/transition.ts: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 139 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ebbee28e0b876e47667cff7947064badfc88c2100f91a8a63a00c8e729042d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: course-edit/element-schema.ts: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 139 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/element-schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1751d2fd2888575067a10db7aede40de2f1ebb8efac9846f6d5e3b6307c5c7e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: roster-tools.buildRosterTools: FunctionTooLong \u2014 buildRosterTools runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/roster-tools.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc72e3ce1b640052045046948543964a57047cf1d9e0b3b89bc3b4778d02bbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings.applyModelSettingsChange: FunctionTooLong \u2014 applyModelSettingsChange runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/settings.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08db57edecdd02636c5d8671ff4da1362a57b55880081ac4f8c31606cde107a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: context-projection.createTeachingContextProjection.prepare: FunctionTooLong \u2014 createTeachingContextProjection.prepare runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/context-projection.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daa994f8bc37bf57b71b917f866f92c504d63f8451d6a1981067903b8fa9785"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-workbench-session.useWorkbenchStream: FunctionTooLong \u2014 useWorkbenchStream runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0159598f95d24591057f4b164bb1a4642cda8782c41e356c5f7a880681d847d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v3/use-application-preview.ts: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: useApplicationPreview (89-773). The bar is 500 significant lines; this is 133 over it, 1.27\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/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"170ebaac6059cd3e7dbdab135d2010cd9b30870e6f3d1c92d6409cc0e6558a5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-export-pptx.useExportPPTX: FunctionTooLong \u2014 useExportPPTX runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff5dda55b5b7f902c9a51adbe0de5ddd9c2754140d27fc5fbde8e26469e667b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/WorkspaceRequestActivity.tsx: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 125 over it, 1.25\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/workbench/workspace/WorkspaceRequestActivity.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e22decec4fac7ce27dae330fe2def7b9ef38bb64252bd1eabe6d49a477624f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stage-api-whiteboard.createWhiteboardAPI: FunctionTooLong \u2014 createWhiteboardAPI runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-whiteboard.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b80bffd2ca62199af7c852567d4fa94a2c462b5951e05707240c4ee19153e99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fold.applyRuntimeEvent: FunctionTooLong \u2014 applyRuntimeEvent runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/runtime/fold.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"713928290ed949b25ed4acc68b31bc3d0836dd94154e06388da03cd4a782eb62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kernel/progress.ts: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 120 over it, 1.24\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/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bff4abfc44694ca3f009c21497b49d616493fda3f52815597302b460bd930c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseImageElement.BaseImageElement: FunctionTooLong \u2014 BaseImageElement 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/slide-renderer/components/element/ImageElement/BaseImageElement.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73cf1a872bc0f203e993be60b1ab8665f6bbb754e3fc6743cd772c24780a80b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: transition.completeCurrentStage: FunctionTooLong \u2014 completeCurrentStage 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":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"320ed932e2207654b6e6bf7afbe29110dbeff9b763fe57e8cd4ebc4681e98e52"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuizScene.QuizScene: FunctionTooLong \u2014 QuizScene 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":"lib/standalone-player/scenes/QuizScene.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab44c1f9ead9b67e1b307f8c707d07bbf34779a75b7b813a5404ce16b8edb6da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: station-node.SlotLine: FunctionTooLong \u2014 SlotLine runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/station-node.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2628bb250b05233488f6ca6497ac8655a815be6eb653d1e9195b6de444133966"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/index.ts: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 111 over it, 1.22\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/@openmaic/storage/src/server/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01936a3e18562cbe572defe893f2ae6849b39981f166af69f97841cf83b30de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pbl-v3/report.ts: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: buildLearningEvidence (30-543). The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/report.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63d5ddc728d7dc801d3c3c57d0e4a9e3e14047dfe175a0c80272e0bbca3c0f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-chat-sessions.useChatSessions.sendMessage: FunctionTooLong \u2014 useChatSessions.sendMessage runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/use-chat-sessions.ts"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58d1ff6c1d06b711bb2991fc920ca33d1c589dca6902e1da9ee5bd516150457"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-home-discovery.useHomeDiscovery: FunctionTooLong \u2014 useHomeDiscovery runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/use-home-discovery.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"934189f408111c1ee0e4a549bb6e40995ae3ec7a868d93a503f58f99319a1421"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ActionEngine: ClassTooLong \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 81 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/action/engine.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccfe1146596056017f68b64a74cd79ba7dc721b348857562331f7183a05e8a4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageClipHandler: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 79 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dadb2d5b231af86b0914c40e7faf1293c1a7504551a4a4e71db59ef36f0f664"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/token-plan-settings.tsx: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: TokenPlanSettings (187-731). The bar is 500 significant lines; this is 98 over it, 1.20\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/settings/token-plan-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea001eddeb3474ae2cf52fa8aab42f5e6db125c3825a381ca770e76f557d27d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: materials/extraction.ts: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/materials/extraction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04117877609b77b0f7b035d8f4a31e815db70787f27006c46febd0c197a1dd4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: action/engine.ts: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: ActionEngine (180-912). The bar is 500 significant lines; this is 95 over it, 1.19\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":"lib/action/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6d14049f4b6e2a61ea9099745e20d24163908103d466a2dc3c48a96b9acee7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/classroom-actions.ts: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: buildChildActionTools (278-818). The bar is 500 significant lines; this is 91 over it, 1.18\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":"lib/chat/pi/tools/classroom-actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"408160f65088eea573b1a36ab09773197a2f817b0a156ec7ea5e5c6264362c65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent-reveal-modal.AgentRevealModal: FunctionTooLong \u2014 AgentRevealModal 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/agent/agent-reveal-modal.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4a5acf6da9d20e782eb934bab316210578b4c48de15ad39d8f5420f1b82c92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: generation-toolbar.CourseMaterialChip: FunctionTooLong \u2014 CourseMaterialChip 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/generation/generation-toolbar.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f466fa9df0a682fe53a49afd834ae9ed800cde6cbc861cee09a0e94c9ac9dc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-activity.ToolCard: FunctionTooLong \u2014 ToolCard 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/scene-renderers/pbl/v3/tool-activity.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc65ff10fb8715310ad5b19211c7bc42acbdbd5652ae432f562ed9eecfc569c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MaterialLibraryPage.InlineName: FunctionTooLong \u2014 InlineName 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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef4515dcb1b11d4c119621e150401f26a4952f2dc6b609d31cab0a8a4a07af3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvasCommands.createCanvasCommands: FunctionTooLong \u2014 createCanvasCommands 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":"packages/@openmaic/editor/src/react/canvasCommands.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c599254a8271cd2c1be0aae709c56aeec6c1baef0ca5c1d657090d8200dd52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: export/inline-assets.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":"lib/export/inline-assets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c87cc835de5c83b845fcca95f4475e63ab55e01a900ca8eb7e0d8c6a74c69b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pdf-settings.PDFSettings: FunctionTooLong \u2014 PDFSettings runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/pdf-settings.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"308bf7d44b51982d55b00723911c6262e52e4b0be10e6df17ee4640f6c744d93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: generate-image.buildGenerateImageTool: FunctionTooLong \u2014 buildGenerateImageTool runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/generate-image.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e083711e93b9da2abca12680f6224bbebcdd5c6c977d7106b30a0b645144c99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mtef.renderTmpl: FunctionTooLong \u2014 renderTmpl runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffa7b4fe0e6b02531f0cc3767c07710346e19bd98c9a354963a91dc2ae6d07a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: media-service-panel.MediaServicePanel: FunctionTooLong \u2014 MediaServicePanel 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/settings/media-service-panel.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6470ac192d4125f1cfcf582619f1aa8893dcf389601e0e062847c5f5bf6dca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prepare-interactive-html.staticCaptureInjection: FunctionTooLong \u2014 staticCaptureInjection 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":"lib/video-export-app/prepare-interactive-html.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"22786a02d38756532d75f27ca515e34a14ba6738c27a4ee3e2e0c34866a20c60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LatexToolbarOverlay.LatexToolbarOverlay: FunctionTooLong \u2014 LatexToolbarOverlay runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"369c64a9089f6aad13a19e2a24cff7ab8037ac1366eaaa9cb99ff4e07b709a0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/completion.tsx: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 79 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/completion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea7c39b46383756341c64635930547420c2a9bb6490d0eb472273112aab2288"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/mtef.ts: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 78 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3035b4c92200032cd3a8977ad64d9c22f196d8c7776f20e30f6a9893a986031d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sidebar.PBLV2Sidebar: FunctionTooLong \u2014 PBLV2Sidebar 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/scene-renderers/pbl/v2/sidebar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a8f9f87f7646355106c526fc8498e4f10bf4ae3af829922c308802a9a34516"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-application-preview.useApplicationPreview.load: FunctionTooLong \u2014 useApplicationPreview.load 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/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e638f0e0720d5261db262f87394d6695ad854308189a2ead4b8e6333daa1b02c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: compose-extras.useComposerMaterials: FunctionTooLong \u2014 useComposerMaterials 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/workbench/compose-extras.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b83232f3db3e98b4d67881b1a20ecf900a5e0f26e7b90b9194f991f190ca73"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill-preload.buildSkillPreload: FunctionTooLong \u2014 buildSkillPreload 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":"lib/server/agent-runtime/skill-preload.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cc2aff168f1da17711e9b7afff9f856c2672e2e16146ce50afc85a30795d0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v3/workbench-panel.tsx: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: LearningWorkbenchPanel (51-630). The bar is 500 significant lines; this is 72 over it, 1.14\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/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e14d64ab7bc518cf31dc01663f0a1264013fca13c063c5063d9f1eb9c5659f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMouseSelection.useMouseSelection.updateMouseSelection: FunctionTooLong \u2014 useMouseSelection.updateMouseSelection runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useMouseSelection.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b42cc9a7d27ca7edc04b9e9704011eda32373e95af84e7d14cf96d3936ee308"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/index.ts: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/core/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d800504cf3bbd1696c5ebe93ae988befdae24a804403cc3e2a877eb527f476"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PgDocumentStore: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/pg.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"411b630aa065debac01bb043a4a93a00c7684822011885f9357fa543489e54b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: speech-button.SpeechButton: FunctionTooLong \u2014 SpeechButton runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/audio/speech-button.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b566960148574ea768faee09bb67193b9b90f809067a3c16ca2889a181067ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-edit-dialog.ModelEditDialog: FunctionTooLong \u2014 ModelEditDialog runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/model-edit-dialog.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a14ba324e813e62801600a80f7c4861f8121c594aa9704b4fb2fe94fbbae373"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.VideoElement: FunctionTooLong \u2014 VideoElement runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/VideoElement/index.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1777c6680b50cdf856dab61c225bb912f7f6063a9a0cc8b9de17a89f3f8103da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scene-thumbnail-content.SceneThumbnailContent: FunctionTooLong \u2014 SceneThumbnailContent runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/scene-thumbnail-content.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"773fe42eefa7ac11dd8a53efb8a01eba09abe180905bd97d667a519613d24aaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceChatPane.WorkspaceChatPane: FunctionTooLong \u2014 WorkspaceChatPane runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/WorkspaceChatPane.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17f8725af349c3257f9ef0f7d2cba6b0fa5bfa039040347177fe09eeebfc679"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: client.createModelSettingsClient: FunctionTooLong \u2014 createModelSettingsClient runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model-settings/client.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0130ee1e92741306e50edada831fb2e2218735c4806e88699f8eab4a667e20d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runner-tools.teachingRunnerConfig.tool.execute: FunctionTooLong \u2014 teachingRunnerConfig.tool.execute runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runner-tools.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1204b04249621f7dd0959a2c33384430857ed818146d5dc82de0653f4205ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: playback/engine.ts: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: PlaybackEngine (58-939). The bar is 500 significant lines; this is 60 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca05476c87fa29b6415485ad8d0de6b7012666029b08ba18b3261071275f6818"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sidebar.MilestoneNode: FunctionTooLong \u2014 MilestoneNode runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/sidebar.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee538b3e3e13fbf8c3ad6a9b6742ae799f55b1842ae0cdd4736c5218126bfd1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: report-share-dialog.ReportShareDialog: FunctionTooLong \u2014 ReportShareDialog runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/report-share-dialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2c492e27bc72a58b54571ab0b94834dc2058264c9f028a41a9d411eba46c77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: migration.migrateLocked: FunctionTooLong \u2014 migrateLocked runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document-store/migration.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbe62f9e60e0423f350c4c490e7fc1ad974a97bce41940678644d32ea0aad4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LearningStore: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 44 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/store.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a63f4ff11e0ebc84196d7acad81b59cc6b1dde8d845b743ccf90dc85d803977"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: route.POST: FunctionTooLong \u2014 POST runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/sessions/route.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc019faf709ee6372e1caf468e6793b9c4502d7a7258b94a1b2dba5ae8c0382a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StaticTable.StaticTable: FunctionTooLong \u2014 StaticTable runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/TableElement/StaticTable.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c64245773568ef23d1f3477ab1619aa500ef894995c1085820341fc862488bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workbench/compose-extras.tsx: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 53 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/workbench/compose-extras.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f556aad66ada39808db5ac08a53b93eff2be204a98ac0b407b28245eff20a18"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlaybackEngine: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/engine.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c17f6ae78c1e1f9f82ba073d17fb644bf6685c012a99fc0b95b35d6882bbcb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: add-provider-dialog.AddProviderDialog: FunctionTooLong \u2014 AddProviderDialog 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/add-provider-dialog.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b051160094758ab9ba29aa2ee75f8d6a6cb287f7fa6182d38e7ab2d716c052"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Presentation.buildPresentation: FunctionTooLong \u2014 buildPresentation 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":"packages/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df84e45f056ccce6a12bcd989cb574cb0b0655b3137a11b484bb718a15686dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/BaseCodeElement.tsx: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c9f885f87cd588c211c81bf536872430af9d83dd35af202035f9ab271606c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: unimported-settings-notice.UnimportedSettingsNotice: FunctionTooLong \u2014 UnimportedSettingsNotice runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/unimported-settings-notice.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8549625e8e2822278d069342d6cce3fba7916fab959a5f6f8f3623652b844b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useViewportSize.useViewportSize: FunctionTooLong \u2014 useViewportSize runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useViewportSize.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65545aa01c197786c8a70a6d0eb3a00509faf6fed64f661cdb7eb4bebf5136a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mineru-cloud.parseMinerUZip: FunctionTooLong \u2014 parseMinerUZip runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/mineru-cloud.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b40587cef290ca867da2e332abea28b085576f79cbb4311a29c12b0764f029"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpAssetStore.fetchBytes: MethodTooLong \u2014 fetchBytes runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0a2e7964e1b0dd817979e66d5b89ace2191ab44610308a1d63eec1031ebbd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: asset/http.ts: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: HttpAssetStore (237-842). The bar is 500 significant lines; this is 42 over it, 1.08\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/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52c2bd856474071a44874319f88ecc4c4d758909645b895ae56011263b72e23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scene-renderers/classroom-complete.tsx: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/classroom-complete.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dbec422330f28124fdbd8c7f0b3d837db9cbfd880f998a13f550864c48395b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v3/project-report.tsx: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: ProjectReport (28-605). The bar is 500 significant lines; this is 40 over it, 1.08\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/scene-renderers/pbl/v3/project-report.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe4cebbeff353ca0312a64778980f24705f0966bd85f07c4aae2be8b6479aad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: station-node.StationNode: FunctionTooLong \u2014 StationNode runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/station-node.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f14f52b7cf627c92fb319c7fb498e791974a917c0bdb8f5d691c76fd5589d77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: providers.fetchCustomOpenAIChat: FunctionTooLong \u2014 fetchCustomOpenAIChat runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/providers.ts"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"76420a68744cf68881783b41fa7acd78a155458c5c974a7b920d965048d41b2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: presets.multiPathPresets.set(\u0022ellipseRibbon2\u0022): FunctionTooLong \u2014 multiPathPresets.set(\u0022ellipseRibbon2\u0022) runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab9cb82f5f6ca3dc2913f234f5fa9d12bcbf5d0b0697006ca19aab2429e01db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamBuffer.tick: MethodTooLong \u2014 tick runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/buffer/stream-buffer.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0783b155e424374977c65a141841634e7e42b2e8e992fbbaf0efa13ea5dab20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reducer.applyRunEvent: FunctionTooLong \u2014 applyRunEvent runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/generation-run-client/reducer.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"84676f5f2573d3294b9c9994e3272ca9250ab2b75f981a5469c22d886b7c88de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: labels.resolveEditorLabels: FunctionTooLong \u2014 resolveEditorLabels runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/labels.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d277c1e2cbbb0f84a42a4e49142aa4d6e2bdec4abc62ca3a9e802d7f2b94e390"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generation/generation-toolbar.tsx: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 34 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/generation-toolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6164b9e215088781a974939234e26719d61ac284e7641b166994b6e28fad6379"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/asset.ts: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e93f46f031144d9d8eb247144f6a2c27644fff0db4866357efb3ef6905e83fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pbl-renderer.PBLV2Container: FunctionTooLong \u2014 PBLV2Container 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":"components/scene-renderers/pbl-renderer.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5280768b37d1db9cc086c7ddb62822d9ca5cf387d73b0a9978c810df4ec8541d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: json-repair.parseJsonResponseCandidate: FunctionTooLong \u2014 parseJsonResponseCandidate 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":"packages/@openmaic/generation/src/json-repair.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdec6a093f255a3706aa4a1b86d7b22ddd4fc2fd8e7a55095b632beb19a074d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent-runtime/generation-tools.ts: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: buildGenerationTools (274-703). The bar is 500 significant lines; this is 29 over it, 1.06\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":"lib/server/agent-runtime/generation-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b4db0ef7fe5afa28a8b29e5fbaf72aec9c6df7fa57f17820a56e3ca18c104"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodeElement/BaseCodeElement.tsx: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 25 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":"components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e96187983d4fbbec40706b36584eb47b8bfa932e0188b83ebb291e446fbb759"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Operate: FunctionTooLong \u2014 Operate runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/Operate/index.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"337274eb2540ca0ae0e3813a61e53ca3ab9d801936046c1825c8271ae3c3d925"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: media.generateItem: FunctionTooLong \u2014 generateItem runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/media.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5babbd156e86485d46b3240eb785b0aeb840a2ad28bb79db6f457f18ca55b6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useShapeKeypointGesture.useShapeKeypointGesture: FunctionTooLong \u2014 useShapeKeypointGesture runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useShapeKeypointGesture.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d8ad1ea1f92f05e3d3f5149619e977ecbdf8572f50d9711d6743520a0a4c6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pbl-v3/store.ts: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: LearningStore (91-685). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9720830efb001c1e2aa2c4506ccafe53c660833cf1515ea840ea92f6b3ac9d3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/labels.ts: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4dfef67d07cd75d1670e7ee1305eb544b5b9a5e58be81fff2d8b5987e33540"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pi/prompts.ts: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/prompts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"def501d23b4885efce7a8fac2415816bb23285e770e23968e005552916e54ecf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LineElementOperate.LineElementOperate: FunctionTooLong \u2014 LineElementOperate 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":"components/slide-renderer/Editor/Canvas/Operate/LineElementOperate.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f777d531ef7be4e01c910fb118d767dfe235c7a215555c7525245e254b3ae5b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: whiteboard-history.WhiteboardHistory: FunctionTooLong \u2014 WhiteboardHistory 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":"components/whiteboard/whiteboard-history.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8f727ecf06ef5e84c2913b1e7799a442d71124ddf6a037427adb0554801ba2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slide-ops.applyOperationToContent: FunctionTooLong \u2014 applyOperationToContent 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":"lib/edit/slide-ops.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8365ac10acc133518b181eb3e9e4c37ed1706390eea847cece25bcd3cb916fb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sse.polledEventStream: FunctionTooLong \u2014 polledEventStream 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":"lib/server/generation/run/sse.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caae23f68b069e93fb6782b5f8354e1d02bef4d8d16eaa2fc1f9b2224c65f72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ai/llm.ts: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/llm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cc6242fa1903ca92d06b18abe5643e80f7a8f5e142afe3420f27e0b900c4d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/slot-picker.tsx: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 16 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/slot-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"249ce29a75dece1c73cfcf2a43c967adc64bcc4685b19beabce5b8425945482e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-instructor-stream.useInstructorStream.run: FunctionTooLong \u2014 useInstructorStream.run runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/use-instructor-stream.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a667355ec43d81f8f74266cdffc4671a4cb89ef22813794eee966253e83782c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: owner-bound-document-store.createOwnerBoundDocumentStore: FunctionTooLong \u2014 createOwnerBoundDocumentStore runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/owner-bound-document-store.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"971b51a04d8e532b8ccf7d58836b3d0a259c7a85bbc0342eb2b3c3c52f0b91fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: normalize.normalizePBLProject: FunctionTooLong \u2014 normalizePBLProject runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/dsl/src/normalize.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd79b9e75580a162afb807c616a84d793f9722799af5a174b2ebdf1b1309ae9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: line-drag.computeLineDrag: FunctionTooLong \u2014 computeLineDrag runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/core/line-drag.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ada770aaaf97a5ed882b054faf0ce0d37c2fa2b712062ebcbfcaef8701cde3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StyleResolver.resolvePatternFill: FunctionTooLong \u2014 resolvePatternFill runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"91371933c428b24c3888c4225b5e9f9b47a3e5b0d1c34a80f089706008176f96"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BaseLineElement.BaseLineElement: FunctionTooLong \u2014 BaseLineElement runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/line/BaseLineElement.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"96af4cc3c60e72d7880d841464aa6390bae21e5a235c229368e9bedaaf4f7e5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StaticTable.StaticTable: FunctionTooLong \u2014 StaticTable runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/table/StaticTable.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cdbf0a1ca9990e5538fef1c12ec6b6f3882d8dc596997aebac63566006291a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HttpAssetStore: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff7ee7fc9fa5adccf4fbb6c0571cc3a9172c3d67ddd3bed559be0615de22305"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: useScaleElement: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c5c63d1a7439e06f303693dc421cee64293624308e9298602c14b8057e539b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: director-compaction.createDirectorCompactionRuntime: FunctionTooLong \u2014 createDirectorCompactionRuntime runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/director-compaction.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cc5003b1eeaa086dc959d8b83a3e87029a1b7bc4563993d20d10ee5910b39d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: derived-state.computePlaybackView: FunctionTooLong \u2014 computePlaybackView runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/derived-state.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db488a2e75ed6267783dbf181a9f1df70370d154b3220fea279026a1c07eb87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/model-map.tsx: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: ModelMap (137-647). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/model-map.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"124fccabcae1042217a5e4ea7061cdcc6f2076b5888049a1173acaf312c7de41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/planner.ts: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: buildTools (198-720). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/planner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b452fa20d1771b475acb3d7dea9079fbd4e1ace8b67c2e87ce79a7a97af36c3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stage/scene-sidebar.tsx: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: SceneSidebar (37-565). The bar is 500 significant lines; this is 7 over it, 1.01\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/stage/scene-sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de42ea7d1e20dd20a3f0e7287cacd7400f507983f09f3dfef4045667ccb0d9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: asset/collector.ts: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: AssetCollector (389-1335). The bar is 500 significant lines; this is 7 over it, 1.01\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/@openmaic/storage/src/asset/collector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2808137b7206f75b3193946e9c1a55b4a7eab67bfb1531c8d61f8683cbe0b860"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: standalone-html/build-standalone-html.ts: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2509d4a1359e80aceb9cb10ac42165094036371f1fb1f55a1ee03f3db8e627a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kernel/proficiency.ts: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a445125f821db27f3d4d94500e7974ab2a78e4e66a66764309fe3026b1729a45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pbl-v3/project-package.ts: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/project-package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd7cd8866128a2b71771c3d87d72fd3af81cede6c15ddd10f14231af3d2f94c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-discussion-tts.useDiscussionTTS.processQueue: FunctionTooLong \u2014 useDiscussionTTS.processQueue 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/hooks/use-discussion-tts.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad03c471b8d2d588283e16e036470ee1f812efd5de66ad5af2497a2af379b8d6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @openmaic/geometry: @openmaic/geometry: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7c64d7577f56fac2b9ac0f7470669c3fda052d86ae7873984a8492cca1d42e50"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Slide (LCOM4 8): Slide\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pptxgenjs/src/slide.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f9bc07f95754aead1f7e0de3e46e25997a3948630656ea4414154db7e380ac"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: obsolete asset converter: save-back allocation rollback: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81d3366680c2e5120039f0e5290e54d2e7404daa85fc48fe91593cde8421cae"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: obsolete asset converter: reconciliation allocation rollback: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b448e8bdc8dc4dd9e4024b041eeaab32afb581884f64b15909114247d3212fc"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: obsolete asset converter: manifest allocation cleanup: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13a88d27b92a3cb5219fb0c3783e5ba0e34962299a7dbf139f03b5f7d6e3536"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: obsolete asset converter: generation-fence allocation rollback: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c52e7050c974e5d38ffb363121eb36fbbd7ed7f9f199c8db2c9867000fb7f3a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: obsolete asset converter: birth-path allocation rollback: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67dbc6aa501aceef0988a86a0148cbf5a8f3a6d73675440c5085e24e9736290"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: keeps bigint cursors as decimal strings and compares beyond Number precision: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"14499e192b22258c61c48b752e560baaee1969f756346eb2aa5d344af311f7a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: reapplies events newer than the fetch cursor over a slow full snapshot: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3199d920c09f550d2682800411a7873249cd110f2986ac26ca33ee581d55378c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: discards an old in-flight snapshot after owner movement advances the epoch: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd0c460c39ca048d5c67c6201b256416221ad39a7532c946bc32ab7f5071a3e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: reclaims the event journal after a successful reconciliation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1837278fd3d53a36d3e823462c7eb30d29a11d571c2609f03d56da04bcbbeb0e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not restart a pending fetch when an in-flight fetch settles after stop: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"481086f72408e44fb3ff30d3f6514d9073ca2aa2bf690ec133ca7678b5b00d42"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: closes the retired stream, opens a cursor-free replacement, and reconciles: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf64207c482bccc4f4832df1352af8c74864a56a373d934fa544fc335567b087"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: handles resync_required in place by clearing journal, adopting max, and fetching once: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acb19b6f5348f3e8337ccf73ac3cfcca51dc9747ae16aada845dc3630870794"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not initialize on degraded catch-up and initializes once on authoritative recovery: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6d8f681d80e5441a02fe5415667ee2df19285ffd2fc2919ee5c707941f22b8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: retries a failed full fetch when authoritative catch-up arrives: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68c92a1d06aa9c9f50364884ea937f9de522adfbf7e96b5f61b342c45f152aa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: bounds the journal and converges through a forced authoritative fetch: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8ce9e81c0aba6ac7f0a495b49713c2ae443367acebadec2781526086fd952a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: resets cursor and journal when stopped: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"32220e63bf67490cae46dac93164907d3cc667882a7b54fc277f0172f08defaf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: typesets math rendered during parsing by %s: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/video-export/interactive-self-hosted.browser.test.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"044c28a995960cf5d6a67b687f2ec7f405c010400c0dd98569f2ea2d2309c016"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/persistence/owner-materials.pg.test.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ef9d28890aebe112ad7991babbfbeeaac303e7fee86032998fe62371cc94dc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/persistence/owner-materials.test.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6ed14de652b921daedc66326fa5f8bd4d81be90aa1c413693fb11d4f503d75"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): skips title-state constraint locks and scans once validation is complete: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/test/pg-agent-session-store.pg.test.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb93901fe526c51b1042211c6d0b91ea6d4c410d6be74fea6ba2f8c2c132835"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: TAction defaults to the standard Action union so the default Scene carries playback actions: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/dsl/test/stage.test.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5763922c9d4616d482ff925ccd29fcd36a216b0fb5ae2aa26c15da66f5c2a2ef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: skeleton-only consumers can still opt out of actions with Scene\u003Cnever\u003E: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/dsl/test/stage.test.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c59e665107d14d634a0e5d20eddf74753a178bda939558b3827afe84339675"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: close() reaches the server: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/tests/event-source-parity.spec.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1605465d5ff91cf577d01b8017c7a9b6ccc4d71f8088f6f1185eece6475ba275"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: persists always review preference from the outline editor: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/tests/generation-flow.spec.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0176905dcb21d8bffe68910c47eaec7506e940f1a7618c9f8004ef45fdfdbd47"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ${kind}: narration start/resume pauses media; media play pauses narration: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/tests/iframe-media-coordination.spec.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f7e5024f3f46d5ac3b99764a9e81756eb7e5254376c419cfddda136800b642"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fullscreen still clips at inner panels and at the fullscreen element itself: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/tests/interactive-fullscreen-clipping.spec.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cad561e4a45d025d79360eb2bc7694e4e80de3c89e905da03f5e5ca48c494f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: re-entering fullscreen after a resize follows the new viewport: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/tests/interactive-fullscreen-host.spec.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dc6e95b6c51e8103e0b03a024c599f04efe5d2a5be6ed81db852e4808f25b4"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: fetches sources for the query and conversation while open, and again on a library change: This test starts work it did not wait for (\u0060mounted\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 200))\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":"tests/workbench/material-mention.test.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b09d1239fe9dc887e1ace1dda259000f27250c749a1d95e18d760c6f9e53435"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: offers nothing, and fetches nothing, while materials are disabled: This test starts work it did not wait for (\u0060mounted\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 200))\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":"tests/workbench/material-mention.test.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b2afe03530d14f613e59c50f5855c58bf49edb2460aa8cb5da517ecd21f3a5"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: a worker that died is taken over from its last checkpoint, and the stale worker is fenced: This test starts work it did not wait for (\u0060executionA\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 10))\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":"tests/server/generation-runs.pg.test.ts"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b1e4608887e55d07cd5c9cc9553330862b018b3c99d23b3239d03d57a39800"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: aborts a local execution once its heartbeat finds the lease gone: This test starts work it did not wait for (\u0060execution\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 5))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/server/generation-runs.pg.test.ts"},"region":{"startLine":3815}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb7bcb56fec8c31a92d05e2e3787717bc8c12c2b04790be641bd508f6063f34"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: a second create of one id waits for the first and saves as an update, never as reserved: This test starts work it did not wait for (\u0060first\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 200))\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":"tests/persistence/host-create-hooks.pg.test.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99e259df0e29ae113931a42e743a350a9b5165d7c20ea450c750966ace6a706"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: does not let a retry overwrite a slot a pending reload shows was set meanwhile: This test starts work it did not wait for (\u0060reload\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((settle) =\u003E setTimeout(settle, 0))\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":"tests/model-settings/client.test.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cc1fb3ea740cbd87a00bb15d2f9ebb4d83195c08f896d4762691433224bc6a"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: waits for an in-flight action before flushing later actions and done: This test starts work it did not wait for (\u0060flushing\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 0))\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":"tests/lib/buffer/stream-buffer.test.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e524ee802fa435f69cef6d21fd96b5a2fedb97f232199353ef4c60c78cbb1cd"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: coalesces concurrent flush calls so each action executes once: This test starts work it did not wait for (\u0060firstFlush\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 0))\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":"tests/lib/buffer/stream-buffer.test.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f12641a18d795dcca65d6ef40ba9bd912671d76a1f4dde17110a1a9fde2b785"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: stops flush callbacks after shutdown during an awaited action: This test starts work it did not wait for (\u0060flushing\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 0))\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":"tests/lib/buffer/stream-buffer.test.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d97236ad2b8ca22984ac1e3591d8d8a8d31634f6975bba24d09a854e2a27d32"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: waits for that run and retries when the gate refused it: This test starts work it did not wait for (\u0060tabA\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 0))\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":"tests/legacy-browser-import/import.test.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"498bff61994de2cf1eb858cc51407e1332743e67c870db7860ab66e53f42e4a4"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: keeps the backoff that run recorded for any other reason: This test starts work it did not wait for (\u0060tabA\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 0))\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":"tests/legacy-browser-import/import.test.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"2003b4ee9ca8e62063032de99b1343d1f804f0223988afb5afb5d9cb8e68eb05"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: enforces the per-identity cap while allowing another identity: This test starts work it did not wait for (\u0060app\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 10))\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":"render-service/test/preview-route.test.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ca030aba5d0086b5c0bd65a0fa1b2e213386308721e3c0fc012986557f054c"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: never lets more than the permit count into the buffering\u002Bextraction section: This test starts work it did not wait for (\u0060inFlight\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((r) =\u003E setTimeout(r, 50))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/test/render-route.test.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fe3a7200fd3591c635358cef8c37485fce15a00a318a920dbe7032259907a7"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: a caller transaction holding a spent pin open past its deadline does not park the collector: This test starts work it did not wait for (\u0060registry\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 400))\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/@openmaic/storage/test/pg-asset-store.pg.test.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2988152ea36d0bdb5bcd0d7ab4850dbf8632acb8c1aa9416a401581b078226"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: a renewal in flight is waited for, so the collector never judges the deadline it replaces: This test starts work it did not wait for (\u0060putting\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 1_500))\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/@openmaic/storage/test/pg-asset-store.pg.test.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"13569b4f5e1e1c90102d5c09c73afb0dd521f430526a38e0079f2f81c43463f6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits while the gate has not answered, holding the composer, then stages it: 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 6 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/workbench/material-seed.test.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"88479e592577f98bd14c5352312e7b66f47121c45a7b488f2c914c9fbc82a58e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ends the hand-over, staging nothing, when the gate answers no: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/material-seed.test.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c01ac5623029931d33aed22a19524313df392092e84d6ae3ef34f65759769c0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not hold a composer the hand-over is not for: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/material-seed.test.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aecc2cba9539701d2886711c9274e4d3eebfdb9b64209631fdfc10428d2542"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes a title event even when the attached row has not reached the list yet: 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/workbench/owner-session-client.test.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda0d662d82ed965e7cbd551503e188d31b3967258a8ac0ea8501934a7292cb5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: wires an unknown session event to a full fetch: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b571ba5f9852f146f5115a67ddce0dd69de5aa05db68786b55f3a9f5fcf521"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a stream stuck connecting, and does so on samples rather than wall clock: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"c734d5b3ace4e1625a8385076ea2df11859ae39b20da11708574b9b32963fa75"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not report a dead stream after a long gap with no samples: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"da588836e78f5d0b546b047a342a7cb35d981cd1135ece4f9a213d4663856eec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns the list to ready on a successful fetch even while the stream is degraded: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c838d613a1f900d71b6dd023bd205847e124df4316057330d641710d8d62f10"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forces one reconciliation after five consecutive malformed events: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 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/workbench/owner-session-client.test.ts"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"991cde43eb6a4bd1654e8285831fdb682b0c81727ee40c7c25cdf3d9e4140751"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: makes one steady-state full request per minute with per-tab jitter: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/owner-session-client.test.ts"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bece06f71fbbc3a9bd4746db3d67f25e7fe882c010d467f7b491ce505b23d7d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reorders a row at the hit-tested insertion edge: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 3 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/workbench/use-tree-drag.test.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"07222f95d9a55e3da07d2fc6ad73a9d519e60934cfba9f15dff0dac2aa06cf40"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: threads the caller AbortSignal through every registered provider adapter: This test sets up 12 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 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/web-search/index.test.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"be01b4237cc47116b37ae50984b730e24712aaa3128c33db1ef58548da45fc2f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores unrelated database writes and current-scene selection: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/video-export/video-render-cache.test.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcf4676acc6ea0984ce3447982e72bf91fc9c424ff37378c15f5badb16a44e4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates when the asset pool reports a same-id replacement: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/video-export/video-render-cache.test.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"111a49c2b85a86729a9b0b583aad1ddd59d0ccace3074d778685fc316d38581f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not repopulate a cache invalidated during compilation: %s: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 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/video-export/video-render-cache.test.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8a7cda17597369446ea656fad456094fe0c87b150a2bb3e3c16c29d477c97b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: releases change listeners when idle, but keeps them across retries: This test sets up 4 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 6 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/video-export/video-render-cache.test.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec71303a7f3d1627663e1582bcd0a738fb89391e85225b40eacfad13a5348b7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-checks immediately before the aggregate write (delete lands inside the runtime-lock window): This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\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/utils/stage-storage-deletion.test.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"9665f9a8086624a8112128a87bfde03917f71489833a82f225129582ec57bcc9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes the stage media cache rows without touching registry entries or the audio cache: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/utils/stage-storage-deletion.test.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"8568b19d56e036ab694ac7d34af6a93e4096f6952d048c69ca119053dca2921d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: moves a user-set preset selection aside for the roster and keeps it: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/store/stage-agents.test.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadf5fef69c6d81d304b56a0c01875691e22b96f050c999c0befc81554792730"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores the kept preset choice when the roster it stepped aside for empties: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/store/stage-agents.test.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"0731c99bdf97eefa929a4f5b5fd1600a1b436686629c78957e200783c9449271"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: drains and exits when the first scan refuses the schema before registration completes: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/server/runtime-schema-startup.test.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fad1ea86b9a5a4db6ab3c79a682a33991ac534b040a466d776bbba684fa4b8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tracks input before iframe load, follows document replacement and does not duplicate listeners: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/sandbox/preview-activity.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0215945eb000ef23a6843bbcf0df844c5478ff069f405fe5280ee932579f4145"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: promotes parsed HTML at %s without waiting for pending images or the iframe load event: 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/sandbox/preview-readiness.test.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e70aa9e78905cfb1064a284e9b2ce6cbfc4eb48f2ce2182867620c1fbb49d7e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not promote an unparsed or blank document, and reports non-HTML as an error: 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/sandbox/preview-readiness.test.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d638dbf9a989226ccc5d0002ffab75ee5a7085e9f098cacf88237f1cd865e0ec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels a busy retry when disposed and never retries a permission rejection: This test sets up 4 test doubles (for example \u0060vi\n      .fn\u0060) against 2 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/sandbox/terminal-input.test.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"482f1a593800f5fe2ab3c615e18b19fb5bc19e8e12f94d862695d8b20762c5f9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats lock contention as a retry rather than something to page on: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/persistence/asset-collector-schedule.test.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"223a039c50d2ca2dfaae1b8f155a59687946f38b3eebd5b098bbc8567a252794"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the schedule alive after a failed pass: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/persistence/asset-collector-schedule.test.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ebdcda5542d550d26fa6f29eaee4a1d9da83dc28db97c295c516984314e945"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: verifies every store the application knows, on a pool of its own it then closes: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/persistence/schema-boot-check.test.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"138b221a0018e58616a220b46305dab84a8cee4a7981c0e09939cde0dc80f6b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops the process on a %s: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/persistence/schema-boot-check.test.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"893e40e5c509228c9f2d872d4deebe689ea4b78d3e5812887b58d9fedc5ddd64"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves any other failure to the stores, and says so: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/persistence/schema-boot-check.test.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"744590246665f38af1890bb2ac5b9c82e37caa7f1112cdc45564fbd06ce8090e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: polls every 30 seconds and retires once on a later %s: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 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/persistence/schema-boot-check.test.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"519429e67a4f45818b6acaa34c4327269892f43bc1ba3eee25af58546ef22e5b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries a temporary failure on the next poll without retiring: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/persistence/schema-boot-check.test.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57a34caae23a8ed07e5ac7c579a186cb5f739aa18c9a52e223e6a0959263461"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not overlap checks or retire on an in-flight result after stop: 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 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/persistence/schema-boot-check.test.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba50fa0bb53ac4d42925b03bf4c13a1fd19c1b03d5328b7a6fdbc29dd16cf40"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats EOF without a done event as interrupted without waiting for drain: This test sets up 9 test doubles (for example \u0060vi.fn\u0060) against 3 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/lib/chat/use-chat-sessions.test.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df14fa55213c8d5e43b6ccf734149e01d4c70f523f366638cb7413292caaff6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not accept Director evidence lifecycle callbacks at the Native boundary: 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/lib/chat/pi/native-web-search.test.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c3ad4ca7ec604c404e8713a8e207d161e93bac6deed708d0d1a89c70263068"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: all-unresolvable fast-fail: the consecutive-failure fuse stops probing after 3 and generation proceeds text-only (P2-r3): This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 6 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/generation/scene-content-asset-id-vision.test.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ba2c2b1a9038642f17609e6c4fef508d0fa55932371bd0f35f9ebae99934ee"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: hanging store: the aggregate resolution budget stops the phase within the bound, no hang (P2-r3): This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 6 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/generation/scene-content-asset-id-vision.test.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16be9d56afdea1138d1b92f0c31784c784c6bfbce70e1a66bb578251c42c5fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not auto-start playback after its engine is superseded: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/components/edit/playback-chrome-root-element-reference-owner.test.ts"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"22162d4f377cb5c657aecf331808c62057eaa6705adc30610b979b92793504a4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: hydrates the registry from document configs without consulting the mirror: 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 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/classroom/load-classroom.test.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e56b2df55ba8fda92b61fa2537a8d94c57d75048f6f279935d97a23ed64c4ad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: backfills missing voice fields from the legacy mirror and commits the merge: This test sets up 3 test doubles (for example \u0060vi\n        .fn\u0060) against 0 real object(s) of its own, and its only verification is 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/classroom/load-classroom.test.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0ebce6ff597d4ef6256273a3d2c0eec2c7cd9c9556b70a4669be539fd54666"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lifts a roster missing from the document entirely from the legacy mirror: 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/classroom/load-classroom.test.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb40adc664b5f077604ba2b7b7ab7cabd2297d2009305aac9980fd4c9588054"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats an explicitly persisted empty roster as authoritative: stale mirror rows are not resurrected: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/classroom/load-classroom.test.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df60e0572f9a37a8346df1fabafbee6147c98500e3518274945e6495cbf67d1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: remembers a fruitless mirror probe and skips it on later loads of the same classroom: 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 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/classroom/load-classroom.test.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b768f884db3d0b30dd68d1e3157aa5a186857b7b8c99d5ea2b176a40df8d45f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not memoize a FAILED mirror read: the next load retries the probe: This test sets up 3 test doubles (for example \u0060vi\n        .fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/classroom/load-classroom.test.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e1780d5490badae989adbc2f33358ad1b56628501b75a8c3f4ad60c25c6f0f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still hydrates the registry from document configs when the mirror read fails: 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/classroom/load-classroom.test.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5265e2b06289a339b3fb8ee73d98b52228f1b4a1aa3b830b1551e9e6b9e2ee"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps probing until a successful merge is durably on the document (no memo on merges): This test sets up 3 test doubles (for example \u0060vi\n        .fn\u0060) against 0 real object(s) of its own, and its only verification is 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/classroom/load-classroom.test.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9bb97359363f7300bdd94b50425fd867e1bf5e8728d5f835951a75e9840b46"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for an in-flight claim and its lease release without starting the late turn: 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 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/runner-tool-call-integrity.test.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"9861bf23e0b75dca7f569fd3a6168d2f7b2937000ce57f9e4f1b542b1926d859"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps shutdown bounded and still releases a claim that returns after the drain timeout: 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 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/runner-tool-call-integrity.test.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"395587482d48fa3b398b46451ab08bb73d83a9ac96275c9952af197daf6f3e2d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: drains a concurrent late claim before schema-refusal retirement completes: This test sets up 4 test doubles (for example \u0060vi\n        .fn\u0060) against 2 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/runner-tool-call-integrity.test.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8aa594d344ee4237b19af2ba03beefd55754c1a1ee47e00673e019f3d24550"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops before another claim when a previously compatible schema becomes incompatible: 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 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/runner-tool-call-integrity.test.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"686509d9bb40eed72d5294f2456b4091e66d52029614966210a48cd8a098cc56"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not cache a failed refresh or claim input until that check succeeds: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/runner-tool-call-integrity.test.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"e452e5f93bc718909f3e0bd41b2a4ff4415cbee872c5a3b4992be4400e1f474e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not claim a learner input when another release has upgraded a lazy store: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/runner-tool-call-integrity.test.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"3919a49e5f3c22fac48bb5f41d6be35e97b22b80a87a9b069c030f15b92d9a0b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps polling on temporary database failure without claiming or retiring the process: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/runner-tool-call-integrity.test.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd1b8f71ef31efdf5e004eead3716652408f0466de573e66556886984156bde"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the tool registration cache isolated by %s: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/voice-clone-tools.test.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8122ce12cae69aa7185ea98b5cf3fe32d7c930e8f733507474f533568c2bba"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for the interactive frame to complete and settles its nested assets: 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 7 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":"render-service/test/preview-renderer.test.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c9b13cd2f8f7baaefb623818edea36c13459887b9851461b5a9193972d4774"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not report the same auto-fit scale twice: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/test/SlideCanvas.test.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f09f10f70d37b2f260405d4a17f560b452e5e6c5d2745e57e833a397c659446"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the current scale when auto-fit is re-enabled: This test sets up 3 test doubles (for example \u0060vi.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/test/SlideCanvas.test.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5720cc35f45f2de7bc4aa0dd62c29e6351829370d38bf43168692dc07ea09b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels the timer fallback with the clearTimeout it scheduled with: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/test/elements/text/inlineMath.test.tsx"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea113d8cc00961badd6cb124d9b9ce255b6afe0e985164748c5154016bb490ce"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs a fallback through the injected structural logger: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/test/outline-generator.test.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2d9ecf39f661fee1173b5672793f4ee5a686de12f1ba8b83ee15bef30ad0be"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: exits Shape label editing when the blank canvas is pressed: This test sets up 5 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/test/react/EditableSlideCanvas.shape.test.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9d8a3280673659daf2b5332bdcc1f98d2011d6a3d574c73610e3a898d11808"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: enters table editing from a double-clicked table cell hit: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/test/react/EditableSlideCanvas.test.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6bd4c06bded770cf650c9d9292a3a7392ad6eccc14d8f75fb97ddf174a59e8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: enters text editing on a click but keeps a drag as a move gesture: 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":"packages/@openmaic/editor/test/react/EditableSlideCanvas.text.test.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d110ca1f87fd850db8544b4bd166eb6509f41b49b0775a805bec7a662b944537"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: switches to another text element in one click while editing: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/test/react/EditableSlideCanvas.text.test.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e494503004a56a706bd255b258bab44dcc2153539ee0df7d5bb33746c4cae63f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears editing selection when the blank canvas is pressed: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/test/react/EditableSlideCanvas.text.test.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b059818d988363fefca3257701477e91ef68b1c19d871056e9fbbcec7e581e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes semantically empty text without recording an intermediate empty-content edit: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/test/react/EditableSlideCanvas.text.test.tsx"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc777ed79a6a8e97d214b7057de089cea9a34ae77635107c43b0d7d4d01d65f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a sub-threshold primary click but not a drag: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/test/react/useEditGesture.test.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa9e2b4e7d077eb791cc2962f93c988a6efb82b32b6ec99aef54bab18de34ed"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5516de962088666eaf3191bbc1e713f891492f7203fd14cf10cc82075b11fbf3"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"354692e9b399bdd97973809bcc76410ab84655786f343227d0d6bfe7a7d29eb5"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a27834c3de7529082ca8fc66cdbbcb485520925d3b62333fb950a96a96899b23"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edd7a8a66ec34d4a0a9b3c0f50a4c751804650544397594daf9d434f5b1085df"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/edit/PlaybackChromeRoot.tsx: components/edit/PlaybackChromeRoot.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 288 in PlaybackChromeRoot.PlaybackChromeRoot at line 131. 5 of those changes were fix/bug commits, and the other 11 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/edit/PlaybackChromeRoot.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/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed840240c855eecbd03046cb1c9a86e35780529918899e782fc52b04f20cc66"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/runner.ts: lib/server/agent-runtime/runner.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 240 in runner.executeSession at line 1043. 7 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/runner.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abe0f7cb7a34b23dada81efe188586e084d04ea8a27f88e5ebab881c782466f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/page.tsx: app/page.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 193 in page.HomePage at line 161. 1 of those changes was a fix/bug commit, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/page.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/page.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f86bea421283dcd35b231d1cee1180ac2890de9af597e97d6fc4f40d32707f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workbench/workspace/WorkspaceShell.tsx: components/workbench/workspace/WorkspaceShell.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 207 in WorkspaceShell.WorkspaceShellController at line 187. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/workbench/workspace/WorkspaceShell.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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e026dacd743b3bab3965143bf7c82c7a86aa2606b7dd20b31a9b494db4b4c4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/export/use-export-pptx.ts: lib/export/use-export-pptx.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 187 in use-export-pptx.buildPptxBlob at line 544. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/export/use-export-pptx.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/export/use-export-pptx.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbc41204fe9b33ac27f310b20fdb82306ae0741acb75284d00324088363af2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/ai/providers.ts: lib/ai/providers.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 83 in providers.getCompatThinkingBodyParams at line 1747. 7 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08: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":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"e492eac6a9d97418ba7598c5651bc18ad371184af512729b1e77e56e355f5d1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/roundtable/index.tsx: components/roundtable/index.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 328 in index.Roundtable at line 156. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/roundtable/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e437b9c229e6b71bce1f0f4b9fb50744ba4827a76fdbba318824a99eb6ae7216"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/workbench/session-store.ts: lib/workbench/session-store.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 160 in session-store.foldEvent at line 940. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/workbench/session-store.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/session-store.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cb5abad0dab17b00650de2b34ccc8c85dc969b896583324c9b3a519e8c6963"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts: packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 226 in transformParsedToSlides.transformParsedToSlides at line 414. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.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/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d91a6697c0a4fb883d724dddb7962f3e9bc3bac12b56017ad704451be0b7d78"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/store/stage.ts: lib/store/stage.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 103 in stage.useStageStoreBase at line 740. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/store/stage.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/store/stage.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3c8e9a23b0b7fd0b58f0bcef817bd0291f241ecdad438b8a1eb16727df8d1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/chat/pi/route.ts: app/api/chat/pi/route.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in route.chat at line 65. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/chat/pi/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/pi/route.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"db05a7cf3c301778d4d5944b1ab8c9097051604d3e76cdf18aa616b5dd9ea4db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workbench/WorkbenchChat.tsx: components/workbench/WorkbenchChat.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 149 in WorkbenchChat.WorkbenchChat at line 123. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/workbench/WorkbenchChat.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/workbench/WorkbenchChat.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1b972cd10cea963045af3dc6f4db14770e698255825044d7c76fc2027a37c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/importer/src/serializer/textSerializer.ts: packages/@openmaic/importer/src/serializer/textSerializer.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 207 in textSerializer.renderTextBody at line 1066. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/importer/src/serializer/textSerializer.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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c38d7c991e437d2ad86437c4fa91e5f3e3effed10304a5276937481dde0b7a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workbench/chat/tool-presentation.ts: components/workbench/chat/tool-presentation.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 189 in tool-presentation.presentTool at line 286. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/workbench/chat/tool-presentation.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/workbench/chat/tool-presentation.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc651e00a2d84000f53ea3b91703ad46c5aa4f0105da4861ff1fdddac453147"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/stage.tsx: components/stage.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in stage.Stage at line 52. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/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/stage.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"165f2b55fc576a161b1af5830729d0ce7cb290bc6100eaaf7fdd81b1bfeb1b12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/generation/run/engine.ts: lib/server/generation/run/engine.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 224 in engine.executeClaimedRun at line 400. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/generation/run/engine.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/server/generation/run/engine.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df2fd527095d83945dcc44f909d026beddad8e87b443500be5f3c33aec66229"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/workbench/use-workbench-session.ts: lib/workbench/use-workbench-session.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in use-workbench-session.useStageFreshnessSync at line 444. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/workbench/use-workbench-session.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/workbench/use-workbench-session.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a15063d1d34625ef5e305706d21e3e23f39cfe8a453db5c1073e0c03a6a018f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-service/src/main.ts: render-service/src/main.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in main.createApp at line 270. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- render-service/src/main.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/main.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54cc1c22e3d2bc935d66eeb2d852d48e2b4d30a0b120ced56765313bb6aa944"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/chat/pi/tools/call-agent.ts: lib/chat/pi/tools/call-agent.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in call-agent.buildCallAgentTool.execute at line 587. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/chat/pi/tools/call-agent.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/chat/pi/tools/call-agent.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"50db97097413472eef40a3d282bfdcb963bb17d9724f9524f8beb142c2b82fdb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/material-tools.ts: lib/server/agent-runtime/material-tools.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in material-tools.buildMaterialTools at line 555. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/material-tools.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/server/agent-runtime/material-tools.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"566009a7a97555b298e1d84ed4576bf25f6efea2216e67c021fa758738b0ee51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/classroom/ClassroomSurface.tsx: components/classroom/ClassroomSurface.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ClassroomSurface.ClassroomSurfaceContent at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/classroom/ClassroomSurface.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/classroom/ClassroomSurface.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e8fbc425707c7e019e575a7124c1a08fb4dc6488a6b34437a764aa3272db0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/generation-tools.ts: lib/server/agent-runtime/generation-tools.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in generation-tools.buildGenerationTools at line 274. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/generation-tools.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/server/agent-runtime/generation-tools.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2fed64f9a4158dd5753616ba640f6e8d82b1ada305d5997291549c00b52b1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/generation/src/scene-generator.ts: packages/@openmaic/generation/src/scene-generator.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in scene-generator.generateWidgetContent at line 1270. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/generation/src/scene-generator.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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fce568ba8c0c88fe4be5ff61a4b16911887713b82ed760063e7da004ba777e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/playback/engine.ts: lib/playback/engine.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in PlaybackEngine.processNext at line 576. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/playback/engine.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/playback/engine.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"01939a6061dd0aa4a15d7fe964edb8fdbbed58c6a61129d39f36b97950035644"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/audio/tts-providers.ts: lib/audio/tts-providers.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in tts-providers.generateDoubaoTTS at line 1377. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/audio/tts-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/audio/tts-providers.ts"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e3a54c578309b3b3e587e43fca5bc0db62546e16e619e668ec5fde0f04c9ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/chat/use-chat-sessions.ts: components/chat/use-chat-sessions.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in use-chat-sessions.useChatSessions.sendMessage at line 1654. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/chat/use-chat-sessions.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-chat-sessions.ts"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fb0a1cbca87fc8501835404695bad4ac25e5ff58f4191325bd6bb097457f18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/provider-config.ts: lib/server/provider-config.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in provider-config.resolveServerWebSearchProviderId at line 1075. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/provider-config.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/provider-config.ts"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4d5c6caf6f77d3b3e6e74220af76e6cb4f77221b81769ec200d8edfd90111c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/tts-settings.tsx: components/settings/tts-settings.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in tts-settings.TTSSettings at line 100. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/tts-settings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/tts-settings.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff727191a61fb41ee810651b6fe5478c20f8626ced6888cd4daeec374b55e717"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/stage/header-controls.tsx: components/stage/header-controls.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in header-controls.HeaderControls at line 113. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/stage/header-controls.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/stage/header-controls.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c57eae3bed7881a3bfada301334b833edf3a879b63534c51ab009f2fb5c7f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/token-plan-settings.tsx: components/settings/token-plan-settings.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in token-plan-settings.TokenPlanSettings at line 187. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/token-plan-settings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/token-plan-settings.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad96dd097e4b138e5a9ff26d033e507c380b8b35ba346647e07b86b750f11b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/chat/pi/director-loop.ts: lib/chat/pi/director-loop.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in director-loop.runPiDirectorLoop at line 30. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/chat/pi/director-loop.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/chat/pi/director-loop.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4edbdac07b07d8e48063a4e4a3701252f66a3642975e44ed56880970ea370d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/pbl-v3/runner-tools.ts: lib/server/pbl-v3/runner-tools.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 126 in runner-tools.teachingRunnerConfig at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/pbl-v3/runner-tools.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/server/pbl-v3/runner-tools.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e7895aa934e6850be26fcd17064f993f8674ed0a985bb32de561c3d9d086ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/generation/generation-toolbar.tsx: components/generation/generation-toolbar.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in generation-toolbar.GenerationToolbar at line 98. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/generation/generation-toolbar.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/generation/generation-toolbar.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"281cdc384f2bb3592803b45931b16d9b71c0ed993a968bd071d048a6630ed5fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/scene-renderers/InteractiveIframeHost.tsx: components/scene-renderers/InteractiveIframeHost.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in InteractiveIframeHost.PooledIframe at line 235. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/scene-renderers/InteractiveIframeHost.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/scene-renderers/InteractiveIframeHost.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2293c12d14705e01661f0d49b5f03162f41db886e0dd7377e22eaa38021e4e78"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/export/inline-assets.ts: lib/export/inline-assets.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in inline-assets.inlineHtmlAssets at line 608. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/export/inline-assets.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/export/inline-assets.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b71d495546a4e144b985611ab7aec313f6f4abbc6459bcf25d582a2178c6bb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/stage-storage.ts: lib/utils/stage-storage.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in stage-storage.saveStageDataIncremental at line 355. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/utils/stage-storage.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/utils/stage-storage.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dfeeebf509db6e1e0265e5f67af2c243e2f7fffb4e238e39caef0398c5c1fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: instrumentation.ts: instrumentation.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in instrumentation.register at line 15. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- instrumentation.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":"instrumentation.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38d869aa75468e7c8b4a1180df7967a74d9cd20dd2538c9158a924554e36024"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/scene-tts.ts: lib/server/agent-runtime/scene-tts.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in scene-tts.synthesizeSceneNarration at line 318. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/scene-tts.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/server/agent-runtime/scene-tts.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6749e6de083868a0bda228f3b979a0528b549796131acad5fe09b7cfa943d2ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/scene-renderers/pbl/v2/submission.tsx: components/scene-renderers/pbl/v2/submission.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in submission.SubmissionModal at line 909. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/scene-renderers/pbl/v2/submission.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/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"2315cc841d64aff3438a484c2ff1c5e364c89174490a9d25f51992652e019b34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/video-export-app/timeline-deps.ts: lib/video-export-app/timeline-deps.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in timeline-deps.createVideoTimelineDeps at line 191. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/video-export-app/timeline-deps.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/video-export-app/timeline-deps.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb51072a6626e15fd2e4b88efe85816b7b108e4a44de54e298b1ad19fec1ed4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workbench/workspace/MaterialLibraryPage.tsx: components/workbench/workspace/MaterialLibraryPage.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 157 in MaterialLibraryPage.MaterialLibraryPage at line 735. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/workbench/workspace/MaterialLibraryPage.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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62afdc8783b368e2a382743c2e11136ccb7cfcbdb2e0ab5655b52a9d31d49f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/chat/pi/element-reference.ts: lib/chat/pi/element-reference.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in element-reference.projectElement at line 608. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/chat/pi/element-reference.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/chat/pi/element-reference.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cf35b9a883724f2825182f952ce19c6e0b8074177e0a4419512bd37835b20f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/index.tsx: components/settings/index.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in index.SettingsDialog at line 52. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/index.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9934d5b7cfbb5fc6f1ce3ecd5dc10752c50c6adce739909bf88e60c005d70c1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/import/use-import-classroom.ts: lib/import/use-import-classroom.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in use-import-classroom.useImportClassroom.handleFileChange at line 374. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/import/use-import-classroom.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/import/use-import-classroom.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"82364410c017a63dda7ac3e4d0eb39bc772d1119bfc4c086684ec187ee5cd25c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/chat/pi/tools/classroom-actions.ts: lib/chat/pi/tools/classroom-actions.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in classroom-actions.buildChildActionTools at line 278. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/chat/pi/tools/classroom-actions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/classroom-actions.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"628e43ffce7187a03ad3e4908299c8eee2994447e8318a481c170888950a4e73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/model-config/settings.ts: lib/server/model-config/settings.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in settings.applyModelSettingsChange at line 663. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/model-config/settings.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/server/model-config/settings.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"61162240ba7cb05ca9b105eddc3b2a411575b635ad4267a235baf28887212bfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/generate/voice/route.ts: app/api/generate/voice/route.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in route.POST at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/generate/voice/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/generate/voice/route.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d9897774e33de5e88b11337d230a314ad94ea6bc55d4632e3c34291a604702"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workbench/workspace/WorkspaceRail.tsx: components/workbench/workspace/WorkspaceRail.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in WorkspaceRail.WorkspaceRail at line 195. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/workbench/workspace/WorkspaceRail.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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7569a46f68329ecf2588dc18cbfaa0f6472fefb51e2bfddbe19e985326a2b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/materials/route.ts: app/api/materials/route.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in route.POST at line 170. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/materials/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/materials/route.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"608f17598c35babdb3f69ea55d609242d369709105f3b2931d89c3768c847cb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/resolve-model.ts: lib/server/resolve-model.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in resolve-model.resolveRequestedModel at line 127. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/resolve-model.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/resolve-model.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d9ed9b38a77eea1228953323e9ec116393561fe79e1170d1b30f139d0ad5a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/canvas/canvas-area.tsx: components/canvas/canvas-area.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in canvas-area.CanvasArea 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/canvas/canvas-area.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-area.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9b28e346b63ff95468bb66912c0f141bb88d9fa6b0a07cd806038f975ad4b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/hooks/use-discussion-tts.ts: lib/hooks/use-discussion-tts.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in use-discussion-tts.useDiscussionTTS.processQueue at line 305. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/hooks/use-discussion-tts.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/hooks/use-discussion-tts.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"523a8ee3d33c8fe607a3d54a515a7bffd6291ef69ec307a5d60acb19e972d4d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/asr-settings.tsx: components/settings/asr-settings.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in asr-settings.ASRSettings at line 53. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/asr-settings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/asr-settings.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50221801357117875747b6eafc44a65c8a3aa41fed60ec605406c4035714b49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/persistence/owner-bound-document-store.ts: lib/persistence/owner-bound-document-store.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in owner-bound-document-store.createOwnerBoundDocumentStore at line 579. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/persistence/owner-bound-document-store.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/owner-bound-document-store.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fa50280e73158b1a014236e37daf4da0d8b63483a6bddc86ab0ec4d246ab6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/storage/src/server/asset.ts: packages/@openmaic/storage/src/server/asset.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in asset.route at line 560. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/storage/src/server/asset.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/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"9070352e29b011af9a31f44893e0dcb174e4feda8f912af82f1c737bc328b598"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/classroom/load-classroom.ts: lib/classroom/load-classroom.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in load-classroom.runClassroomLoad at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/classroom/load-classroom.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/classroom/load-classroom.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2c7da49b5d06ca134fe2ffe8db0b31b7c2ce811bc7b809f582f8ea2cd5e19e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/generation/steps/outline.ts: lib/server/generation/steps/outline.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in outline.streamOutlines at line 551. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/generation/steps/outline.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/server/generation/steps/outline.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"524c3fbc289040701f3b34b9815b810b8952a73b537f936fab8b60c23d064b52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/export/use-export-classroom.ts: lib/export/use-export-classroom.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in use-export-classroom.buildClassroomExportSnapshot at line 138. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/export/use-export-classroom.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/export/use-export-classroom.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f10448907db8f74f2e415705835707b72cffa81e09e5f49005e8afa512aafc1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/renderer/src/elements/chart/chartOption.ts: packages/@openmaic/renderer/src/elements/chart/chartOption.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in chartOption.getChartOption at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/renderer/src/elements/chart/chartOption.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/@openmaic/renderer/src/elements/chart/chartOption.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"de76bfdf036be36748ee96766cb84be9525c3647cc098f9ca7c41f53d51be8d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/agent/owner-events/route.ts: app/api/agent/owner-events/route.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in route.GET at line 40. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/agent/owner-events/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/agent/owner-events/route.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3e1b922ed44452f7ead4f303c7d7ef926d595d2edce9fa3a8ecc11f01e9a52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/generate-video.ts: lib/server/agent-runtime/generate-video.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in generate-video.patchStageVideoPlaceholder at line 473. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/generate-video.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/server/agent-runtime/generate-video.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"319499222730fbde0809f2bdbf15d48f9f4d504c9d5d248f51502cd281386a46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/agent/sessions/route.ts: app/api/agent/sessions/route.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in route.POST at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/agent/sessions/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/agent/sessions/route.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8af3942a6464f061f060160554f43c1d1e0bb3cb7b1bc42a01fd8b4c63d26bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/model-config/openmaic-yml.ts: lib/server/model-config/openmaic-yml.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in openmaic-yml.crossCheck at line 314. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/model-config/openmaic-yml.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/server/model-config/openmaic-yml.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"768c3ec0152914365da255482c6c24e856f90b80ce81c24edfbc745bbe025758"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx: packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 114 in EditableSlideCanvas.EditableSlideCanvas at line 93. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/editor/src/react/EditableSlideCanvas.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/@openmaic/editor/src/react/EditableSlideCanvas.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e08dc3888d7a6c1b87fd67e9fce678f2184651206eef2e7136459dddddcc2a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/agent/runtime/stream-fn.ts: lib/agent/runtime/stream-fn.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in stream-fn.pump at line 275. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/agent/runtime/stream-fn.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/agent/runtime/stream-fn.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ba5ece8c3888b0feee5c011a6cf361498a34b77d2b1aab3119fcc58fec3a69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/voice-clone-tools.ts: lib/server/agent-runtime/voice-clone-tools.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in voice-clone-tools.buildVoiceCloneTools at line 260. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/voice-clone-tools.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/server/agent-runtime/voice-clone-tools.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d7c2c1c3b87bf6c57ab80c74577ce169acb578142e641c3bd50d8107feeaa9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/provider-config-panel.tsx: components/settings/provider-config-panel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in provider-config-panel.ProviderConfigPanel 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/provider-config-panel.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/provider-config-panel.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0bad37e344e5f5d925ae8e40d1228063f3cdc9c0fa7549cda7301391a90317"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/audio/voice-resolver.ts: lib/audio/voice-resolver.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in voice-resolver.getEnabledProvidersWithVoices at line 394. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/audio/voice-resolver.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/voice-resolver.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8496d0a1c9d1df677345e6065919940b86c3b641fad701f4a00248164643969"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-service/src/render-executor.ts: render-service/src/render-executor.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in InProcessExecutor.execute at line 190. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- render-service/src/render-executor.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":"render-service/src/render-executor.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"18edf60130c3b4d7cddb6f16299f19c9c6380b616fbf68b8824893c38abcdc72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/edit/surfaces/slide/ElementPickLayer.tsx: components/edit/surfaces/slide/ElementPickLayer.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in ElementPickLayer.ElementPickLayer at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/edit/surfaces/slide/ElementPickLayer.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/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f472ec91ddaa531bf1c754aa69adace047f332c10369494cddc9b6147829b550"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/model-config/legacy-config.ts: lib/server/model-config/legacy-config.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in legacy-config.translateLegacyConfig at line 120. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/model-config/legacy-config.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/legacy-config.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca14e76d1c39513c5cf0f3f79053940e0604c37889142d28b487d2e703b40b9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/ssrf-guard.ts: lib/server/ssrf-guard.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ssrf-guard.tunnelEmbeddedIPv4 at line 114. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/ssrf-guard.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/server/ssrf-guard.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba586cb704bd6514e98d18704cab58ac8da73ad39b32cdbd17d0292f7d9f280"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/edit/ActionsBar/ActionsBar.tsx: components/edit/ActionsBar/ActionsBar.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in ActionsBar.ActionsBar at line 1057. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/edit/ActionsBar/ActionsBar.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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f8a00b52e03d0c8c0d3b3ba11391dc5c4a284855017278051891cac9a9b675"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/hooks/use-audio-recorder.ts: lib/hooks/use-audio-recorder.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in use-audio-recorder.useAudioRecorder.startRecording at line 185. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/hooks/use-audio-recorder.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/hooks/use-audio-recorder.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"81427e22ba532d9387aad3db3f2ed5d76da14338e75d64d7b10652f6bb64f0dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/media/media-orchestrator.ts: lib/media/media-orchestrator.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in media-orchestrator.retryMediaTask at line 107. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/media/media-orchestrator.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/media/media-orchestrator.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f3a1d8802674c920a299ce4e1f597149d0efa213c5c93a7a4bfbd23c70cd06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/ai/llm.ts: lib/ai/llm.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in llm.callLLM at line 346. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/ai/llm.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/llm.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b0b9ab46cdabaa313bd3bf831705e794028e7b40af4933680cb2d7dddbdbbf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/model-config/resolve-slot.ts: lib/server/model-config/resolve-slot.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in resolve-slot.resolveTarget at line 181. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/model-config/resolve-slot.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/server/model-config/resolve-slot.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ccc946cddd287a3927e539b5e519eaa931adb8e356fe839a4173ea5798a23b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/components/element/ProsemirrorEditor.tsx: components/slide-renderer/components/element/ProsemirrorEditor.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in ProsemirrorEditor.ProsemirrorEditor at line 58. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/components/element/ProsemirrorEditor.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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a332ace8b8114ece44980ca98e39eea858bf85691fcbc48ced8e3f50b0d14d1a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/model-routes.ts: lib/server/model-routes.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in model-routes.parseRouteValue at line 151. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/model-routes.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/server/model-routes.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b9374c99dfe6018d0cfd82816f2c156b16792cff7c1bbf3a6d0acc197b73d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/generate/tts/route.ts: app/api/generate/tts/route.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in route.POST at line 57. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/generate/tts/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/generate/tts/route.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7666c71df35bf079aa423862042cc70f978dfed880235c7f00ffc64f4f8018"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/export/classroom-zip-utils.ts: lib/export/classroom-zip-utils.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in classroom-zip-utils.collectLegacyAudioForExport at line 287. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/export/classroom-zip-utils.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/export/classroom-zip-utils.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb5c06f6cc1da0ce085e1902ab1fc5112129d8bf14d74b2f43a1b0e11202031"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/verify-image-provider/route.ts: app/api/verify-image-provider/route.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in route.POST at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/verify-image-provider/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/verify-image-provider/route.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cc87bf537fd7b4f1525ef1b5da9940f23024fdfa2b40efcddf6d27547cfca4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workbench/course-mention-menu.tsx: components/workbench/course-mention-menu.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in course-mention-menu.CourseMentionMenu at line 83. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/workbench/course-mention-menu.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/workbench/course-mention-menu.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aea04c8ee26ec003fc48cfe8893592ed63d8586d8de526cf0863effe87e0dd2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/web-search-config.ts: lib/server/web-search-config.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in web-search-config.requestedWebSearchConnection 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/web-search-config.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/web-search-config.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa67acb3f799e0adfec8ac46a11acca4ea094558974665417faf4d7c0ed8a1cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: render-service/src/render-coordinator.ts: render-service/src/render-coordinator.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in RenderCoordinator.run at line 338. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- render-service/src/render-coordinator.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":"render-service/src/render-coordinator.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea6cfb047825990df2a0cf80d4d296a609c164bd8ea21579ca55a6c1cb86a93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/agent/agent-bar.tsx: components/agent/agent-bar.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in agent-bar.AgentBar at line 605. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/agent/agent-bar.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/agent/agent-bar.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4a05046e4d6a450e63144590105a11f0ef83c6433609db7f3f1eda29ccb462"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/verify-video-provider/route.ts: app/api/verify-video-provider/route.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in route.POST at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/verify-video-provider/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/verify-video-provider/route.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff12a4022d8edcf7a0555fa5e9eebda0d2b710055a14eebd2a77522a0dc956a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/storage/src/asset/collector.ts: packages/@openmaic/storage/src/asset/collector.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AssetCollector.collectPass at line 502. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/storage/src/asset/collector.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/@openmaic/storage/src/asset/collector.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3ed29e3c5324e5ea23d50886d28f30a10e5df47a8fd48b1e247fc2b5214f74"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/storage/src/asset/pg.ts: packages/@openmaic/storage/src/asset/pg.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PgAssetStore.replace at line 1381. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/storage/src/asset/pg.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/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e95a572dcb419077f21f5d467e9f924f33bfe4e0505cbd9c79e414f90b91800"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/chat/pi/tools/native-whiteboard.ts: lib/chat/pi/tools/native-whiteboard.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in native-whiteboard.buildNativeWhiteboardTools at line 743. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/chat/pi/tools/native-whiteboard.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/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cabce7363cd122ea6950f13407c7916d85a07e15f9bdbf18e117eeaa506109f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/Editor/Canvas/index.tsx: components/slide-renderer/Editor/Canvas/index.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in index.Canvas at line 65. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/Editor/Canvas/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/index.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3564b6f15e44aa1a19ac2e7d7ca130fe4c51d09581d5c96a0a20ee9f49a630c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/persistence/[...path]/route.ts: app/api/persistence/[...path]/route.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in route.handlePersistenceRequestInner at line 501. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/persistence/[...path]/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/persistence/[...path]/route.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe4337c329ceaeafa2428718a3c7c5c909f138b2b40500ce1063f63f5f6a3a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/store/video-render.ts: lib/store/video-render.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in video-render.useVideoRenderStore at line 145. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/store/video-render.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/store/video-render.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6c498fdbc0bfe3ae280f8205a63b144d3283877afb67dc82b95e7066fd9d14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/agent/sessions/[id]/events/route.ts: app/api/agent/sessions/[id]/events/route.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in route.GET at line 61. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/agent/sessions/[id]/events/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/agent/sessions/[id]/events/route.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c401d2814c70b3273389845d95b9f896c69810b44311a72fc0d866d9e918b2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts: components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in useDragElement.useDragElement.dragElement at line 40. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/Editor/Canvas/hooks/useDragElement.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/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed932a9e78ee93bc8cbc7a4bb51b0996c98b96a53c94a4512c14d118d024e0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/curriculum-tools.ts: lib/server/agent-runtime/curriculum-tools.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in curriculum-tools.buildCurriculumTools at line 194. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/curriculum-tools.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/server/agent-runtime/curriculum-tools.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1620c7899ded54c163a1ebdb9e9d3a920fa9fcdfa2fb2168c44f7924259c392e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/dsl-tools.ts: lib/server/agent-runtime/dsl-tools.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in dsl-tools.buildDslCourseTools at line 1057. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/dsl-tools.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/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbb0543b700c6071f6af994f44f76dd8c7a2c210e25305d54168551ca469128"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/document-store/validators.ts: lib/document-store/validators.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in validators.validateAppScene at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/document-store/validators.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/document-store/validators.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"756da8a72c1f604363ee9dff174a53cb487cd19c4cd5377c8e8ee7d06232fa2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/export/standalone-html/build-standalone-html.ts: lib/export/standalone-html/build-standalone-html.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in build-standalone-html.collectStandaloneMediaBytes at line 198. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/export/standalone-html/build-standalone-html.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"817a3982a789e5b57448f709fb50954c739204fb724b97e49517b4090e535590"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/agent/sessions/[id]/messages/route.ts: app/api/agent/sessions/[id]/messages/route.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in route.POST at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/agent/sessions/[id]/messages/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/agent/sessions/[id]/messages/route.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4d7f535485058ba5ab8e79efd74ed4204a5026496aa819266d813b142cdc6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/discovery/folder-card.tsx: components/discovery/folder-card.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in folder-card.FolderCard 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/discovery/folder-card.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/discovery/folder-card.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cd5f91c634df18f6504d18667989eb9cfb4bcf10fc10851eb7914847801221"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/audio/asr-providers.ts: lib/audio/asr-providers.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in asr-providers.transcribeQwenASR at line 467. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/audio/asr-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/audio/asr-providers.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"57780386ff1c50fef3f3a42ac7d0e6f565d9be95cf3113e9afb851bc412981f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workbench/ProLaunchPanel.tsx: components/workbench/ProLaunchPanel.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in ProLaunchPanel.ProLaunchPanel 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/workbench/ProLaunchPanel.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/workbench/ProLaunchPanel.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67d7c67035cc3fe78c8148c0f080da898e437c87a5d42b5d7ddc70aa59db8a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/verify-pdf-provider/route.ts: app/api/verify-pdf-provider/route.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in route.POST at line 122. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/verify-pdf-provider/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/verify-pdf-provider/route.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f811003b55ccbfbbff2475aee362f2c76d93c321df1a3cfba3475a9abc1fd792"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/models/slot-picker.tsx: components/settings/models/slot-picker.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in slot-picker.SlotPicker at line 228. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/models/slot-picker.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/models/slot-picker.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d029e7a8e0cda442199af7e1dd32568880dfb5c2029c8ce63869f8f4ca2b72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/media/adapters/minimax-video-adapter.ts: lib/media/adapters/minimax-video-adapter.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in minimax-video-adapter.generateWithMiniMaxVideo at line 254. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/media/adapters/minimax-video-adapter.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/media/adapters/minimax-video-adapter.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa20c003eda6a9f90c77adba42174fd32261d0eab5669426eb4ba56e1877a26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/stage/scene-sidebar.tsx: components/stage/scene-sidebar.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in scene-sidebar.SceneSidebar at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/stage/scene-sidebar.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/stage/scene-sidebar.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e591b658391fd1ef26f7632babf97185c87a879df7d03463039a08ab6aa08d90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/model-config/deployment-layer.ts: lib/server/model-config/deployment-layer.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in deployment-layer.loadDeploymentLayer at line 131. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/model-config/deployment-layer.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/server/model-config/deployment-layer.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"df03a8769b03a78c2efbde0979300d75b8a59511f5f86a79168bff1f9a4c5e06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/export/standalone-html/prepare-manifest.ts: lib/export/standalone-html/prepare-manifest.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in prepare-manifest.prepareElement at line 209. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/export/standalone-html/prepare-manifest.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/export/standalone-html/prepare-manifest.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cf28c6f1504e6d297296efa491f2ac932354d12e2a3b5fe5599da7c8d7a882"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/import-pptx.ts: lib/server/agent-runtime/import-pptx.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in import-pptx.buildImportPptxTool.execute at line 396. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/import-pptx.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/server/agent-runtime/import-pptx.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec01e2f0639b488644826a8146fa3a7a97f16208d56a7077209d9c42ee9d75a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/document-store/migration.ts: lib/document-store/migration.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in migration.migrateLocked at line 391. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/document-store/migration.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/document-store/migration.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"602dee8fa3f8dbe4095dcd8324ecaab03b35496d3ce4b9054def765c2b34823f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/course-edit/tools.ts: lib/server/agent-runtime/course-edit/tools.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in tools.buildCourseAudioAndDeckTools at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/course-edit/tools.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/server/agent-runtime/course-edit/tools.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98de71b613e78da73bf802ec58b8dba329a057f5e8192681346d29ed65d815b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/roster-tools.ts: lib/server/agent-runtime/roster-tools.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in roster-tools.buildRosterTools at line 223. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/roster-tools.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/server/agent-runtime/roster-tools.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfde75285c16c06f0b992ad8ba13cd802a3c56706b17bc3299d55515282bcb79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/edit/SlideNavRail/SlideNavRail.tsx: components/edit/SlideNavRail/SlideNavRail.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in SlideNavRail.SlideNavRail at line 50. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/edit/SlideNavRail/SlideNavRail.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/edit/SlideNavRail/SlideNavRail.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3192ebb65637a3e01a79898b9212b2965680027c3334718a2262bb83e9967702"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/storage/src/asset/http.ts: packages/@openmaic/storage/src/asset/http.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in HttpAssetStore.fetchBytes at line 469. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/storage/src/asset/http.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/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe0a4f407bfcbc8744e258bc1bc6fdf4a54fd355721163597a6e3f8b3ad862e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/components/element/TextElement/index.tsx: components/slide-renderer/components/element/TextElement/index.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in index.TextElement at line 29. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/components/element/TextElement/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/TextElement/index.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7584dde931763be996813bce5c4a2471f97a1f2af6b82a941379e6f06b2a0f6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/document/extractors/local-media.ts: lib/document/extractors/local-media.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in local-media.extractMediaMaterial at line 603. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/document/extractors/local-media.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/document/extractors/local-media.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"5324f6c850f7bbfb82c495b38268ece52b745e11e6680d6833c74e6264a91cdc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/standalone-player/App.tsx: lib/standalone-player/App.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in App.App at line 125. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/standalone-player/App.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":"lib/standalone-player/App.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21d8a28dfa1e367c77bf8fabce9821c06d38fcfeb682db64a76174256c0c4ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/pbl-v3/application.ts: lib/server/pbl-v3/application.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in application.applicationRequest at line 268. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/pbl-v3/application.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/server/pbl-v3/application.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"39493bee872f69d18b1065e805b0240880b27b604521408ad061449727d9e9ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/generate-image.ts: lib/server/agent-runtime/generate-image.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in generate-image.buildGenerateImageTool.execute at line 300. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/generate-image.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/server/agent-runtime/generate-image.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c46bd95aaa54bbfe0aa9b41aa04eddb7847c31919b9b2b28c55b58150e92396"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/renderer/src/snapshot/index.ts: packages/@openmaic/renderer/src/snapshot/index.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in index.slideToPng at line 93. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/renderer/src/snapshot/index.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/snapshot/index.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd0b7d55be5d9c2649f5d7452ec504ddfedccbbacf4f1cfcd3f28ef7d798351"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/agent/runtime/build-agent.ts: lib/agent/runtime/build-agent.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in build-agent.buildAgent 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/agent/runtime/build-agent.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/agent/runtime/build-agent.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb30d913b1b0ad2cd72e06f5d0c1303c49fd7ac6e9f60caac7b5e38c5382915f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/pdf/mineru-parser.ts: lib/pdf/mineru-parser.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in mineru-parser.extractMinerUResult at line 14. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/pdf/mineru-parser.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/pdf/mineru-parser.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ea13164d6b6f77ecae3882145933c474eaeba65fe37d59da5f1a7209ccd853"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/components/element/TableElement/StaticTable.tsx: components/slide-renderer/components/element/TableElement/StaticTable.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in StaticTable.StaticTable at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/components/element/TableElement/StaticTable.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/slide-renderer/components/element/TableElement/StaticTable.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad976175ace6f3113837495cf3fb3115c652aa6dd76388e363719f477aca005d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/user-messages.ts: lib/server/agent-runtime/user-messages.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in user-messages.readAgentMessageLog at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/user-messages.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/server/agent-runtime/user-messages.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"13889b887e5fec807439eccd34e15e7d1ade0aa6c0ff115ef931551580c3efb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/editor/src/react/useEditGesture.ts: packages/@openmaic/editor/src/react/useEditGesture.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in useEditGesture.useEditGesture.onElementPointerDown at line 111. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/editor/src/react/useEditGesture.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/@openmaic/editor/src/react/useEditGesture.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b333ce0c4bcadfc01ac83f8ff7539880220feda20d440a096f62185106c254"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/web-search/index.ts: lib/web-search/index.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in index.searchWeb at line 18. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/web-search/index.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/index.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a8eededa197293f94f129a1fcb457e4a0561e341601e916f9b4896cde16b9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/canvas/canvas-toolbar.tsx: components/canvas/canvas-toolbar.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in canvas-toolbar.CanvasToolbar at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/canvas/canvas-toolbar.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-toolbar.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf2a4947f5c87c957b8a996aa564fc00478ddb51424d843aabd00a053e70323"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workbench/workspace/WorkspaceClassroomPane.tsx: components/workbench/workspace/WorkspaceClassroomPane.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in WorkspaceClassroomPane.WorkspaceClassroomPane at line 38. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/workbench/workspace/WorkspaceClassroomPane.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/workbench/workspace/WorkspaceClassroomPane.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ed9f588c89eaf2d9b7396751b0b01feea4fd5c097c7cdbaf78fd15f394a9da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/edit/SlideNavRail/ThumbItem.tsx: components/edit/SlideNavRail/ThumbItem.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ThumbItem.ThumbItemComponent at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/edit/SlideNavRail/ThumbItem.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/edit/SlideNavRail/ThumbItem.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8ae4f1d4e31c08c5f3de5aa811dd776577bcb01716aa89e133c3f79cfb4e17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/materials/extraction.ts: lib/server/materials/extraction.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in extraction.extractOwnerMaterial at line 373. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/materials/extraction.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/server/materials/extraction.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13c7d85632b5aff7605d6b5b70c5fc882d54c68254b20775121736d979e5998"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/model-config/media.ts: lib/server/model-config/media.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in media.fromTarget at line 147. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/model-config/media.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/server/model-config/media.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14727f73b42f5e85b04f8332b4c975cae4d303be5f4df0b2ffb769f84bb0863"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/verify-model/route.ts: app/api/verify-model/route.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in route.verify at line 25. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/verify-model/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/verify-model/route.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7abf97631d80c82449439b03a1d9c4ddbdda489208fe315ce9565e491977a3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/media/collect-stage-asset-refs.ts: lib/media/collect-stage-asset-refs.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in collect-stage-asset-refs.collectStageAssetRefs 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/media/collect-stage-asset-refs.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/media/collect-stage-asset-refs.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f7698ede37f0d3a830adcf9fa7e79f13b5b5fb35c3926a138c68becbe62243"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/Editor/RendererScreenCanvas.tsx: components/slide-renderer/Editor/RendererScreenCanvas.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in RendererScreenCanvas.PlaybackVideoContent at line 21. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/Editor/RendererScreenCanvas.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/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc3158bcc88e5eda7000c51734cdd7418488caf9503d6c32a2c07bf487a0ff5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/generation/steps/narration.ts: lib/server/generation/steps/narration.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in narration.synthesizeNarration at line 59. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/generation/steps/narration.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/server/generation/steps/narration.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23cb41aa0469c807bc5a43d3f9b9544d80883cb895596e711c65c64800ddc91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/pdf/mineru-cloud.ts: lib/pdf/mineru-cloud.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in mineru-cloud.parseMinerUZip at line 318. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/pdf/mineru-cloud.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/pdf/mineru-cloud.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ab43989dbdbb46d06725e6367dc3a9ae18ca0956f7dd258f160291da583e1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/components/element/ShapeElement/index.tsx: components/slide-renderer/components/element/ShapeElement/index.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in index.ShapeElement at line 33. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/components/element/ShapeElement/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a6b156c7d6aac30b8fd02dd8092f5d510b7671f1924d19c11e019348688d47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/renderer/src/elements/text/BaseTextElement.tsx: packages/@openmaic/renderer/src/elements/text/BaseTextElement.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in BaseTextElement.BaseTextElement at line 19. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/renderer/src/elements/text/BaseTextElement.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/@openmaic/renderer/src/elements/text/BaseTextElement.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"751ab76392c76b9fe6d0ae984f1d9b1f550add3c8b9b104c86ac094dffc2e9ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/chat/pi/interactive-state-evidence.ts: lib/chat/pi/interactive-state-evidence.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in interactive-state-evidence.attachInteractiveState at line 124. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/chat/pi/interactive-state-evidence.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/chat/pi/interactive-state-evidence.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2cfa06395d722d6d591bf328d75409147997f81bf569eea615bcef1bb2600a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/whiteboard/runtime/validate.ts: lib/whiteboard/runtime/validate.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in validate.validateWhiteboardRuntimePayload at line 429. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/whiteboard/runtime/validate.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/whiteboard/runtime/validate.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ddd5dae1baf2a552b6f95243338b746ab5206dff53807ee78973c81df47456"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/store/interactive-iframe-pool.ts: lib/store/interactive-iframe-pool.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in interactive-iframe-pool.useInteractiveIframePool at line 115. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/store/interactive-iframe-pool.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/store/interactive-iframe-pool.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e970ac3025fbb4657b4fcbb6359baecfb9a6a4eec5306c0b2c7e98f3cac9f68d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/components/element/ChartElement/chartOption.ts: components/slide-renderer/components/element/ChartElement/chartOption.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in chartOption.getChartOption at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/components/element/ChartElement/chartOption.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/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e1048d3974fd8bf9503aa102a663f2dd55c57b0d30031866710f3ef29bba20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/utils/audio-player.ts: lib/utils/audio-player.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AudioPlayer.play at line 146. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/utils/audio-player.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/utils/audio-player.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9d0bd07c8d7a8a0356673af8457104b42b9adf75a0407b97f3e4b655bbfe12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/renderer/src/utils/inlineMath.ts: packages/@openmaic/renderer/src/utils/inlineMath.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in inlineMath.renderPass at line 168. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/renderer/src/utils/inlineMath.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/@openmaic/renderer/src/utils/inlineMath.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aec40388d5c9670fb20ad182892796eaef9e57ccde372383265b66f9927e76e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/audio/adopt-cached-narration.ts: lib/audio/adopt-cached-narration.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in adopt-cached-narration.adoptCachedNarrationRun at line 316. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/audio/adopt-cached-narration.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/audio/adopt-cached-narration.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5461ee58b27d2dd69c2471c8f5d1e6ac3c63b09257d20b6bfeb4f58113bd05f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/model-services.tsx: components/settings/model-services.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in model-services.ModelServicesPanel at line 130. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/model-services.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/model-services.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf46b37cf6577fb2291d67977886927d6786cab23798cd52695b771b5af9fa5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/renderer/src/elements/table/StaticTable.tsx: packages/@openmaic/renderer/src/elements/table/StaticTable.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in StaticTable.StaticTable at line 19. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/renderer/src/elements/table/StaticTable.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/@openmaic/renderer/src/elements/table/StaticTable.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8adf1364f6c6c256aa08d4b73aab08891aac6c5e35a40bbfc862a8f700e461"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/provider/probe-models/route.ts: app/api/provider/probe-models/route.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in route.POST at line 26. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/provider/probe-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/probe-models/route.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d37f27a3dd89bfa2e43ab4bc5b72eecb8ccaaab1ec15945c2f769a37c3f3204"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/web-search-settings.tsx: components/settings/web-search-settings.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in web-search-settings.WebSearchSettings at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/web-search-settings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/web-search-settings.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d901bb66875c09926480400068e3cea9861949a2b741e45ecb8530fdf1c62138"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/whiteboard/runtime/fold.ts: lib/whiteboard/runtime/fold.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in fold.applyWhiteboardRuntimeOperation at line 51. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/whiteboard/runtime/fold.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/whiteboard/runtime/fold.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6285e90f0abc169b7e4db340b6628cdf59a51e77e2b782f6e57a2570f85f705c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/importer/src/parser/ZipParser.ts: packages/@openmaic/importer/src/parser/ZipParser.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ZipParser.parseZip at line 186. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/importer/src/parser/ZipParser.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/@openmaic/importer/src/parser/ZipParser.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e8c5cfee04c47b39ee92e57424bdb919a12114b94cb08fff7e78071e8fdc32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/persistence/asset-collector-schedule.ts: lib/persistence/asset-collector-schedule.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in asset-collector-schedule.startAssetCollectorSchedule at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/persistence/asset-collector-schedule.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/persistence/asset-collector-schedule.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93b1152b5c09e4966dc34cd9b4d09c1bafbddcb7b3848326fdf1de2f77fd14e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/media/adapters/minimax-image-adapter.ts: lib/media/adapters/minimax-image-adapter.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in minimax-image-adapter.generateWithMiniMaxImage at line 19. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/media/adapters/minimax-image-adapter.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/media/adapters/minimax-image-adapter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caf839737a47f5fd74a87aff8ec2af012271ad6b7f72c5400f0fa80b64a8336"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/export/pptx-scene-placeholders.ts: lib/export/pptx-scene-placeholders.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in pptx-scene-placeholders.planPptxDeck at line 250. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/export/pptx-scene-placeholders.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/export/pptx-scene-placeholders.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"94641e98b9f43ec4b355262c5a9f3332ac70389571a54288ee037573f6ee701e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx: components/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in BaseVideoElement.BaseVideoElement at line 32. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/components/element/VideoElement/BaseVideoElement.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/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f74619679f9a080f96f5baeb968816cfc72e3347d7857d00e8b5c268863418c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/whiteboard/index.tsx: components/whiteboard/index.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in index.Whiteboard 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/whiteboard/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/whiteboard/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72c51a195427b05136879b7c40642479d4c155a98c80b11ce676fbc49761bed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/models/station-node.tsx: components/settings/models/station-node.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in station-node.SlotLine at line 81. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/models/station-node.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/station-node.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9725bc6d259d103b672b074e871cc6f8176493f00f74037d2dcac2378b72f09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/agent/runtime/tool-timeout.ts: lib/agent/runtime/tool-timeout.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in tool-timeout.executeWithToolBound at line 155. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/agent/runtime/tool-timeout.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/agent/runtime/tool-timeout.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f611ceca97b801d3eb7dbe00e4f9d56bcdc0ef6dda9f74faa96f2a86e8e59a25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/pbl/v2/operations/runtime/eval-prompts.ts: lib/pbl/v2/operations/runtime/eval-prompts.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in eval-prompts.buildMilestoneEvalPrompt at line 135. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/pbl/v2/operations/runtime/eval-prompts.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/pbl/v2/operations/runtime/eval-prompts.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c6200f2cdf698b9052e163df65fc6067ba2cc04429445d4f2d17a97922c43e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/scene-preview.ts: lib/server/agent-runtime/scene-preview.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in scene-preview.buildScenePreviewTools at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/scene-preview.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/server/agent-runtime/scene-preview.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b0a1b2805d989ace69a9b66d716699248285d6ec402346d391a8897f4b63ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/document/extractors/media-registry.ts: lib/document/extractors/media-registry.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in media-registry.selectMediaExtractorProvider at line 26. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/document/extractors/media-registry.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/document/extractors/media-registry.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9760bbdc90651478bfb5ed437f8912f55bef1aa7c56b5daecbbc001c8091b8c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/fetch-with-redirect-validation.ts: lib/server/fetch-with-redirect-validation.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in fetch-with-redirect-validation.fetchWithRedirectValidation at line 180. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/fetch-with-redirect-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":"lib/server/fetch-with-redirect-validation.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d84a6b84907d7217f88d117d23ceab8cfe935e1c861beeb78b78c3bf1d7510"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/pbl-v3/teaching-prompt.ts: lib/server/pbl-v3/teaching-prompt.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in teaching-prompt.teachingLiveContext at line 343. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/pbl-v3/teaching-prompt.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/server/pbl-v3/teaching-prompt.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dab7481ce27d921b6a4c2526414458f11d27d92a820062a3c676fd2d6c6304"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/audio/use-tts-preview.ts: lib/audio/use-tts-preview.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in use-tts-preview.useTTSPreview.startPreview at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/audio/use-tts-preview.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/audio/use-tts-preview.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"837bc1889a07ef7c13c412056190e53eb2383c06a12bef583ce5744b6bf7838c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/agent-driver-model.ts: lib/server/agent-runtime/agent-driver-model.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in agent-driver-model.resolveAgentDriverModel at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/agent-driver-model.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/agent-driver-model.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3247c204449ef01931ec622e579927494b96362d00b354231d4ed631bf050c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/material-extraction/document-images.ts: lib/server/material-extraction/document-images.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in document-images.keptImages at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/material-extraction/document-images.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/server/material-extraction/document-images.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d89628cce09ee29a84f20eb8a079adc0cf072b29be12a0e9ccd5e84e920f6f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/classroom-media/[classroomId]/[...path]/route.ts: app/api/classroom-media/[classroomId]/[...path]/route.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in route.GET at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/classroom-media/[classroomId]/[...path]/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/classroom-media/[classroomId]/[...path]/route.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9245599283ec4b60b6b031c08d7d1a19ebfe16557019b49ccc20337c6c959227"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/export/use-export-html.ts: lib/export/use-export-html.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in use-export-html.useExportHtml.exportStandaloneHtml 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/export/use-export-html.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-html.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0603c31e10a0ee4fc9d1965dbf717d9ea045c61429a76e7dcdf6999ca57a5d72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings/pdf-settings.tsx: components/settings/pdf-settings.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in pdf-settings.PDFSettings 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/settings/pdf-settings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/pdf-settings.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4c27a96e5d1a057b13346dd69c069fda3e7c7e33d91665eb20e20f0999b116"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/importer/src/model/Slide.ts: packages/@openmaic/importer/src/model/Slide.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Slide.parseChildNode at line 394. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/importer/src/model/Slide.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/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0257b62f37a2f5111dcb414f70494cbcb1ea26b7107bfc8cebe9207bfcfde0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/storage/src/document/http.ts: packages/@openmaic/storage/src/document/http.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in HttpDocumentStore.request at line 272. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/storage/src/document/http.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/@openmaic/storage/src/document/http.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cd60e32a2f4f43705337fa268eb51c989679397d5e19794a1d31d6a396b971"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workbench/workspace/WorkspaceChatPane.tsx: components/workbench/workspace/WorkspaceChatPane.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WorkspaceChatPane.WorkspaceChatPane at line 33. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/workbench/workspace/WorkspaceChatPane.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/workbench/workspace/WorkspaceChatPane.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a8eef9ac0f5e75742a034abbda828a6d644c5f7f053ab40bf86abfdbb9ba2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/slide-renderer/components/element/VideoElement/index.tsx: components/slide-renderer/components/element/VideoElement/index.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in index.VideoElement at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- components/slide-renderer/components/element/VideoElement/index.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/VideoElement/index.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"65059bca2d36616ea0940cf37b8579eb38831e4c9b7b117ee870ad4d090fbe0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/editor/src/react/useResizeGesture.ts: packages/@openmaic/editor/src/react/useResizeGesture.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in useResizeGesture.useResizeGesture.onResizeHandlePointerDown at line 114. 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-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/editor/src/react/useResizeGesture.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/@openmaic/editor/src/react/useResizeGesture.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f3bb2d73a1122020ae8cad1acd8372ec8e280a406d32cedbae41f0fdd2c2bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/export/proxied-fetch.ts: lib/export/proxied-fetch.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in proxied-fetch.createProxiedFetch.\u003Creturned closure\u003E at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/export/proxied-fetch.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/export/proxied-fetch.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa134a16b7ae52663477a42814fb63d92ec6166da08d08374e58f7b5237ff269"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/renderer/src/snapshot/measure.ts: packages/@openmaic/renderer/src/snapshot/measure.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in measure.measureSlideElementGeometry at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/renderer/src/snapshot/measure.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/@openmaic/renderer/src/snapshot/measure.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1951ebe4438f6e2a33056846d970e698653323f6f58ce78b6cce99e12d47efbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/quiz-grade/route.ts: app/api/quiz-grade/route.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in route.POST at line 29. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/quiz-grade/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/quiz-grade/route.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4ffd40e64c133076a8558553b7213f309cc6ae17b8d4e902461074fe4f1a2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/@openmaic/storage/src/server/reference.ts: packages/@openmaic/storage/src/server/reference.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in reference.createReferenceRuntimeServer at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/storage/src/server/reference.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/@openmaic/storage/src/server/reference.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6a09c36a47d3cfeb0394546c7eacb4e87eba0ba59ee7fbaf677ecafcf30960"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/server/agent-runtime/skill-edit-tools.ts: lib/server/agent-runtime/skill-edit-tools.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in skill-edit-tools.buildSkillEditTools at line 263. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/skill-edit-tools.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/server/agent-runtime/skill-edit-tools.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ed9290ac521271cfbee7fd0412fbc6935dd7fbfaeb8506c58bc72a66a45acf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/stages/route.ts: app/api/stages/route.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in route.POST at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- app/api/stages/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/stages/route.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71bf3edf778cb1d226fdea9d5b1539845e71f0c7e7377addb07d2468a2ec672"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/@openmaic/storage/src/agent-session/pg.ts: packages/@openmaic/storage/src/agent-session/pg.ts changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is PgAgentSessionStore.postUserMessage at line 1139), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(agent): recover conversations after personal Skill deletion (#2086)\u201D; \u201Cfix(storage): sanitize agent session descriptive text (#1504)\u201D; \u201Cfix(storage): keep jsonb writes valid when model output contains NUL or lone surrogates (#1499)\u201D; \u201Cfix(workbench): persist Pro conversation titles (#1273)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/storage/src/agent-session/pg.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/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52fbf54150d3b8a2005e539e71a0ffdcc4d346c65932a3726110ad0e0764499"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/persistence/owner-materials.ts: lib/persistence/owner-materials.ts changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is owner-materials.deleteUploadingRow at line 777), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(materials): explain a PDF refused for too many pages instead of a bare 422 (#2085)\u201D; \u201Cfix(materials): recognise JPEG 2000 MinerU images and reuse results that only hit limits (#2079)\u201D; \u201Cfix(pdf): inline image URLs returned by MinerU gateways instead of decoding them as base64 (#2076)\u201D; \u201Cfix(security): enforce model authorization for server-managed providers (#1879)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/persistence/owner-materials.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/persistence/owner-materials.ts"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a024d5000e6620b79e3b57b2bf2f507a2e2fdcb86affd3ebba7a5f3204bb04"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/server/material-extraction/extract.ts: lib/server/material-extraction/extract.ts changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is extract.runSourceExtraction at line 251), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(materials): explain a PDF refused for too many pages instead of a bare 422 (#2085)\u201D; \u201Cfix(pdf): inline image URLs returned by MinerU gateways instead of decoding them as base64 (#2076)\u201D; \u201Cfix(security): enforce model authorization for server-managed providers (#1879)\u201D; \u201Cfix(providers): pin caller-chosen provider requests and keep upstream detail out of errors (#1704)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/material-extraction/extract.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/extract.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa583adf550b84b8919e16d88cc3c39fec1cbba3407706c13e46f31299832d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/server/llm-error-response.ts: lib/server/llm-error-response.ts changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is llm-error-response.isUpstreamQuotaExhausted at line 89), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pbl-v3): keep standalone previews available across teaching steps (#2163)\u201D; \u201Cfix(generation): stop retrying explicit provider quota refusals (#1861)\u201D; \u201Cfix(generation): explain exhausted plan quotas (#1831)\u201D; \u201Cfix(providers): pin caller-chosen provider requests and keep upstream detail out of errors (#1704)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/llm-error-response.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/server/llm-error-response.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a99ab5d372dc89afa7355218d24154f44099ed7a7777a4dac48ac70f893063e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/server/generation/run/failure-code.ts: lib/server/generation/run/failure-code.ts changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is failure-code.runFailureCode at line 28), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(audio): migrate Qwen voice cloning to CosyVoice (#1949)\u201D; \u201Cfix(agent): cap parallel generate_tts calls and keep failure reasons (#1983)\u201D; \u201Cfix(security): enforce model authorization for server-managed providers (#1879)\u201D; \u201Cfix(generation): explain exhausted plan quotas (#1831)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/generation/run/failure-code.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/server/generation/run/failure-code.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"386b8d72787541b69dae4be69b7e7737aea888e372a4397afb4f0637ca2b35fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: render-service/src/preview-renderer.ts: render-service/src/preview-renderer.ts changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ChromiumPreviewRenderer.render at line 531), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: typeset inline math in render-service previews and export it cleanly to PPTX (#1904)\u201D; \u201Cfix(render): bound preview capacity through launch cleanup (#1836)\u201D; \u201Cfix(render-service): contain untrusted HTML with a network policy on preview and render (#1512)\u201D; \u201Cfix(render): keep preview browser evaluation self-contained (#1421)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- render-service/src/preview-renderer.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":"render-service/src/preview-renderer.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1d3125e32b39d8974ef4c3a0e3cc9c928fdfdb7dd0891362d71e12d8999f80"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/server/agent-runtime/fetch-url.ts: lib/server/agent-runtime/fetch-url.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is fetch-url.fetchAndExtractUrl at line 63), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(agent-runtime): unify capability-dependent tool registration (#2118)\u201D; \u201Cfix(providers): pin caller-chosen provider requests and keep upstream detail out of errors (#1704)\u201D; \u201Cfix(proxy-media): connect only to addresses the SSRF guard validated (#1488)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/fetch-url.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/server/agent-runtime/fetch-url.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c25b32008cf74c0e82798bd7d7f529e4f8351dcb2f673a0dbac40e5be18424a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/audio/voice-registration.ts: lib/audio/voice-registration.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is voice-registration.getVoiceRegistrationAdapter at line 84), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(audio): migrate Qwen voice cloning to CosyVoice (#1949)\u201D; \u201Cfix(providers): pin caller-chosen provider requests and keep upstream detail out of errors (#1704)\u201D; \u201Cfix(audio): validate redirects and pin connections on provider requests (#1514)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/audio/voice-registration.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/audio/voice-registration.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1280c9557d32edfb706886c9f77fcc743b0edd779a7122f0b03475d5caf2d5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/media/adapters/grok-image-adapter.ts: lib/media/adapters/grok-image-adapter.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is grok-image-adapter.generateWithGrokImage at line 74), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(providers): pin caller-chosen provider requests and keep upstream detail out of errors (#1704)\u201D; \u201Cfix(media): refuse redirects on adapter generation and poll calls (#1636)\u201D; \u201Cfix: keep long Grok relay generations alive and inline image bytes (#1364)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/media/adapters/grok-image-adapter.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/media/adapters/grok-image-adapter.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bd58bb217b5618a51f9905db8f792f17c3e656181df3e85f197a7bd699b43f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/@openmaic/renderer/src/elements/shape/BaseShapeElement.tsx: packages/@openmaic/renderer/src/elements/shape/BaseShapeElement.tsx changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is BaseShapeElement.ValidShapeElement at line 61), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(svg): validate malformed slide shapes and recover their text (#1915)\u201D; \u201Cfix(sanitize): store inline math as LaTeX source and typeset it in the client (#1829)\u201D; \u201Cfix(renderer): preserve literal text line breaks (#1132)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/renderer/src/elements/shape/BaseShapeElement.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/@openmaic/renderer/src/elements/shape/BaseShapeElement.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1f69362b16d4863e6e0e0408f0b20ff1c295c8d47825628d65c0b0cb22fa85"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/server/agent-runtime/course-edit/element-schema.ts: lib/server/agent-runtime/course-edit/element-schema.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is element-schema.validateSlideCanvas at line 857), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(agent-runtime): make patch_stage robust to legacy data and self-correcting on errors (#2000)\u201D; \u201Cfix(svg): validate malformed slide shapes and recover their text (#1915)\u201D; \u201Cfix(importer, renderer): preserve PPTX text, chart, and image styling (#1534)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/agent-runtime/course-edit/element-schema.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/element-schema.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69b35838ad1303fbfdc0ed0d69350b60f11d3f7607af09fa335ec5e044c342f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/@openmaic/renderer/src/elements/chart/Chart.tsx: packages/@openmaic/renderer/src/elements/chart/Chart.tsx changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is Chart.Chart at line 22), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(renderer): repaint clipped chart series on WebKit (#1825)\u201D; \u201Cfix(importer, renderer): preserve PPTX text, chart, and image styling (#1534)\u201D; \u201Cfix(renderer): lazy-load optional ECharts runtime (#1420)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/renderer/src/elements/chart/Chart.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/@openmaic/renderer/src/elements/chart/Chart.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d669ecae8b61eed5ca6458ba3ec993998936b1343841e91388193b5397529fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/server/audio-provider-fetch.ts: lib/server/audio-provider-fetch.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is audio-provider-fetch.audioProviderFetch at line 215), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(providers): pin caller-chosen provider requests and keep upstream detail out of errors (#1704)\u201D; \u201Cfix(pdf): route MinerU Cloud requests through the strict provider transport (#1688)\u201D; \u201Cfix(audio): rebuild platform FormData bodies for the undici transport (#1580)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- lib/server/audio-provider-fetch.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/server/audio-provider-fetch.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"61df9c63a366410c3819850ef25b979e384b66503dc2272403b5e619ce1c287f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/@openmaic/importer/src/utils/mediaWebConvert.ts: packages/@openmaic/importer/src/utils/mediaWebConvert.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is mediaWebConvert.encodeMediaForWebDisplay at line 215), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(importer, renderer): preserve PPTX text, chart, and image styling (#1534)\u201D; \u201Cfix(importer): convert Equation.3 OLE formulas via MTEF v3, surface degrade telemetry (#1411)\u201D; \u201Cfix(importer): stop PPTX import from hanging in non-browser environments (#1424)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 20:52:12 \u002B08:00\u0027 --until=\u00272026-11-06 20:52:12 \u002B08:00\u0027 --full-history --no-merges -- packages/@openmaic/importer/src/utils/mediaWebConvert.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/@openmaic/importer/src/utils/mediaWebConvert.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de88c9b50a5552297c1e732e688f008f3dcce7341bbfde2d91af40597e23559"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 124 significant file(s) lose their only recent owner: packages/@openmaic/storage/src/document/pg.ts, packages/@openmaic/storage/src/asset/pg.ts, components/edit/ActionsBar/ActionsBar.tsx, components/generation/outlines-editor.tsx, lib/persistence/owner-materials.ts, lib/utils/chat-storage.ts, components/generation/step-visualizers.tsx, components/ai-elements/prompt-input.tsx (\u002B116 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e5c20ee956be2c5fcda5a58da5ac5ea479bbdd198004af2bb401ba7ed1b6026"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 8 significant file(s) lose their only recent owner: packages/@openmaic/importer/src/shapes/presets.ts, packages/@openmaic/importer/src/serializer/shapeSerializer.ts, packages/@openmaic/importer/src/serializer/tableSerializer.ts, packages/@openmaic/importer/src/serializer/chartSerializer.ts, packages/@openmaic/editor/src/react/text/prosemirror/schema/nodes.ts, packages/@openmaic/renderer/src/SlideElement.tsx, packages/@openmaic/importer/src/model/nodes/PicNode.ts, packages/@openmaic/renderer/src/styles.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2002b5eed36314a22f54cbb2c7102dbd709d79a6bbc520bea3575d7fa0c2bc10"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 6 significant file(s) lose their only recent owner: lib/chat/pi/element-reference.ts, lib/chat/pi/interactive-state-evidence.ts, lib/whiteboard/runtime/store.ts, lib/chat/pi/tools/read-scene.ts, lib/chat/pi/tools/web-search.ts, lib/whiteboard/runtime/types.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b885ba43361745f0bf29110d33bd2392980cae1f8d292b8d0383c3e3613a1292"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 6 significant file(s) lose their only recent owner: lib/workbench/pro-home-data.ts, components/workbench/chat/course-link.tsx, lib/video-export-app/quiz-layout.ts, lib/video-export/emit-hyperframes/quiz-question-list.ts, lib/workbench/session-title.ts, lib/workbench/markdown-math.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f1e6ac8e0f11afb82b28f08cc9ab92027a21e8852dacff11338d4d5cea7309cf"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 4 significant file(s) lose their only recent owner: eval/pbl-v2-planner/compare-html.ts, lib/audio/audio-duration.ts, lib/video-export/passes/geometry.ts, lib/workbench/material-upload-policy.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b1e0a36853e4ba4a486489d01ce6802dc3ea3ad6fd33800d4597ef8e0220c9e3"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 8 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (156 single-owned of 1316 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 1316 of the 1974 production source files in this repository met that bar). They are anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)), anonymized user #10 (1 file(s)), anonymized user #11 (1 file(s)) (\u002B2 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: lib/workbench/composer-skills.ts, lib/utils/element.ts, components/workbench/chat/autoscroll.ts, components/slide-renderer/components/element/LineElement/BaseLineElement.tsx, lib/server/image-sizing.ts, lib/generation-run-client/course-card.ts, lib/export/narration.ts, lib/config/app-attribution.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optional cover image from blipEmbed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c891380aa536aa7bb1a6de65a42cb96de953a3da9594ea068afa77c45d8a23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u8FD4\u56DE\u7ED9\u672A\u6765\u7684\u81EA\u5DF1\u7684\u7559\u8A00\u3002 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/pbl/future-self-lite/skeleton/src/main.py"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"380e427e765329ff53403a4c8dc2c844ad52b88c43141e4f03d47d9a1a6fffae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add other element types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/ScreenElement.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1dc3261389effb06ad30bc7c9384e36a0aeb77bdfbfbf8f007d4960b65925f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add other element types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/EditableElement.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"587d2ec32f6e05eb78a7993d40fbbe40643b2fcd44a0b3e8ef4db61d2bd902dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement insertCustomShape \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/index.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd91c86de2da70a01b4f24f27a596f81361aaabed48d7244cc5ea1acbbd36bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement createTextElement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useDrop.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"34efffded98dd4164b7c2bbef7f480b656fb7da0e3cc002b4b4ffac184f8b4c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement createShapeElement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useInsertFromCreateSelection.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b4a4f0050aee01176255fb02b5b38ef143cae304db3d61e66b4da8157ec510"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement createLineElement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useInsertFromCreateSelection.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1960ae1e47d23b2ce6689f036138ac570d5d060b582a6e3482eb8043485b0038"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060generation\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/@openmaic/generation/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b9130a5f73f101041b716afe3f31deed7fe7db2e42c5cb0b3292e42d112d4b"}},{"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":"D21","level":"note","message":{"text":"\u0060baseURL\u0060 spells \u0060URL\u0060 where 374 names in the project spell it \u0060Url\u0060: 374 of 376 names in project openmaic spell the token \u0060Url\u0060 (374 of 376; unit: names in project openmaic containing \u0060Url\u0060). Peers: route.requestedTTSProvider(clientBaseUrl) (app/api/generate/tts/route.ts:173); route.requestedTTSProvider(clientBaseUrl) (app/api/generate/voice/route.ts:306); route.requestedDocumentProvider(clientBaseUrl) (app/api/parse-pdf/route.ts:130); route.requestedASRProvider(clientBaseUrl) (app/api/transcription/route.ts:118); route.probeSelfHosted(baseUrl) (app/api/verify-pdf-provider/route.ts:69). Rename to \u0060baseUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdf3a878e4b78f51eb189fac76a008be0098c196f8bf8e46579c82014cfcefd"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060UseExportPPTXOptions\u0060 spells \u0060PPTX\u0060 where 22 names in the project spell it \u0060Pptx\u0060: 22 of 24 names in project openmaic spell the token \u0060Pptx\u0060 (22 of 24; unit: names in project openmaic containing \u0060Pptx\u0060). Peers: feature-flags.isPptxImportEnabled (lib/config/feature-flags.ts:146); lib.export.pptx-scene-placeholders.PlanPptxDeckOptions (lib/export/pptx-scene-placeholders.ts:109); pptx-scene-placeholders.planPptxDeck (lib/export/pptx-scene-placeholders.ts:250); use-export-pptx.resolvePptxMediaBinding (lib/export/use-export-pptx.ts:418); use-export-pptx.resolvePptxEmbeddableSrc (lib/export/use-export-pptx.ts:439). Rename to \u0060UseExportPptxOptions\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f8b749d8ddac9aa27b1bbe6048e51472538e7b73f3fca72beb8399fe3eec6"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060useExportPPTX\u0060 spells \u0060PPTX\u0060 where 22 names in the project spell it \u0060Pptx\u0060: 22 of 24 names in project openmaic spell the token \u0060Pptx\u0060 (22 of 24; unit: names in project openmaic containing \u0060Pptx\u0060). Peers: feature-flags.isPptxImportEnabled (lib/config/feature-flags.ts:146); lib.export.pptx-scene-placeholders.PlanPptxDeckOptions (lib/export/pptx-scene-placeholders.ts:109); pptx-scene-placeholders.planPptxDeck (lib/export/pptx-scene-placeholders.ts:250); use-export-pptx.resolvePptxMediaBinding (lib/export/use-export-pptx.ts:418); use-export-pptx.resolvePptxEmbeddableSrc (lib/export/use-export-pptx.ts:439). Rename to \u0060useExportPptx\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00748b3c82622b32a825d8cd4d62339d69ef4be71851bfed9237f3c07a0fcb4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060NodeXMLHttpRequest\u0060 spells \u0060XML\u0060 where 46 names in the project spell it \u0060Xml\u0060: 46 of 47 names in project openmaic spell the token \u0060Xml\u0060 (46 of 47; unit: names in project openmaic containing \u0060Xml\u0060). Peers: tts-providers.escapeXml (lib/audio/tts-providers.ts:1482); node-xhr.installNodeXmlHttpRequest (lib/server/agent-runtime/node-xhr.ts:118); serializePresentation.parseGroupChild(childXml) (packages/@openmaic/importer/src/export/serializePresentation.ts:108); Presentation.detectWps(presentationXml) (packages/@openmaic/importer/src/model/Presentation.ts:71); Slide.buildDiagramGroup(drawingXml) (packages/@openmaic/importer/src/model/Slide.ts:264). Rename to \u0060NodeXmlHttpRequest\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/node-xhr.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14ad5317c0a9baf865ca85a9bac7ac7296e628b6ad32167b81f5d3e3b4674c7"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060responseURL\u0060 spells \u0060URL\u0060 where 374 names in the project spell it \u0060Url\u0060: 374 of 376 names in project openmaic spell the token \u0060Url\u0060 (374 of 376; unit: names in project openmaic containing \u0060Url\u0060). Peers: route.requestedTTSProvider(clientBaseUrl) (app/api/generate/tts/route.ts:173); route.requestedTTSProvider(clientBaseUrl) (app/api/generate/voice/route.ts:306); route.requestedDocumentProvider(clientBaseUrl) (app/api/parse-pdf/route.ts:130); route.requestedASRProvider(clientBaseUrl) (app/api/transcription/route.ts:118); route.probeSelfHosted(baseUrl) (app/api/verify-pdf-provider/route.ts:69). Rename to \u0060responseUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/node-xhr.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12641666b5cab75ca00e802f8cf5bce11e8a4beeb993d05b46fdff30a9dd295"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060fontEmbedCSS\u0060 spells \u0060CSS\u0060 where 35 names in the project spell it \u0060Css\u0060: 35 of 36 names in project openmaic spell the token \u0060Css\u0060 (35 of 36; unit: names in project openmaic containing \u0060Css\u0060). Peers: useFilter.imageFiltersToCss (components/slide-renderer/components/element/ImageElement/useFilter.ts:16); css-asset-parser.scanCssString (lib/export/css-asset-parser.ts:46); css-asset-parser.rewriteCssValue (lib/export/css-asset-parser.ts:96); css-asset-parser.splitCssCommaList (lib/export/css-asset-parser.ts:115); css-asset-parser.parseCss (lib/export/css-asset-parser.ts:217). Rename to \u0060fontEmbedCss\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/snapshot/index.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65bbdc927f5b29668ad079f3a3bf714f8e7c8e2908908acd9f641fb66b7ca9d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Validate baseUrl against SSRF\u0022 repeats the code it sits on: 4 of its 5 words (validate, base, url, ssrf) are already in \u0060const ssrfError = await validateClientBaseUrl(baseUrl);\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/azure-voices/route.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ceba8004b59594f95e548f7ddbb00a71433ec90c04fbe1a4aae8eec20aeec13"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022QueueSectionLabel - label content with icon and count\u0022 repeats the code it sits on: 5 of its 6 words (queue, section, label, icon, count) are already in \u0060export type QueueSectionLabelProps = ComponentProps\u003C\u0027span\u0027\u003E \u0026 {\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/ai-elements/queue.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d2408616902fdddd4dc971c37ddd0912ecb990603088ed1e576598ba62fc0a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022QueueSectionContent - collapsible content area\u0022 repeats the code it sits on: 4 of its 5 words (queue, section, content, collapsible) are already in \u0060export type QueueSectionContentProps = ComponentProps\u003Ctypeof CollapsibleContent\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/ai-elements/queue.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"672fa3197e6905f5ea8852f2be6af66e6a31da660a1909102dcb5e2bceae164a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter out lecture sessions for the Chat tab\u0022 repeats the code it sits on: 4 of its 5 words (filter, lecture, sessions, chat) are already in \u0060const chatSessions = useMemo(() =\u003E sessions.filter((s) =\u003E s.type !== \u0027lecture\u0027), [sessions]);\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/chat-area.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3a253155c893c1ba4739a7a7dc8596f2c8f1346db5cc4ab73351fee9c23485"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for existing lecture session with same sceneId (active or completed)\u0022 repeats the code it sits on: 8 of its 8 words (check, existing, lecture, session, scene, id, active, completed) are already in \u0060const existing = sessions.find(\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/use-chat-sessions.ts"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae1ff2ffa07e126d33c4c54cc25dd58dc974e905970ad165534f1d9b1c5b048"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update lastActionIndex in session\u0022 repeats the code it sits on: 4 of its 5 words (last, action, index, session) are already in \u0060setSessions((prev) =\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/use-chat-sessions.ts"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"999a5975e393bc1d52245e51dd8f6bde12d9b4e95b5b54a860fde35d05b5a72f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Selected agents from settings store (Zustand)\u0022 repeats the code it sits on: 4 of its 5 words (selected, agents, settings, store) are already in \u0060const selectedAgentIds = useSettingsStore((s) =\u003E s.selectedAgentIds);\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/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5deea64a60bc4464d4323fa543f304d9aff350c75c87cca003dbed7c59899a5b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create new PlaybackEngine\u0022 repeats the code it sits on: 4 of its 4 words (create, new, playback, engine) are already in \u0060const engine = new PlaybackEngine([currentScene], actionEngine, audioPlayerRef.current, {\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/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d8af8516b78f04b2e781d57127cdc14eb9fe89189ea54d68fc2ba71e8be529"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Text element resize handlers\u0022 repeats the code it sits on: 4 of its 4 words (text, element, resize, handlers) are already in \u0060const textElementResizeHandlers = useMemo(() =\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/slide-renderer/Editor/Canvas/hooks/useCommonOperate.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d21618a96472fcbb2770d797ea6569ac7a205aaa506797a25854d5ec7814c8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Rotate class name\u0022 repeats the code it sits on: 3 of its 3 words (rotate, class, name) are already in \u0060const rotateClassName = useMemo(() =\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/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff126a1b0e09b44cf279533eb75fe8fe0fcf5e10e45cded5c29e16c2aa4d34f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle input with debounce\u0022 repeats the code it sits on: 3 of its 3 words (handle, input, debounce) are already in \u0060const handleInput = useMemo(\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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb4954c4c0f908a713f13c371a04ad184acc119d9f5485e96801c51ceeea668"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sync attrs to store\u0022 repeats the code it sits on: 3 of its 3 words (sync, attrs, store) are already in \u0060const syncAttrsToStore = useCallback(() =\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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b51dfbd5033682b6623f5d9e11a76174205ed464511c36ac1030c321f26c705"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Update text content\u0022 repeats the code it sits on: 3 of its 3 words (update, text, content) are already in \u0060const updateText = 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":"components/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cc7629bc1bf6afd74496c7d257867a89472206a9adfae6d53cfc915e9a65fa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022This request is creating a course of its own (its create_stage has started).\u0022 repeats the code it sits on: 5 of its 6 words (request, creating, create, stage, started) are already in \u0060const creatingInRequest = useWorkbenchStore((s) =\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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0627a7edaf11440997c5c0a0a28881f44f2a783d6d5cc4da149e379f1c874f1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get initial count of editable elements\u0022 repeats the code it sits on: 4 of its 5 words (initial, count, editable, elements) are already in \u0060const initialElementCount = await page.locator(\u0027.editable-element\u0027).count();\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":"e2e/tests/slide-editor-double-click-insert.spec.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c32114e2c35ee34dfb4245397664dc3d6ac4bd77152ad34b59c361b953204b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022voices grouped by model\u0022 repeats the code it sits on: 3 of its 3 words (voices, grouped, model) are already in \u0060modelGroups: ModelVoiceGroup[];\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/audio/voice-resolver.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf042e3f527d1b85d29deadfa94d27b1b3717575c66e5f6593a2b2aa4ed45f2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create MediaRecorder\u0022 repeats the code it sits on: 3 of its 3 words (create, media, recorder) are already in \u0060const mediaRecorder = new MediaRecorder(stream, {\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/hooks/use-audio-recorder.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd35d4776a921b535b2157e5b24bd1194bc0aad7d2d8b81af8c7dc3c48a2422"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Solid color background\u0022 repeats the code it sits on: 3 of its 3 words (solid, color, background) are already in \u0060if (type === \u0027solid\u0027) return { backgroundColor: color };\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/hooks/use-slide-background-style.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe0ec3c3609fae928c13248d816e3dcfbf3682f9e61fbad5031a2b9e419c77b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022An extraction\u0027s stored result counts as the owner\u0027s bytes too.\u0022 repeats the code it sits on: 5 of its 6 words (extraction, result, counts, owner, bytes) are already in \u0060const usage = await tx.query\u003C{ count: number | string; total_bytes: number | 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":"lib/persistence/owner-materials.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f19b0e45dafec2bff6b2dc30d5a610017bd379a78cfeca1b8e62ea3247eb103"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u2500\u2500 Build complete scene \u2500\u2500\u0022 repeats the code it sits on: 3 of its 3 words (build, complete, scene) are already in \u0060const scene = buildCompleteScene(outline, generationContent, actions, stageId);\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/server/generation/steps/scene-actions.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bffb7fdb03cae0c4f720e59e7d7f36f4f6bc6db38bcd15cdaadd387a5a0dad"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022A deployment\u0027s provider of the same id outranks the workspace\u0027s.\u0022 repeats the code it sits on: 4 of its 5 words (deployment, provider, id, workspace) are already in \u0060if (\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/server/model-config/runtime.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"610044ad2c7ba9711396a5d573a86b917c31704d3dc5822af5a9760ecb8ee952"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Spotlight mode: pixel or percentage\u0022 repeats the code it sits on: 4 of its 4 words (spotlight, mode, pixel, percentage) are already in \u0060spotlightMode: \u0027pixel\u0027 | \u0027percentage\u0027;\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/store/canvas.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c9397e7d0fbf09a504b62acbf0f3a3c3d3c71cf1acc1a0fafb657c61ea315f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Text format painter\u0022 repeats the code it sits on: 3 of its 3 words (text, format, painter) are already in \u0060textFormatPainter: TextFormatPainter | null;\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/store/canvas.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"904292d95008e9c0a2eafc55c2469573fc19fb3975297629f8592dbd2475da52"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Shape format painter\u0022 repeats the code it sits on: 3 of its 3 words (shape, format, painter) are already in \u0060shapeFormatPainter: ShapeFormatPainter | null;\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/store/canvas.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff5d7dcd2ea55ed1a7a615ed9e685a95b50aac3fb943693612debcbb02ac0a3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Selected table cells\u0022 repeats the code it sits on: 3 of its 3 words (selected, table, cells) are already in \u0060selectedTableCells: string[];\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/store/canvas.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b00cefdd8f699a4bc1eb645b947cbba816138c44f27294f64cc99e3579a22f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Total number of pages\u0022 repeats the code it sits on: 3 of its 3 words (total, number, pages) are already in \u0060totalPages: number;\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/@openmaic/generation/src/pipeline-types.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d765280ac9ba58a0d398677ffddbc78eabd578fda9276ca59b28e2ce029206"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extract widget config from HTML if present\u0022 repeats the code it sits on: 4 of its 5 words (extract, widget, config, html) are already in \u0060const widgetConfig = extractWidgetConfig(html, widgetType);\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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"87719cadde4d6de9d96cf8002c1474846e283446aaec5ab18d39d6bb7fcb3654"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sort stops by position\u0022 repeats the code it sits on: 3 of its 3 words (sort, stops, position) are already in \u0060stops.sort((a, b) =\u003E a.position - b.position);\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/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d88e5e213a136f4fbb715d62020d8188971386a74f2c87b0bdef162f6f6251"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fallback to theme minor font\u0022 repeats the code it sits on: 4 of its 4 words (fallback, theme, minor, font) are already in \u0060const fallback = ctx.theme.minorFont.latin || ctx.theme.minorFont.ea;\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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21879df5c6817d4974453a4bf72010d8699acf40bf37333eed67d4416c1aebb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Canvas container / viewport has select-none\u0022 repeats the code it sits on: 4 of its 5 words (container, viewport, select, none) are already in \u0060const viewport = container.querySelector(\u0027.select-none\u0027);\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/components/whiteboard-canvas-selection.test.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20922e23134eddc4b50870d05426adb790cea6b834d32e456fb80d3c557d416"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Runtime sessions, readable under the account\u0027s learner key.\u0022 repeats the code it sits on: 5 of its 6 words (runtime, sessions, account, learner, key) are already in \u0060await expect(h.provider.runtimeStore.getSession(\u0060rt-${ANON}\u0060)).resolves.toMatchObject({\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/persistence/_owner-claim-scenarios.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb1eda399dd70f020a60b14075346d94a5b42abff29ae7846aeda3ab714b456"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 9 project(s) overshoot their size bounds, lowering Project Cohesion to 1.1/10. The most over is \u0060(repository root)\u0060 (318712 LoC, 3353 module-visible types across 301 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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c15771d23dec9e4227e58376171453aa7c29c8ff9caf14e54ad25f870e8c4cd"},"properties":{"commitSha":"f064590a5e55da9567b1f8c676f8a892d7e553aa"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a104ae8b1d3510cc8d22bb6958be48dd97337a98b23ad0af52a9c0cb0c53138c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e18d6f2803d4dde6d5e14d7039b792b1ec6c93af12a93481975e19273cef2ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63bc22f034473bbb1d209fc863d3c5bca56ff129b842c6df76b0a8e17e227d8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff1c5512e1a8dcf0bd3d174af28341c0aa5876a094f8059e6f9704516fe91532"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b562a86ba4fad32d6ccdcd6ca2d4c34c2236a59e5d8276adbfb83a1790cdee0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b15e7c4516957eb0ce628a71875180462280b3da835590c3e3ea26dfe36c7cc0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab979ab2dc46515c14a5a4f004fc991e04e40404eedb88f91aeaa5242f0df4a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53041d0452eb7a0f6d7363cca46cccfc47fe77904a465fee573e39f7c59d9395"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcfa4da9215284db6a6355a359d46e54ece6d33a8e6548e02570fa88e565fa20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4014e7719155abad9ee780737c6a29d8c31bcf1e70b94286734d74edc799576"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0c83793ab31bf3bc4e3cc0017a93931cc44a534267eefc63c9d22d4546750e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c56c8f9c909ad6ae9511a19a007d973d620dbf480ce02acf90a7a01720caab19"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d62966f4644b2d7be35e542e425cd420767c408488b6fbb6c5c91ce619d64e38"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50af2642a322f079646940c9d75f50c89d2162c3476988bf9b4394cb50fdec9d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bc1fad2f08799e216a0382bd99b6a9c4a7c488d2b4b1a3eeae9ab09df16ab20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4160f6c03d75081346005b00b6471cde70940ffd8a4736e7fdf8aab441a13238"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4dc2565d0d70e79ae85da86761629fe5a8a9cf91a9e42b542271343f1d4ed48"},"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":"54033eb051d4544d65ef7a6ea28ee127353df29ddd930b5402dc37e0bb37d29f"},"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":"09938e5a048de8b3f730cd0cf0cd62d7ab1b35390782fd27ac1cdcec9d2a734b"},"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":"1054832b4169cef807b4abc08554dd6ed88cfd815953ad04dee5b99d94a765f2"},"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":"ff4880992e7133a3d083512ace85695e55a0950a2fb0df48f77803c0f7a27424"},"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":"e89f1ba816c04a8c25b4b90cfca94ef7671fb432ec9e8b9cb14ebdae8fce5420"},"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":"a725f80f549b16e084999a0ff224e6625153115e11af6d942f79be939a86922b"},"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":"aacae4e5a901873cce44566e1fa3e81e93bb2ddaeb15dad7b919777cce3aff9f"},"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":"6ddd2ebc0b70f8b3b41fe204548988440f128a9158335088368f63640dcedb62"},"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":"8eced27b2a087a365ecc6ef9f107ae708e05a1fa9a816177b7b6d3c432f758b9"},"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":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"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":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"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":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"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":"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":"8d4a0f1929f34b20b8bc2f8f7e48197ce3f563d331ee6b6e6fd51b8cfc75a0db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e0715dd91433ade95848fa111f23908531a5231f9fc0549be62755f2d3f6f3a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9784ea5fc95abda7bd08080deb2da0d0eca56c572f1dc7d141d1f9e63b941562"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f7d3da58e5fd38c50fb2a31cf8a365863912fcecb07b0a1bd613d486180a838"},"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":"8b8d00a28ece3ce5f686506472ff93145800a0846678a538df34a1d3f9c32b9e"},"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":"5938f1a8f25e92c9a4c5192c537718d0814f64fb33c1c852828a661b50d6acb6"},"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":"0d7f588959dcd55ff5a6e4bb4d72b928cb076df8a9c8455986520a1ae24b0e81"},"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":"9bed01e9f30d24c6c57361dd35add41d3bb4d4397fe4bc7f10338a3fb713f596"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7405975f16f639bad3d5751db343057f145e953507aa49fa286be1446648328"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee1718c33a2f6f0bb4cb1ed284324d6300e9a19762333c0df297e3c55082c1af"},"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":"a41d2004ea698b390f4fada6811faafd215b9331fb1f53ccf12315090ec4bfff"},"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":"cb90a7e0c4ca2040f57a218565d7c63a3a752b2dacc072d284c8c090bcba7666"},"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":"8464ad2995fbd758cd13203886a9e2f1c158c6d199fae95e20b9e3faa27f109c"},"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":"2a73bc5c2780374a6a89106586d99c3e012d479e40e8a3977dced9a8318be516"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b8edafbc81f5737692d4b9a6b2a8630991b7b415589be02780862325e27b87f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91aea0321e4fcd5e9dbe7570a0ae89028302e15c7b7fc21fc0731ba376e4d9e5"},"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":"1b6a38dedf5f45afe2fda7f7224144aa754259c63b71c46d1a987b30618041cd"},"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":"1ea8bc34508d562118cd959b3cd8e89624b6fca692488bf6da48fbaf4354e5da"},"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":"b7b863c509cd60cbda446d3427cd5291f80c9b33eed6582fa00e671226eb5bab"},"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":"0b9386cc735ca9d04cd7e64e23dfc64a2a99ef03bb9d44c297f664476c33316d"},"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":"55c453cb2659247b8b7c374a83e2e63e39df804aa09c44f8336c0335683b98a3"},"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":"1794d32fe4ab170886a456785f4aacfb1761eba9755862d02d9455b59d171fed"},"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":"a7e7533eb6596b7d4a4bed7799ee882deb9cee3fae295391640110d7efce050c"},"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":"9c31e07b8ee17068aa8fdf341b2f3fb6190f71090d484eca8c70a249c7dad310"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a2cc0b142d3d37201a5cec29dc7f15507d2369bbbdcd20378fe7fc31945a4d5"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f031707fd5b083f3a34ee070d2ee03cd4d21dd72452a4a70660737608a07ce8c"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49af5e7eeb783c1abf2f5d0fd6760e491e6f992635ddeffeb914b38047c3da59"},"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":"d074e0ab537445daf1a794fccfafb1714a199cea717434f80c8fffdcb22c6677"},"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":"34ca123b618405321a3f4de1a870e9216946c0508225db0ebdf294bc2af0324f"},"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":"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":"6150c55abf8bdacf977d12533be91d1df5cf6891fed1e1b4d17428aefba16dd9"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"975fc76858e2ded71656a9a6e0975101568ea2b4c111028d005f5e536f781b7f"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1ceab497cbcdc26e29ba3f3bed9a21e6732f075927f53f5ae8c7c06dd2da7b7"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb8cd94fc2bdbdb5a946a02b11e315dd9f165d2575f5d1de7550dfd32ec762cc"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23811475c81e25303d5feb923609339432b64bca99682f6dd9273d2f942c777c"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9d3712b3c48b92109052449701609148b13bbbd65b1413ee85811d045c4fdcb"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf9f408a017d4953cb61c5b5c0dd0fe0b47b06233c5ec164d35fcdbeaee80436"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eef4a055a8306231f76f150d207c3d637aab16c44def3690a6c334bdfa92ed4d"},"properties":{"dependency":{"package":"next","version":"16.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a9c5dc02a305a3849efcbc83cb36ace3ea22ee5324e0e6d34e674e83f3f018e"},"properties":{"dependency":{"package":"babel-traverse","version":"6.26.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53c3d4d7d63f401b6b9ffae3fc9501419bd021acdfb6259e01e8a98944ef33b7"},"properties":{"dependency":{"package":"dompurify","version":"3.4.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b381d849efde258c248b6964a35ae0dd63820887356acce7273058ae2276d727"},"properties":{"dependency":{"package":"expr-eval","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e32a448cc007ced35f574ac851d62d56116470e427182b0cdc6268bd3dd0048"},"properties":{"dependency":{"package":"form-data","version":"2.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5533c2d149eea07ed065c5fde61196816d01a4a3eb50ba7bc43ead963babea5"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64817b26bce4caf686ef1ed996068f9a778c7d72e0be66ddef1ec3ef5f8dc9a4"},"properties":{"dependency":{"package":"tar","version":"6.1.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9864cb0bf36ce36d40d90cea97886df96ba2b9e3b58972319172c74bfb3254ce"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73b3328f59a7ce69386154524b09fb1022e12875b6ddb5868bc23b5708300ace"},"properties":{"dependency":{"package":"sharp","version":"0.35.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f11aaa225d1510d2063e09adb5b87f32b9016997da952471141d1765210049a8"},"properties":{"dependency":{"package":"undici","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0750c389d9c152bf1d4e31dfc91f23aff8c134e832845da27b3738c33162b18"},"properties":{"dependency":{"package":"@fastify/busboy","version":"3.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e497e5b8b88b8ddecac6633dd01d69ed8e295c06909a06d68999d23e73c3e9d5"},"properties":{"dependency":{"package":"@graphql-tools/utils","version":"10.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94f3745ab0bdc449b2d036e6a5d16b8cf1381c7513857cd8c0e08ac374445872"},"properties":{"dependency":{"package":"@graphql-tools/utils","version":"11.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"216b65dc5adcbfd7e01f3b3b0b5963dafa1942d75367b012370f15641785281d"},"properties":{"dependency":{"package":"@langchain/core","version":"0.1.63","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1b50b33eeb199b0a21ce1ed0ba9f57b758cc1aad36d91d50a3aa20e15bc5a88"},"properties":{"dependency":{"package":"@langchain/core","version":"0.2.36","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6369c49294a116dc3113d4593de258dc05875a69494f5f0cd0ad6c370479c0a"},"properties":{"dependency":{"package":"@modelcontextprotocol/sdk","version":"1.27.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ec820501c17042dd2a0f2618a997ebcbc5d0c2a8d5a547108c06afe403736cb"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.8.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/@openmaic/importer/src/parser/XmlParser.ts","line":111}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4daea776bc6bb01639b150586210ec59ed3051ee2daf78fca2d418473f3c21c"},"properties":{"dependency":{"package":"@xmldom/xmldom","version":"0.9.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/@openmaic/importer/src/parser/XmlParser.ts","line":111}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7f0f348a178aabddf362a20583ac8f141e8c18e13d232b164aa1d26c1ce8d37"},"properties":{"dependency":{"package":"adm-zip","version":"0.5.18","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2b24aaa67f38274086d7b9b346106d216dd78d4885c67628dcf133ba0a29934"},"properties":{"dependency":{"package":"axios","version":"0.21.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45c488355148beef8e20121a79c71a37282ddf9decac207cb0129be85f28503f"},"properties":{"dependency":{"package":"axios","version":"1.13.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2eae5ae78d85cd537b0fb3020ddcfb60e7b62739c2b4fe6fee05aac434877c13"},"properties":{"dependency":{"package":"body-parser","version":"1.20.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a590dbace74ae4140978e7d583665c0dadcc95dd6cc7470b6e47b7335c7dbe4e"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d34a46f903edb95f2ade27a9234b2613615a88da74f5e6953961d855fa45966"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8dbf3e34efa280ba8ec5553dfc31929406ee07f081d62178ba265a8a6aa2d6be"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72e149bac63d3869cd11259113a5234b201344249bc6bab86fe3dd48b6c26cd6"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce9bbfea95fe015374ae86e03b9373fd15c82feee84c4ee070b765207d8d9476"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"576332ecfb02e485c2b373a8e0facd71aaf914016a06a072feea7e4c4e7e1be6"},"properties":{"dependency":{"package":"cross-spawn","version":"5.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"898d0e2c9cdb3a68dfc90a724ae385479c719262846d14d9770faf19a472181a"},"properties":{"dependency":{"package":"decode-uri-component","version":"0.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f88fc00ec7861a56df42bb26114ca872e3309402838f7cfa4c001103d41b71a1"},"properties":{"dependency":{"package":"dompurify","version":"3.2.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06593c39ce911a216ed914a471d9cdd931bac450d9675076e44dd756bcb35a60"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1de2dc054cee5c3af15254884a0383116ebdff3c3edbad7ae1e5fd2625dac696"},"properties":{"dependency":{"package":"flatted","version":"3.4.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01fc85053279d115ea033564d5712283763a31a120ba4ad4775e78b10049b1a1"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d96d179c59fe4b639ef18371db91ca076227fc0ef977a96645dfbba79895d03"},"properties":{"dependency":{"package":"graphql-scalars","version":"1.25.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3df0d1d450878a54d77d4bfdde6e3c0daeb7ae1abdc6433b96bc665241291e5b"},"properties":{"dependency":{"package":"hono","version":"4.12.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"render-service/src/main.ts","line":30}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14cd84eb55c447529c62b9addf0408128e5652b8450469ac5abf19b08695f503"},"properties":{"dependency":{"package":"image-size","version":"1.2.1","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}},"taxa":[{"id":"CWE-835","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d66865a895be83070d47ca5389552eea8c6cee10a32818c70a3443fc659d917"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"685cba4514570b53bf9bc85812fa54c07fec7b3f62fc67d4712c038e9ec2e605"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"lib/server/agent-runtime/skills.ts","line":38}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96fe6c2f651b5f0ee920c3f2f407b26436664ed35b302c4bf12d5b0e958d65bd"},"properties":{"dependency":{"package":"langchain","version":"0.1.37","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b33aaa60a74ea87f9e0b96dfbe1de29f3c12de885f122defef26ff845fc63fe"},"properties":{"dependency":{"package":"langsmith","version":"0.1.68","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2555","PYSEC-2026-2560","PYSEC-2026-2582","PYSEC-2026-2583"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"963500317baa70ad7d46d5667fd0ac2856b6a8434a4bc1165e1e2f2e296854a8"},"properties":{"dependency":{"package":"langsmith","version":"0.3.87","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2555","PYSEC-2026-2560","PYSEC-2026-2582","PYSEC-2026-2583","PYSEC-2026-2584"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"717aad5e3a11eacb65b63f6205b99efac26a9e9a83bc11ad8d3623762fb02dac"},"properties":{"dependency":{"package":"langsmith","version":"0.5.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2555","PYSEC-2026-2560","PYSEC-2026-2582","PYSEC-2026-2583"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25809b38408d106d54822aeaf819a2f3818c7645e99ecb4d1145faccfb980cd2"},"properties":{"dependency":{"package":"lodash.template","version":"3.6.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcc75b85f77a3a861f0fb007da042d5dc8ce94b16e4770444d8dcbd36d90bcc0"},"properties":{"dependency":{"package":"nanoid","version":"3.3.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"components/chat/use-chat-sessions.ts","line":42}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c42854eb33057e65bd793739d0efe7eb8824effc21433c91f5bd3ac3056745c"},"properties":{"dependency":{"package":"nanoid","version":"5.1.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"components/chat/use-chat-sessions.ts","line":42}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06d76f5079afd41e1628b005be92f68f404a5316ac3eed6b7d3ed535a059cab1"},"properties":{"dependency":{"package":"nanoid","version":"5.1.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"components/chat/use-chat-sessions.ts","line":42}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f92fc2ddb946ed0765e4c67aa7e243a07870f2368edac2bd98c50b6c0d66c7eb"},"properties":{"dependency":{"package":"path-to-regexp","version":"0.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bac668e18f3c5d2f8513c749add59e46084dfacf0fe936f8986eaab1438c1db"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98f5b7f1cc7ab72c7ef988be1ab835626c9ba93796c264fb44a05726fc7d8dd6"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b10420175f791c4b7e1106592d4e51c7b6ddced3c15d8dccd4db298f5f89f93c"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cceb195be501ab6ff681fc3d83c4d8060ad39dee426541747666d9548f118f4b"},"properties":{"dependency":{"package":"postcss","version":"7.0.39","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"lib/export/css-asset-parser.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bbcf727c11f3451b90e0c4181659fec15555399ba4dd1a967c87b3704c5ad8b"},"properties":{"dependency":{"package":"postcss","version":"8.5.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"lib/export/css-asset-parser.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65d86c8f70d4241ebfc59d5ab89f0f3c7a9827361260bd1694915180c4637b5e"},"properties":{"dependency":{"package":"postcss","version":"8.5.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"lib/export/css-asset-parser.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51bc37f40d99dac40cc6c8c85124d70df3d7555236f8e2f41b449a0d3215fccf"},"properties":{"dependency":{"package":"prosemirror-view","version":"1.41.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"components/slide-renderer/components/element/ProsemirrorEditor.tsx","line":6}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09dc2606598e087ca2fdb98f45e3c8b05e4103e9917b1eb8799daa170f480ec9"},"properties":{"dependency":{"package":"semver","version":"2.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"scripts/check-node-engine-contract.mjs","line":4}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6764b8c810530dae1a8f4608b565def7feb318ff48a369cdb5fbddf97715ace"},"properties":{"dependency":{"package":"semver","version":"5.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"scripts/check-node-engine-contract.mjs","line":4}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f538739e89f76b0971a5390fa8cddbf706f34980e213deea9c68f7ff3476760"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"lib/document/extractors/images.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bf997523edcbfd004b0e48079d2d03fc36b5b8058c165442d7b3299bf52fe16"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fd66fed6cbabf2ebcb54e1348a619847d0bc5632ed65037101ab132a4a74a93"},"properties":{"dependency":{"package":"tmp","version":"0.0.33","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7713653c1cd2e524df06e4e81d883565ceb6482ea97f6eea94f00d39b4a4d989"},"properties":{"dependency":{"package":"vite","version":"8.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"659b17df3a297d0c761f05e64fbd7a7fec481b8fec3425db0f2590512d5583b5"},"properties":{"dependency":{"package":"ws","version":"8.19.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9144cba8dab0f79c1e3cfe5bd766fd5da1a184c3cbf7e15829c541671e23afa7"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"app/api/model-config/import/route.ts","line":11}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e652f7cd2095fdfde4dcf680f293b8efb19af902006bba2daa2ea0e280b2a55d"},"properties":{"dependency":{"package":"zod","version":"4.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"app/api/model-config/import/route.ts","line":11}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72a0b04574fbaa20f3330bf8b34e4220a7e79a4756e4ecbb57f2edc13ae110d5"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1be4aa49dd0b29a42ae7329e96511766e69e0e1be850dddec8225bc6c74dbdd5"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"927198bc646f2958407298a05249dc0fa196686bcd8d7b9ca0b7a298fceb65d6"},"properties":{"dependency":{"package":"vite","version":"8.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cced1c447f9d5109ae17bc564f0dd3c9374a722ddc48755755005c51dcf99852"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"acf9216cd9aa22b6e768b88fe46b4f6b623a0d5058b6468fa05f6f22fe3fe691"},"properties":{"dependency":{"package":"sanitize-html","version":"2.17.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54c81a0c986c9ad13365395b408894c309cebcea10ac5d63bd5a8d989c37a53d"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"render-service/src/main.ts","line":28}}}},{"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":"b717e9dd303f73b8b7ce5922ca68dede6a38dec9452f848a70f0889e9aafb7d7"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c842a4d39c2210003215fdbd4a7bffaf8abdd3994bd5a1d5deb53f3cca49656"},"properties":{"dependency":{"package":"@langchain/community","version":"0.0.57","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0894c065e4a01760ff59c8f43ddba69f9f1496a578e64e57b4677ed19d7024aa"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7bda289298f8c7b577c3df21f51a6fc17f92b7e23b2a76b5f7c4731a8327d8c"},"properties":{"dependency":{"package":"ajv","version":"5.5.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"packages/@openmaic/dsl/test/normalize.test.ts","line":2}}}},{"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":"16bc49aac72eafef4ac9a880a9755121d0367a6bdf3e48689c49c4d9d8c09a58"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.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":"2e5fe0559e5706c5942b717df00fffa827ffd495a46f299851bec2203497400d"},"properties":{"dependency":{"package":"bl","version":"0.8.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b519283877a3f1797aacba66092421122cb6459d205d2a205946b0c1383aa9f"},"properties":{"dependency":{"package":"echarts","version":"6.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"components/settings/usage-dashboard.tsx","line":4}}}},{"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":"03fbcdf09a22d34ca5c914ad9fad017791b0721825e41366b71be3ace7a4642b"},"properties":{"dependency":{"package":"fast-copy","version":"3.0.2","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ad99cb4954b0f40a074c9b419d41dde3c5238c306ff64bb372d7d4805267e0f"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.11","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":"ea7e5354ab7cfc90dd177dde60810f39ea3e10b3fe5c807ca0b2b906b7004ac5"},"properties":{"dependency":{"package":"glob","version":"11.1.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":"9f9969cc1dcef0e64fdd2efb47b4f5e837c1cd854c95ddd0d8beef9c7c6a680f"},"properties":{"dependency":{"package":"mermaid","version":"11.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3bac0b956cc7625db5ffaa04443fc36030c2af44043a6f2dfd365abaf694f40"},"properties":{"dependency":{"package":"minimatch","version":"10.2.4","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":"3f6bb23071c440294f3d87dfa4e9ee37b146d57b5b27ed00ddba8ed121a9f485"},"properties":{"dependency":{"package":"moment","version":"2.30.1","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":"7b87b6494a671427e7c27b6404760b1f45f9acd62e070f99912b9d4fbcbce18f"},"properties":{"dependency":{"package":"pbkdf2","version":"3.1.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":"5b370988256b5ca1a98727580f38c1e1aa1415d06aaa901f59ee989fe3566d38"},"properties":{"dependency":{"package":"phoenix","version":"1.8.5","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"932a3bfecc4fdb553659a83b676fe51d69a354f33acdb515911e099d90c2a373"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4763fccd9789c7d4500a035789ae8e36c9e7c42e1f24a386a213e0dba9dd29c"},"properties":{"dependency":{"package":"protobufjs","version":"7.6.4","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":"d62bdf8b231f709a2d4fae42779860d54f1e7d5e1169476540089d25ccc3f52b"},"properties":{"dependency":{"package":"qs","version":"6.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6be7d6bf01a239380c2cb2a8c9b0adfff34d15ff819207a046598184e1b2d7ea"},"properties":{"dependency":{"package":"qs","version":"6.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9cc4ed661d64f4270b0468177faf38c01802d188a2ada987d41d7c5aefed144b"},"properties":{"dependency":{"package":"qs","version":"6.5.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a1187aa88b5f103d60aad5310ba3f08326d5bc366c9bdf6b5ed532e5987856d"},"properties":{"dependency":{"package":"request","version":"2.88.2","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":"8b5b392823fe38441da2092e714b8d973e2c00629222139b650b3361bc61fd30"},"properties":{"dependency":{"package":"tough-cookie","version":"2.5.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":"755b270bbf37d07aa31b0f17c30d5642ba3dd4408c1a852d34cbfeb1ca1a4250"},"properties":{"dependency":{"package":"uuid","version":"10.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"a58e3485266f3c537f61bd7000fcbb478bb55548743e34af6a4531e4cf02eb28"},"properties":{"dependency":{"package":"uuid","version":"11.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"7ef0e69162e2895c12230529a12fbfadf3078ffaf8d6fde95b2ce7fe9f39c8ba"},"properties":{"dependency":{"package":"uuid","version":"13.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"f7e04073d195b081dd4ebb6067f0342c090ee9ab6842da4239b15e8279727ede"},"properties":{"dependency":{"package":"uuid","version":"3.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"cdaee5d010aded89115bcccc0dd64a7fb87cc888c57e32ceb9dd4be6b08fb475"},"properties":{"dependency":{"package":"uuid","version":"9.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[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":"ba7c793d0a5a9b5343b3ff4f7bdb6cbe5747496305857198a7f7162b0eeba03e"},"properties":{"dependency":{"package":"vitest","version":"4.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/@openmaic/editor/test/setup.ts","line":3}}}},{"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":"2d93c38655ec32f76d456e0b7dac0b047eb2dbcdbeb544b53150bd8b4e342eb9"},"properties":{"dependency":{"package":"vue-template-compiler","version":"2.7.16","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":"cab2098e551f88d096756eea896ab201fc72ec0275bddc366f276c5eb947889d"},"properties":{"dependency":{"package":"yaml","version":"2.8.2","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":"de3c6e0cb2f96d98f3daaa5bd1d64cea63577c07ad1c61603365cc2914af9a34"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"render-service/src/main.ts","line":28}}}},{"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":"472790f655cbf3dd86a3c65898f12e2d79b42f5b59dd9e328ac8751a6aaf9f17"},"properties":{"dependency":{"package":"@hono/node-server","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"render-service/src/main.ts","line":28}}}},{"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":"a06609cd4d00544036f1d05ab890e2fd0ac2e57657762ef781aaf6e7a64aa0ff"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdc1601dd86a3457f736a189b8bdbafcf53506f48f03436997e4dde9d6ccf3ff"},"properties":{"dependency":{"package":"hono","version":"4.12.30","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"render-service/src/main.ts","line":30}}}},{"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":"4b5b837425455ee33610eae6ac3f490b07f4b549d5aef1135d8210e0988f9d2b"},"properties":{"dependency":{"package":"@hono/node-server","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"render-service/src/main.ts","line":28}}}},{"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":"8194f63b13729d7e0ace6301058043d16537b7c1c889681ea2549c61d57aa402"},"properties":{"dependency":{"package":"postcss","version":"8.5.19","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f6aa42f54ceb8e922d8bb9fa5d8a05d5a80963ebbd03933b77ff99777998c6f"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.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":"49240cbfef90bd20936a9ed27a55cd52625150765e600d59f504962cff8a897d"},"properties":{"dependency":{"package":"vitest","version":"4.1.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"render-service/test/capped-stream.test.ts","line":7}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"926506441770aaf14c8ea7de5e12628bf304a7cfe9785b9e5730efef8bc1871a"},"properties":{"dependency":{"package":"katex","version":"0.16.38","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b383e8f59d57daae1d808f93121d4f478e3bc76875f97101ae2d9494d388dcd"},"properties":{"dependency":{"package":"esbuild","version":"0.27.7","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec24a4a1516c08e333193af61efdd5bd1e774cf77c1cf6c791f6787a84721fe5"},"properties":{"dependency":{"package":"katex","version":"0.16.38","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83fe4b3e1556cfa979c097520f20e5ffe2238d78a227272b60d24e73e0e22596"},"properties":{"dependency":{"package":"@ai-sdk/provider-utils","version":"4.0.19","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce1c53f12729a50dc4eb412f9fb73c84d4bdca8578160c4d0fef25af480a6861"},"properties":{"dependency":{"package":"@ai-sdk/provider-utils","version":"4.0.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6359c5ec42e8064ecb58be58e1eb9b20b8a1fffa2293aacca54c7ab59e570361"},"properties":{"dependency":{"package":"@ai-sdk/provider-utils","version":"4.0.27","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f392b1419f96aa208ac2115d3c34c2f00540ad0c5381e81423f8727e54319f35"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"packages/@openmaic/importer/package.json"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a861b1ab2fd6ac5a0cbbd2d1eaeca38914dcada77f7a5d62bbdd015efb9e974e"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"27d974ee3fd5dcbd0dc61a8a77f97951971d209729c9538c070e3cb1baa1af25"},"properties":{"dependency":{"package":"elliptic","version":"6.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fc9e75fab5478ca05d7f2d99fda3d23704f1a17819b3db19c3fa9120c003d2a"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"476176a40f7dde5968156df41a3ad51fabec36db7b9ad2c78af7fdee298fccfb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","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":"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":"5e678135de78122fc198698f387d0749603514cb510247152c3f7850f1f23832"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 1316 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; 1316 of the 1974 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: lib/media/comfyui-workflows.ts, lib/playback/action-resume.ts, lib/server/search-query-builder.ts. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/comfyui-workflows.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44366524f6dded141526594601b1d7c72443de9bbfa0428b501bb797cabdb571"}},{"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":"lib/playback/action-resume.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2aaad0764837fd69b9cf73f3a3f250b8992971d62fcde526e2f4d1abb9a1d4"}},{"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":"lib/server/search-query-builder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"272121f96c5bdadf9455fb28f4a265e4e1ef1d0cf1cb4460792df1fca7989fe6"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: agent-bar.tsx \u2194 use-discussion-tts.ts: \u0060components/agent/agent-bar.tsx\u0060 (context components) and \u0060lib/hooks/use-discussion-tts.ts\u0060 (context hooks) sit in DIFFERENT parts of the tree yet change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006054c76bf9\u0060 fix(audio): follow the interface locale for default speech languages \u2026; \u0060e83db6a5\u0060 fix(agents): persist AgentBar voice picks and mode/selection across r\u2026; \u0060d7c0d80a\u0060 feat(tts): per-agent auto-voice quality \u002B register-once timbre stabil\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/agent/agent-bar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79506b2789d5e324c812c52fa41038989e3eea240f22ba38a8b09b9a2a59e56b"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: page.tsx \u2194 agent-bar.tsx: \u0060app/generation-preview/page.tsx\u0060 (context generation-preview) and \u0060components/agent/agent-bar.tsx\u0060 (context components) sit in DIFFERENT parts of the tree yet change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060e83db6a5\u0060 fix(agents): persist AgentBar voice picks and mode/selection across r\u2026; \u0060d7c0d80a\u0060 feat(tts): per-agent auto-voice quality \u002B register-once timbre stabil\u2026; \u00603e1e9f08\u0060 feat(tts): unify provider-enablement model, default browser-native of\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/generation-preview/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"482fe686d18ab2d6dbca27ff31baa3a7cccbf414ab1a0d4b650f62d26b050af7"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: index.tsx \u2194 settings.ts: \u0060components/settings/index.tsx\u0060 (context components) and \u0060lib/store/settings.ts\u0060 (context store) sit in DIFFERENT parts of the tree yet change together 61% of the time (14 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u006098904c1c\u0060 fix(providers): three silent-behavior fixes from the provider audit (\u2026; \u0060a2886af9\u0060 Added ComfyUi to has Image Provider (#850); \u006007115dff\u0060 feat(asr): add Azure STT (Fast Transcription) provider (#175) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb88672ba18adc2d891fd5b1f681d16e18982e8c5568792a2f99bbd737d8326d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: index.tsx \u2194 types.ts: \u0060components/settings/index.tsx\u0060 (context components) and \u0060lib/audio/types.ts\u0060 (context audio) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006007115dff\u0060 feat(asr): add Azure STT (Fast Transcription) provider (#175); \u00605e12ad89\u0060 [codex] add VoxCPM2 TTS provider (#496); \u00609a0060e2\u0060 feat(audio): add custom OpenAI-compatible TTS/ASR provider support (#\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"730fa46969793a862adcc11a39d1d5a9bd9fa49ee60682184f13588c53b671d3"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: page.tsx \u2194 use-discussion-tts.ts: \u0060app/generation-preview/page.tsx\u0060 (context generation-preview) and \u0060lib/hooks/use-discussion-tts.ts\u0060 (context hooks) sit in DIFFERENT parts of the tree yet change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060e83db6a5\u0060 fix(agents): persist AgentBar voice picks and mode/selection across r\u2026; \u0060d7c0d80a\u0060 feat(tts): per-agent auto-voice quality \u002B register-once timbre stabil\u2026; \u00603e1e9f08\u0060 feat(tts): unify provider-enablement model, default browser-native of\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/generation-preview/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60de503debaee9a432443ea87be2da7f9eb64010ae3c77f8b552ad1002e3426e"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tts-settings.tsx \u2194 tts-providers.ts: \u0060components/settings/tts-settings.tsx\u0060 (context components) and \u0060lib/audio/tts-providers.ts\u0060 (context audio) sit in DIFFERENT parts of the tree yet change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060c72a64b4\u0060 feat(tts): add Google Gemini TTS provider (Interactions API) (#1687); \u00605e12ad89\u0060 [codex] add VoxCPM2 TTS provider (#496); \u00609a0060e2\u0060 feat(audio): add custom OpenAI-compatible TTS/ASR provider support (#\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/tts-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e39af0929b2efb1749f7a7209a260c09eb4b0e1c68995a2dfc9626a5acdb884"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: index.tsx \u2194 constants.ts: \u0060components/settings/index.tsx\u0060 (context components) and \u0060lib/audio/constants.ts\u0060 (context audio) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006007115dff\u0060 feat(asr): add Azure STT (Fast Transcription) provider (#175); \u00605e12ad89\u0060 [codex] add VoxCPM2 TTS provider (#496); \u00609a0060e2\u0060 feat(audio): add custom OpenAI-compatible TTS/ASR provider support (#\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8f82f1a43cf15a07bd6069d93b1a0916a862823c94a7fad3d65186648ac623"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: page.tsx \u2194 generation-toolbar.tsx: \u0060app/generation-preview/page.tsx\u0060 (context generation-preview) and \u0060components/generation/generation-toolbar.tsx\u0060 (context components) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00605a3e81c4\u0060 feat(document): ingest uploaded sources into the asset pool and extra\u2026; \u0060c5692951\u0060 feat(web-search): add SearXNG provider support (#842); \u0060baff0998\u0060 Feat/document bundles milestone 3 (#844) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/generation-preview/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa2c68fc6afa19bb5314d3d9f952a2d5c04da106de1f95608fe294c789d759c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: provider-config.ts \u2194 settings.ts: \u0060lib/server/provider-config.ts\u0060 and \u0060lib/store/settings.ts\u0060 change together 64% of the time (18 of the 28 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 18 shared commits counted here, the most recent 3 are \u0060c72a64b4\u0060 feat(tts): add Google Gemini TTS provider (Interactions API) (#1687); \u0060a7e9dc83\u0060 fix(providers): apply server-pinned models for image and video provid\u2026; \u006098904c1c\u0060 fix(providers): three silent-behavior fixes from the provider audit (\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/provider-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e088439ddeaaecd76b210b4f675907a726209da1ff30aae175209d01205f354c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: types.ts \u2194 provider-config.ts: \u0060lib/audio/types.ts\u0060 and \u0060lib/server/provider-config.ts\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 6 shared commits counted here, the most recent 3 are \u0060c72a64b4\u0060 feat(tts): add Google Gemini TTS provider (Interactions API) (#1687); \u006007115dff\u0060 feat(asr): add Azure STT (Fast Transcription) provider (#175); \u00605e12ad89\u0060 [codex] add VoxCPM2 TTS provider (#496) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d3f8c65ba6e2c4ba2d19618d55b22d6778615782d2eb662db7d56e12ab9967"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: index.tsx \u2194 stage.tsx: \u0060components/roundtable/index.tsx\u0060 and \u0060components/stage.tsx\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060e3bdc470\u0060 feat: keyboard shortcuts for roundtable (T/V/Escape/Space) (#256); \u0060815cdc22\u0060 fix: presentation mode bubble polish and TTS timing improvements (#244); \u00600533adbe\u0060 feat: refine presentation mode speech bubbles, input flow, and access\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d5140badf74db6f4fd129642398a340a779a0b541045d459c9fb523b19718c"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d415f3f8e7dae7e7d87a140f8af25758095c68ec421384f4fe1595d5a4923f7"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74770c6b72545f084f0b38454ef880231503f002853fc634c4041b481ce55814"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d570f1594c94c92cd703a32751e83b240147df2fea17d104a686c6f7597ed737"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4beba5385a7d38ffc1aa3f003875a6fb94c4cee4e69ee76838daf25665569eca"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/VideoElement/index.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ea7e8ce3b357b979fbcfa498d8c5ce12e6d30976a934d97ba6b74b45018b68"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cvideo\u003E without a captions track: Video with no captions \u003Ctrack\u003E offers no captions. This player\u0027s source is set at runtime, so there is no caption file to author here: give the player a way to carry captions \u2014 accept a track/captions URL alongside the media and render a \u003Ctrack kind=\u0022captions\u0022\u003E when one is supplied \u2014 and capture that asset wherever the media enters the product (upload, import or generation)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/standalone-player/scenes/SlideScene.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8c3f5ccfefe629486ff3e829f6ba4cb5f82bc8ebda334c04b3d0615eb788a3"}},{"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":"app/page.tsx"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2242218a1f90c96c017735163286fa2ef3ccf53ec69e197e1365b804ec0963a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b69ef4e6af9d5384abdf90fcfb888075a4f888e75c315c303c65d20e5d582e"}},{"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":"app/page.tsx"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e738819913787e9e505efadd914919b0d9ea20f3ee075fa558c48bf80e3e42"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d13882faa85566a814b4a941fc771de2e9b25a9f6f5f89641c535f1e84a15e"}},{"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/access-code-modal.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d61af6ce58b71369a7637e61f05cc0c152bb5bc65628124592cde6d3fea3166"}},{"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/canvas/canvas-toolbar.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0167a9dcf318d958119f1aa04fd5d49fc56ef0f2fb867abff3099f86c7d69aba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/chat-area.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8e93988e660d14dc1194850f559eb15931eff340f4e85100bbf135923eefee"}},{"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/discovery/folder-card.tsx"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4c828fce14bdae652d614c528f4196309292f45662419cae869830a3bf999d"}},{"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/discovery/folder-dialogs.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b6182c8534ec57a1322c6aad7988f56638f3a23f8a1a395f96b038ab08026b"}},{"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/discovery/folder-dialogs.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e47368ce7ef028d06ae8ebc7563bc772a2b5a30f487e93451fe23cc82f5984"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CFolderInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/discovery/move-to-folder-menu.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2322c4ce60626435cf9d0def024c1633d3729842fd4308223ca60eb3418cf5ef"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/ActionsBar/ActionPicker.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaa019205f0c51ec10236c61c471c4a0c90211e1668594960c98ed3ce1d886b"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"5582f3d82fc02e89c7332ce999d777087b5668619ee099894a3b211ba2a48d88"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"2199e3b6064f2ac2dfa6d2c10bfea4d91a1a68a9f5afba2addc3a00b4ab4d343"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2210ed75241403dc0596132770c9547453e383dc8d0de634f390a5aba8afff8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96963fe773264de626a5a26f227c95971bba43e1e3882cb68cd46b6a190f20e"}},{"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/edit/AgentsView/AgentRosterPanel.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bce8fb05ca158d75c1ee81322a9dd14c6dcd9086d2381c25559199024383bf"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"1844cccec17c548a3a954bf066f2a29acff5d5c4537adc2bf6c899d107e03287"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This select is named only by the placeholder of its value part. Nothing is typed into a select, so the placeholder does not vanish on input: it is shown as the trigger\u0027s text until a value is chosen, and then the chosen value replaces it \u2014 so at no point does the control state what the choice is for, and the trigger\u0027s role (combobox) takes its name from the author, not from that text. Name it: an aria-label on the trigger, or an id on the trigger with a \u003Clabel htmlFor\u003E pointing at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/generation-toolbar.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a12d1ae390dac9d0c13b4cc657c1c70de9ed3d8ebf24537f4d7f55b9928fa6"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"4587ed4aaa0f0b8b9e403ce3e382d2d679b7f1d686fead5bcfdb9ffce302cf4d"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfae502bd1e39d2d43208262b3becedf6c9735534cb3bf63872affc8df514764"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9e926f54538cf8d1b1164296dd587f8479669b29d3fdaae0b1b1fb51ecebdf"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad36b99e51505ba51be3a39b561b34bff2ff197990e162d5cbd181121094162"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c746ea3f5ae81b42fb908ae0f5caa8b6c31a6e293492b36e2379e64d7909e55b"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c493fd52ebe083f83d1032f0bfee1283a5a2421d72574cd406fe5dac7da78a1e"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab5bad18b6356de914420436693c7d2d8977e5b9590d5c3aac4eae947da74ca"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"766cfdf19d3bb5897b5361e934e97444318d67d93ad7ac36c37aaf497fda0480"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"4070237c753853e7db8adaa2a9ff3831cdb3fe2d384b7467182451241f636600"}},{"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/roundtable/index.tsx"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b022c53b7d0e66fe6080d3d354c24595cab80ede2abff473be99834f6f96a78"}},{"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/roundtable/index.tsx"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"f293367640aaa04f02cd080d60036e5989de39bb34f9e02e4b29ca142fe6beb2"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a4799d49181e19deade2d72925f2af5a8517f54de717aad1e9ba1b54eb6f55"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a60232a0ee47d7099bf063280ab8275f22ae976cfbfe04354452ad38adcb69"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38f85cf49a7fc78a4d62e57c7005365b9591cbf25ecd3908b7dc00d4d166da1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"820d5e0517310e52d6236bbaa646b19c10cd375899b7db0da9042a3991530b19"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a4f76443718fc2258fb50efdefc54e4e4bb901012c0d4d493ee2dad3842ab5"}},{"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/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5808f52c768df8ed6abcc3f51140c51e4b082c70107bd0ead0034d92bcaca00"}},{"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/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d233b449e7ce931af629dd66e4d71c2a578bf7e73f502247f00f594013e666a2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"83178e70f5ea380349b2fdbfe40f41c76bae064320c4aa72db83e0da2728cd5e"}},{"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/scene-renderers/quiz-renderer.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31ce02a186d327b037d5f1e873b6340d1c40068618c11d46e4e4707f7990fc3"}},{"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/scene-renderers/quiz-view.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62a7a7eccc1e315d8653df36973b9256ebcbb9f5b296b7706f44e0ebe77851c"}},{"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":"components/settings/asr-settings.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"23830bae07d12d09e1b916765f6ebe236aa8d7317bd0093c48672a768bc272ce"}},{"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":"components/settings/asr-settings.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"816e69727ad8cf4cb86db44b53972e587516449df4a084e5ac05205772c89f8f"}},{"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":"components/settings/model-picker.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e71cae9a2c56a369f3a70dd0d5dd2237143927f30de2e6224a19c107d445a4"}},{"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":"components/settings/model-picker.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a22433c51c3365985c7ff2f4d542ae9f517aa35f03b18738621e0c8fc22ab1"}},{"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":"components/settings/model-picker.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"401448361b168e2d12f782598a795642be6270875d392513e7aa954fc1ddb454"}},{"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":"components/settings/model-picker.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2df289eba69666b14dabf1dfe6bc7fb64cf47205a2a57e1d789d0f3aab33e3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/sandbox-settings.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae3e14f3c952316555bd04312710311b455eebc535c98b5ddeac1b634e782ae"}},{"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/settings/skill-settings.tsx"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c005e755bef1aed88ec8ab525f449b1813425e5845c42ec94829e6905692148"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/tts-voice-managers.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf15b27ee06494ec5347cf551fb996b36cd11668a0ee5d04f06b5fbcbb401bc2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/tts-voice-managers.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc4566283a47b7b12f9b887b2dc875178db7d9beecd3705e018a06beb3eb85c"}},{"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":"components/settings/web-search-settings.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8c5bbf4515483ad1f59d6efc68912f59986c10a05faa18aa9561e8bff81f21"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/scene-sidebar.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7a201d9ec6881ed477ed166afa17dc779a8a0dfc553d41b3e6ce434af732bd"}},{"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/user-profile.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b813552e9b1af7b35adb17b418eed58b587cc02a8edd69348ef2618cb6682928"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/user-profile.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0380edcc77342678824f3f1236abfca474264ce67d33911081471daa7f0096c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/user-profile.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3023956c1955165c83a038cf8a12c9e47d21ac1b3e0af051bcab7fc418d40838"}},{"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":"lib/standalone-player/scenes/QuizScene.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c006e886f67833f1f1d9a7d89ada2d66c50316066d1eb49c511cf958f65502"}},{"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":"packages/@openmaic/editor/src/ui/audio/AudioInsertPicker.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"51970da2ff4be3f0d18e0f99a8b1f39856e05920dc78e7c243c004e342ff64a9"}},{"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":"packages/@openmaic/editor/src/ui/video/VideoInsertPicker.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aacf8d7eafe32c90997ae91d304df05779a39ce2b12faafc270de09d5875032"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSearchDialogInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/docs/components/search-dialog.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"15670e701a8d65787291d32c9a91f51b875a31f221b6d80b1a8fa2303d78a91d"}},{"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":"app/layout.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ea0ee4b0b56568853ff3b817c7dda76d94defb2da8391835bd073c793906ad"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/TableElement/StaticTable.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb4313b206e0b1280863661fc12b5232a1aa99a817f1a1c8071ef5eff88413d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/table/RendererTableEditor.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ccaa2f200e0ebb462f0275f4784a08cb1f74088c459f7951fc75be7d14739d"}},{"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/@openmaic/importer/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52baccf53493b549d98ac89c1f2588e7cdde9822df11a387063a80b4945db1e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/table/StaticTable.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8d3a39ba216cccf2334494ba3332cb0f064ed717a72fc5456649c4a46aa3af"}},{"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":"packages/docs/components/root-shell.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09ebffabfe99e0c6c846be29b62b64986b0cf62562b7feaccd90c1de9da316c"}},{"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/docs/components/root-shell.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d477bf9dc62f7f67e1ce67c241985d3d3038caf82142b32c36566c0d86271779"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c44ec3f2ccba87f4aeb2597e2279f1f5536ff824b87d7f90ae0a6936a81db02"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b40afcc9f76bd8a67efecec6c44cdda17561d8d88f72776c1024c6000d218ba"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c52ca09e1578f5b70fbd6ed2103fbd4b933d8f1e92d7fc56391f275a0f6ddb0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2623e976f412f4aa27facdf7138baaabaa97fd1814968c37cb8fbdac5eacd8"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cp\u003E: This \u003Cp\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"794ea746103aae2d822a6ddf8d1ad875cf41401f507a3f3b43354c836cff48e2"}},{"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/agent/agent-bar.tsx"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2172e26a6dce6c5f78e62693ef9f99940592b629ad75eb8ce2d33a402b77146"}},{"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/canvas/canvas-area.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a343dcafdd028ef34d72a9144f1d32e06760d67a47461bf97413cf3fa6023e2b"}},{"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/canvas/canvas-area.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d869c85fc9dedf3c62d5a5d25af1827947565576d93fdd602c0d83e6dad2ea2"}},{"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/canvas/canvas-area.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b7300c52c03083865e75cc92e55e05e8d8a30e4862ee0f2de6187059fc26fc"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/canvas-toolbar.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacb158e70b6ca2c1a98679280aef55fe6849c606dea3ffee4a27787c72cc8b6"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/discovery/folder-card.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bebc1405087b7c6a4247597f331ff240b9528db5def6a0622a6d3bb77c9e20e"}},{"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/edit/ActionsBar/ActionPicker.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac742bf069acc16d8774e07017ac49720139d87d2c60b86d14bcf1bf1825176"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"792a6c8c68d56f0f79ea5a0a61530acbe74d59d4c234007d794a43cd0e96dd14"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fcabf1c89871c1034646d468fcf71afee6cbdc73c827501263e73d7ea5e4c1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/AgentsView/AgentRosterPanel.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecc55a6e5eb24e06fefb0078f299c36e2c6fdeab343953a04c27b1427413b56"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cspan\u003E: This \u003Cspan\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/SlideNavRail/ThumbItem.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f6e73cb6b64ca5af007bf4e2ff67b458b4e3f81dd957d7b9a696efdd9fc7d9"}},{"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/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12469a35d96f7f6c8fe91180f19e4c458c9bc7048699296d9c5b89aad4cbcb0"}},{"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/generation/generation-toolbar.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"42074b1dd4e3a4af31e58cdfe3eb42d3cfac0e56def27a6e37832fce9b25684d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac75c272df1db5f8d96761834a126b6782a2029a14c8b770176b2aaf127f50b2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6dce2718dce3c3bda9e8c55783f737a97458ebec3b09f8598aa663475d015b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0742c9a802a100c4540859fa33f1e46c2a9622ebfea3821170fd049fb392fc5"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9daed2c93adb6a39849fdcce6f63b7df51ce4d174dfb97db9a09e7d6e576256"}},{"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/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"28419d06e0ab58c369e4ab88026167ecc96b421c3a86cdcc988cf879308e533d"}},{"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/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9788e5c97cdb10e9a84f9602e5e40c32558dfc2a92fa904d62d4f47c3c5c33b9"}},{"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/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff200a5a9f9a22d309d706ef87e6afe78d78721a93d5fa3011564fc9a43f4043"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"731972b25dc7168f39bf4a605b68de1dc1f9e415431a89047354fb113f02261b"}},{"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/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5af1fb42283fbcb89a5e25ef61ce335324df9123bb025e5f2fedc3a55b3e692"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022separator\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022separator\u0022 and is operated by mousedown, but nothing can put focus on it: no tabIndex={0}, no key handler, and nothing in its scripts moves focus. A keyboard cannot produce a pointer drag, so the control cannot be operated at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and move it with the arrow keys in a key handler (with aria-valuenow for the position it holds)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/workspace.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c248d53a775b6568d007474651506186e8b86c0cd50351beee30d2ea5db4c4f6"}},{"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/scene-renderers/pbl/v3/conversation-scroll.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5253c8d9e4357d25a58e3af54351056bb99e8f2baddfe4099e55579a38d0b462"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds mousedown and double-click \u2014 pointer gestures with no keyboard form, a double-click among them. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/index.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cf339a5d45a2082ac1293602b7f583c447ffa77e8a4ca6f40e64427ae4ad94"}},{"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/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"370e2347bd485b457cfc6777695ca2fa87ff590c72c0943b371475e1829f49b0"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds mousedown, touchstart and double-click \u2014 pointer gestures with no keyboard form, a double-click among them. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba40f0529349cad74d39e627cb40de91777b54316f5d559abc7027b8b27973a"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds mousedown, touchstart and double-click \u2014 pointer gestures with no keyboard form, a double-click among them. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf39be965dd080c487c4243f6b9bf3292fc872af7c5c4e5faf1015fa190f13cc"}},{"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/stage/scene-sidebar.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fe0ea7db89b9f4238bf8460d5fa012fcfbaf6eaaa88900389abe96fe4093dc"}},{"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/stage/scene-sidebar.tsx"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2940154cc05d1554942d57532cd7c098fcded84d5d63491a28c61673cc8da0c9"}},{"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/stage/scene-sidebar.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f07176a8554196f4d2ad7254e9f456990271ba68bce7f011f9e6b8593d0af49"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds pointerdown, pointerup, pointermove and double-click \u2014 pointer gestures with no keyboard form, a double-click among them. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/whiteboard/whiteboard-canvas.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbce5993417d09545d6202a232369a2fc33eb952f86a5a838a911ae252f89ed"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cspan\u003E: This \u003Cspan\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/composer-pill.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5501f8a0064538d591c20a26e78e8db75d6344cf08094059b4647fd593f087"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cspan\u003E: This \u003Cspan\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe16429d18a92975c80a1dd435f5b71008cc7d24cad230061c9479095012c74"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cspan\u003E: This \u003Cspan\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c424d9a91e10405c2978a4c72b37319b42807e53ffd806e9f9eb2760f3d99a5"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022separator\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022separator\u0022 and is operated by pointerdown, pointerup and pointermove, but nothing can put focus on it: no tabIndex={0}, no key handler, and nothing in its scripts moves focus. A keyboard cannot produce a pointer drag, so the control cannot be operated at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and move it with the arrow keys in a key handler (with aria-valuenow for the position it holds)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/ResizeHandle.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddef8ae745e8fad396a884affa1e513dd9129fdc06987dbcc22f45798062d2b"}},{"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":"lib/standalone-player/PlaybackOverlays.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b23aa2bed967776db82f98007800c3420ebe9c65ab244f127244022e38a868"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds pointerdown, pointerup and double-click \u2014 pointer gestures with no keyboard form, a double-click among them. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/layers/ElementInteractionLayer.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21587183fa32ca9de6158196e5af0383248aa87b6e30efdd801d80de4822096"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/insert/InsertToolbar.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"95eb7d4b16785dc6977b67527a40d151a6ea8c588f01e0d012ed5b831a9b0946"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Csection 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":"packages/@openmaic/editor/src/ui/latex/LatexEditorDialog.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47f522358d69fe6247f8dd47973f15d19ccc48b3b15b0214e12941cb37eb2f8"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/line/LineFormatToolbar.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a32dd1de6055b3e2c664a72dcd2a5b093b8ec1768ceefdc4e2b1d8c04ab672"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"152656d42206e673a7811f9229c663b1b8f4f6ed9621cedb73b598dc11a5e80b"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa10d798b5b308aad6fa8e447d701f92aeec3c55a1fb6ca3d9dd95c607eab3ca"}},{"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":"packages/@openmaic/renderer/src/SlideElement.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b990e0113e38eacf87d7b74534f941ae03cd111adc201c02230dd21c26f611b"}},{"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":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd3aa0068d343fd393d91a85a4645ef7374bbc2744a869dababebce2f138706"}},{"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":"app/generation-preview/page.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d817ffd97cab2ae8490e180f555b590cc62e3363ec17c749b129946eba7762"}},{"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":"app/generation-preview/page.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efe534e659c39d8ab8daf94fee9e7caa4ae57c95df2a901c2ab1b51a2ccaa24"}},{"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":"app/page.tsx"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8e6b41c6243efd75bdfe5ed5ce74833d0a6136e788e704117859ca10caf12d"}},{"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":"app/page.tsx"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e6558f7a18c4b70d8328c1b762536cc315cdffdb9888e0afe686ed1c6c877a"}},{"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":"app/page.tsx"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2b01b5433d5ee7e043dbe0d0b9f421802a4c3fdbab81969e1fd11085604d62"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-ping\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/agent/agent-bar.tsx"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"7335f2447f873b28191442f2824f8622bbc7989f45d2d77c108cb53c192b9240"}},{"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/ai-elements/loader.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed02048706c6e7ba624d17d9806ac0f522565e48ae595f03cd11438a15c95a3c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: speech-ring 2s ease-in-out infinite\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/audio/speech-button.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece371b4627de00e20fc1b029291495a4cf2b0ebe42f276ae0608f974f4659cb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: speech-bar ${0.4\u002Bi*0.15}s ease-in-out ${i*0.1}s infinite alternate\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/audio/speech-button.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f004bc10b4f1d837c79b051d20ed18ef370c2dcddb367075208797c695c50cb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/canvas/canvas-area.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da4ad741090801bf4554bb16c61ce289d54bd2563c829374269ae38a62367f0"}},{"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/canvas/canvas-area.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d6e0752e3a2900840c914ac6143b303637d0ad6805a761ac728e01f015738d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/canvas-toolbar.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db6e11068c78e6a1582b28051211432cac67d9e687b4ec9a0a19c662c756f78"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\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/chat-area.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0efe8d524dbc6ca38ca957b42c818eb091c70828db728f252edefded2f64a6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (1.3: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/chat/chat-area.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a645ae45baa85db3cff42d04a6fa78e96efbab8e2d134ed85584d8d6f6ccceab"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (1.7: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/chat/lecture-notes-view.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"74aa8ce02c833cc17244f99cdff5e7b0788627251b4a562fc10e03814d56f99e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.6: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/chat/proactive-card.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd19499b86df91eccc0a5cf98e42622e465100ba98560fd4eaca6c7dda1f2f8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.1: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/chat/proactive-card.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e3cd60ee5d7d66a10ee55f1bee281f376e28bf5c7b097737710998c9295d24"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-ping\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/session-list.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"49247f2d77c17ebb807eec3dad0c9c27ade87bd1a62c61b4efcaba770426626f"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4336d61f621b44a1d66027da7219bed244f999b797591c8ce0bf41dcda9d334"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c99ef3b511cac99b468c3519b3d0afa510204460b8e531cbaa23bfbe27ec299"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22c491ac6a0bcbe7e91b71baa9fb0d4aa5d3857b14ad3c8143d51f8481a3bc4"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"d886902d8c4bc65716828fe6a77f2078fc236461cec107094eea0d9dbc142e0b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cspan\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/edit/AgentsView/AgentRosterPanel.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e05998ebbc366ca83291120a3cff7e2ba4ecdad722afa2b7272323e974b50dd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/edit/EditDock/ElementRefLassoButton.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b851ee89134e34504869ede3752408dfcd8985cbd7d3d5abad45564594c7ee56"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/SlideNavRail/InsertionZone.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffc125646f5024c35948ca89771e2ae445ccbea97520daee3b33000b14d73f3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\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/edit/SlideNavRail/ThumbItem.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04ee2dede3f5c72468227cc23f48d6db92efb33fe00aa43fe64665032da76f4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/edit/SlideNavRail/ThumbItem.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"de20d4639abad6a36d9254dea5e269957c7d153709a66f4c6002d23f132f2c69"}},{"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/edit/SlideNavRail/ThumbItem.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dfb9d95590b4f15af3f8cce6789fc57318f7e59be7e056b76d6a3bab419363"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/edit/surfaces/quiz/QuestionCard.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14339cfb2eaface6c1de0fbd5a642e36cf6f866e95440a95899c6153886d18c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/edit/surfaces/quiz/QuestionCard.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f10eed97c74b1fe81fbb122e6b71cddcb8299c7bfbc7f3d4d9a6e1da7c3c2e5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.5: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/edit/surfaces/quiz/QuestionCard.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aa36179c136830f85c7c4c78ad159bbc504c0ac1006e3f4940a9f5ebbcb6e4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3fe88909f8225a3d76ad2d59c10838d1c6418c1afdc994457b6c0542cb1236"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/edit/surfaces/slide/ElementRefPinLayer.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0e75b082813269502d1dac938988d7baf79612b9f2cf15ea1ddeed5aec860e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/outlines-editor.tsx"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"175f445549a4dfb79398ef33139e38d0c3a781db9a3b76519f4fdbe8bbccbc44"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0412496702c5cf68960a47fe5ceeed14a47b3aa0ee1458ba7ceb43a3485d7517"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3a96e78434130772344a9d4593cb8e8f8176e6ee905447ed291a6a6257ae77"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06a92e56dcbb9964c73103f5f18187c5d626749b36a6e4f68961631300fd02a"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"044fa83783affdb54d2bf48028ff0bbe6e1f5a007de2135e81f8f5aa86d01738"}},{"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/generation/outlines-editor.tsx"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"77609a40cadce62d32b5c63a798943754eca0da46af96579277ee2d88759808e"}},{"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/roundtable/index.tsx"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c58f6ac7b95217813811f9ada87a568253ce8441403be1de3f38720886a69c6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-[ping_2s_ease-in-out_infinite]\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/roundtable/index.tsx"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb7ff9c31036493b3c696ac61d2d2027e071b43ef9869ebf22e181dbf85f0b7"}},{"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/roundtable/index.tsx"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9293c6415bd0776a46502d3140242631910d57cc21fbc2723b29ddd4b85186"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-[ping_2s_ease-in-out_infinite]\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/roundtable/index.tsx"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a2b85a65f82f4b17a930476b03375562900d2cdd3a33d664ea95f18f826679"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-[ping_3s_ease-in-out_infinite_0.5s]\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/roundtable/index.tsx"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf49ca412ca26a7da79580a7762576dc9b529b58f518140576cf66a031a0b4f"}},{"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/roundtable/index.tsx"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a50e56a4cc2e8f860e8bee58cb937093711a5161d127b46d214df94cc725ece"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (1.3: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/roundtable/index.tsx"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac210de86dfe9a18ca1aed08d2ff5da98d7c9fb180ab0e8ff08ae077fb66f5e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.6: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/roundtable/index.tsx"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09006d9567590a88084fa392439a6a60dd119cb4119cc888b0b260158b120b1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: breathing-bar-1 0.6s ease-in-out infinite\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c5561fc4dc416382d7f71624d6162e66e6f60475cfa89f2f735f0da3704355"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: breathing-bar-2 0.4s ease-in-out infinite\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"de735a0f28046417b19e6c236bd9b33984862ebb0ba0f35ec590a570ca09b1dd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: breathing-bar-3 0.5s ease-in-out infinite\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46a660ecfb3820168fcabb1d4e59a69c0bf932f6de952fc0a1fe7a653fe89e1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3: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/scene-renderers/pbl/v2/eval-cards/milestone-card.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ca230d6204d985ebc88b11b75e9ef31c316d5f9ddff7227c6ad6ba50947272"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/scene-renderers/quiz-view.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7608106be30d0f51534b6adafa1ed8b3e3ba93f576b25dace3ae94896233031d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/scene-renderers/quiz-view.tsx"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f569117e1c09e2a718eb512fc64500887306852f80e264842cf26ad92264845"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.3: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/scene-renderers/quiz-view.tsx"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"99417571aeb7537d2dcb38b4fa9eb9adec26301be45af98ab3f177ca02ebcc38"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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/scene-renderers/quiz-view.tsx"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1f4a70055f7ba68bc12010d9ba36f836383e81102fdbd1ccb4649640392095"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/slide-renderer/Editor/Canvas/EditableElement.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed01e5935ce81caa2cf9be22d7e7ec52e005a0a1b3e33a59d6c9852bdf0f8135"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-ping\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/slide-renderer/Editor/HighlightOverlay.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a569c9c574ced80c20aed5ac09d84f8d4dbc2caca04b2cd6f26a0cef8c10f026"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.0: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/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee52ccff1a6e7d0573f50e0a0908b23b2dc7aa388307f278be799e980e1b291"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.0: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/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"df15d5af11485c81ec568e528baa08daabaa3282f9ac4bfd7055c7ec47bde416"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.0: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/slide-renderer/SlideThumbnail.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f5533a0476a32487791357272f4eb480deb375d9ef09ab65268f846fe18179"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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/slide-renderer/components/ThumbnailInteractive/index.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd8c2ebc16958f2f0416b3b4a53622a1f1c0320da12e07b754e1f9976193361"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: code-cursor-blink 0.6s step-end infinite\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8977d5183458b252ff3b75f5dc2cd0d8d3bdfb7c2eecfc47a1e3cbce72751449"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: img-pulse-ring 2.4s ease-in-out infinite\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ImageElement/BaseImageElement.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb91e1d69b5d306e14495d139700b7cc7c81317df42a667b0e1ac4ca54ca2d2c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.0: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/slide-renderer/components/element/ImageElement/BaseImageElement.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf6f8a99ea4172dcc59eeaa92329dc7418f337f282077c18fe36e679bbfb882"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.0: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/slide-renderer/components/element/ImageElement/index.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bb5c8826406ffab1c4bf2a10245fb43f1eb7f7b0cf6ad088b0b2b56a364735"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060animation: vid-pulse-ring 2.4s ease-in-out infinite\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"97396d286f6244d9bfada63d6a6b2480d3fcd421b530ffbde0440795e0a68f9c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.0: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/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bccb80d010683a02873c2398e59d43258778aa86b970a4babefc9f06682ace"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.0: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/slide-renderer/components/element/VideoElement/index.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9acbc0e558d8fd73fc22b139867fb1cb6a12de97a295b61d9b444da854e1b1f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.4: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/stage/scene-sidebar.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8124b9ec29d237ceb7bfad838f1a6f9e08bc0fbdc684181a08eadc97f06572eb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (1.4: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/stage/scene-sidebar.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"50eae171e9f1dcc9c0d97fb101a6c96bde0a714aaa2abc8eff4b9258b494cbf1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.4: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/stage/scene-sidebar.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"135e97246ef16f017186f6d352057f76e0f188e1d238f2760af0b7a83fc039ce"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-[shimmer_2s_infinite]\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/stage/scene-sidebar.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2159b14c7189eccf75420c487eab9cafaee61b174677da746c44fa8ded7cccc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.1: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/stage/scene-sidebar.tsx"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"f235bcc12b59addabee3ee9d66239a3f55116709f0890b542f58748d27546405"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (1.4: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/stage/scene-thumbnail-content.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d748635659754b9d4c740b49196e144e11f81aa8ec20628f536416b374669ee"}},{"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/ui/input.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"077de953c77f8cd6af3fc7e12aae3c75b546e9532a4f627a930cd7f5fb116a41"}},{"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":"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/user-profile.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"28517975cedeb7103b79a55d7ff0f1644322ef267c5733a182749aa1a0a46110"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.1: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/whiteboard/index.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c87ce9a884d1793680825db7f4777428ef5fecef9eaeeec7931be355d677c1"}},{"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/workbench/course-mention-menu.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3d3c3b71f2b7e3e3a9e0563270fae59365a6f98d8b2e5fea10be9a51e9b7fc"}},{"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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5387ab7f7cb32015ced0c3f753ad00868efcaa37b3ee2a7548a4c81e0d5ea6"}},{"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/workbench/workspace/WorkspaceChatPane.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52287f6bfdfff91f56daa29ec3a8a4b29cd365e361ee1c24d70abac53b7d4d0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.loading-spinner\u0060 moves (\u0060animation: spin 0.8s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/index.html"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d737e467e3cfa96f307919b7bdfce0f92eee9b671d33b8b3ed0950a95b03813"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.1:1): \u0060.result-actions button:hover\u0060 sets color: #33bcfc on background-color: #f8fafc \u2014 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/index.html"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caa9506e1c319a69cfd91a563f538bbd8171a369a41a191a6db71d935864b22"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060animation: slide-renderer-code-cursor-blink 0.6s step-end infinite\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffd6bf34b04fdd329a7208a011ac3003b618e34000c3c4ad7fd51f7b4a74b24"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.ws-find-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace-shell.css"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0dedbc6660565dc042ab18d72cad1f75884f9930f193b73d1d18d8353f4053"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.ws-inline-folder-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace-shell.css"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f46248580c654461cc143dc14c00d5250199430bd967f1133678803db40bdc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.ws-pop:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace-shell.css"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8e9ddd7a526f1c6e20aae16cc9d5c03a7dc2ba3d59cab3202b1c9356a953de"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.prosemirror-editor :focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/globals.css"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3acd28e3ea7ccde9b1ba8af125118996a142b438a732ca8389c95219dee28cb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.home-page[data-mobile=\u0027true\u0027] .home-composer textarea\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/home-mobile.css"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"177b49556429784ef84ca911a278843145d28cf2a3a0480d6246409b4724b0e3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.home-mobile-options [data-slot=\u0027dialog-title\u0027]:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/home-mobile.css"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab0a42cd2003a42202a93afa3050e4f94b95cc9d272c2d9ea2e5983ed55b1f3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.home-folder-name input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/home-mobile.css"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2a543a96e88c9c9c63865dc8751c987809437122c94afcfd98436aaa0cde0b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060html[data-pro-swap=\u0027enter\u0027]::view-transition-new(pro-badge)\u0060 moves (\u0060animation: pro-badge-stamp 160ms cubic-bezier(0.16, 1, 0.3, 1) 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/workbench/pro-swap.css"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4364728386108483c97e1d6ebc71dce1bf0cd9fbcb186f95b49b894d915bcaf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060html[data-pro-swap=\u0027enter\u0027]::view-transition-old(pro-composer)\u0060 moves (\u0060animation: pro-composer-turn-out-forward 240ms cubic-bezier(0.4, 0, 1, 1) 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/workbench/pro-swap.css"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae2d77c061fb8256d431ac3265dec44d0575f299c4c8bde39ac53ba0a6a184b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060html[data-pro-swap=\u0027enter\u0027]::view-transition-new(pro-composer)\u0060 moves (\u0060animation: pro-composer-turn-in-forward 280ms cubic-bezier(0.22, 1, 0.36, 1) 240ms 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/workbench/pro-swap.css"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b632b31a767dc9e56649f58f6acdf8a594777ab0d617a086dc85b8bc5f6b7364"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060html[data-pro-swap=\u0027exit\u0027]::view-transition-old(pro-composer)\u0060 moves (\u0060animation: pro-composer-turn-out-back 240ms cubic-bezier(0.4, 0, 1, 1) 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/workbench/pro-swap.css"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e7294e5da8afa0b33755bf9b92de75fe631ba86efcfd2f75f8dc6904400a09"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060html[data-pro-swap=\u0027exit\u0027]::view-transition-new(pro-composer)\u0060 moves (\u0060animation: pro-composer-turn-in-back 280ms cubic-bezier(0.22, 1, 0.36, 1) 240ms 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/workbench/pro-swap.css"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1061d8f16e26079e1c79e8de54c650c8140fffc59a2062ecaa13cb4955c694e2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.ws-new\u0060 moves (\u0060transition: border-color 180ms var(--ws-ease),\n    color 180ms var(--ws-ease),\n    box-shadow 180ms var(--ws-ease),\n    transform 180ms var(--ws-ease)\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/workbench/workspace-shell.css"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"485f8d4ef0806d43d1f9d0eac39bb868c170cf4f32f0b8a3ac617d400a386a08"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.ws-composer\u0060 moves (\u0060transition: border-color 220ms var(--ws-ease),\n    box-shadow 260ms var(--ws-ease),\n    transform 260ms var(--ws-ease)\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/workbench/workspace-shell.css"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2efe365e4635ad57ac5ddba708427cb4a0f392047ad92e013c3178902dc714"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.ws-tab::before\u0060 moves (\u0060transition: border-color 160ms var(--ws-ease),\n    box-shadow 160ms var(--ws-ease),\n    transform 160ms var(--ws-ease)\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/workbench/workspace-shell.css"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bb22391716744e092f62a3b5515fd3c0e2ab8fd0fea181c5fb2c5eaffecf1d"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 447 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":"package.json"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ChatAreaRef (19 required operations): \u0060ChatAreaRef\u0060 declares 19 required operations: \u0060createSession\u0060, \u0060endSession\u0060, \u0060endActiveSession\u0060, \u0060stopActiveSession\u0060, \u0060continueActiveSoftClosingSession\u0060, \u0060softPauseActiveSession\u0060, \u0060resumeActiveSession\u0060, \u0060sendMessage\u0060, \u0060startDiscussion\u0060, \u0060startLecture\u0060, \u0060addLectureMessage\u0060, \u0060getIsStreaming\u0060, \u0060getActiveSessionType\u0060, \u0060getLectureMessageId\u0060, \u0060pauseBuffer\u0060, \u0060resumeBuffer\u0060, \u0060pauseActiveLiveBuffer\u0060, \u0060resumeActiveLiveBuffer\u0060, \u0060switchToTab\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-area.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee888313a8e35e6f95bc5198ad18c0da9b9885121c264883b4182eac11451442"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SandboxProvider (25 required operations): \u0060SandboxProvider\u0060 declares 25 required operations: \u0060exportWorkspace\u0060, \u0060importWorkspace\u0060, \u0060initializeWorkspace\u0060, \u0060listWorkspace\u0060, \u0060renew\u0060, \u0060nativePreview\u0060, \u0060previewLifetime\u0060, \u0060openPreviewConnection\u0060, \u0060create\u0060, \u0060find\u0060, \u0060inspect\u0060, \u0060destroy\u0060, \u0060readText\u0060, \u0060writeText\u0060, \u0060startCommand\u0060, \u0060readCommand\u0060, \u0060cancelCommand\u0060, \u0060desktopScreenshot\u0060, \u0060desktopAction\u0060, \u0060createTerminal\u0060, \u0060findTerminal\u0060, \u0060terminalInput\u0060, \u0060resizeTerminal\u0060, \u0060closeTerminal\u0060, \u0060terminalStream\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":"lib/sandbox/types.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaad22ea818c075b4158d4c08af43e0af975e8f2e569c838cd9034806234b6b2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: RunStepServices (17 required operations): \u0060RunStepServices\u0060 declares 17 required operations: \u0060materialKinds\u0060, \u0060materialsReady\u0060, \u0060analyzeMaterials\u0060, \u0060research\u0060, \u0060outline\u0060, \u0060agentProfiles\u0060, \u0060presetAgents\u0060, \u0060sceneContent\u0060, \u0060sceneActions\u0060, \u0060narrationTarget\u0060, \u0060narrateClip\u0060, \u0060releaseAssets\u0060, \u0060mediaConnections\u0060, \u0060generateImage\u0060, \u0060generateVideo\u0060, \u0060parallelSceneConcurrency\u0060, \u0060sleep\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":"lib/server/generation/run/services.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"952c6de1d8da78437696a750eddb6b6b6bafdcf3dcec822c4e5497b4ee72c4fb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SettingsState (19 required operations): \u0060SettingsState\u0060 declares 19 required operations: \u0060setTTSVoice\u0060, \u0060setTTSSpeed\u0060, \u0060setASRLanguage\u0060, \u0060setReviewOutlineEnabled\u0060, \u0060setTTSMuted\u0060, \u0060setTTSVolume\u0060, \u0060setAutoPlayLecture\u0060, \u0060setPlaybackSpeed\u0060, \u0060setSelectedAgentIds\u0060, \u0060setAgentMode\u0060, \u0060setAutoAgentCount\u0060, \u0060setAgentVoiceOverride\u0060, \u0060setAgentSelectionIsUserSet\u0060, \u0060setPresetAgentChoice\u0060, \u0060setSidebarCollapsed\u0060, \u0060setChatAreaCollapsed\u0060, \u0060setChatAreaWidth\u0060, \u0060setEditRailCollapsed\u0060, \u0060setEditRailWidth\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":"lib/store/settings.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cc0226b2698d3b0ad85e5a27311c350d5d4ed4457b2e37a677a45b69855ed5"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AgentSessionStore (18 required operations): \u0060AgentSessionStore\u0060 declares 18 required operations: \u0060createSession\u0060, \u0060getSession\u0060, \u0060listSessionsByOwner\u0060, \u0060softDeleteSession\u0060, \u0060claimNextSession\u0060, \u0060heartbeat\u0060, \u0060markUserMessageDelivered\u0060, \u0060assertActiveLease\u0060, \u0060finishSession\u0060, \u0060releaseLease\u0060, \u0060requestCancel\u0060, \u0060getCancelRequestedAt\u0060, \u0060isCancelRequested\u0060, \u0060clearCancel\u0060, \u0060requeueSession\u0060, \u0060requeueForRetry\u0060, \u0060postUserMessage\u0060, \u0060mergeOwner\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":"packages/@openmaic/storage/src/agent-session/types.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f602f335942cdfa17803c4ba38e017c2b32b42b376d7f16283564a376c497e85"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027lastEventId\u0027 request header (const lastEventId = parseLastEventId(req.headers.get(\u0027last-event-id\u0027)??url.searchParams\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/owner-events/route.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6b4e4ebcf8e95c3e4fa1655c0b2fe77c230b8271f9b17d3601c52b6fe439a0"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027lastEventId\u0027 request header (const lastEventId = Number(headerId??url.searchParams.get(\u0027lastEventId\u0027)??0)||0) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/sessions/[id]/events/route.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d7236f2c65b6abc022d3885d5ed20d8ad9678932cd068e04d27de5451562c0"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the \u0027providerId\u0027 request header (const{model:languageModel, apiKey:resolvedApiKey, providerId, modelInfo, thinkingConfig\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/chat/pi/route.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeb08c92bed84c030cd25408e4f560d54557b1039a75433326ef597b06156bf"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the request header read into \u0027providerId\u0027 (const providerId = request.headers.get(\u0027x-image-provider\u0027)?.trim()as ImageProviderId|un\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/generate/image/route.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa3f05d3172db413e36cbda9f0dc8dc6006af51d5d6f7593ffd0ac4f976c537"}},{"ruleId":"C2","level":"warning","message":{"text":"Anyone can act as another user by changing what their browser sends: Here who is asking is taken from the request header read into \u0027providerId\u0027 (const providerId = request.headers.get(\u0027x-video-provider\u0027)?.trim()as VideoProviderId|un\u2026) and nothing checks it: no signature, no server-side session, no verified token. Cookies, headers and form or address values come from the visitor\u0027s browser and they can change them, so anyone can put another person\u0027s id there and be treated as that person \u2014 no password needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/generate/video/route.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8737a255614369e6b989580f1717cc5a826c0cca425ee9aefd6922a662cb1e"}},{"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/chat/pi/tools/native-spotlight.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ade87518b4247612168789c86834d7e72b70638351dce40811fd58124761890"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/lecture-notes-view.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"03da41b600335cdd692f00addadb6bb684889f62a38567f32c969f0bcdfd49ec"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/index.tsx"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e777320818dffc4f99829c983de58620660ce28f106600c4a0d991b8378472b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/quiz-view.tsx"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"3569bb49f2baf02b673fe256f8b807b1ba4b755858d265f52640a42fe3ba7fee"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/quiz-view.tsx"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"2855d80809a65c79ddebb6c073b47fcf46394f87d2a9bdc9af504150438fb377"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/quiz-view.tsx"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"3242c3400aef9cd056fa08633bd8dd5ccd99462afff917b269fe6c8a4742ef8e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/sandbox-settings.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3247911ec277791f2035a936e5bc6a24aaffd6a96bdd51f85088663824b452d5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onCreated\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/index.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1014681122f92d8b306a46a9707040c2f048b2cb1c4af63d99d201ef67c36cb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060overrideMimeType\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/node-xhr.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28850b7e100ce0732c6fa2ae9a13dae4846ac9868e51a78b416f98648931057"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/line/LineFormatToolbar.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbee1692f9133d9505bde5892f760b81690f14dbcfd1c744d8c68ab1a0231f18"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060parseVideoCodec\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/openmaic/utils/videoCodec.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d567ccd4c773c895e1f60fd0c2b063ee35547208100a22d69e3972b4222566"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060isVideoCodecSupported\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/openmaic/utils/videoCodec.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"16056e57275cff6304a46fb2333bf2e78b270cbaec86dbab4d471c23195b2c1a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060invalidate\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/blob.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8cfeea463515428672765491c349fe992e34cd5b9ad0b575e5212895609276"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060main\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-stage-copy.mjs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5668ac6da87be0cca9f54d16df4b2073d005da1a70d2c1b5bfcb81bdf6662ab2"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060overrideMimeType\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/import-pptx-worker.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"daec502db2217bb0923d6216c09ef8dde6e14939379a92cd8ab7b3db6b2983e9"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bbbc4288b985be2a13a1e4f316330d27b355b699ef0a778a76034c3f75a149"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5cc36687aeaa4dc0d2bad73a0bc5713676fc6c6029c0e56e30265a75af5273"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"63042abec4f93a5dc5d11b041944bde082c894405369647cfbcb50dec3cc3bca"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c972ad3a5a8dd15adfcd35cb7d057b499bd4aa37dd0ff4d531de2fdb7cafdb"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/document-store/migration.test.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"9563dd78df28f215f5085aaf36f6027db75dd622d54397808802b92ca8922f37"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: lib/pdf/README.md links to \u0060images/img_1.png\u0060, but \u0060lib/pdf/images/img_1.png\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/README.md"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddf5a0d75560aa410fed025c8f0b39e45b6fecead37c9f8f0680edb37dce97c"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060render-service\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 121 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":"instrumentation.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b45590cd27035787c3464611de0f595d68bc3fe7a382dfdcd59671f37ba0c1c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 132 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":"instrumentation.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d9b89d48109c1932190c52d0ad31111ffa20399e78e566054800c65e95d2bc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 137 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":"instrumentation.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c89c08efb0a6283ef271fdcacec8c54626bbd701b16e2f849a501bf332edbbb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 149 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":"instrumentation.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"795580ecda6ac22ab63fc4be0d16f765d9fcc4d9e94d18a90d22cbab674a3b06"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 154 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":"instrumentation.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e9d120cd951ca766b604cde1a648ec45410f2f7e8d3363bc70244fac1a4d37"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 159 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":"instrumentation.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80deebaa2d874c27aa6e6b81650c85840972019267738d8c5e5038b5eae511d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 172 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":"instrumentation.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"89906ff9ce0f1ab48bf7abc1503b021162af8535e279e8356e0f3f730f20594b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 184 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":"instrumentation.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a52c67fa7b0ad2394b62375ac1659770d361b35287b14fa1ff66adf9a9cf67a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 195 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":"instrumentation.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb198c5383b019faac6476aaa1ffea0b3a7acf31995805e640ba671ea94f31d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 213 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":"instrumentation.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"342ee8829a53268b415cc244f57f403793725fabb33ef08cf45955794f9bdf54"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 224 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":"instrumentation.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf5e7f5fe8a9490b661234cb0e2d62ee84992ebcf429a7660ee3c24ffa2e21b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 259 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":"instrumentation.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"04921416293832fe40a13fcbf79616cde802426ff99e1d45362630351d188fef"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 260 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":"instrumentation.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9033bfdb432a3d577b7f930c75249c6bda1bead4fe47b6967aa2fdfb261a116f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 267 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":"instrumentation.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4a51151e36d39b093605a660aff39146e466b97ab3bc9ad3b0914d218fc2e5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 268 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":"instrumentation.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e56d4c6dbc46913573ddcc5739dcdad4815657e4f657056b9bfaa226e96859e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060instrumentation.ts\u0060 reports through \u0060console.*\u0060 at line 272 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":"instrumentation.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"23af582721c450afda7987405b45154e43707c4a6e77956171dba8586c69bd2e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/workbench/use-workbench-session.ts\u0060 reports through \u0060console.*\u0060 at line 566 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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"999aeb42834a4ab6f8d6637e0e67fed715d57a6f4d6d0a6060226409558de4dd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/workbench/use-workbench-session.ts\u0060 reports through \u0060console.*\u0060 at line 585 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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b801075149af1781abf8aceb5f89f66500371c04cbf51ae5bd35993e398e33c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/workbench/use-workbench-session.ts\u0060 reports through \u0060console.*\u0060 at line 687 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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a7e016efd92d9b9b3ca285e932a74ee5d92f8258685a3a15a0fd1216416176"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/workbench/use-workbench-session.ts\u0060 reports through \u0060console.*\u0060 at line 820 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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeca25c768cb6e26d3f474cd29d0508c91075293f52d02cc2c8b7c0aa14b23af"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/workbench/use-workbench-session.ts\u0060 reports through \u0060console.*\u0060 at line 869 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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"00764a0e6d1fdbbe141319f3fbb92609a28eec18fb256d6ceccc40b398afc2c3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/video-export-app/build-export-zip.ts\u0060 reports through \u0060console.*\u0060 at line 59 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":"lib/video-export-app/build-export-zip.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"92687183ba80988c51b75ea977743b3bc0f4a8c37f212544e99bc0cbbb212126"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/utils/chat-storage.ts\u0060 reports through \u0060console.*\u0060 at line 201 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":"lib/utils/chat-storage.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf960c2513ff3a01198e0d06761b34bbf592ddb55dcd17c25976c41ba3592138"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/utils/chat-storage.ts\u0060 reports through \u0060console.*\u0060 at line 542 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":"lib/utils/chat-storage.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8902b477078f55286edbac71f88df1a8b7a86ee7aba813e002b7ad5265b2de3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/utils/chat-storage.ts\u0060 reports through \u0060console.*\u0060 at line 1256 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":"lib/utils/chat-storage.ts"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ae96200b5f9eef1d860f7376169bb791545faf4662c3db246a709847315288"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/utils/chat-storage.ts\u0060 reports through \u0060console.*\u0060 at line 1279 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":"lib/utils/chat-storage.ts"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fdb5713195d75892292df995ab124d42f62ba589a0a33002154fdfd99b3fa6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/standalone-player/SceneErrorBoundary.tsx\u0060 reports through \u0060console.*\u0060 at line 20 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":"lib/standalone-player/SceneErrorBoundary.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"356dea6e658506a7a27bb391127ae03ed9458a43e14305a3fa5e48a6c6e8da81"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/standalone-player/mount.tsx\u0060 reports through \u0060console.*\u0060 at line 57 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":"lib/standalone-player/mount.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f4a9320de3168f03a70b207476dadccd83cbf8c8f702e53c62320b9627691e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/standalone-player/mount.tsx\u0060 reports through \u0060console.*\u0060 at line 66 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":"lib/standalone-player/mount.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b127a54720f1da058cb32fa569cd30a7c836f56f8302c89b95616d690d6dabeb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/config-validation.ts\u0060 reports through \u0060console.*\u0060 at line 36 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":"lib/server/config-validation.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfd1bbdfe426897738601b8781986983c6ae27e815d3d22fe2a1c3321c40d22"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/resolve-model.ts\u0060 reports through \u0060console.*\u0060 at line 136 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":"lib/server/resolve-model.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d36b8a29036d1379fb85ab4a436ebc4325a101f216a170848b3a7479c64047"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/sandbox/checkpoint-collector.ts\u0060 reports through \u0060console.*\u0060 at line 26 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/sandbox/checkpoint-collector.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"076c890769eab9175d7a1172f172db44d737944bb3fc671b8019a79b00898308"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/sandbox/checkpoint-collector.ts\u0060 reports through \u0060console.*\u0060 at line 28 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":"lib/server/sandbox/checkpoint-collector.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbfa4f8b0f98cf8972eb2f73e6058e16af0d3772de5a6380d0faa31d259c430"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/pbl-v3/execution-watchdog.ts\u0060 reports through \u0060console.*\u0060 at line 171 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":"lib/server/pbl-v3/execution-watchdog.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceea6259961eb91984ed2ad6fd6077c8e43e591dd0bacd6235cad35ad7fc4d59"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/pbl-v3/execution-watchdog.ts\u0060 reports through \u0060console.*\u0060 at line 193 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":"lib/server/pbl-v3/execution-watchdog.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba0bddf09fddfe6031a5938f1f73ba445fb025f28c332a1eb4e1ae0c70299dc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/pbl-v3/lifecycle-schedule.ts\u0060 reports through \u0060console.*\u0060 at line 27 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":"lib/server/pbl-v3/lifecycle-schedule.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bad0819e6adad92a60c62f4fa91de846a2b1fcf2818825fa4cb4f833ba4837"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/pbl-v3/lifecycle.ts\u0060 reports through \u0060console.*\u0060 at line 238 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":"lib/server/pbl-v3/lifecycle.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"782e8ca0cc67aa39f06e15cf86aa3d103cf60294829e1017f30c0159aeb83d66"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/pbl-v3/lifecycle.ts\u0060 reports through \u0060console.*\u0060 at line 485 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":"lib/server/pbl-v3/lifecycle.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8d6e7bef773d694d491b928c704cc93a32245a16a9da9555e4c5b3f338ab99"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/pbl-v3/lifecycle.ts\u0060 reports through \u0060console.*\u0060 at line 501 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":"lib/server/pbl-v3/lifecycle.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b566f26d8c339040a8d11d48446cd156bbe78b1b02719cd579dba8fd0de659"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/pbl-v3/lifecycle.ts\u0060 reports through \u0060console.*\u0060 at line 641 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":"lib/server/pbl-v3/lifecycle.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"85408da6e42d422ecaeab6636e0e32af73a1250c0775b2ce98c9f414bdfa2d63"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/materials/migrate-to-pool.ts\u0060 reports through \u0060console.*\u0060 at line 166 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":"lib/server/materials/migrate-to-pool.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"981179e4bd2e77c672ef1d38050af436a7e4141b6d5fd6b34686ac3d74cc5d44"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/materials/migrate-to-pool.ts\u0060 reports through \u0060console.*\u0060 at line 268 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":"lib/server/materials/migrate-to-pool.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f544a34c6e9bf6c73d34ba16b3eaeb03c955090c35b784fa447aaf66b7560a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/materials/migrate-to-pool.ts\u0060 reports through \u0060console.*\u0060 at line 271 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":"lib/server/materials/migrate-to-pool.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a07a198477e6aa5146ff455d873d5782198f65d7ed711192bce8f8c61939003"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/materials/migrate-to-pool.ts\u0060 reports through \u0060console.*\u0060 at line 324 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":"lib/server/materials/migrate-to-pool.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"588f7ef27865edcc2bdb3c2b0cca3178eed3acf18d1dd5a98d6299f66418cda4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/material-extraction/document-images.ts\u0060 reports through \u0060console.*\u0060 at line 340 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":"lib/server/material-extraction/document-images.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46c17b4665580dee64d502db9a280d4e9d9a4de19a2f583cd9bb25874315220"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/material-extraction/owner-extraction.ts\u0060 reports through \u0060console.*\u0060 at line 464 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":"lib/server/material-extraction/owner-extraction.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"3def1fd7f551f38e2926130b6199323040250a66d10c15e3dadc4f5a61576d75"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/material-extraction/owner-extraction.ts\u0060 reports through \u0060console.*\u0060 at line 609 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":"lib/server/material-extraction/owner-extraction.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdd1fe7fb1d5748765e9838748d748fdf5719779e5924a67bd226ff8af056ec"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/material-extraction/owner-extraction.ts\u0060 reports through \u0060console.*\u0060 at line 625 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":"lib/server/material-extraction/owner-extraction.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a3bd01c4307cbc652b37180a1599cf4ebb064d5feb76840f87dda5f9a97cba"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/material-extraction/owner-extraction.ts\u0060 reports through \u0060console.*\u0060 at line 708 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":"lib/server/material-extraction/owner-extraction.ts"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec244f95e9a7ccb15635489a5f73167181596deb6f25ff94aa2b3b2ffd6d2c2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/material-extraction/owner-extraction.ts\u0060 reports through \u0060console.*\u0060 at line 714 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":"lib/server/material-extraction/owner-extraction.ts"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9106f0beb762565f2ad6ed78a8ef5ec80c7594a46b293a0be992b91fb38557"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/material-extraction/runner.ts\u0060 reports through \u0060console.*\u0060 at line 40 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":"lib/server/material-extraction/runner.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b95e0310abd8197d1c0184f73993ae16964ec437f61a0820738c0278dd8dc43"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/material-extraction/runner.ts\u0060 reports through \u0060console.*\u0060 at line 75 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":"lib/server/material-extraction/runner.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f24cbf5d64010e2a4408cae2b59fe6b6a58f3dda3208659d0071e06bcafca2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/material-extraction/runner.ts\u0060 reports through \u0060console.*\u0060 at line 81 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":"lib/server/material-extraction/runner.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"619d1a944945e7ca3d6762b070d4f3767d9415079da6358421888f71a6f8d078"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/identity/with-owner.ts\u0060 reports through \u0060console.*\u0060 at line 90 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":"lib/server/identity/with-owner.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa048e6e5858dfe130af04d5fd3cf91604b46fe8492fbd68c5e1b1d4bd7914fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/identity/with-owner.ts\u0060 reports through \u0060console.*\u0060 at line 141 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":"lib/server/identity/with-owner.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed19e70ff23fa40dd89043b9bed37975dcd4e0f404d3f90b4f5cc19bbc12d4b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/identity/with-owner.ts\u0060 reports through \u0060console.*\u0060 at line 199 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":"lib/server/identity/with-owner.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e814b1023f2a78ac1ea633abbfcb6825f655a8909ff9ac5d3ace3e7c80727925"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/generation/steps/agent-profiles.ts\u0060 reports through \u0060console.*\u0060 at line 344 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":"lib/server/generation/steps/agent-profiles.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7610717d2dde22358665a8e0ac1d3e4c53c1d98d77cccc4a766c6aefad59f379"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/agent-runtime/extraction-watcher.ts\u0060 reports through \u0060console.*\u0060 at line 102 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":"lib/server/agent-runtime/extraction-watcher.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b466ec36cf362b16762d78962d64192bda28c328fde117449d17c8be910c19"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/server/agent-runtime/material-library-tools.ts\u0060 reports through \u0060console.*\u0060 at line 136 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":"lib/server/agent-runtime/material-library-tools.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfab8af1ace669de61562b4cfc492a0b49114ec701c62e6548c107da1c5043e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/runtime/store.ts\u0060 reports through \u0060console.*\u0060 at line 95 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":"lib/runtime/store.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f839e9fa3e1a0e47a3d3cedcb10d6bb7238bde2ca0d529609bbdcdd994015191"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-byte-egress.ts\u0060 reports through \u0060console.*\u0060 at line 16 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":"lib/persistence/asset-byte-egress.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc73ac52683081be65cf06c6f185ec1701aa755c492974efc46586f0e1bf8c8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-byte-store.ts\u0060 reports through \u0060console.*\u0060 at line 206 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":"lib/persistence/asset-byte-store.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"95104b9f58358f8f501e336cd3669938992c795caafce3276426ca4c9e992ff0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-collection-grace.ts\u0060 reports through \u0060console.*\u0060 at line 22 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":"lib/persistence/asset-collection-grace.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7407f907e9f99dd7531c6b69f47027aa63dad4128deb03ac0719ff832f134282"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-collector-schedule.ts\u0060 reports through \u0060console.*\u0060 at line 85 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":"lib/persistence/asset-collector-schedule.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac761601e2f6155f2722014cd409b2b125ed7c1e1c6a627fb18d46f1cbe434d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-collector-schedule.ts\u0060 reports through \u0060console.*\u0060 at line 217 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":"lib/persistence/asset-collector-schedule.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"404bf5f26bc094d0b46e13ed8f7234e7b472342bdcba8012e3f5d690f3440ecd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-collector-schedule.ts\u0060 reports through \u0060console.*\u0060 at line 227 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":"lib/persistence/asset-collector-schedule.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f47ab3691d3157b1cebe012e7d2b3bf32ea7380e0c3a9a547e3400f438dba3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-collector-schedule.ts\u0060 reports through \u0060console.*\u0060 at line 254 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":"lib/persistence/asset-collector-schedule.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8ca25c47cf1246ea88ae932be5c58cbe3b4758d7e0b85debbaa00465270294"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-collector-schedule.ts\u0060 reports through \u0060console.*\u0060 at line 269 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":"lib/persistence/asset-collector-schedule.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe282f1bc2286b652b22a2109571ed75f8754c9c4b88eecab5312efcf6073e44"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-collector-schedule.ts\u0060 reports through \u0060console.*\u0060 at line 279 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":"lib/persistence/asset-collector-schedule.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"99baaf6415a9fc28221a29e4f6aed278c6fd25d62ebb9d5091ca1291c0db693f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/asset-collector-schedule.ts\u0060 reports through \u0060console.*\u0060 at line 287 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":"lib/persistence/asset-collector-schedule.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e83079fa44056faebc8e98cc49ee3f3e3d2dbd3358afe8fe78c450ab5b4f06"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/bootstrap.ts\u0060 reports through \u0060console.*\u0060 at line 96 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":"lib/persistence/bootstrap.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8de73576897bc7e426d3a0da0dd32f81c486d147c9b5233c51dad7636efccc0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/bootstrap.ts\u0060 reports through \u0060console.*\u0060 at line 106 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":"lib/persistence/bootstrap.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f7d5d0d7edb98f9890f6cd4696a1c8f7b6421c4ec7a1b0688ab153cfa0b02f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/material-library.ts\u0060 reports through \u0060console.*\u0060 at line 545 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":"lib/persistence/material-library.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed202d062444cb0a4ce9cf61691afbbb34f589c9e2bd46df28acd79b767ce013"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/owner-bound-document-store.ts\u0060 reports through \u0060console.*\u0060 at line 472 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":"lib/persistence/owner-bound-document-store.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"17618949f898e62f2a85062d1e36ad84f4359b48c7a09d7d9741c1ccd614bac2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/owner-materials.ts\u0060 reports through \u0060console.*\u0060 at line 570 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":"lib/persistence/owner-materials.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2adcdcec59392a6e1bc259bc08caff63bcd64ae1b76a187de2145f7d89bc47c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/schema-boot-check.ts\u0060 reports through \u0060console.*\u0060 at line 52 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":"lib/persistence/schema-boot-check.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad81451d1ad5a92511e61cc591d001ac3304f7f66a5142e20dc2867383c2c08e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/schema-boot-check.ts\u0060 reports through \u0060console.*\u0060 at line 60 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":"lib/persistence/schema-boot-check.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2143bf94ccd56176a67ad6c6a34787209de822feac764a2907a2d4bc4845d48a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/schema-boot-check.ts\u0060 reports through \u0060console.*\u0060 at line 83 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":"lib/persistence/schema-boot-check.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bb8177b5b81a04004619a2ca784f588fd025596710ebdde00316a77548b3e1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/schema-boot-check.ts\u0060 reports through \u0060console.*\u0060 at line 89 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":"lib/persistence/schema-boot-check.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de1826c5d3dde40497070201e0ab88d92923587e659ff71e5b68e2b07c3296e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/stage-meta.ts\u0060 reports through \u0060console.*\u0060 at line 125 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":"lib/persistence/stage-meta.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"165ba6b0f16ca1a700f3ab5d9ce15c48b296d7cbbff31edf9e63ccec57943074"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/persistence/stage-meta.ts\u0060 reports through \u0060console.*\u0060 at line 131 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":"lib/persistence/stage-meta.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3543e45d4da0ad8279e5bdb241e7d041aa8647ed3b93b636072e778dc4400d2b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/pbl/v2/runtime/drain.ts\u0060 reports through \u0060console.*\u0060 at line 112 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":"lib/pbl/v2/runtime/drain.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6fea15ed1d4023e0b5217fb9374b6e885230b36905a2103a27b54d4c3fa911"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/pbl/v2/runtime/drain.ts\u0060 reports through \u0060console.*\u0060 at line 445 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":"lib/pbl/v2/runtime/drain.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf8520e6fa574d4d4b53588f5e69840b17d9ec27e190ac9174400da8e3ec341"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/pbl/v2/runtime/hydration.ts\u0060 reports through \u0060console.*\u0060 at line 284 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":"lib/pbl/v2/runtime/hydration.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"d268114aa5c79944d90ccf394457c341a8aad326fac67853cf45ff108641e0a9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/pbl/v2/runtime/hydration.ts\u0060 reports through \u0060console.*\u0060 at line 364 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":"lib/pbl/v2/runtime/hydration.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b1f9b04db89e5969c3980613783cf68a78547b30bccd30a519665319dde2d5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/orchestration/registry/store.ts\u0060 reports through \u0060console.*\u0060 at line 194 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":"lib/orchestration/registry/store.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8659a43f26b7fdd43fd1d0161b7541cf70c3b25176934f7ffaccca4a62d67168"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/orchestration/registry/store.ts\u0060 reports through \u0060console.*\u0060 at line 212 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":"lib/orchestration/registry/store.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"41456e5a667a4a82044148da4396c7726aab688da9dc6183766135e3dfc5ae95"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/media/asset-replacement-events.ts\u0060 reports through \u0060console.*\u0060 at line 65 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":"lib/media/asset-replacement-events.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"843107fe23beee996411113cd7b02b4dc6d43081a8286c8e48709d53d9d278aa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/media/comfyui-workflows.ts\u0060 reports through \u0060console.*\u0060 at line 92 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":"lib/media/comfyui-workflows.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"822c884284767343e57e607d916d59466228d6cf4988ada86a133e234680ffbe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/media/adapters/comfyui-image-adapter.ts\u0060 reports through \u0060console.*\u0060 at line 42 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":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54bab6ecb47d7bc9f4889de8d310c370b25671fec69da183c065e757cc46900"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/media/adapters/comfyui-image-adapter.ts\u0060 reports through \u0060console.*\u0060 at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f94d2ed534a342f930a5cd472db0f94a1b5fc9656e29f942806beff077aa8e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/media/adapters/comfyui-image-adapter.ts\u0060 reports through \u0060console.*\u0060 at line 46 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":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a106338cc9644337d34c8d6ddc3d4537e2e94066aec6c810622379f72d38395"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/media/adapters/comfyui-image-adapter.ts\u0060 reports through \u0060console.*\u0060 at line 48 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":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de90bd2f840c514b80ebe5210fd45f6a8e0fa468118f47a89663e95c39ed852"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/agents-import.ts\u0060 reports through \u0060console.*\u0060 at line 149 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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e15879e585ccf1d820288929d32d136680342939c064a9569382dfc1843fbe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/agents-import.ts\u0060 reports through \u0060console.*\u0060 at line 156 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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c871cec19e6a7b59f2a4587bb35978bf70d4c3a81cc3f9c95dd28f5c062850"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/agents-import.ts\u0060 reports through \u0060console.*\u0060 at line 163 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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02d092dc9a28e9f95acb8e4e9974f424999c58915d55e632bb4e07fc6a80088"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/agents-import.ts\u0060 reports through \u0060console.*\u0060 at line 271 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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1740c2fd5261af6add4c4c8466c96d815edd96b7f5b21b7c00f7e6a4f3c9115"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/agents-import.ts\u0060 reports through \u0060console.*\u0060 at line 306 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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"47113bc6ad1ba928926e4e65fbfc5c51e4084e10bfc6d6ad2be1ed2f24400114"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/agents-import.ts\u0060 reports through \u0060console.*\u0060 at line 319 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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cba7faf34afb02922d9ccaf33a3560296c58f6a7512c7389b92526fb30a01b7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/agents-import.ts\u0060 reports through \u0060console.*\u0060 at line 338 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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee193bee18cf6a44e98a7fb16fe61879fc4948eadc9519e9eaca643eccbb0e2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/agents-import.ts\u0060 reports through \u0060console.*\u0060 at line 343 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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf9653d2dc85558a18ee55a13d7156e29de275349977c6745a09d5afcaf00f6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-import.ts\u0060 reports through \u0060console.*\u0060 at line 81 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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a264a01308850cc9a2294636e444de774fb91098fb5c691d290b9caa4cb5e67"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-import.ts\u0060 reports through \u0060console.*\u0060 at line 88 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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"167490aaa597fbeb1c036e48b21431ea11f5803beb8486e1a8298ac7c679eede"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-import.ts\u0060 reports through \u0060console.*\u0060 at line 95 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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1a6559a60114d69ab51051bc7e72f4eadb328ec79d0b9047a218a0da6ed788"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-import.ts\u0060 reports through \u0060console.*\u0060 at line 235 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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"549fca51f15a416ab2a350263309f87169bc842063faa07f8a48dc10172234f9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-import.ts\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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a336375e49e9ce5b21678d77442a7d5584ffb55ea98420486f0384e3a863e43f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-import.ts\u0060 reports through \u0060console.*\u0060 at line 266 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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded566ce8c8322cb11dce200feba1ffe50b5b332a04cb1d1a17dd462774055f1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-import.ts\u0060 reports through \u0060console.*\u0060 at line 292 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b34733e6bef5665754828d5619fbb369fb4adfb7ba7ebda0c926a385c4b3783"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-import.ts\u0060 reports through \u0060console.*\u0060 at line 319 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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad4593042662b869ea1ae5eafc0898c47051124a47c2c6a23cfae4365883b54"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-import.ts\u0060 reports through \u0060console.*\u0060 at line 326 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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c2bb122873a53e0aa026dcf4af7b6dafcd5677257f4ebe0262f9d04fd487a0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-unimported.ts\u0060 reports through \u0060console.*\u0060 at line 138 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":"lib/legacy-browser-import/model-settings-unimported.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f8dfe303d9ad8f034c66fcc1f8d2cb07453817ed6670144b5e15ee3a42ea35"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-unimported.ts\u0060 reports through \u0060console.*\u0060 at line 166 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":"lib/legacy-browser-import/model-settings-unimported.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d550f4388ddec2b52913b3c39bdea7a2a756d65ef33b407f2e412eaf1cfa51"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings-unimported.ts\u0060 reports through \u0060console.*\u0060 at line 177 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":"lib/legacy-browser-import/model-settings-unimported.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1771f18fde1ab9b202d68e6b4e2d90aa96f32f5d622173394b186dbefa3c225"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/legacy-browser-import/model-settings.ts\u0060 reports through \u0060console.*\u0060 at line 690 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":"lib/legacy-browser-import/model-settings.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"de077eee63078cb75c0b13f173c831c4b160c13a0beffbcc1377673302390518"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/hooks/use-discussion-tts.ts\u0060 reports through \u0060console.*\u0060 at line 425 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":"lib/hooks/use-discussion-tts.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cf281e3d1238f8a902165c87e4e7f1d818add876a27602a0d32e88c218f537"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/hooks/use-i18n.tsx\u0060 reports through \u0060console.*\u0060 at line 61 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":"lib/hooks/use-i18n.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e0ee6689a794f73ad604f1c554d3722cbe5d4546cb629dc7b449b38980564e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/hooks/use-i18n.tsx\u0060 reports through \u0060console.*\u0060 at line 111 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":"lib/hooks/use-i18n.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8580a6637d19be75112024312147ead3deffa5f9f2275e68a7b615db5a8f1b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/edit/preload-editor.ts\u0060 reports through \u0060console.*\u0060 at line 54 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":"lib/edit/preload-editor.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93036e77a81cc03a7b8568ea6422a2b275747ec098a7f9e7e76aa4d82ef1013"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/edit/scene-editor-registry.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":"lib/edit/scene-editor-registry.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2e9acda455e270716ae8d168e7a9184f7b34e3febc50704a0ced7d010d73be"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/edit/use-editor-warmup.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":"lib/edit/use-editor-warmup.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c3ae955e1f35d91639a05c5ad8332b850221bfe66161089aaccbe87ff00b5d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/device-storage/database.ts\u0060 reports through \u0060console.*\u0060 at line 217 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":"lib/device-storage/database.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffda1e2a6e7f4a50e969a59a0914fbb39fe20b932c049fdf0cd3994f200f21a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/classroom/stage-meta-client.ts\u0060 reports through \u0060console.*\u0060 at line 48 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":"lib/classroom/stage-meta-client.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b2448d41a930bc1e859c954b52ad1f87471f7df808befe0ad7d12490e7c2a4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/classroom/stage-meta-client.ts\u0060 reports through \u0060console.*\u0060 at line 65 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":"lib/classroom/stage-meta-client.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"800fba8d80248f233c394588acefda5881c7093c1b5cf450a06b88403a0cdfcf"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/audio/voxcpm-voices.ts\u0060 reports through \u0060console.*\u0060 at line 409 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/voxcpm-voices.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0778373f418751268eaf4e3e6d533fae757cf231e752f5e0bbf57b34b8058adb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060lib/ai/providers.ts\u0060 reports through \u0060console.*\u0060 at line 2777 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":"lib/ai/providers.ts"},"region":{"startLine":2777}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b15f485fed2844051841c4f522cb80083ed450fbe933a0aa0b57c7c831a760d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/whiteboard-shapes/runner.ts\u0060 reports through \u0060console.*\u0060 at line 262 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":"eval/whiteboard-shapes/runner.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"1910e9ee93d6c670ea1a6866405fb028452e889aa1f8c599bc36146a90ad4305"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/whiteboard-shapes/runner.ts\u0060 reports through \u0060console.*\u0060 at line 297 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":"eval/whiteboard-shapes/runner.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c7a2c0fb8e9b812581a4c140bbbe8f1ed12e52e27313a8743aabc31cc84bd4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 166 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfc957e3a758dac1275ab5438f8a5e2daca8bd9aefeffe92ca60963d1198e03"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 187 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"195b44d6c3d0ab914449874ef0e3f94151037f3ef05dd98dcba8c26c47b404e5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 196 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f899313ed3ee40aaf8e2eb09df07ddd1f57360835ad3c89975bde4b240bcaca8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 411 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e16d77cf197f8e3fddd6e58c0d9665503faf1044ad132bab3bbd80516e89a0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 442 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"355eafd6a3fdcc3c86a929e4eb16908b2b25c0e05aff94d6d7f68ff4ef4a3080"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 644 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"1851709f87a19f91952a9df95ae8182228d03900a852b9369981d39502106615"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 645 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3839bdbf3f99ed8407a90c875ef5177bd6737ff9af32e15a0427c6d9c4544e8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 646 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"99db85db8a863f3529331dfcffbe2769bc1409aab660f696eadda576b7d9e8ab"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 647 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"7541e999ed4950fb31d1026609136e11f3bc8ed0d4e170b44d6f9a8354db9e41"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 648 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8f4e4e5ce4771194961306fa1e272d5bf34838b8db64b161e94b905b3c4e06"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 649 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfca3f28a10a5d91e9786a8731561654708a25544d5d521add7011b7db578a19"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 651 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"31442f877696d25350151d669ed0dc1556781b2256a7cf20bcd69fb32c301d8c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 654 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a13392b58e30b7ecb626b466c05609444488b712d46103321be895f7eb5045"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 656 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"f114a6bf33eb04d0f10cc6ee853022d3b5947bb12944844cff53cb4742cab7db"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 657 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"451d9c70dea64c03bf4809a6777ea344b9ad41cda1a48c3c9a4fd91e3c5bbab8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 658 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef30e34cda5e97ba5c4243e32d6c7638e0ef544f8aed91223e13f93cea66eb9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 664 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f14aa9dad6dc9a89865da30fa9266a14cde608fe9f90ac27034a389a160540"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 673 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"b106fe45b7283d3e966422a170647323ec52584b7316ab5cfce2db6155b35cfb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 676 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7351fd91361b48fa08e9c4cb405c96731cdc30b5de706e8e9b08a0325ed4573"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 677 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca69b7f4152db62f428130cb1010366cb0999b5c0934908c99d33441c0ee67d6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 828 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bcc5c48db606c1aa5f8176c31dda68869e949b302793c56caf0950b963b432"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 831 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab23bf8d9c3f1550febab75d2329412b55869971f9562c41986e36a776599a8f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 832 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d8f369f0b5601d404f842dd961f0c016dd438dc554dc8037da9bd24779f2a8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 833 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e51858f91af353ffb9793672f3406070961bb5a0a453908ed135e762460502e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 836 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc99a657ff682aa1c2f0e3f69bfe8a843c4087aa98b18b4ef49e4b813fd6f1c2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 837 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a6c2d694c226da8a45eaf3211ac542e1e6aa7ad6bcbf61016832870a0e1560"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 838 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"add9131d5a1e9dd2b4c02495926f45411d9e2cf085f240e93344e0c290b53b03"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 891 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70c9cb4f4af1a6b82dcb374e2d76ec2695ee212fb06187380e96f0b1d4ff0e9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 909 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95bbb9aad03dfc6f0b0d1646ec0b3bb119930da05c133ac383daa259d5770f1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 910 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb370db09ae7b9ab9d087f211cc4d8ac809206c926833883f5a94509a65933d7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 911 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bbd4d9f95ad60dbe9f2818657808c0e9564a5f6e3b83296e3d2c5f358cbd5a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/runner.ts\u0060 reports through \u0060console.*\u0060 at line 923 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"24490485a02b03c512b690187f0eb1b1d90b2ee4e23905e967f4f4248281b1f8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/serve.ts\u0060 reports through \u0060console.*\u0060 at line 138 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":"eval/pbl-v2-planner/serve.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d90f8ae4a4a226120324c604b1089b9b041fcbd1805579c8003267cebb6b6a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/pbl-v2-planner/serve.ts\u0060 reports through \u0060console.*\u0060 at line 139 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":"eval/pbl-v2-planner/serve.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff8e732f6c102b5f4f58345d0bf72be753826cfe67c491960f6fb7bfbfe133d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/outline-language/runner.ts\u0060 reports through \u0060console.*\u0060 at line 48 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":"eval/outline-language/runner.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb44fc784fcd5d8b9caeb05afc0ce1b39adba0b3867a11c20b542a8c82f87e5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/outline-language/runner.ts\u0060 reports through \u0060console.*\u0060 at line 54 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":"eval/outline-language/runner.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7855a2b33d74ad872eddfff1b2b2c9d43720f5799f0daec37c8d34c17867386"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/outline-language/runner.ts\u0060 reports through \u0060console.*\u0060 at line 128 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":"eval/outline-language/runner.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4d8fddf46c83a44a737ac9529d9838dc6eeb8a08a2cf1933f195313e3ef686"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/outline-language/runner.ts\u0060 reports through \u0060console.*\u0060 at line 129 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":"eval/outline-language/runner.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6e7010f8e3c7d9211df2dda1cb039606f21318e83f19bb736fa3dd1d170b42"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/outline-language/runner.ts\u0060 reports through \u0060console.*\u0060 at line 153 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":"eval/outline-language/runner.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b63304c7b1f01fd08ad7431a55f1533715d9dbffe0c5beda1ee2cd31a07c2c6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/outline-language/runner.ts\u0060 reports through \u0060console.*\u0060 at line 156 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":"eval/outline-language/runner.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a38b4d8a31e656b298a2a8e17e31fb4ecd7da231d9609d39de2fad9a3cdc32d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/outline-language/runner.ts\u0060 reports through \u0060console.*\u0060 at line 165 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":"eval/outline-language/runner.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"795c07b24206ae565cab6f362ffa8170fdc6a192018d56f52566b99edaab80f0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/outline-language/runner.ts\u0060 reports through \u0060console.*\u0060 at line 166 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":"eval/outline-language/runner.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7096a5937a2dd8e6dbb476dbc7293e72021ce59e5d0b3827e8057f88bd04e3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060eval/outline-language/runner.ts\u0060 reports through \u0060console.*\u0060 at line 172 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":"eval/outline-language/runner.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca413a4b05e51bf3e9ca0ad7a9caa7cb4e890f346776d7e52c4446e88d0f0d1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/access-code-guard.tsx\u0060 reports through \u0060console.*\u0060 at line 70 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":"components/access-code-guard.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c9f043759464611bcad24ac877089dddf26416c16329c0edd1648ba74e27e5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/stage.tsx\u0060 reports through \u0060console.*\u0060 at line 221 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":"components/stage.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f118d57092bf7cf086f0f6023acaaa136bd66ec86911c0e94e27d8c26aca7b3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/stage.tsx\u0060 reports through \u0060console.*\u0060 at line 305 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":"components/stage.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3f8a1d6bb9e63d7b04687ce385cb978e57c3136523c839717204311676ed45"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/stage.tsx\u0060 reports through \u0060console.*\u0060 at line 358 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":"components/stage.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"88707cba7f6027bb0ad6347f25892a5724c54dbe4f23ff75dcf81bceefc4832a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/whiteboard/whiteboard-history.tsx\u0060 reports through \u0060console.*\u0060 at line 88 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":"components/whiteboard/whiteboard-history.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4def8c839e1d9e5e4916db6a06331621e55ad8a42fe55b673a8dede30effd8fb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/scene-renderers/pbl/v2/chat.tsx\u0060 reports through \u0060console.*\u0060 at line 263 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":"components/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b71d426d5d8dfb4260fac79d9a1b2ac87a5a9c5279a3b0c6be795550bdab96"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/scene-renderers/pbl/v2/submission.tsx\u0060 reports through \u0060console.*\u0060 at line 603 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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c56f542d2ab642ffc91d7633f39ac0cb0b16aeccbaa08e268c3ad4f6b00544"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/edit/PlaybackChromeRoot.tsx\u0060 reports through \u0060console.*\u0060 at line 359 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":"components/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b06ad534cdd983000fb45433fb0a0fe8787023e8f57ce78c01bb8a4bc24c22"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/edit/PlaybackChromeRoot.tsx\u0060 reports through \u0060console.*\u0060 at line 647 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":"components/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdace7f603a9d25fafcb65dd73a10026d515c66e713ab250c186015281cdad91"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/edit/PlaybackChromeRoot.tsx\u0060 reports through \u0060console.*\u0060 at line 754 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":"components/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39d1605716be8edf60628ba64ac0467f7aa315b88686d3ae206f6fbf2196aa1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060components/edit/surfaces/slide/ImagePicker.tsx\u0060 reports through \u0060console.*\u0060 at line 32 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":"components/edit/surfaces/slide/ImagePicker.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"37af323b64e2fa5bf2f632049e88919a97d845a62a14253e210f9628668cb84b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/stages/[id]/unpublish/route.ts\u0060 reports through \u0060console.*\u0060 at line 49 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":"app/api/stages/[id]/unpublish/route.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"321002e9fe3504a3189119e86c14f33a10baaeb6b36817f68ab334c8b51ba7f3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/stages/[id]/unpublish/route.ts\u0060 reports through \u0060console.*\u0060 at line 52 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":"app/api/stages/[id]/unpublish/route.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"265f6844d6cc72a43ae87b407a9fb6cf353d679be2d4173ebbe83dd459b006fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/stages/[id]/status/route.ts\u0060 reports through \u0060console.*\u0060 at line 39 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":"app/api/stages/[id]/status/route.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d3a64867c0499eae5f6eac90704e884d246f39a323b3d5ce070123472d9bd3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/stages/[id]/publish/route.ts\u0060 reports through \u0060console.*\u0060 at line 60 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":"app/api/stages/[id]/publish/route.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f55bb716b2c8b53d7e956af933573a6751430b21eb9ce1e905b31d678c9982"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/stages/[id]/publish/route.ts\u0060 reports through \u0060console.*\u0060 at line 66 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":"app/api/stages/[id]/publish/route.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6047982cdcf4ae2885e91fb514b9a3929229236d29b77b564a44cc8feeed9dc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/stages/[id]/generation-complete/route.ts\u0060 reports through \u0060console.*\u0060 at line 60 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":"app/api/stages/[id]/generation-complete/route.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdca7e033cc92db0ff186c11f4b0567708383bd153665570d5ad1c8f6a277459"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/stages/[id]/generation-complete/route.ts\u0060 reports through \u0060console.*\u0060 at line 65 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":"app/api/stages/[id]/generation-complete/route.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8579eef2731643cc3d8785cf9f15c7488de7f848527030b07a4c1f24466a502"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/stage-meta/[stageId]/route.ts\u0060 reports through \u0060console.*\u0060 at line 78 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":"app/api/stage-meta/[stageId]/route.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4ac20589d6ddff02f7df92c8a8b5a91925f199c3976d7b5b00a94636db64ed"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/persistence/[...path]/route.ts\u0060 reports through \u0060console.*\u0060 at line 98 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":"app/api/persistence/[...path]/route.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cb3ecbd2fd36741080eb43e2c0d18cce3a6094014ef3c92c96633f8c8f89b8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/persistence/[...path]/route.ts\u0060 reports through \u0060console.*\u0060 at line 580 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":"app/api/persistence/[...path]/route.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4c4b98df2c10433c61af26f72690f0c3c72f43a921d11019b7960e26b169d6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/materials/route.ts\u0060 reports through \u0060console.*\u0060 at line 192 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":"app/api/materials/route.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac016bf0191e4ccae2f3a7a7811522f01d56509df07c54da17d2bea756b70cf4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/materials/route.ts\u0060 reports through \u0060console.*\u0060 at line 277 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":"app/api/materials/route.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed839a068259452bb1f9a67f2e202d6ebffd3e1cafd257551c36364186d20e3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/materials/route.ts\u0060 reports through \u0060console.*\u0060 at line 285 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":"app/api/materials/route.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf319948c81147efa2bf130c83914d92330934da7c7ba121f20e31906bd20c6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/materials/route.ts\u0060 reports through \u0060console.*\u0060 at line 410 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":"app/api/materials/route.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3c3897e31030191f0bc39e167cc4b920900c7fec304be30bf6751908c9d45d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/materials/route.ts\u0060 reports through \u0060console.*\u0060 at line 434 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":"app/api/materials/route.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddecf48d30107938c022fcbc0238c6aa8cab15fc718c05a0275adebcd572dd31"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/materials/route.ts\u0060 reports through \u0060console.*\u0060 at line 437 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":"app/api/materials/route.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"143f8e9f61346c0d0f1eb59b839264340c1a9c5d739b7bf29c43618aeaeca99a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/folders/route.ts\u0060 reports through \u0060console.*\u0060 at line 67 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":"app/api/folders/route.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe819306c44273aed624fba059a1f149a4920b958168be5d3cd3a28d145d21be"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/folders/route.ts\u0060 reports through \u0060console.*\u0060 at line 117 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":"app/api/folders/route.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8b684ac35d9ade45e09ec5f38152873591ab49c4ccec902dccd2c5827ceff5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/folders/members/route.ts\u0060 reports through \u0060console.*\u0060 at line 64 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":"app/api/folders/members/route.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46689dd5a5613963dca6bd20d54c8f52fba053aa4e5f4ec99d66043e108a3ea"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/folders/[id]/route.ts\u0060 reports through \u0060console.*\u0060 at line 97 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":"app/api/folders/[id]/route.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c75a1658b4c123a73edf4b66006ada25e6875561c3a28923691f311372a4c7c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/folders/[id]/route.ts\u0060 reports through \u0060console.*\u0060 at line 122 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":"app/api/folders/[id]/route.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2863b12250752cfd6128aa0047302e0a2bf31bd1ae945cad2690371e57771d6e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060app/api/comfyui-workflows/route.ts\u0060 reports through \u0060console.*\u0060 at line 20 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":"app/api/comfyui-workflows/route.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92e3b8585c1cc467aa407446dc0072af45d5c2b5273d355e831b20cf43e8c06"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/@openmaic/storage/src/pg-migrations.ts\u0060 reports through \u0060console.*\u0060 at line 221 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/@openmaic/storage/src/pg-migrations.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa79140c126baa2868885d5d0becb562dfdcd2308be59ade88389501c12306a5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/@openmaic/storage/src/pg-migrations.ts\u0060 reports through \u0060console.*\u0060 at line 347 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/@openmaic/storage/src/pg-migrations.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa7596c889ec3f5b987f04e6481cbdd8e430f1336a0f88345fe3d8993d38ac6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/@openmaic/storage/src/server/asset.ts\u0060 reports through \u0060console.*\u0060 at line 848 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/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cad27c464ef6ac1bdb8de121270de414adda833acd62ed379f010680c19bfba"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/@openmaic/storage/src/server/document.ts\u0060 reports through \u0060console.*\u0060 at line 473 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/@openmaic/storage/src/server/document.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f1c99af1dcd90e312449b66f569a4c446002729652db5c0725161273859c28"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/@openmaic/storage/src/agent-session/pg.ts\u0060 reports through \u0060console.*\u0060 at line 541 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/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9b56d06ee620080c3331669c93ed1131f5f995a45ea955439d34885d9318cf"}},{"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 79464 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"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":"app/api/proxy-media/route.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"211fce6ced875b6849d1d95224382c73f71fb17b7d2f21116cd46c0f346932b7"}},{"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":"components/workbench/workspace/workspace-folder-seam.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"24305a8e89b1b0aef7a66982d62407d10d8708a4f2ae79c7ab23aa32cf17f877"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/ai/providers.ts"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3cb01e6a12baca8041043a413577b50527ea80dfe4d354dee31609e73f415e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/ai/providers.ts"},"region":{"startLine":2191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5de3db6bcd4e3de639f688bf95e6242f8dd6e6beefff524ee4a774c8e16090"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/ai/providers.ts"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8f7d70b2272f7c37573840208066b54a21336081b7e381224ac24949316cbd"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/ai/providers.ts"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6fe47ff1ff69540f332f92377dcc73a01046e620313cd158d78af11f6575c3"}},{"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":"lib/audio/voice-registration-client.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3579cb7d8a65ce073dce36e33be3ff23ca9eabd975464868b64c440c30e03740"}},{"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":"lib/audio/voice-registration-client.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eed14d3e6a072f03966a24470cfc0db53989188878893df1d26c00ae32bf3c"}},{"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":"lib/audio/voice-registration-client.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac9136743498c6b97338ed1b7c707719912125dba214c7479f7aa315ced2480"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/classroom/stage-meta-client.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d90f79d3a443227fb6a07b1450e612730e66ef6d2a5ce873670fe8e1e8b11b"}},{"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":"lib/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"941f4e64610b8a00a9a6d215cf62d232a2e774fd3b42a7cfaf9fff25a7704985"}},{"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":"lib/generation-run-client/api.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"907808062d375e93013784cf33ab02221d0f8e348093b92820c4bba69e028691"}},{"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":"lib/generation-run-client/api.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2268ed78bf69120b2a5dfc89bee1dae8ccaa9837a2572a6abef21c86c4e566"}},{"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":"lib/generation-run-client/api.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd09f4923caa142e6440b0e331aa2b35863571aaefa8b28bf5079e2068572c4"}},{"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":"lib/generation-run-client/api.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdd23fd665af680020e797ad69ff61f44ec6831d6dd6a216e261e316855fca9"}},{"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":"lib/generation-run-client/api.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f032572fbc7eeb806375944beff8bd33317ef9b0cf15000864a4fe91d684e8"}},{"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":"lib/generation-run-client/api.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04208ccdf3d10bc849ddc5b91b59c0a7c6c58a7a6a618065e21252ffb9eaf41"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2664fc12ab2342718b3a07e6e9a9eff911cecd1ad39c987b03da303e6b2a03f5"}},{"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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52d023d91233baa54f970f237db80e20046189671659b8fcb4515ce76bab6bc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"349ecd7cea6893e78b0690097ea68046e4f4f01b319a39bc6251a4ce5eae8214"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f4f4027f4784093105b4b0dc8d5ecbee4913761b08cba21e5e89a1044faa2a"}},{"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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e07cc1b3aeb187f4da10184f1a3af8cfe6898abf5ea8d2dc30a7a7da2660279"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"845d89d68c1fc2090cf0cb957cc825f3f5c16b7a6c1cb11428d60e3ecd52af3e"}},{"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":"lib/legacy-browser-import/server.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0df94893d784f9e1aaab19d554e4da32dfa0db955b9018bb0fe94cefaa74c61"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/legacy-browser-import/server.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"682c6f99a90154809706af849d626aa3ddbc1ef5113ded54b2a9c31ba71aed0d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/legacy-browser-import/server.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71a0644be5699a32b8ae7e20bbf1d7da2294ced35f2c95d6ed6d7f0e689f388"}},{"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":"lib/legacy-browser-storage/index.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac475ddae21f0c7bd14a164a6f1294c7b7b3e69756ae4fcbe6619979a58aeef8"}},{"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":"lib/live/server-api.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3e4231d87b1125dbdd93fc90486080abed1fafe97049296dd8628bf00a6af2"}},{"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":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fe392357cdf4cfc139e7d58a3dc52024cb7c2254f9b51f339ec5d76e3a36ac"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/media/adapters/glm-image-adapter.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e900d0a77514c523aef4147611f68922f1e7133e728ff74a4e3ca9b2ed9a36b1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/media/adapters/grok-video-adapter.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b806acd1e7efb44ae674072bd9aebdb0f9201ffa2eddb56cb332cc75267937d6"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/media/adapters/grok-video-adapter.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"808200d9388c7bd79907a31ad502a5c1a9d7f6b0649323c8a53719e323092aa8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/media/adapters/kling-adapter.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c7e5954405cca33df3b9d41d6c2517945f15479ac16eeeb829993fd507c97d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/media/adapters/kling-adapter.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61f053d1844c829a3fe1bb5c61ed12c89a5c8ace95c6b2f7e72fb081a14b3dd"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/media/adapters/nano-banana-adapter.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"789336c64cdc0fefea95d7507584dbac6dea1def515241b42277610a592a5787"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/media/adapters/nano-banana-adapter.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f430d2214224fa5c8e63d366c15a36b422bb249f590c7d978cf940470db429a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/media/adapters/openai-image-adapter.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b9cfe2be4f83f0ca3403feb3a233c3b4402052ed1bb0f5188ee9ad3579faa1"}},{"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":"lib/media/media-fetch.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"815f88c94a34d0eceba8a3a3f4d389f67c10be335f22b259f8e4938ace6557d5"}},{"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":"lib/media/media-orchestrator.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e6be80c4ca62eea2f46cd7684fd433bd1ee6a82beaee1fdd22e75f008883eb"}},{"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":"lib/media/media-orchestrator.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e7376253689255fcb374ceee00277233c90ecaee13f8802f8bcfde8c08ef04"}},{"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":"lib/media/media-orchestrator.ts"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ff31a5387d25dbe5e94c8c8c7dc98db89841896a533ae83714886b8fd04e04"}},{"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":"lib/media/media-orchestrator.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea22ef8592c32b1963450060d217334f661e1a123b68b20f4c4ace287c32c61d"}},{"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":"lib/media/resolve-audio-bytes.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"966373d06b5c8cb467d0ec4940901aaa2fad228ae1b7e7351df2fa9ffaaaba83"}},{"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":"lib/media/resolve-stored-bytes.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa35e7dcaaa4a895365e84be59b119064ee74765ddf8a0b9c9ebe597605dec0e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/model-settings/client.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"152826f9f53e18d34b4658e38c9bea26dd4cd4c14954b8512433fafb4e64e3be"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/model-settings/client.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c05a6fd22b3b0faee528778b0f307b047b3fd752ef151ed6690f8c531271d11"}},{"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":"lib/model-settings/client.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8273f677525de1535e7f3365c991f3393f8c944419b144afd3ab6ca720461e88"}},{"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":"lib/orchestration/registry/client.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"945ccd928ca0cef7fdc43d641707333648580757c254b7b8d2f013764a086d6d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/orchestration/registry/client.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8f69a7d8c3b4fb2004625c117907d3cae220e924823b18e5ec511f8664faf8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/orchestration/registry/client.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"26883373c2e933dc4da001592536da41868024ae0520c296c7923d8b1c8fc3c0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/orchestration/registry/client.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dfd90d166fa5fc675edcedf6e15e23532ee8d67d2c6b535106364386c0d781"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/orchestration/registry/client.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6a04fa3e41a4bcdb9409b05817d3cd0a37ff708a03c6ca17a4cc85eeb9d259"}},{"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":"lib/pbl/v3/package-client.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e736a400518d5eb917ec8a1ca360a43fb19d37c703daefcac4a36e743f8db997"}},{"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":"lib/persistence/bootstrap.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b4ba8d7f27b32a4281e7e673d2702a6a79a89fd5fbb4e6c5fca5e83e0cd7bd"}},{"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":"lib/server/agent-runtime/import-pptx-worker.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e4d7f79fab20bf8f64ba17e56a0fe70005e8585b933f5d36d87e3ae817bdb1"}},{"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":"lib/server/agent-runtime/import-pptx.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a885b9f01da79012a766813c044abbced51b9ec8066a90c23b0bab87af1152f"}},{"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":"lib/server/agent-runtime/node-xhr.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c81576a000a97bf46857219069b51fa5e17cc487eb65a535b259899a44687b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchImpl(\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":"lib/server/fetch-with-redirect-validation.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce78f8fdd95d1c2aea12251bd64011de1a1594ee38b9d03f19cc4bde31b508cf"}},{"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":"lib/server/proxy-fetch.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e919a3177062f4598c3bff4c62b387e11520f10043e73f3a5d127b67a5fa7b"}},{"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":"lib/server/proxy-fetch.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1586510610f7882ef53c99e7b85a3264e80aee4e106633e2c37a1ae83f09d056"}},{"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":"lib/utils/course-thumbnail-cache.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"38627d02771c06a0582d88cce1fdcc48134399ea2031fe91bd9015d5cd6e0295"}},{"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":"lib/utils/stage-storage.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d8d1250606d9db4b007e859a4c90354a3d985f5e010cc1d7a81ea3c9507fc3"}},{"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":"lib/utils/stage-storage.ts"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4d8f257dd3288be7ae4b1b2eb3d7e4724e2a1ad6f0fea394cac06648f65b7b"}},{"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":"lib/utils/stage-storage.ts"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da411531a7408d21b85fc176486001d1a43dd7bd93e195a835411cb78b88ce5"}},{"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":"lib/utils/stage-storage.ts"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4f01d5b141c629cec339548f7f8650461fb06b1f5b3215635775dd4a939418"}},{"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":"lib/utils/stage-storage.ts"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f6c07720bad14fd9a37ec5ab2412832b73fa7e3ea96e7e41b532ed7af92eaa"}},{"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":"lib/utils/stage-storage.ts"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"31feb48723d0c0e8ff39a0e68abde6827865ff93c1f8202c55255dc70ab6d541"}},{"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":"lib/video-export-app/collect.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"270e53532458e2d73b85d455c32c4a1b8ea666fc6317ca296c973912b4084dd4"}},{"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":"lib/video-export-app/collect.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5cdf8002c50cd48a507923c02eb438ace26e67b044c1a73065474a1b9089cd"}},{"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":"lib/video-export-app/package-zip.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40d4e1c34d379b6e5f3b10f472203fcb2d7a4558d7503d47adc9fc44fc273be"}},{"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":"lib/video-export-app/package-zip.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4141732d41a409452fb840c50ff289898b3d5dc4d88bbbcc89a2913edf16bd50"}},{"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":"lib/workbench/first-scene-ready.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd28b11bbda190e4196cc8def7334d18745657dc5e2e111f839154f8bda5bd3c"}},{"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":"lib/workbench/material-library-client.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1d80d8e9c8a6f7ef6dfdc975acbe34e01dfa0ec89a3570716c9a8e6d4751d9"}},{"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":"lib/workbench/material-library-client.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"956b3ecfaed14315ad37d4f6f8378f16602e5fb8357fa9c4ef3393ff7ce43198"}},{"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":"lib/workbench/session-store.ts"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1c0ee7c33ebd315d93c13499af872699215949b99cb16a8997ab428245acf9"}},{"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":"lib/workbench/session-store.ts"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0dde6b74c8ddef4aac5180a6836bca70eb2f409f1e822a86c285c351cd4414e"}},{"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":"lib/workbench/session-store.ts"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"1392693926e53e7c99a06d1be5a76d1af6f24b40e53adf8c48c38aa946c30846"}},{"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":"lib/workbench/session-store.ts"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"180ede8552e814f678202b4b4f4ebd2938c0254a28bd0ec4e6e902ba78aabf36"}},{"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":"lib/workbench/session-store.ts"},"region":{"startLine":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e092ca52a97ba62c1e28d468afba623882002823a258b1c8c12e5d4b189c4ef"}},{"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":"lib/workbench/stage-freshness.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7775860b85ee02ab709f19999cf32cc48f474ce896e9f68b4bc9876f2e66ce5b"}},{"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":"lib/workbench/stage-freshness.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6791562edaefee8fd04ceb3d1470b84d6e2c2bbe6e66b6ef895ec4e6cea20d01"}},{"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":"lib/workbench/stage-freshness.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6bb3e51b619a6b60586f717fadb6494353bea6e7e6f927f5d3c1a74d9765d9"}},{"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":"scripts/generation-node-smoke.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0d3ce113f701f9caf5adf657e8912a7c61decb6b591256ba41751e1ef77ee9"}},{"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":"scripts/probe-mineru-cloud.mjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0685318feb76666edbefb6e40aaa2db5bc42f87903122bb25ac42d7cdef6e0"}},{"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":"scripts/probe-mineru-cloud.mjs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f047291057f129203c9ee48b4a9c880879e21b6399411bb28289a39519e929"}},{"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":"scripts/probe-mineru-cloud.mjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9108e9939629d71937dc4de7f0afe8de94f75c866f181f4bb0c2c3cba5efe5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060captureWhiteboard\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":"eval/whiteboard-layout/capture.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"355fdb5b861cb624eccda8b1c0878ea646405c6b7d26877fe59104ee2b5a2be6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060runScenario\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":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41b2623789fa8415bd772aefac0d59579eb933c2a589e3d2a557a0598b7152e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060rescoreRun\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":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"d907b8611678e107459790c1ada6e908e8406cbfc452eba9d547309b7c2b0ffc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060scoreScreenshot\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":"eval/whiteboard-layout/scorer.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d8c1cf35da6f602a4758bc36b40ba0933c7695ba65875242f5a995e5becead"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060listComfyuiWorkflows\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":"lib/media/comfyui-workflows.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5094eb60e1cfde8931e607ef07acec4c3b64a233ece2ac2e7d1ef64295040537"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060listComfyuiWorkflows\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":"lib/media/comfyui-workflows.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48512e0e05776071699d9032ade9b6e9b57a07424887135d47e43a34e0fb1b9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060callback to filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/comfyui-workflows.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da3732e8fde1df06ba43971fddc859a3e2692e5981f7ed9cf84d30731291d73"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060listBuiltinSkills\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":"lib/server/agent-runtime/skills.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"662e9a2836cbe4dfe4acecebf8a07a0ee8084ea60b9269bee4a0342e63e382ca"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to skills.map\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":"lib/server/agent-runtime/skills.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"40116015c2e04172b632ce5f29188d52d1529697fe1839cb72763ad9464941d4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to skills.map\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":"lib/server/agent-runtime/skills.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da8e241d10ead9d40cd38e347ce583fe43f2e0327817d8721bd949e9ccdab1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (198 clone groups): 198 duplicated blocks under the repository root have copies in at least two of the sibling directories app, components, configs, eval, lib, packages (\u002B2 more sibling(s) not listed) \u2014 142 of them are reported below, and 56 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 198 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 198 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 198 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":"configs/shapes.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d44e69952b8d41f0270b9e191534d9fbb30030084b3a1fe9044445ef7c0641"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 33 sibling directories (79 clone groups): 79 duplicated blocks under lib/ have copies in at least two of the sibling directories agent, audio, buffer, chat, choreography, classroom (\u002B27 more sibling(s) not listed) \u2014 42 of them are reported below, and 37 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 79 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 79 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 79 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/document-store/current-scene.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"307329babcae75e1f94ed47e7bdae4c008983c703a0a5cab577bc1b6963b789b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 14 sibling directories (33 clone groups): 33 duplicated blocks under components/ have copies in at least two of the sibling directories agent, canvas, chat, discovery, edit, generation (\u002B8 more sibling(s) not listed) \u2014 17 of them are reported below, and 16 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 33 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 33 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 33 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":"components/discovery/folder-dialogs.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc09ec7816e7dd3470290d673cf7dc16fc4d327cc98812b7dc32c718fe9ec4ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (26 clone groups): 26 duplicated blocks under packages/@openmaic/storage/src/ have copies in at least two of the sibling directories agent-session, asset, document, kv, material, runtime (\u002B2 more sibling(s) not listed) \u2014 22 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 26 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 26 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 26 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/material/pg.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"83879b6af8a6d4e611b1a24d06365660d8b10c70d5c6f5592bfd6a110c8843c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 15 sibling directories (17 clone groups): 17 duplicated blocks under app/api/ have copies in at least two of the sibling directories agent, agents, folders, generate, generate-classroom, generation-runs (\u002B9 more sibling(s) not listed) \u2014 16 of them are reported below, and 1 is 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 17 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 17 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 17 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":"app/api/verify-image-provider/route.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a52f16cb36efb8e82b562a9cbec52fb285ed6f176efe20a5a233e8c3cb2751"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 9 sibling directories (14 clone groups): 14 duplicated blocks under lib/server/ have copies in at least two of the sibling directories agent-runtime, generation, generation-run-hooks, identity, material-extraction, materials (\u002B3 more sibling(s) not listed) \u2014 10 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 14 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 14 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 14 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/server/generation-run-hooks/registry.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e676e607dfdc1afeb64f0cf83d3a5813a95d6a3f2bd15f5809f4ad285a7eae9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (11 clone groups): 11 of the duplicated blocks reported below have copies in at least two of the sibling directories audio, element, latex, line, text, video under packages/@openmaic/editor/src/ui/. That concentration is one structural fact, not 11 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 11 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/line/LineFormatToolbar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"255133b7ace46e5aca123f4ec8b3d4b70e88fd731caa1f245446914932e8346d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (8 clone groups): 8 duplicated blocks under components/slide-renderer/components/element/ have copies in at least two of the sibling directories ChartElement, ImageElement, LatexElement, LineElement, TableElement, TextElement (\u002B1 more sibling(s) not listed) \u2014 6 of them are reported below, and 2 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":"components/slide-renderer/components/element/ImageElement/BaseImageElement.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a85e3fff1171b9f318a7a4bff1fb65303495b7782f34c3de29842f0db062f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (7 clone groups): 7 duplicated blocks under components/slide-renderer/ have copies in at least two of the sibling directories Editor, components \u2014 5 of them are reported below, and 2 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 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 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 7 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":"components/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee740ee55f2190ba0e7bebc86385a3a0fd1c1b1cfa94240b4a3bbf0a56ff11c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (6 clone groups): 6 duplicated blocks under packages/@openmaic/ have copies in at least two of the sibling directories dsl, editor, generation, importer, renderer \u2014 2 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 6 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 6 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 6 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/table/RendererTableEditor.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a639fad7094673d75bbf0895d77b42113264b09f7370b3924e2d6f0cab1135"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (6 clone groups): 6 duplicated blocks under packages/@openmaic/importer/src/ have copies in at least two of the sibling directories export, model, serializer, utils \u2014 3 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 6 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 6 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 6 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12679da4c4a40bd4f11500d58f4015ef17c9f26b10c2f1c8310ce388b33a8e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (655 identical lines \u00D7 2 files): configs/shapes.ts:3 \u00B7 packages/@openmaic/importer/src/openmaic/configs/shapes.ts:3 \u2014 these 2 files are line-for-line copies of one another \u2014 655 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/shapes.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6acf4446ce71160802738f1ed350dec7195281ebc0d0a2f2e1db128539a96e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (418 identical lines \u00D7 2 files): components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx:3 \u00B7 packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx:3 \u2014 these 2 files are line-for-line copies of one another \u2014 418 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e023a83072ac8f3dca3e55353da101f034d8f259d0408bde1ae99a1a03e434b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (282 identical lines \u00D7 2 files): lib/pbl/v2/types.ts:8 \u00B7 packages/@openmaic/generation/src/pbl/types.ts:8 \u2014 these 2 files are line-for-line copies of one another \u2014 282 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/types.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a132a0e38203091ce950687f3d2c9abd69afcde0db68345e9f83373fd9c88e"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (186 identical lines \u00D7 2 files): lib/prosemirror/utils.ts:1 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/utils.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 186 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/prosemirror/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"156b52712e3fe4cdb1c3beac2a030da2a70f89b27e1ee56dfd79c18971990b78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (145 matched lines \u00D7 2 locations): app/page.tsx:1723 \u00B7 components/user-profile.tsx:50 \u2014 the two spans are one implementation copied and then locally edited \u2014 799 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":"app/page.tsx"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0481fdc71ca8e74edd479ffdbf63fde1942f586a4d60e15c46f42a42de5552"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (142 matched lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/line/LineFormatToolbar.tsx:32 \u00B7 packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 724 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/@openmaic/editor/src/ui/line/LineFormatToolbar.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"911da217e812b96e90d802f037f06f528d89620bbaa7cfad75df07153c87bc14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (141 matched lines \u00D7 2 locations): app/api/agent/owner-events/route.ts:73 \u00B7 app/api/agent/sessions/[id]/events/route.ts:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 763 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":"app/api/agent/owner-events/route.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92ae2be11427ce987aef6dc5edc0778d1c7cc03a5ff13ccf8a3768d9600ec28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (139 matched lines \u00D7 2 locations): eval/orchestration/answer-content-runner.ts:193 \u00B7 eval/orchestration/answering-runner.ts:158 \u2014 the two spans are one implementation copied and then locally edited \u2014 1117 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":"eval/orchestration/answer-content-runner.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b909f529d5071d3cc2d1b3694e002d23189f9dd8e77b869aba0774a47b9350c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (122 lines \u00D7 2 locations): lib/prosemirror/schema/nodes.ts:11 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/schema/nodes.ts:182 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/prosemirror/schema/nodes.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0754e1e5c3635240ac6a48fd9253a21dc2d6289cc0d497f4cfee7f1aee10b0e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (121 lines \u00D7 3 locations): configs/shapes.ts:39 \u00B7 packages/@openmaic/editor/src/ui/adapters/shapeFormulas.ts:13 \u00B7 packages/@openmaic/importer/src/openmaic/configs/shapes.ts:39 \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":"configs/shapes.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ec7af61622ce03cf36518117fcb5d62d9abaa94a288ab277b9eff4921032d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (111 identical lines \u00D7 2 files): lib/prosemirror/schema/marks.ts:1 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/schema/marks.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 111 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/prosemirror/schema/marks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48dc3a65a5dea4a0b301d16f968aeb606524fa69b8baf1a878540d189b80424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (98 matched lines \u00D7 2 locations): components/ui/context-menu.tsx:119 \u00B7 components/ui/dropdown-menu.tsx:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 348 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":"components/ui/context-menu.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"35527c603b98e02e4111f19da85d4a1f5abcca58dfbcfbeca65939de6384bdfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (88 matched lines \u00D7 2 locations): lib/web-fetch/providers/deepseek.ts:8 \u00B7 lib/web-fetch/providers/kimi.ts:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 546 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/web-fetch/providers/deepseek.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b8cf8c2eb99f1b96926e949638d33a10a8c43d4e7aff2dbed048033731d40e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (87 matched lines \u00D7 2 locations): components/workbench/compose-extras.tsx:88 \u00B7 components/workbench/course-mention-menu.tsx:199 \u2014 the two spans are one implementation copied and then locally edited \u2014 533 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":"components/workbench/compose-extras.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d1ff5db8a1957ec54ef8f3447b29e86585acd379298dd8a585d1bcefeba404"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (85 identical lines \u00D7 2 files): components/slide-renderer/components/element/LineElement/BaseLineElement.tsx:3 \u00B7 packages/@openmaic/renderer/src/elements/line/BaseLineElement.tsx:3 \u2014 these 2 files are line-for-line copies of one another \u2014 85 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/LineElement/BaseLineElement.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd095643454bb8fb2c023054616fc913fbc55eda726b12a7f1a53451782032f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (82 lines \u00D7 2 locations): app/api/generate/image/route.ts:42 \u00B7 app/api/generate/video/route.ts:44 \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/generate/image/route.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd280576ddbf164b5a1d87a66ea4fba09421cc0e46a9886643e0f1ba99c9798"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (76 matched lines \u00D7 2 locations): app/api/verify-image-provider/route.ts:41 \u00B7 app/api/verify-video-provider/route.ts:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 592 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":"app/api/verify-image-provider/route.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc673887c861c5404f30e12cdd7f318f7e1cbb2a6b7e1db3048b87d094c8c9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2 locations): components/agent/agent-bar.tsx:196 \u00B7 components/agent/agent-bar.tsx:466 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/agent/agent-bar.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dbd3ef9557d1f40b449fc23976175a6c61bdc45f0f3054066289d9dc9ba850"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (74 matched lines \u00D7 2 locations): packages/@openmaic/storage/src/material/pg.ts:98 \u00B7 packages/@openmaic/storage/src/skill/pg.ts:98 \u2014 the two spans are one implementation copied and then locally edited \u2014 430 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/@openmaic/storage/src/material/pg.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b06ee829d7df340243ca9e771f79dbdfd663975b17ac015ff7e06e2aea8557"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2 locations): components/agent/agent-bar.tsx:106 \u00B7 components/agent/agent-bar.tsx:387 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/agent/agent-bar.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"731c32331d8805c73a78d99ee02bf8340982e5c76c4897d235a96545a984c3c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (73 matched lines \u00D7 2 locations): components/stage/scene-sidebar.tsx:219 \u00B7 components/stage/scene-thumbnail-content.tsx:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 292 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":"components/stage/scene-sidebar.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e922ed9d341b05b4bdbd489c023d72ed3c605961b35a453284b06eb8d0f6ee2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (71 matched lines \u00D7 2 locations): lib/workbench/course-refs.ts:81 \u00B7 lib/workbench/element-refs.ts:315 \u2014 the two spans are one implementation copied and then locally edited \u2014 504 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/workbench/course-refs.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"371086a6c0f033930a8af5a67f3782074c6984e66bbacb49451b51c776187158"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (66 matched lines \u00D7 2 locations): components/edit/surfaces/slide/CanvasOverlayPortal.tsx:79 \u00B7 components/edit/surfaces/slide/use-tracked-rect.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 447 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":"components/edit/surfaces/slide/CanvasOverlayPortal.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4318d0dc22163133dd008e8a7bfbc5a546685c9a868c8f48106646bc579f179"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (65 matched lines \u00D7 2 locations): components/settings/asr-settings.tsx:208 \u00B7 components/settings/tts-settings.tsx:239 \u2014 the two spans are one implementation copied and then locally edited \u2014 324 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":"components/settings/asr-settings.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ece3a3f28e43264cfea542aa27c42bdd7ab05bfdf93be2244db5a824af164a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (64 matched lines \u00D7 2 locations): packages/@openmaic/editor/src/react/table/RendererTableEditor.tsx:20 \u00B7 packages/@openmaic/renderer/src/elements/table/StaticTable.tsx:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 490 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/@openmaic/editor/src/react/table/RendererTableEditor.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1918f7ab3a97833189b92f150a5dcf236be2e4fd4ac2f2fb24405c68d0aa766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (62 matched lines \u00D7 2 locations): packages/@openmaic/editor/src/react/useLineHandleGesture.ts:65 \u00B7 packages/@openmaic/editor/src/react/useResizeGesture.ts:107 \u2014 the two spans are one implementation copied and then locally edited \u2014 357 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/@openmaic/editor/src/react/useLineHandleGesture.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"08abc75214b18b6be3267d189ecd2fb14b1e13fbb42de5bc05f361b7b6434854"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): components/slide-renderer/Editor/RendererScreenCanvas.tsx:32 \u00B7 components/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 373 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":"components/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e12159f8aec8fb7a58fe41bb6487d69b03e0c97a7adc75169d0c5413b8ad9a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): lib/prompts/loader.ts:50 \u00B7 packages/@openmaic/generation/src/prompts/loader.ts:50 \u2014 the two spans are one implementation copied and then locally edited \u2014 345 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/prompts/loader.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"223f5e52d9396cee3efebcf7c404f6094d9c0079c543d5edd4a6adb405c8ad28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): packages/@openmaic/storage/src/document/http.ts:174 \u00B7 packages/@openmaic/storage/src/runtime/http.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 475 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/@openmaic/storage/src/document/http.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"14781c7e4ef49f455ee59b8c855f24d800c2f7cb7fb23efa6d160b0b492f3daf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (60 matched lines \u00D7 2 locations): components/edit/AgentsView/AgentRosterPanel.tsx:238 \u00B7 components/edit/AgentsView/AgentRosterPanel.tsx:359 \u2014 the two spans are one implementation copied and then locally edited \u2014 319 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":"components/edit/AgentsView/AgentRosterPanel.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f951a43c5d642ae3d14f1cbf6b4e7f1c1cbccd3a3fbcf8d180c611327410b5bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (59 identical lines \u00D7 2 files): lib/prosemirror/commands/setTextIndent.ts:1 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/commands/setTextIndent.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 59 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/prosemirror/commands/setTextIndent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48ed1b0f946258e84b0a07e31fcb5006411af915467888638ef4dd7657de62d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/audio/AudioInsertPicker.tsx:27 \u00B7 packages/@openmaic/editor/src/ui/video/VideoInsertPicker.tsx:30 \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/@openmaic/editor/src/ui/audio/AudioInsertPicker.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"76925dec5ab50266683b9f2db3f132872951006b2a7bfd8d9aaa1fd597ceae9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (58 matched lines \u00D7 2 locations): components/settings/tts-voice-managers.tsx:84 \u00B7 components/settings/tts-voice-managers.tsx:547 \u2014 the two spans are one implementation copied and then locally edited \u2014 359 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":"components/settings/tts-voice-managers.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8861b8518ff460ba01da0a6f68f88503dd5a488dc6c51c2729d4a47bbd0926"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (56 matched lines \u00D7 2 locations): components/discovery/folder-dialogs.tsx:36 \u00B7 components/workbench/workspace/WorkspaceRail.tsx:1576 \u2014 the two spans are one implementation copied and then locally edited \u2014 323 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":"components/discovery/folder-dialogs.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b527580bd7f84e73bc7b14825f2e49e3342864aa798ed20fa361c3f8531804"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/EditableElement.tsx:249 \u00B7 components/slide-renderer/Editor/Canvas/index.tsx:374 \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":"components/slide-renderer/Editor/Canvas/EditableElement.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceb96b0976fb6a91378c65bad08fbdcadaf7dd5278abd1da9b5104b189229bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (56 matched lines \u00D7 2 locations): lib/api/stage-api-element.ts:125 \u00B7 lib/api/stage-api-scene.ts:83 \u2014 the two spans are one implementation copied and then locally edited \u2014 402 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/api/stage-api-element.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e8f899942d3f42107b6d1fa800f805bdec1796dc7275fa0110f43ace4e8389"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (53 matched lines \u00D7 2 locations): packages/@openmaic/storage/src/document/browser.ts:150 \u00B7 packages/@openmaic/storage/src/runtime/browser.ts:151 \u2014 the two spans are one implementation copied and then locally edited \u2014 400 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/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f4274af589298c5952ebda22c77984d7e55d3489411d1e841b2792ef4de2a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useDragLineElement.ts:143 \u00B7 packages/@openmaic/editor/src/react/core/line-drag.ts:136 \u2014 the two spans are one implementation copied and then locally edited \u2014 528 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":"components/slide-renderer/Editor/Canvas/hooks/useDragLineElement.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ee6db508dddf4c0c57df4154edf9a0e08c271a329897da1e7ee854f70f124a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (50 matched lines \u00D7 2 locations): lib/pbl/v2/operations/runtime/evaluation.ts:23 \u00B7 lib/pbl/v2/operations/runtime/submission.ts:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 282 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/pbl/v2/operations/runtime/evaluation.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"50205cd818f7fd55e4eda32ab2c74c2532621c2ef565f8f266b9cae8b1a72941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): components/slide-renderer/Editor/RendererScreenCanvas.tsx:103 \u00B7 components/slide-renderer/Editor/RendererScreenCanvas.tsx:241 \u2014 the two spans are one implementation copied and then locally edited \u2014 251 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":"components/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33556d92271b308bbd5f35da7dbb4db4422e8364cfaed3237e52697528163db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 3 locations): packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx:145 \u00B7 packages/@openmaic/editor/src/ui/element/ElementToolbarOverlay.tsx:72 \u00B7 packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx:125 \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":"packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcbedd67becae26979cd75d0e003693cff1975da2e61ca1dabda501d206f14b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): components/slide-renderer/components/element/LatexElement/BaseLatexElement.tsx:36 \u00B7 packages/@openmaic/renderer/src/elements/latex/BaseLatexElement.tsx:44 \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/slide-renderer/components/element/LatexElement/BaseLatexElement.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"355e98010ed5a391e0fdafde4d37f014df2dac0363a0524704daebf89230d670"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): lib/audio/voxcpm-voices.ts:79 \u00B7 lib/audio/wav-utils.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 424 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/audio/voxcpm-voices.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"33baf9fb50dacb46aebcf33dff0cbf169c0c15486319aeca90dd56930baa4a75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): lib/prosemirror/commands/setTextAlign.ts:5 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/commands/setTextAlign.ts:5 \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":"lib/prosemirror/commands/setTextAlign.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dc00e0b00c95d963afcc632f9d44b65f8e5f087089d21b439c9f972162f760"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx:25 \u00B7 packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 302 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"786c8dce3ecc44859d5fe2490aaf5fce4be646c4eda2934812f80442d9210baa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): components/settings/pdf-settings.tsx:55 \u00B7 components/settings/provider-config-panel.tsx:112 \u2014 the two spans are one implementation copied and then locally edited \u2014 247 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":"components/settings/pdf-settings.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f860284d150e7a19ae7eee5caa70c8a816f59b887ff65a811405b8d088da91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): components/slide-renderer/components/element/TableElement/StaticTable.tsx:33 \u00B7 packages/@openmaic/renderer/src/elements/table/StaticTable.tsx:22 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/TableElement/StaticTable.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a24d4a28bcf853cc1b3e4334de2a3bbd30dfb914522a815966d67705897c38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): lib/utils/element.ts:17 \u00B7 packages/@openmaic/renderer/src/utils/element.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 419 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/utils/element.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4ed7340b39ce7760c97153abd205a9790b387d363fbdf2ccf7e0544e4fab5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): packages/@openmaic/editor/src/react/useLineCreateGesture.ts:35 \u00B7 packages/@openmaic/editor/src/react/useTextCreateGesture.ts:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 350 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/@openmaic/editor/src/react/useLineCreateGesture.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb94a5d2c3e91e4eefb39d2d58e95112acbcf30e31e3b61fb31cc5ce40ff7088"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/Operate/ImageElementOperate.tsx:37 \u00B7 components/slide-renderer/Editor/Canvas/Operate/TableElementOperate.tsx:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/Operate/ImageElementOperate.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"46848a94add322b37368b8c518163dae545aa9936bfa8b6666cdf822e7ccbf8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): components/workbench/ProLaunchPanel.tsx:261 \u00B7 components/workbench/WorkbenchChat.tsx:681 \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/workbench/ProLaunchPanel.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"21827311166d51393d1b1f7e147cac961a6e2d5630e3066cec1b9c9e67a0364b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): components/agent/agent-bar.tsx:301 \u00B7 components/agent/agent-bar.tsx:560 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/agent/agent-bar.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bb03f55b78e6d5a65f7d71b11c897616695c932eff9578a8c0175b6bfaa205"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): lib/web-search/exa.ts:45 \u00B7 lib/web-search/firecrawl.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 310 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/exa.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9fbbcb1929cb259b6d7623c255828fce161d277a490d4c2923983f5ef8e33b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/line/LineToolbarOverlay.tsx:29 \u00B7 packages/@openmaic/editor/src/ui/text/TextToolbarOverlay.tsx:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 302 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/line/LineToolbarOverlay.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abb3c39c15c16d939439b027d047df2c78287b5a0adf735e4fecd59421b126d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): components/slide-renderer/components/element/TableElement/tableUtils.ts:7 \u00B7 packages/@openmaic/renderer/src/elements/table/tableUtils.ts:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 382 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/TableElement/tableUtils.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e31963f84ff4cf4a60f9d2e5354f0a679cb924e181b86b702082d0b127b6f45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): lib/media/adapters/happyhorse-adapter.ts:152 \u00B7 lib/media/adapters/seedance-adapter.ts:181 \u2014 the two spans are one implementation copied and then locally edited \u2014 256 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/media/adapters/happyhorse-adapter.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be603ff4380001a1d1a25fb5c4807cf06cc5feca0e22bc7ccf9a409c1205558"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1822 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1876 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65f345227509bbe894f5697b5004c3c01e9f5cb3b5356ad06c67fce98ec34c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): packages/@openmaic/storage/src/server/document.ts:56 \u00B7 packages/@openmaic/storage/src/server/index.ts:101 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/document.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"26866c6f070edd9a01b3f4749e65274a3c9b1ea20938204623fa42dadbdbb073"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): components/settings/asr-settings.tsx:199 \u00B7 components/settings/web-search-settings.tsx:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 272 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":"components/settings/asr-settings.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8fa56d4714555438fb60088eaacc12f7201f2c557a910194da138d68ceff31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): lib/edit/agent-ops.ts:64 \u00B7 lib/edit/slide-ops.ts:105 \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/edit/agent-ops.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"59edbcca12508aca641d6ccd15733010e49fc6d2b3a5cd2b175cc2930e9523f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): lib/server/generation/steps/scene-actions.ts:73 \u00B7 lib/server/generation/steps/scene-content.ts:89 \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":"lib/server/generation/steps/scene-actions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c0c28f855f7c1478ac1f75e9f6f297b22faacab67d7e220a6317e041056661"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useViewportSize.ts:32 \u00B7 packages/@openmaic/renderer/src/hooks/useViewportSize.ts:66 \u2014 the two spans are one implementation copied and then locally edited \u2014 263 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":"components/slide-renderer/Editor/Canvas/hooks/useViewportSize.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b604e61416129c1d7b38bcf0e7cb134399183ab2a610b0f47a06cf49d16906"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): lib/pbl/v2/agents/evaluator.ts:185 \u00B7 lib/pbl/v2/agents/instructor.ts:1518 \u2014 the two spans are one implementation copied and then locally edited \u2014 210 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/pbl/v2/agents/evaluator.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5408ad99e7cff33acd6acb9590d292474106099e72543ce83bf945ba8360a74b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): components/scene-renderers/quiz-view.tsx:268 \u00B7 components/scene-renderers/quiz-view.tsx:374 \u2014 the two spans are one implementation copied and then locally edited \u2014 139 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":"components/scene-renderers/quiz-view.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1f60e28a49362dcab009f40854c02dcd0df59db021c49e2a1728b10c7a761d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): components/settings/tts-voice-managers.tsx:423 \u00B7 components/settings/tts-voice-managers.tsx:738 \u2014 both copies are in the same file, so extract the block 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/settings/tts-voice-managers.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a6e00ee71e79110feee28178b47183db48c950c0038e660206d70a049698c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): lib/web-search/baidu.ts:56 \u00B7 lib/web-search/baidu.ts:141 \u2014 the two spans are one implementation copied and then locally edited \u2014 264 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/web-search/baidu.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e5f8ce1e8214ac1031f535eacff5f4a78a3ccc77cb64e26e676b7c839d0a4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): components/workbench/ProLaunchPanel.tsx:458 \u00B7 components/workbench/WorkbenchChat.tsx:1210 \u2014 the two spans are one implementation copied and then locally edited \u2014 172 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":"components/workbench/ProLaunchPanel.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e3310af74a0031d62336aaf1af5c3ac7d342d2ce48b649b09f082778a22869"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): lib/prosemirror/plugins/inputrules.ts:11 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/plugins/inputrules.ts:11 \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":"lib/prosemirror/plugins/inputrules.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5404d57d81dd8023c494347e433cdc26ce3d9e9478da267bafed042a61c1beb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): lib/server/pbl-v3/execution-watchdog.ts:176 \u00B7 lib/server/pbl-v3/lifecycle-schedule.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 230 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/server/pbl-v3/execution-watchdog.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad70a35f811adcb05b7f3e5e5ee1eb3f6f8b31c644753d6b849ea16b6785f0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): lib/types/generation.ts:93 \u00B7 packages/@openmaic/generation/src/outline-types.ts:24 \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/types/generation.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1dc0a3fca1a3e7e8fc50c4aa6ed7f79c56d4e3eb852ba0d7339e6ea8a6fd16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/useResizeGesture.ts:74 \u00B7 packages/@openmaic/editor/src/react/useShapeKeypointGesture.ts:52 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useResizeGesture.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea0b79f577dcc34b7c3eb9cfdaa2914f95574036c783ae37e7c562a9932e362"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/BaseImageElement.tsx:72 \u00B7 components/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx:121 \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/slide-renderer/components/element/ImageElement/BaseImageElement.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a8ae83a9e288ee035bc93aec41f2682a0faae9557888f64a98e9aa8a1e765b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): app/api/folders/[id]/route.ts:42 \u00B7 app/api/folders/route.ts:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 258 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":"app/api/folders/[id]/route.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d077cc102e07c58d9459b82082c3f8d2e661d75cfb2a0f8a9133344ec9e3fef7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/Ruler.tsx:47 \u00B7 components/slide-renderer/Editor/Canvas/Ruler.tsx:83 \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":"components/slide-renderer/Editor/Canvas/Ruler.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b697313ed199841d6986a8467b7c33ca350a262dbef85f8f79474862754a9101"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): lib/server/agent-runtime/material-tools.ts:255 \u00B7 lib/server/agent-runtime/skill-edit-tools.ts:144 \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/server/agent-runtime/material-tools.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"62896d9592af42521b9048b275bbc86b0457fa1c83fe3c06064bf14135c3521e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): components/slide-renderer/Editor/LaserPointerOverlay.tsx:12 \u00B7 components/slide-renderer/Editor/SpotlightOverlay.tsx:26 \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/slide-renderer/Editor/LaserPointerOverlay.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45b7b3c1d688400be8fa63d5310dc4fe531802a4613d71dc2fd7915713431ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): lib/media/adapters/grok-video-adapter.ts:36 \u00B7 lib/media/adapters/kling-adapter.ts:112 \u2014 the two spans are one implementation copied and then locally edited \u2014 179 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/grok-video-adapter.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d87f4ed04fcf0ebced20b9add1daaf6b2e3f5cdf244dfc9ee58cfa21a10adf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): lib/web-search/deepseek.ts:35 \u00B7 lib/web-search/kimi.ts:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 263 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/web-search/deepseek.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"69976f79fb3938b0b91b7c65af0cde3aa5e587b45a86279aa6433e47f0411bf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): lib/document-store/current-scene.ts:10 \u00B7 lib/playback/cursor.ts:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 202 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/document-store/current-scene.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e943c895dc28d1906140ebf78aa217403501e4555a71266ada9ad555bea93e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): lib/hooks/use-slide-background-style.ts:26 \u00B7 packages/@openmaic/renderer/src/hooks/useSlideBackgroundStyle.ts:5 \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":"lib/hooks/use-slide-background-style.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6390a25b278be93e401c776911bb74cfea580c0697eea7eef0484444fade1bd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): lib/media/adapters/openrouter-image-adapter.ts:80 \u00B7 lib/media/adapters/openrouter-video-adapter.ts:181 \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":"lib/media/adapters/openrouter-image-adapter.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd794a6867e8e7218f210498dcec20f9590bfeefb6bbb89700ff5253c28e636"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): lib/prosemirror/plugins/keymap.ts:19 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/plugins/keymap.ts:19 \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":"lib/prosemirror/plugins/keymap.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e446c4a4ffd6260b93dcf15525a3f8122870831cbf503184aad1ddc21fa12688"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): lib/server/agent-runtime/session-materials.ts:131 \u00B7 lib/server/agent-runtime/session-materials.ts:187 \u2014 the two spans are one implementation copied and then locally edited \u2014 197 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/server/agent-runtime/session-materials.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d9a4dd920ace6ef2280c806a54520c0d5eb5046c588658bc519ec8aa69c416"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:579 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:716 \u2014 the two spans are one implementation copied and then locally edited \u2014 215 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e8968d0b223bd80b3709f0b915f6cb0bde644feea2eba83b4b5d16579610af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): app/api/generate-classroom/route.ts:26 \u00B7 app/api/generation-runs/route.ts:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 218 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":"app/api/generate-classroom/route.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c1e740db3a4255df3d8eef43f1531ca514c5853ba529bfcf4be9dd1255b283"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): app/api/materials/[id]/route.ts:94 \u00B7 app/api/materials/folders/[id]/route.ts:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 273 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":"app/api/materials/[id]/route.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"534a6af100d5cc7eb941d93cb7a2866f8d43d7e5296461d6ec16fb9c9cfe00cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): components/chat/use-chat-sessions.ts:1378 \u00B7 components/chat/use-chat-sessions.ts:1523 \u2014 both copies are in the same file, so extract the block 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/use-chat-sessions.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a63ce57d1d7dbe5f149cfd794591087b5d57264826bd9e855c3b5481bbbdbf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/ImageOutline/index.tsx:16 \u00B7 packages/@openmaic/renderer/src/elements/image/ImageOutline.tsx:106 \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":"components/slide-renderer/components/element/ImageElement/ImageOutline/index.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed644df0ca8f3c32098816ea26f4677237a1346e5b4460234f7e06cfcf9abb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): components/workbench/compose-extras.tsx:648 \u00B7 components/workbench/compose-extras.tsx:687 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/compose-extras.tsx"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0954e67d5637d5e4ec88e47dbb07625feb20d99888df4e5cab2cfdce9a4d616"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1562 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1636 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b49cf24ed598addc7614831da9f51a9da857fb0a19735f38ef405f65f03efc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/browser.ts:65 \u00B7 packages/@openmaic/storage/src/document/pg.ts:543 \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/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5ba5836e7d87d52059f6c57e44159eb75864eb3d503a2d15e88769e9c118b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): lib/legacy-browser-import/agents-import.ts:138 \u00B7 lib/legacy-browser-import/model-settings-import.ts:70 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"161bd75cd69c876dd100d68d550d328c15fe6cf7780eab5d8f58c550738f480b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): lib/web-fetch/providers/firecrawl.ts:80 \u00B7 lib/web-fetch/providers/kimi.ts:115 \u2014 the two spans are one implementation copied and then locally edited \u2014 224 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/web-fetch/providers/firecrawl.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd4ef1562e849c04185b52e04b573b11930664465e7ea6276e5c25f0d79713b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): app/api/generate/tts/route.ts:165 \u00B7 app/api/generate/voice/route.ts:301 \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/generate/tts/route.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8f6441999a64e03a82993115228c3491248e2fc5236989b53b23c42930dcae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): components/scene-renderers/pbl/v2/submission.tsx:452 \u00B7 components/scene-renderers/pbl/v2/use-instructor-stream.ts:289 \u2014 the two spans are one implementation copied and then locally edited \u2014 231 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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b401aa8f270c5845a5c2ff5d29b0c4c97e34ec652c8389a6268f31ce3bd916"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): components/slide-renderer/components/element/ChartElement/chartOption.ts:118 \u00B7 components/slide-renderer/components/element/ChartElement/chartOption.ts:153 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"12556f9f7dad0636d1302f9b025d62304eab3d7e26ba4749134ab122a8591cec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3 locations): components/slide-renderer/components/element/ChartElement/index.tsx:9 \u00B7 components/slide-renderer/components/element/LatexElement/index.tsx:8 \u00B7 components/slide-renderer/components/element/TableElement/index.tsx:8 \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":"components/slide-renderer/components/element/ChartElement/index.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"45699824a88364ccf160f950849c42b7c1ecb2556a01d91cd9c9df5506ec5a00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): components/ui/carousel.tsx:163 \u00B7 components/ui/carousel.tsx:193 \u2014 both copies are in the same file, so extract the block 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/carousel.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76759fa454d9ed8d8903510a9fbec9b63a2dc3acaaa052dd207ba1e005e44c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): lib/audio/persist-narration-reference.ts:59 \u00B7 lib/media/persist-media-reference.ts:100 \u2014 the two spans are one implementation copied and then locally edited \u2014 224 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/audio/persist-narration-reference.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddca3d87816f124d6c278b06e576b7598bd2463b51140104d0565f42aaef832"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): lib/edit/slide-edit-elements.ts:188 \u00B7 packages/@openmaic/editor/src/ui/adapters/defaultElements.ts:62 \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/edit/slide-edit-elements.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a21b1fd3ae2d68cc59f8e2bba4f45a4a3d3804a561882797e3cfd937ce65000"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): components/scene-renderers/pbl/v2/chat.tsx:80 \u00B7 components/scene-renderers/pbl/v2/submission.tsx:172 \u2014 the two spans are one implementation copied and then locally edited \u2014 173 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":"components/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0452a95e4c47f1236f3b3ea23dc506b7ba1a8b3ae242f636b0b1bd91f582a602"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useDragLineElement.ts:233 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:658 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 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":"components/slide-renderer/Editor/Canvas/hooks/useDragLineElement.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"142553618a3d6a6ad6dee445e5147b21a83f13e2122a03e9ad628a61bdcee120"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): components/slide-renderer/Editor/SpotlightOverlay.tsx:46 \u00B7 packages/@openmaic/renderer/src/effects/SpotlightOverlay.tsx:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/SpotlightOverlay.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b9a29f8bb7500608f2f42b6bb40bd95447792684d14677bea8c51d44c37b44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): components/slide-renderer/components/element/LineElement/BaseLineElement.tsx:97 \u00B7 components/slide-renderer/components/element/LineElement/index.tsx:72 \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":"components/slide-renderer/components/element/LineElement/BaseLineElement.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb8edc98b601806bc7d46fda165ce0892b67c2efd804d8468b70b882743bcdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): components/slide-renderer/components/element/TextElement/BaseTextElement.tsx:27 \u00B7 components/slide-renderer/components/element/TextElement/index.tsx:200 \u2014 the two spans are one implementation copied and then locally edited \u2014 167 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":"components/slide-renderer/components/element/TextElement/BaseTextElement.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b1978618b3e1a9b230710127cb59228cf68bb1461459d5708aee4f12b22712"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): lib/api/stage-api-canvas.ts:144 \u00B7 lib/api/stage-api-canvas.ts:243 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-canvas.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc9442d9c60ff55486660e4375ef4a30bb91745dbc4b651c2c9eae88acb8d6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): lib/prosemirror/commands/toggleList.ts:20 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/commands/toggleList.ts:42 \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":"lib/prosemirror/commands/toggleList.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaa8a5f624dbfc5667e4384ea2a6d1fa4a22a8c1ec67b8386bc98fd13af6489"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): lib/prosemirror/schema/nodes.ts:195 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/schema/inlineMath.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":"lib/prosemirror/schema/nodes.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfb9dd108b53d25f0fad4a5599532d9172ce7308f84754cc6123c612cef4a24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/nodes/MathNode.ts:131 \u00B7 packages/@openmaic/importer/src/model/nodes/MathNode.ts:173 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/model/nodes/MathNode.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8a0033193ce6218e52f392794ff3a833be71207bb768398a1350255ac748ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4 locations): components/ai-elements/context.tsx:209 \u00B7 components/ai-elements/context.tsx:242 \u00B7 components/ai-elements/context.tsx:275 \u00B7 components/ai-elements/context.tsx:312 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/context.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb83c55634d6c28f616e7dbb9cab3c18474142375c92024243dccee14521f61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): components/edit/surfaces/slide/ColorPicker.tsx:68 \u00B7 packages/@openmaic/editor/src/ui/text/DefaultColorPicker.tsx:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 177 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":"components/edit/surfaces/slide/ColorPicker.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e4b66e9fc7f6545e5b4e2409bbf1b33dced508a71545666737a01711ef4e8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): components/settings/media-service-panel.tsx:115 \u00B7 components/settings/provider-config-panel.tsx:217 \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":"components/settings/media-service-panel.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"153c9ce61d1b59e41772fe833bbac7e736fed926086724baf0e162df964aa564"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): components/slide-renderer/components/element/ChartElement/chartOption.ts:306 \u00B7 packages/@openmaic/renderer/src/elements/chart/chartOption.ts:336 \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":"components/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb13c093d512f8a4597232f566db0a2a2df33865bc1a22fc6323c0197c9decf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): components/slide-renderer/components/element/ElementOutline.tsx:6 \u00B7 packages/@openmaic/renderer/src/elements/shared/ElementOutline.tsx:6 \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":"components/slide-renderer/components/element/ElementOutline.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"776356502584b0227e72fbf38757e694150ea0c0da7ec02c5f233c9eae998bd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): lib/edit/slide-ops.ts:338 \u00B7 packages/@openmaic/editor/src/core/index.ts:686 \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":"lib/edit/slide-ops.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"920b0eff440adc32f65fa52a362675523097163e4489db5a64a6492e227e2eaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): lib/server/agent-runtime/import-pptx-worker.mjs:61 \u00B7 lib/server/agent-runtime/node-xhr.ts:78 \u2014 the two spans are one implementation copied and then locally edited \u2014 176 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/server/agent-runtime/import-pptx-worker.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53d96177dfd37d6e535c47d59ddc65e604fbd626162aa0007c890df1fea2d34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:73 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:111 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5293459f89cf6de7451134529cfbcc7e6d65ecbd7a16a6cff23dad98da4c89e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/browser.ts:278 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:425 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf73be16653b6f1cba2a80bbdd415fab36d4dd26db85c99815e374df4ca40ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): components/edit/surfaces/slide/TableInsertPicker.tsx:8 \u00B7 packages/@openmaic/editor/src/ui/insert/TableInsertPicker.tsx:8 \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":"components/edit/surfaces/slide/TableInsertPicker.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"489958e16b36e9519eb7c5bd50ff6e075337a8dd93e97e79efd15aba6f9ca45f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3 locations): components/slide-renderer/Editor/Canvas/Operate/CommonElementOperate.tsx:49 \u00B7 components/slide-renderer/Editor/Canvas/Operate/ShapeElementOperate.tsx:99 \u00B7 components/slide-renderer/Editor/Canvas/Operate/TableElementOperate.tsx:40 \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":"components/slide-renderer/Editor/Canvas/Operate/CommonElementOperate.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5def71ac2afe0688fa58e00b22df82a1e98fcef6eca197fde8a1683849e51d96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useMouseSelection.ts:101 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useMouseSelection.ts:127 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/Editor/Canvas/hooks/useMouseSelection.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"71664bcb27d7da5151e0feee39b8959f7b868cbee1ac8a09f6a4d4b8b936d8d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): components/slide-renderer/components/element/ChartElement/chartOption.ts:203 \u00B7 components/slide-renderer/components/element/ChartElement/chartOption.ts:242 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ff7752fce8f7b5d0fc5138f5b1b8c69c64015a717dc073f2d3a428d77afb77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): components/slide-renderer/components/element/ShapeElement/GradientDefs.tsx:10 \u00B7 packages/@openmaic/renderer/src/elements/shape/GradientDefs.tsx:10 \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":"components/slide-renderer/components/element/ShapeElement/GradientDefs.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e80a09d253715bd024141341b9cc76e5a5bdf18b2e8de5674faadb4ef363a81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3 locations): packages/@openmaic/storage/src/runtime/browser.ts:49 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:176 \u00B7 packages/@openmaic/storage/src/server/index.ts:171 \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":"packages/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d924b10ede2d67c4d75f1a1fbc740bc9426bf1c8a87c6c00d70366077c5e3804"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): render-service/src/resource-task-runner.mjs:339 \u00B7 render-service/src/resource-task-runner.mjs:525 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7753fa8f6ae4e34136ba92e8e44c379f013130296290339e285400cbfb1f60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): app/api/pbl/v2/instructor/route.ts:34 \u00B7 app/api/pbl/v2/open-task/route.ts:36 \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/pbl/v2/instructor/route.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"598673fece970530ae9be389bdf23659d8e991691e67ddec13e63866582e1461"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): components/agent/agent-bar.tsx:877 \u00B7 components/settings/agent-settings.tsx:54 \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":"components/agent/agent-bar.tsx"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d7fa7ae71ad4eba40822e4cd45eebbb1e1abe3527720755f18b51fee6bda76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): lib/hooks/use-audio-recorder.ts:209 \u00B7 lib/hooks/use-browser-asr.ts:69 \u2014 the two spans are one implementation copied and then locally edited \u2014 139 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/hooks/use-audio-recorder.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb32f287c35e5c8114726e3f57d04f55e51f054bc4a5b9f1cf7200b90f673771"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/adapters/audio.tsx:22 \u00B7 packages/@openmaic/editor/src/ui/adapters/video.tsx:22 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/adapters/audio.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"178c324c9ba05f11c0c93ed67449f9d9808ee5733a375313375da728db07fe44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:534 \u00B7 packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:589 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5527ee8b2b6d9b79a2757ad850da5de0d24f67803c92a52b9e639e31c6096ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): components/ai-elements/inline-citation.tsx:166 \u00B7 components/ai-elements/inline-citation.tsx:193 \u2014 both copies are in the same file, so extract the block 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/ai-elements/inline-citation.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"037623b6b8ef681836186052e0f7fb949c351de4e8507930c01bf06e1f429fe4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): components/settings/model-picker.tsx:184 \u00B7 components/settings/model-picker.tsx:210 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/settings/model-picker.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"766fcb48520f34f4d81895e850da1f182fae7c8d8f2bb4a085ec076322b84ae3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts:109 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:227 \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/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4270de3e4916f6551413e6b5a42602596764f21527c170346a64dc543cc0bae9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/useFilter.ts:1 \u00B7 packages/@openmaic/renderer/src/elements/image/useFilter.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 189 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":"components/slide-renderer/components/element/ImageElement/useFilter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ca525f2b190c5683ed7307080f62ff5c5ac96051e798d5e56c965dffa508bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): components/slide-renderer/components/element/TableElement/index.tsx:19 \u00B7 components/slide-renderer/components/element/VideoElement/index.tsx:46 \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":"components/slide-renderer/components/element/TableElement/index.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a322263c4b76ce712c0e92d61742ad20b0999e690024a78fe45999c1c44d6077"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): lib/prosemirror/commands/setListStyle.ts:6 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/commands/setListStyle.ts:6 \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":"lib/prosemirror/commands/setListStyle.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"437fa7469e6071746edd30108688d76675e776572b9e1bb8b0ee1dd0f1c3f253"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): lib/utils/geometry.ts:85 \u00B7 packages/@openmaic/renderer/src/utils/geometry.ts:51 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/geometry.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"239f4f8fa0a6223f2514ba950e8134dd90ceeece46fbf0fa7d0828c9d99c2413"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:5193 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5317 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5193}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b711dfeadd209c8f98e4e3c25962abffceb66a1a987050f6d3119ae209f71d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): app/api/stages/[id]/publish/route.ts:19 \u00B7 app/api/stages/[id]/unpublish/route.ts:16 \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/stages/[id]/publish/route.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"73efdf2013e2b5fc99870efecdeec8cd470801f41115700d7a6f0029b066a89f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): components/roundtable/index.tsx:1119 \u00B7 components/roundtable/index.tsx:2204 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/roundtable/index.tsx"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"edac49c23836ae8c24cbcf3546ff7ba2a25a1935d3bdb70bd210676ea534c224"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/completion.tsx:518 \u00B7 components/scene-renderers/pbl/v2/completion.tsx:556 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/scene-renderers/pbl/v2/completion.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"39090396ad20f01bc3c4b89debebc2f478e9e95ae439ed342a469b17d649cdf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): components/slide-renderer/components/element/LineElement/LinePointMarker.tsx:23 \u00B7 packages/@openmaic/renderer/src/elements/line/LinePointMarker.tsx:23 \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":"components/slide-renderer/components/element/LineElement/LinePointMarker.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8491816060c1f18b4c6a01689d934d6da2140455331eec748d9bed30dc1bd04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): lib/api/stage-api-element.ts:48 \u00B7 lib/api/stage-api-element.ts:108 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/api/stage-api-element.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4131ce98d053ff6f0becfca7257dd1976470c6ccd3e926e5e89a54500ece9b88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): lib/model-settings/edit.ts:512 \u00B7 lib/model-settings/token-plan.ts:253 \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":"lib/model-settings/edit.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"073327174f7ccc6adf48c9211fd5183ad19b4cbee906f7ea566c9445f9906835"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:6187 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6371 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0270b25c1b85bb28834155446874abcb93601241bbbb49e1fa7ea3c0460f5268"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): packages/@openmaic/renderer/src/snapshot/index.ts:124 \u00B7 packages/@openmaic/renderer/src/snapshot/measure.ts:98 \u2014 the two spans are one implementation copied and then locally edited \u2014 237 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/@openmaic/renderer/src/snapshot/index.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"de38e5b5b31f43a68ae4024a1933cc2953fcea9965fc177b2ea6bed30e1e3d62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): components/ai-elements/prompt-input.tsx:581 \u00B7 components/ai-elements/prompt-input.tsx:605 \u2014 both copies are in the same file, so extract the block 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/ai-elements/prompt-input.tsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d0f514174a272807ddd0a4c348f6fe3f452a6ce9dc2522b50a4767d82fd2bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): components/slide-renderer/components/element/ChartElement/BaseChartElement.tsx:34 \u00B7 components/slide-renderer/components/element/ChartElement/index.tsx:47 \u00B7 packages/@openmaic/renderer/src/elements/chart/BaseChartElement.tsx:35 \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":"components/slide-renderer/components/element/ChartElement/BaseChartElement.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"42434f8456d11629b7a38279fddcad0a5e1be7880639c25d67e455d517acc996"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): components/ui/alert.tsx:31 \u00B7 components/ui/avatar.tsx:64 \u00B7 components/ui/card.tsx:30 \u00B7 components/ui/field.tsx:103 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/alert.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61c5d5f2cb30872d5c66f0f6cd192c3569713d8b835aa50cbfdaf37cec77af4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): components/ui/context-menu.tsx:64 \u00B7 components/ui/dropdown-menu.tsx:62 \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":"components/ui/context-menu.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eda91341762390167f7b657d9e6240486bc948eab1d86bc7cead0cae425e27e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): lib/document/extractors/manifest.ts:223 \u00B7 lib/document/extractors/manifest.ts:263 \u00B7 lib/document/extractors/registry.ts:34 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document/extractors/manifest.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08e364bf00b7661824f717e471a763b5e768de9e2c9eba495daf2409fcfb4be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): lib/media/adapters/grok-image-adapter.ts:51 \u00B7 lib/media/adapters/qwen-image-adapter.ts:41 \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":"lib/media/adapters/grok-image-adapter.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aca9987394a36ff1a8379d10ca45ec2692c04c685d3cd04e3ee4c049ed712b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): lib/pbl/v2/operations/runtime/advance-patch.ts:104 \u00B7 lib/pbl/v2/operations/runtime/advance-patch.ts:128 \u2014 both copies are in the same file, so extract the block 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":"lib/pbl/v2/operations/runtime/advance-patch.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e33971cdaa91bdb3cafb96108a8ceec95a3ae87556e9e8c77d76a905218eb89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): lib/utils/html-document.ts:17 \u00B7 render-service/src/preview-renderer.ts:83 \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/utils/html-document.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7664f1aab137d94c4854fea099ce56613c6de23f5e2e33e6a3941e1cfc209ec0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): packages/@openmaic/importer/scripts/transvert.js:12 \u00B7 packages/@openmaic/importer/scripts/transvert.ts:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 197 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/@openmaic/importer/scripts/transvert.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ed22253ced3a454f935048abd0b62df92156b8bcf4b9b6ad72a80b8df50233"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): app/api/export-video/render/[jobId]/route.ts:20 \u00B7 app/api/export-video/render/[jobId]/route.ts:58 \u2014 both copies are in the same file, so extract the block 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/api/export-video/render/[jobId]/route.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a420e8ffd520a012d26650d9859178b2030e6177fdf705a12c3ab5ffe99439"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): app/page.tsx:1434 \u00B7 app/page.tsx:1485 \u2014 the two spans are one implementation copied and then locally edited \u2014 154 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":"app/page.tsx"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b6f27fce3db48f445192a4e1a9c9e1d7aff5bb09cd5d0daccc2dda2d4bafdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): app/sandbox-lab/sandbox-lab.tsx:230 \u00B7 app/sandbox-lab/sandbox-lab.tsx:273 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 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":"app/sandbox-lab/sandbox-lab.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bffdba0f0652f9595e4752d400980a6232a919db0718234f339130cc4ce37bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): components/generation/step-visualizers.tsx:706 \u00B7 components/stage/scene-sidebar.tsx:221 \u00B7 components/stage/scene-thumbnail-content.tsx:66 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/step-visualizers.tsx"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"925da71be46ee4246e2eb651bdbbe1f49a4cb208477ee37e0bb729eb43296a0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): components/ui/command.tsx:86 \u00B7 components/ui/context-menu.tsx:188 \u00B7 components/ui/dropdown-menu.tsx:158 \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":"components/ui/command.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8026185937161337dc0c74c303a0ca9e9b5b6e14d8f84d863aa2a9b1f22f60c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): lib/pbl/v2/operations/runtime/eval-tail-parser.ts:153 \u00B7 lib/pbl/v2/operations/runtime/eval-tail-parser.ts:193 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/v2/operations/runtime/eval-tail-parser.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a961bd58812da7b76a56b44aca0a1e10e8a6fba9f1b1a3fe6efd3fc2cbe67c5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): lib/video-export-app/timeline-deps.ts:128 \u00B7 lib/video-export-app/timeline-deps.ts:163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export-app/timeline-deps.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f4c4021ed1b31d647b45c85ca51029d54725b73451b139ec0822b80089058f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/core/geometry.ts:120 \u00B7 packages/@openmaic/editor/src/react/core/geometry.ts:143 \u2014 both copies are in the same file, so extract the block 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/@openmaic/editor/src/react/core/geometry.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef441b2c1915c6069f9c8a0aafd36c98df45873e7053f51f9b729ef69bd21571"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): packages/@openmaic/generation/src/pbl/planner-core.ts:356 \u00B7 packages/@openmaic/generation/src/pbl/planner-single-call.ts:264 \u2014 the two spans are one implementation copied and then locally edited \u2014 125 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/@openmaic/generation/src/pbl/planner-core.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf44f9ee17c4bccb40e8da938046b1794360bfa377fedbf323ac6bc1fefbc31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/Layout.ts:159 \u00B7 packages/@openmaic/importer/src/model/Master.ts:50 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Layout.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3802ae8b2c52650ceba02f73bd52d6dacfb1669d499d3a8426063f86a409121"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/borderMapper.ts:16 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:404 \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/@openmaic/importer/src/serializer/borderMapper.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e1c11c5e0d0904c0d5910c4b22cd0a864adc90922a7322a5cc4e880acfa8f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:469 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:497 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:524 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:558 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"3841a8bbe70a9512c97aab1e3b306675eb5b8280c624a212b2da4601028df30c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:3782 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3813 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3782}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3643fdac7f037681370d181e49a7c2a88a5da1da3b464f4fcfca5cee3cf70e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:5270 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5408 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceddd39e3ccd7002cbd54a9d3aad10f37b1d7da6cce88f2fe9a31cc9fc338a9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/@openmaic/renderer/src/elements/chart/BaseChartElement.tsx:13 \u00B7 packages/@openmaic/renderer/src/elements/table/BaseTableElement.tsx:15 \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/@openmaic/renderer/src/elements/chart/BaseChartElement.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"097fc11efa37782664ee0b5c0a0bb2571ab2c169292aad3a64087b8c7914baf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): components/edit/PlaybackChromeRoot.tsx:1625 \u00B7 components/roundtable/index.tsx:526 \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/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5ea8af75e76a1e65b378c4c724f62bcafa61a8938ae01715ea29b797e9ceea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/completion.tsx:239 \u00B7 components/scene-renderers/pbl/v2/completion.tsx:329 \u2014 both copies are in the same file, so extract the block 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/scene-renderers/pbl/v2/completion.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a666cf27228bb936c191e3f5da6551ce3a3ec9da70d43f5a17225ec819aed78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): components/slide-renderer/components/element/ChartElement/BaseChartElement.tsx:7 \u00B7 components/slide-renderer/components/element/TableElement/BaseTableElement.tsx:6 \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":"components/slide-renderer/components/element/ChartElement/BaseChartElement.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b6845eb7c807a30e209976cec6624485ee6d7246d3f4dcf289bdb8cce59790"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): lib/edit/slide-edit-elements.ts:126 \u00B7 packages/@openmaic/editor/src/ui/adapters/defaultElements.ts:112 \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/edit/slide-edit-elements.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"df63df902ed44c9d1fa32d22b571c03d5b2392707cd9769753e0ace4e19352db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): lib/media/adapters/glm-image-adapter.ts:64 \u00B7 lib/media/adapters/grok-image-adapter.ts:58 \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":"lib/media/adapters/glm-image-adapter.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"236be869465e966b0bc1765fa4c286d602f2325875ed3e0ed998d239e1823657"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): lib/media/adapters/lemonade-image-adapter.ts:74 \u00B7 lib/media/adapters/openai-image-adapter.ts:83 \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/media/adapters/lemonade-image-adapter.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc5497e514466077b011edb2d9ad21073a012fa3ef6399484909f7e5206b9bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): lib/persistence/owner-materials.ts:942 \u00B7 packages/@openmaic/storage/src/document/pg.ts:645 \u2014 the two spans are one implementation copied and then locally edited \u2014 233 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/persistence/owner-materials.ts"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"c681658f0d5dcf0a1863eb2ec5c5f733204c90a4d546e9aff765669ce3cec7e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): lib/prosemirror/commands/replaceText.ts:4 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/commands/replaceText.ts:4 \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":"lib/prosemirror/commands/replaceText.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f466e9173e78b4cb5f926253c2f22b2fee324f960b1cb090eeef32bb94b6f0ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): lib/server/agent-runtime/session-materials.ts:70 \u00B7 lib/server/agent-runtime/store.ts:134 \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":"lib/server/agent-runtime/session-materials.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3400f9549d4a47fd3016ae09db3a615974d24120725587ad36ba2dcf406cc261"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): lib/server/capped-stream.ts:25 \u00B7 render-service/src/capped-stream.ts:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/capped-stream.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc17a9826f373d596d1b9f91af84dcf5c9c2472d003ff0737fdbb87ed9d67849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): lib/web-fetch/providers/deepseek.ts:123 \u00B7 lib/web-fetch/providers/firecrawl.ts:82 \u00B7 lib/web-fetch/providers/kimi.ts:117 \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":"lib/web-fetch/providers/deepseek.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6755b099cd20a544a24954310a8b102700779173cd3812c6eb437f0bbda4378c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:812 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:848 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"729da3941ca07f982ee6501df9a5ba548ba608f14e9933fd55f9b7d05c439344"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:948 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:995 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"e866ec631b85f5e90b45ae334fdae78d02aff96cc6ba62de06d8a208f26f0dc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:5812 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6003 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5812}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92dd661cb6b01634f29e7f09552a17afb3fccba26860cd852cd6e41f847da4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/http.ts:193 \u00B7 packages/@openmaic/storage/src/document/pg.ts:558 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/http.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc13a722944a0b2cf1c37cab6720c5d396b2a6b1b2893633adeba0b34f19144a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/@openmaic/storage/src/kv/http.ts:149 \u00B7 packages/@openmaic/storage/src/runtime/http.ts:127 \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/@openmaic/storage/src/kv/http.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4137b9124521865d04f9b9cbe86fd983ffd57472ab02e2d87a95202dde7ad7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/browser.ts:371 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:515 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"80733095a3ad49824cac1edda0cb28c794642ca22114c7d9494a09349ae5398e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/@openmaic/storage/src/server/asset.ts:528 \u00B7 packages/@openmaic/storage/src/server/document.ts:302 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6842801600d118115173871e212da6fc627bd0b509fbb37ab9bd78ef499ed6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): components/chat/use-chat-sessions.ts:1617 \u00B7 components/chat/use-chat-sessions.ts:1935 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/use-chat-sessions.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"e610b1391c88af2cdc171742c4195481e7b7695f7c76bd40c346c8a1d2f6e1c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts:273 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useDragLineElement.ts:233 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 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":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfff50e9b05c13dce44fc2576be2f0db3cfdc40e03393a6e022c993851051e67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): components/slide-renderer/components/element/ChartElement/Chart.tsx:48 \u00B7 packages/@openmaic/renderer/src/elements/chart/Chart.tsx: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":"components/slide-renderer/components/element/ChartElement/Chart.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9091640ad39af836495b5e88703d57c1f4c66ac4e72e515941a8c3635c64833"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/useClipImage.ts:9 \u00B7 packages/@openmaic/renderer/src/elements/image/useClipImage.ts:5 \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/slide-renderer/components/element/ImageElement/useClipImage.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"664c91568884e9f4a7203d4925ee49b24406766794fb6ca7fc8bacfc38bbbbb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): lib/audio/voxcpm-voices.ts:236 \u00B7 lib/audio/voxcpm-voices.ts:351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/voxcpm-voices.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9dcfbafb7dcda367e91e2a1045c40e49607fe665b4fba483341dbda5949d0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): lib/config/official-endpoints.ts:75 \u00B7 lib/server/alidocmind-endpoint.ts:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/config/official-endpoints.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e66a12b99e1fd86df35517051fa21dbe9a6b06d8993521487ba1e0920a8535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): lib/media/adapters/grok-image-adapter.ts:68 \u00B7 lib/media/adapters/qwen-image-adapter.ts:58 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/grok-image-adapter.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e0efd08aaf40234ccc45dda9055f44be6c5ad8416bfceac488e796a381ac71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): lib/pbl/v2/runtime/hydration.ts:190 \u00B7 lib/pbl/v2/runtime/hydration.ts:243 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/runtime/hydration.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb4d30a05d6332138a53fae20facf884be7124ebb27ff12d60f62b6c1f41222"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx:49 \u00B7 packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx:46 \u00B7 packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx:43 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b213367023e1a0322c88bda081530054470e6dcd720ffcfa01b55eb3fab5e465"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/element/ElementToolbarOverlay.tsx:41 \u00B7 packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx:60 \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/@openmaic/editor/src/ui/element/ElementToolbarOverlay.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0debfc453e2cce8db1bff1b901cc364afc2fdf237a29dcc6bcd9a7a257820d43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/backgroundSerializer.ts:101 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:521 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/backgroundSerializer.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9a76652c8c1f60c65dbde017bb6519794c0174102a90f781bb9c3665dc20b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:1439 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1548 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1622 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb41d428e005c099f99d8c516d35887b6623a48cea23e8ffa1e153229b73bf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:6427 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6452 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6427}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea286a8ef485dee7996f2c38032d2abfa16b2c47eab39f8060a940e2c1576cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): app/api/model-config/import/route.ts:34 \u00B7 app/api/model-config/route.ts:73 \u2014 the two spans are one implementation copied and then locally edited \u2014 122 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":"app/api/model-config/import/route.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35ae322c06977f9978a0bdc25be4572af724d024387239b151508a948db836f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): app/api/pbl/v3/route.ts:37 \u00B7 lib/server/pbl-v3/runtime.ts:250 \u2014 the two spans are one implementation copied and then locally edited \u2014 117 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":"app/api/pbl/v3/route.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ebddfda47f4124e1b0da7876479c7c08261b4312c06e87ecfbe46f73d70197"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): components/ai-elements/artifact.tsx:93 \u00B7 components/ai-elements/message.tsx:67 \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/ai-elements/artifact.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72bf1befd20fdb1e4583706d41224a8f0786b5faf11fc332989038eae4639da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useRotateElement.ts:99 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:658 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 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":"components/slide-renderer/Editor/Canvas/hooks/useRotateElement.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc16124fe8c568ddd24987e293a8e80ccc897dc4c8dff8ec8dc7f4a676889f75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): components/slide-renderer/components/element/ChartElement/chartOption.ts:168 \u00B7 packages/@openmaic/renderer/src/elements/chart/chartOption.ts:245 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9529913b5fceedf2ed84c4fa36187a36e94728569df568a23d0393219be1f424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): lib/document/bundle.ts:162 \u00B7 packages/@openmaic/generation/src/outline-formatters.ts:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document/bundle.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2c9a65288f72ea5cddc011a25170f4c48ea26665c3b0480324cdba2734124b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): lib/pbl/v2/agents/simulator.ts:437 \u00B7 lib/pbl/v2/agents/simulator.ts:620 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/v2/agents/simulator.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a63675ef105f7e9434f6b869feeaa5570e89f97edac8f42d8ad8478eae7094"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): lib/server/agent-runtime/course-edit/apply.ts:284 \u00B7 lib/server/agent-runtime/course-edit/apply.ts:659 \u2014 both copies are in the same file, so extract the block 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":"lib/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f15f5b822ba942a742fcbf72e56b1fba2ef493d6fe51a9038610c1daaf1df33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): lib/workbench/course-ref-send-result.ts:12 \u00B7 lib/workbench/element-ref-send-result.ts:9 \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":"lib/workbench/course-ref-send-result.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ce28f57f2a629d0b48247538571eb35277fc04fae3a5e3860f493490633ba3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/@openmaic/generation/src/outline-formatters.ts:5 \u00B7 packages/@openmaic/generation/src/prompt-formatters.ts:80 \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/@openmaic/generation/src/outline-formatters.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b48821ca0010990ec933872d65ee2b664feb74a9c54cd5f0183f82636d1e716"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/borderMapper.ts:43 \u00B7 packages/@openmaic/importer/src/serializer/tableSerializer.ts:37 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/borderMapper.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9bd8fad4ec4508d895d349dd56b74b7a70fc2f8f479d6690b367fd38504033"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/imageSerializer.ts:170 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:701 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea2d62915fa73707db80568ae12bc4ada52e781c88ab8db0e46bc5f6953e225"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:656 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:676 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe2f5259730c03fcc69cb09c1f7730936977143f35c7da9decc6fab00e63672"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:920 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1360 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1740d7a1dcd4e7106719d6ccfaefaa096b223aaf474f37ccdd9844ad8c33619"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/browser.ts:377 \u00B7 packages/@openmaic/storage/src/document/browser.ts:403 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"001444254b9f72139826b64a71ebc7cb950e9cfdf6e4b9e3aa94bba90ac5f752"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/browser.ts:103 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:227 \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/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"692b68cd7a5c047c1be909d394be7b46eaeb6f60d306d15a77397b509b9f0459"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/@openmaic/storage/src/server/document.ts:296 \u00B7 packages/@openmaic/storage/src/server/index.ts:381 \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/@openmaic/storage/src/server/document.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c35f8594f20b22d81dba9dd62d1a5357a471ac3e0ce6c75818579daacb940b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/ai-elements/message.tsx:211 \u00B7 components/ai-elements/message.tsx:233 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/ai-elements/message.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1001842ffaa05357f2e0f25fa7c5a2fc43c904c9b79cc7ebbe3322bc0c0603"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6 locations): components/ai-elements/open-in-chat.tsx:219 \u00B7 components/ai-elements/open-in-chat.tsx:239 \u00B7 components/ai-elements/open-in-chat.tsx:259 \u00B7 components/ai-elements/open-in-chat.tsx:279 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/open-in-chat.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe26d98a36c092257cf29908915f45af927e9e7833e0bea88cb992b7de3e5da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/settings/sandbox-settings.tsx:137 \u00B7 components/settings/sandbox-settings.tsx:176 \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":"components/settings/sandbox-settings.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cfa0afd9d7eb69aabd91c58e0cc62a34b06fae3b79455bf8e4b0e495abec8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/ImageOutline/image-ellipse-outline.tsx:21 \u00B7 packages/@openmaic/renderer/src/elements/image/ImageOutline.tsx:56 \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":"components/slide-renderer/components/element/ImageElement/ImageOutline/image-ellipse-outline.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dcd42508e08fea430c9ec9dfebc23724fdb50d4382050cfed94d7fa95508fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/ImageOutline/image-rect-outline.tsx:22 \u00B7 packages/@openmaic/renderer/src/elements/image/ImageOutline.tsx:24 \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":"components/slide-renderer/components/element/ImageElement/ImageOutline/image-rect-outline.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d4f38284c40ccb59083594032abd61bb2649ff82772f1a57dcd8fa0403617c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/ui/alert-dialog.tsx:135 \u00B7 components/ui/alert-dialog.tsx:153 \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":"components/ui/alert-dialog.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39e2dc1d4c491c972dc846c2bd6d6b7bb654b15ffd5191efc8325b4d8f9f4fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/ui/context-menu.tsx:140 \u00B7 components/ui/context-menu.tsx:164 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/context-menu.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"532048d906b110bf648c7a25e5a24a39df440c7cfb78b30a24d7548432511315"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/ui/select.tsx:137 \u00B7 components/ui/select.tsx:155 \u2014 both copies are in the same file, so extract the block 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":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca2362f1a11a79177e4260d5cb76091e7f25e76527150db8a7d080df4ee80c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): lib/audio/asr-providers.ts:241 \u00B7 lib/audio/asr-providers.ts:368 \u2014 both copies are in the same file, so extract the block 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":"lib/audio/asr-providers.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4e9effeb4351c36f4b034fb8b5242f3e86d2a83ab62fcc23c4b3001a3ffb35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): lib/chat/pi/element-reference.ts:537 \u00B7 lib/chat/pi/element-reference.ts:1024 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/chat/pi/element-reference.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b318e81ea92c05a76386b487c10f747530b3ed26f6a0da4d53a3b45dbbd2af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): lib/chat/pi/element-reference.ts:1273 \u00B7 lib/chat/pi/element-reference.ts:1299 \u2014 both copies are in the same file, so extract the block 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":"lib/chat/pi/element-reference.ts"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e4d283abfaaccf23e9236d032ca4f74daa4c9e0444910c23ce09408fbd6b51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): lib/playback/engine.ts:301 \u00B7 lib/playback/engine.ts:625 \u2014 the two spans are one implementation copied and then locally edited \u2014 123 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/playback/engine.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d2b748e96ebfe2e72ecfa5dfea349ef88a014cd3b79dbc00d94cabfe803f27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): lib/server/generation/run/engine.ts:1342 \u00B7 lib/server/generation/run/engine.ts:1397 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/engine.ts"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"39134caa620f9f83207e5ffabebbe60dfac7378a73a8d05f46f0d91f17568967"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): lib/server/generation/steps/outline.ts:286 \u00B7 packages/@openmaic/generation/src/outline-generator.ts:189 \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":"lib/server/generation/steps/outline.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b0a56a8b873db74928ac743717cd17904c0b49f3517939cb62ae5914667a3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): lib/server/provider-config.ts:924 \u00B7 lib/server/provider-config.ts:974 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/provider-config.ts"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eec67103af8f56bc4c749134ea746a48c6d87fc9fd11299da324ffc99646eed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/element/ImageToolbarOverlay.tsx:86 \u00B7 packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx:174 \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/@openmaic/editor/src/ui/element/ImageToolbarOverlay.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2387abbcb00b4a141c3188746fde4df9db7138cfa3f14f11cb88b49dd6916933"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:837 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:931 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/task-completion.ts:135 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5a104e1186d65b46d03d8208ca128d2bc801477767cbd95b0be741f0763eff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/tableSerializer.ts:354 \u00B7 packages/@openmaic/importer/src/serializer/tableSerializer.ts:465 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd05f2bbd5915a79d805a938098158a8c4e28d10d4260f263595eb37855e1c93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:156 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3496 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3517 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9e238eac6c9c54d6f0b26bdb10270a7a1979c658396503e093119bb4d4aa1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/@openmaic/renderer/src/elements/latex/BaseLatexElement.tsx:11 \u00B7 packages/@openmaic/renderer/src/elements/text/BaseTextElement.tsx:50 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/latex/BaseLatexElement.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9ca5f8769c6159e32dde3d4e88bcf53b37adde38da2740d14e0c099ea146ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): packages/@openmaic/storage/src/asset/http.ts:693 \u00B7 packages/@openmaic/storage/src/asset/http.ts:762 \u2014 the two spans are one implementation copied and then locally edited \u2014 105 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b71cec299469a766ccc8156cd1ce5502034f3315d9f0fe3103b3208798663b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): render-service/src/render-executor.ts:199 \u00B7 render-service/src/render-executor.ts:289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/render-executor.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76444ce46160abcb4a9692a049b633ae39245a2c308d8883e7af3efbdd5d8f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): app/api/generate/voice/route.ts:56 \u00B7 lib/audio/qwen-voice-clone.ts:194 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/generate/voice/route.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"126e05dee9d6c3290f68b1a7ac38596d5209cb9ac37a92d3fafe549f9f7e1d38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): app/page.tsx:218 \u00B7 components/stage.tsx:67 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"185306ff8c747358bbdb1147a15c7c20debb3f6ec7d2995c6c0fb29c53468582"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): components/agent/agent-bar.tsx:279 \u00B7 components/agent/agent-bar.tsx:545 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/agent/agent-bar.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb12d40ceb297817ab84157f98949b8c6ce9faf384ffd3e10e1d9d405308b17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): components/edit/surfaces/slide/LinePresetPicker.tsx:31 \u00B7 packages/@openmaic/editor/src/ui/insert/LineInsertPicker.tsx:99 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/slide/LinePresetPicker.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3673475224909bce65d046461009a0c21f06ae042daa1bbb08f1468d899d8215"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/eval-cards/task-evaluation-card.tsx:69 \u00B7 components/scene-renderers/pbl/v2/eval-cards/task-evaluation-card.tsx:86 \u2014 both copies are in the same file, so extract the block 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/scene-renderers/pbl/v2/eval-cards/task-evaluation-card.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"006ba743f6ff07b77e9e12b9fb10aba87fd2dea9c7e386dfae9eb46149f8da77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/Operate/MultiSelectOperate.tsx:71 \u00B7 components/slide-renderer/Editor/Canvas/Operate/TextElementOperate.tsx:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 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":"components/slide-renderer/Editor/Canvas/Operate/MultiSelectOperate.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"838b369c94f2891ca5f0649e919d153b57293bef3e74412bc042c88009688c47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useInsertFromCreateSelection.ts:20 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useInsertFromCreateSelection.ts:45 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/Editor/Canvas/hooks/useInsertFromCreateSelection.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"909994527e4d73ebd5137851b99903276c4ae119a1d37da81cc41aaf5c4bda08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): components/slide-renderer/components/element/ShapeElement/index.tsx:26 \u00B7 packages/@openmaic/renderer/src/elements/shape/BaseShapeElement.tsx:25 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ac448e85d206fe7fa19cc7c33ded32217dfd01591d14fe37fa3a33f1f8ae0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): lib/export/inline-assets.ts:183 \u00B7 lib/pdf/pdf-providers.ts:591 \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":"lib/export/inline-assets.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5859825ad8430d65cfcca5c3d7ffef3764954e8d90e82afad44d1f53e2869461"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): lib/orchestration/summarizers/whiteboard-ledger.ts:168 \u00B7 lib/orchestration/summarizers/whiteboard-ledger.ts:201 \u2014 the two spans are one implementation copied and then locally edited \u2014 130 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/orchestration/summarizers/whiteboard-ledger.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37dacd7c05f70cb7c90523ebe97c5b8f435dd25d0b19e0cce2220b2a051395c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): lib/pdf/alidocmind-client.ts:23 \u00B7 lib/pdf/mineru-cloud.ts:78 \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":"lib/pdf/alidocmind-client.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12cda6bc6a10b3677d0cb41c24a153196185b51821344faf24f199bc93f319a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): lib/persistence/material-library.ts:192 \u00B7 lib/persistence/material-library.ts:239 \u2014 the two spans are one implementation copied and then locally edited \u2014 133 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/persistence/material-library.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9be838ad7dec8f9ea1c6e5e23b27e5cdad4d8fe1bd7b1bf9be338ce9eabf9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): lib/persistence/plain-json.ts:41 \u00B7 lib/persistence/plain-json.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 96 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/persistence/plain-json.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01d7a53e381a8f18702febfc5c5a369633e31b4c6cbae31092fc0529806ec95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): lib/server/agent-runtime/entry-tree-storage.ts:274 \u00B7 packages/@openmaic/storage/src/agent-session/pg.ts:1839 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/entry-tree-storage.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb56107e0cb541ebae034b87bf9f3c3f66c087ff7c5b4d2a5f15f277953eb2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): lib/server/agent-runtime/user-skill-store.ts:37 \u00B7 packages/@openmaic/storage/src/server/reference.ts:67 \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":"lib/server/agent-runtime/user-skill-store.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"942660ece588435e5d5a692252b5f57ca90120ae3a4265748cb3a9410b326153"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx:795 \u00B7 packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx:828 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d084220c9079782ba70d5ff94e982140e20f12d656ed92e33039756d83d412"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/Layout.ts:28 \u00B7 packages/@openmaic/importer/src/model/Master.ts:20 \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/@openmaic/importer/src/model/Layout.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e420230bef7deb279fa9ed1a296043769c04db1bce3e59278eaa990c6c14b45a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/backgroundSerializer.ts:182 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:478 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/backgroundSerializer.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea2a2c132864e571df646ad8fa908025ae1203762220636cfda3b1e9f1d2724"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:4065 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4098 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4065}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce3f44c6b234a253b589f78aee20d3b3c64ac506e655afdc3f75f97f6f36980"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:4555 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4573 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4555}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e05e181d2f8d2213eab8d90daf3b506b5ebf55e300bb9648268752ed24118f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:6257 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6257}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0184bad3eea350a9e3e66fae1e8bd18d91555acb954e664d0175e496bea1f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/@openmaic/renderer/src/elements/chart/chartOption.ts:273 \u00B7 packages/@openmaic/renderer/src/elements/chart/chartOption.ts:294 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/chart/chartOption.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a9451f99622222fe4b3796e914d20f23888b9970cda3f477aa20c5ea78d51b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/api/stage-meta/[stageId]/route.ts:74 \u00B7 app/api/stages/[id]/publish/route.ts:62 \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/stage-meta/[stageId]/route.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbff5dd94a99e8feb0e81820a76f9b248480a14af389b568ac8ce06ad6d96a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/generation-preview/page.tsx:369 \u00B7 app/generation-preview/page.tsx:454 \u2014 both copies are in the same file, so extract the block 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/generation-preview/page.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fa4004a848c880799584c630d0fe0ab7080da07b68ec53a58953d4fbbd8b62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/agent/agent-bar.tsx:84 \u00B7 components/agent/agent-bar.tsx:363 \u2014 both copies are in the same file, so extract the block 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/agent/agent-bar.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2119aabdf276807b0209ab157cc96f58ba039a43e45f9aa3b33cd16add84dd01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/generation/outlines-editor.tsx:1351 \u00B7 components/generation/outlines-editor.tsx:1367 \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":"components/generation/outlines-editor.tsx"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"01af10a9a1ac95e841970348011e41e27bdda1589ee13309e7cb971a537b03dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/generation/step-visualizers.tsx:163 \u00B7 components/generation/step-visualizers.tsx:324 \u2014 both copies are in the same file, so extract the block 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/generation/step-visualizers.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3a4374d2dacc4ac503f8d55ceb5a87b50c2135feaf7889ab5ebfb54ed12b41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/submission.tsx:155 \u00B7 components/scene-renderers/pbl/v2/use-instructor-stream.ts:389 \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/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1131393b65299070f8d2fdeaa3fbee82b143a07af3d7e68e0d0f6fe14cdd633f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/slide-renderer/SlideThumbnail.tsx:110 \u00B7 components/slide-renderer/SlideThumbnail.tsx:185 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/SlideThumbnail.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ba233e72aa9253ce38e8c3631ecb35cba7b9135677b60a53438918b648757e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/useClipImage.ts:35 \u00B7 packages/@openmaic/renderer/src/elements/image/useClipImage.ts:26 \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/slide-renderer/components/element/ImageElement/useClipImage.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"30143aa96eee0f4ad34ea04cd2bd3b38224c9fb9949f70b150f4a9452db307fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/stage/header-controls.tsx:346 \u00B7 components/stage/header-controls.tsx:377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/header-controls.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"064e632305f3db732f1ac3be382a6fc25870cb5d2ee53dc2ceb83ab1a183dbab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/stage/header-controls.tsx:365 \u00B7 components/stage/header-controls.tsx:407 \u2014 both copies are in the same file, so extract the block 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/stage/header-controls.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d4c694ce23f7b92c530f0f5c050d6cc1dac20e134a49d9d9bed30164c24d27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/ui/button-group.tsx:24 \u00B7 components/ui/field.tsx:69 \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":"components/ui/button-group.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e56a4269327ee5e3957f3fdcb47bfaee298b97afc09fc1d0dd3bed53458b10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/api/stage-api-canvas.ts:30 \u00B7 lib/api/stage-api-canvas.ts:73 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-canvas.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"df013fc33ac4148def78d8cc6ff4481205fbd1d573c59177177ba70a5b04c2ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): lib/api/stage-api-element.ts:148 \u00B7 lib/api/stage-api-element.ts:245 \u00B7 lib/api/stage-api-element.ts:356 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-element.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6649aaf9e12073674c5ff9bbd97b2642320eb2477c41828d43c236ca2214e8e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/audio/tts-providers.ts:368 \u00B7 lib/audio/tts-providers.ts:907 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/audio/tts-providers.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"df66769fb7974298533dfd1d52618047f2dc58d759fc23678b3a4d00956c3617"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/classroom/load-classroom.ts:353 \u00B7 lib/store/media-generation.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":"lib/classroom/load-classroom.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3af91e3590b9a4ae86cb517c57522c12f96c50f0a0648ba8a0ea55743c63b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/prosemirror/plugins/placeholder.ts:9 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/plugins/placeholder.ts:9 \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":"lib/prosemirror/plugins/placeholder.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6d190c572da3514a1b0c89245dfb5ebf5a9fefe62da7dfa9922f41e48abacc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/server/agents/store.ts:163 \u00B7 lib/server/agents/store.ts:182 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/agents/store.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73a37654905a4efef60c7f25248512578543cdeed2d79bc3fa42099cb4262f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/server/generation/steps/outline.ts:177 \u00B7 packages/@openmaic/generation/src/json-repair.ts:122 \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/server/generation/steps/outline.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce750c9f746daf2072bab66045342bfcbf323893451b1fb2f578e24fad6b1a67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/video-export/geometry.ts:31 \u00B7 packages/@openmaic/renderer/src/utils/geometry.ts:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/geometry.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c5c9e8de8ce88718c459a4df7ff13de6caa76b25ca152c489cf972f9375623"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): packages/@openmaic/editor/src/react/useEditGesture.ts:316 \u00B7 packages/@openmaic/editor/src/react/useLineHandleGesture.ts:135 \u00B7 packages/@openmaic/editor/src/react/useMarqueeGesture.ts:185 \u00B7 packages/@openmaic/editor/src/react/useRotateGesture.ts:162 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useEditGesture.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5aedafbcc5411b021c7e39bdd1b28d45a9dfdf83fb2ec3b05aee2b9b4703bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/StyleResolver.ts:508 \u00B7 packages/@openmaic/importer/src/serializer/StyleResolver.ts:717 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9030d5cd3c9ec498d4110eaee3770ab86a1229e37f5e763761fc29ca9094ff45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/shapeSerializer.ts:962 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:1054 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"156af6c7f898f660e1ad1e7eb0c884b482b8d88488fcecbceeb5d36002a34b05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:878 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:914 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"414f8e85aa1156f694224fde2e02ae6869df4867797e96f875ef580f51788083"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/@openmaic/storage/src/agent-session/pg.ts:331 \u00B7 packages/@openmaic/storage/src/skill/pg.ts:98 \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/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7599c3e68321a68b0650a691781949075d0ec59830879dbacf889fb294360a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/@openmaic/storage/src/asset/http.ts:79 \u00B7 packages/@openmaic/storage/src/document/http.ts:214 \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/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e5bdef98dc5f6ff3b3b0f1b8f831a6ce7970289d4ce98275ffa6f0554f0149"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): app/api/agent/owner-events/route.ts:257 \u00B7 app/api/agent/sessions/[id]/events/route.ts:233 \u00B7 lib/server/generation/run/sse.ts:146 \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/api/agent/owner-events/route.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16a1bb4c3b607bbb300f588900563b92cdd151a798a0fd6c2bf2d30a6096595"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): app/api/materials/[id]/route.ts:62 \u00B7 app/api/materials/route.ts:123 \u2014 the two spans are one implementation copied and then locally edited \u2014 134 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":"app/api/materials/[id]/route.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd39549dc380b0cf39c950739e2ec0db373a812b7d15101e8fdeb5aa0415eb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/api/pbl/v2/evaluate/route.ts:51 \u00B7 app/api/pbl/v2/simulator/route.ts:31 \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/pbl/v2/evaluate/route.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"770ee25f5c45685fc799ccd8d95ba4b27c29f735375e30019897997497b23cfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): app/page.tsx:470 \u00B7 components/workbench/workspace/WorkspaceRail.tsx:334 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d2c9786290d3dd84d6044d788cfc76b09f7b4ed2662d132799b769f60efb98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/ai-elements/chain-of-thought.tsx:12 \u00B7 components/ai-elements/web-preview.tsx:15 \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/ai-elements/chain-of-thought.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"159af21e83f1753376d411cdee3e84e7d11243dc15b704478dd1583eb55b1606"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/edit/surfaces/slide/ZOrderButtons.tsx:20 \u00B7 components/edit/surfaces/slide/ZOrderButtons.tsx:34 \u2014 both copies are in the same file, so extract the block 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/edit/surfaces/slide/ZOrderButtons.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7471bc401ac531f50a625d1f5f73c88bcd8ede78d7f7da7ddf2fa83ab6d6a209"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/generation/outlines-editor.tsx:1207 \u00B7 components/generation/outlines-editor.tsx:1330 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/generation/outlines-editor.tsx"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98084ab9d4c7a0b296d16e326aaba3d943dbd761edded797f9e0e47f8a2c885"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/roundtable/index.tsx:905 \u00B7 components/roundtable/index.tsx:1458 \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":"components/roundtable/index.tsx"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab16d298641f3adf271836d9eb72d1f094d24387e989c24fdc5c147f21017976"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/roundtable/presentation-speech-overlay.tsx:145 \u00B7 components/roundtable/presentation-speech-overlay.tsx:221 \u2014 both copies are in the same file, so extract the block 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/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"551cab4bd71938fe6792785d636f9f5d608ef132b7e72136726b5698ba0293a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): components/scene-renderers/pbl/v2/chat.tsx:216 \u00B7 components/scene-renderers/pbl/v2/workspace.tsx:146 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 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":"components/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe404c6255a1137842824375e5482560c15cf9b0408f5c5ab6d9d1021d7c0730"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/completion.tsx:216 \u00B7 components/scene-renderers/pbl/v2/completion.tsx:316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/completion.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98b978e65b00c40e7eb5f76c0dcd8c2445a9dcc2645650e0f533d0d81bef087"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/slide-renderer/SlideThumbnail.tsx:270 \u00B7 components/slide-renderer/SlideThumbnail.tsx:285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/SlideThumbnail.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1dd70ad2e069ca58174e58761d33edf13abe0e285ab2c795ba9dffd2ead035"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/BaseImageElement.tsx:123 \u00B7 components/slide-renderer/components/element/ImageElement/index.tsx:207 \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":"components/slide-renderer/components/element/ImageElement/BaseImageElement.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5a96f73a13a512a568df45b2112a2134da594d6221bd8bbc1d95753a5c9f1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/ImageOutline/image-polygon-outline.tsx:27 \u00B7 packages/@openmaic/renderer/src/elements/image/ImageOutline.tsx: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":"components/slide-renderer/components/element/ImageElement/ImageOutline/image-polygon-outline.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2071aa199d2ad429eb5a56e520e627643241284a7770e936b942ff03fa0da0ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6 locations): components/ui/avatar.tsx:20 \u00B7 components/ui/command.tsx:87 \u00B7 components/ui/command.tsx:116 \u00B7 components/ui/context-menu.tsx:189 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/avatar.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"da023b774728f67efade653967564fd30b53034803f111b91dc6b3c66ab269de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/workbench/compose-extras.tsx:335 \u00B7 lib/hooks/use-agent-runtime-available.ts:23 \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/workbench/compose-extras.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e30b744b06fac892f1b1eda0a681dae3c7788f2a712cbd5e50a5cf1e8ea4c2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): eval/orchestration/answer-content-runner.ts:413 \u00B7 eval/outline-language/runner.ts:45 \u00B7 eval/whiteboard-layout/runner.ts:43 \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":"eval/orchestration/answer-content-runner.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dbfae116deb599ed25a3ab0b1245bdd77100e047d5acbc02373b70fc41235a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): lib/api/stage-api-whiteboard.ts:167 \u00B7 lib/api/stage-api-whiteboard.ts:195 \u00B7 lib/api/stage-api-whiteboard.ts:223 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-whiteboard.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48cb2f472f30a3c560129dd5b6e8d94c31101199968ad551337a09ef7d80c06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/buffer/stream-buffer.ts:634 \u00B7 lib/buffer/stream-buffer.ts:693 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/buffer/stream-buffer.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b510c4c9c95dcad299288faff37677714b76ccc012c381b9f4ec48408fcf60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/document/extractors/local-media.ts:454 \u00B7 lib/server/agent-runtime/voice-clone-tools.ts:181 \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":"lib/document/extractors/local-media.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"3976452e8c75cc6b86d728460fb9058612df9f7a5bef8293e6aec6b92a71aca3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): lib/edit/contain-box.ts:8 \u00B7 lib/edit/contain-box.ts:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 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/edit/contain-box.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc936b901cd2a2148258a3aa8d919a111419a677faeedd53fb4924366845d491"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/pbl/v2/agents/instructor.ts:1556 \u00B7 lib/pbl/v2/agents/instructor.ts:1818 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/v2/agents/instructor.ts"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c220f716c8f8a08da3a59b690ccf6848a7e0de2acc1dbdfaad774c654942305"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/pbl/v2/agents/simulator.ts:117 \u00B7 lib/pbl/v2/agents/simulator.ts:198 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/v2/agents/simulator.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"78aa41e19588e48b7fa041723d91fab045be66657a09c22c6c398bbbdd67176d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): lib/pbl/v2/runtime/hydration.ts:336 \u00B7 lib/pbl/v2/runtime/persisted-scene.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/runtime/hydration.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f21eaee718ed433638de00c316471cb0d93f212f24778e139e744e1da72aced"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/pbl/v3/domain/orchestration/transition.ts:240 \u00B7 lib/pbl/v3/domain/orchestration/transition.ts:267 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a0c873408131229122a27a02bc3c37a7fb5384c6f8ede4bf8a45ec49a42d42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): lib/server/pbl-v3/report.ts:548 \u00B7 lib/server/pbl-v3/store.ts:503 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/report.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"01526474b95bd6954a4fc31b33a25c942034df6d42b4653897bb54285a68e5db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/standalone-player/PlaybackOverlays.tsx:58 \u00B7 lib/standalone-player/scenes/PblScene.tsx:97 \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":"lib/standalone-player/PlaybackOverlays.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"382e6bdf311762b1b70bc422bf4896e73cb366658efb93df12c73581bd413d4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/video-export/passes/geometry.ts:97 \u00B7 lib/video-export/passes/geometry.ts:115 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/video-export/passes/geometry.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"549ae059f7412c4b066af90a46ca8bdfe597e560bedea9dc86c66d0e0eeecae8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/web-fetch/providers/deepseek.ts:53 \u00B7 lib/web-fetch/providers/firecrawl.ts:31 \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":"lib/web-fetch/providers/deepseek.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"464b5e2fa8f1df55823d58e56d88f9f32b6b60a9e91ba5c41f2f992f473b66f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/dsl/src/validate.ts:175 \u00B7 packages/@openmaic/dsl/src/validate.ts:216 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/dsl/src/validate.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"de978b1cec0fcd2230a94cd91e187d241c545aa361f6fbd360626b4c3094f711"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx:24 \u00B7 packages/@openmaic/editor/src/ui/element/ElementToolbarOverlay.tsx:18 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c7082c8a72c309244b7e4eebad3f023e988a54599d773d8acf5f4a2de3deae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/element/ImageToolbarOverlay.tsx:53 \u00B7 packages/@openmaic/editor/src/ui/element/ImageToolbarOverlay.tsx:67 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/editor/src/ui/element/ImageToolbarOverlay.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"346401b9e5b36e5cbb35e05a5527508827c07ef2620f3bc12b2a1b6a02f46c10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx:105 \u00B7 packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx:119 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a091c6434dad2a53fcd5bdca79a77503b36a88a6f7e3eea343592c7ba73b285"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:133 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:530 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbeab6ff3f9361bb1134b9292258fc111bd9f21eeaac5f2cfefcb0bcf414be6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/Slide.ts:40 \u00B7 packages/@openmaic/importer/src/serializer/slideSerializer.ts:38 \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/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"160faa44cbb47f00a698bd49dead5ddf28f65e12700cbc75ac4687d8004fd4b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/shapeSerializer.ts:679 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:511 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5501b35518c4fd66f6a703874e6f0b9e3c0e4a82989510d8341b1aa8f4556d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:4602 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5004 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92dd7bd05208cfe4c0f14a21fd671559cf356481abe5717aaae6f57e0ce96d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/pg.ts:1550 \u00B7 packages/@openmaic/storage/src/document/pg.ts:1580 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/storage/src/document/pg.ts"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"479b8ceaa43a5d215483e5add6f51769343b2cdc78bceb16633ee2407f1ac367"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/@openmaic/storage/src/kv/http.ts:270 \u00B7 packages/@openmaic/storage/src/runtime/http.ts:193 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/kv/http.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"215513630e310decaa7fd56b8e2de82922be152a055f0d423adbbabc83cb608c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): app/api/pbl/v2/evaluate/route.ts:77 \u00B7 app/api/pbl/v2/instructor/route.ts:48 \u00B7 app/api/pbl/v2/open-task/route.ts:50 \u00B7 app/api/pbl/v2/simulator/route.ts:46 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/pbl/v2/evaluate/route.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7658246bb6feb5952397dbc895a9fdcbd508e4645aee2cb293b615ea08339c84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/chat/use-chat-sessions.ts:1346 \u00B7 components/chat/use-chat-sessions.ts:1502 \u2014 both copies are in the same file, so extract the block 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/use-chat-sessions.ts"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0162eb47128a360c762da3c36526f84ee540eb8ea3b349a42ff48ee5f5a89f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/edit/ActionsBar/ActionsBar.tsx:239 \u00B7 components/edit/ActionsBar/ActionsBar.tsx:252 \u2014 both copies are in the same file, so extract the block 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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"46075216a2a57fb7302fa727a013d447b1a92b495646c695cbac86b1cc4ae42b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/tool-activity.tsx:101 \u00B7 components/workbench/chat/tool-card.tsx:217 \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/scene-renderers/pbl/v3/tool-activity.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce60c1d42993a13dc225f8c586aa0dd6d2d1ea3ca34ac7b51469b713b16918eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/settings/model-edit-dialog.tsx:57 \u00B7 components/settings/provider-config-panel.tsx:96 \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/settings/model-edit-dialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d66317c9a0d31b8d9f318f9725df1b884a0556bceef4d634d45e778b42cb951"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/Operate/ResizeHandler.tsx:19 \u00B7 components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:446 \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":"components/slide-renderer/Editor/Canvas/Operate/ResizeHandler.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a34c4aa1a601e72b16ba2c6713e831c6b016dff9997d1a3c93a1f78cd495b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useViewportSize.ts:114 \u00B7 components/slide-renderer/components/element/TextElement/index.tsx:124 \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/slide-renderer/Editor/Canvas/hooks/useViewportSize.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f97002eb2b3a8f33574bf9f0ccfae2df85d03196da396f43b15a30565051e1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/slide-renderer/components/element/ChartElement/chartOption.ts:239 \u00B7 packages/@openmaic/renderer/src/elements/chart/chartOption.ts:291 \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/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f7ac56001235056197a7cb21974c46c165c2298ef730dedc8ada7d4ec7f376"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/index.tsx:196 \u00B7 components/slide-renderer/components/element/VideoElement/index.tsx:101 \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/slide-renderer/components/element/ImageElement/index.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"720924c70fcdd3a280cfbbe9e579014eb4bbf45d8195122f3ba41a6a550675f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/slide-renderer/components/element/ProsemirrorEditor.tsx:293 \u00B7 components/slide-renderer/components/element/ProsemirrorEditor.tsx:307 \u2014 both copies are in the same file, so extract the block 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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c634d9352c3d6610558ba27f1873cad3e6056d003979cd87a576f3693d8d3f86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/slide-renderer/components/element/ShapeElement/PatternDefs.tsx:6 \u00B7 packages/@openmaic/renderer/src/elements/shape/PatternDefs.tsx:6 \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":"components/slide-renderer/components/element/ShapeElement/PatternDefs.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10579bc2e7a61f06934d4bb4600c3b661954ab7c4632695e7d4ae98ca7d7f82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/slide-renderer/components/element/hooks/useElementOutline.ts:9 \u00B7 packages/@openmaic/renderer/src/elements/shared/useElementOutline.ts:4 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/hooks/useElementOutline.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d19273f797a2117813eb9be73758a4cab72603b9c87b1ff0a174a7d2238275"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/workbench/ProLaunchPanel.tsx:198 \u00B7 components/workbench/WorkbenchChat.tsx:563 \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/workbench/ProLaunchPanel.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae5691ddd5bf2222aacbe8c88b4e8f5281eb6f6c27eb960ba4c8fbffff0a7ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): components/workbench/WorkbenchChat.tsx:901 \u00B7 components/workbench/WorkbenchChat.tsx:926 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"components/workbench/WorkbenchChat.tsx"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd88c3b23f9e41b7abd9772ec7489cec866ba30410c6e9dc03b8fac9572ab56a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/workbench/workspace/WorkspaceRail.tsx:817 \u00B7 components/workbench/workspace/WorkspaceRail.tsx:936 \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":"components/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"7280f7b88a2655b537b8035a69d38c20db84eb1e9f640f7fb9391fc7616e9bcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): lib/action/engine.ts:505 \u00B7 lib/action/engine.ts:536 \u00B7 lib/action/engine.ts:702 \u00B7 lib/action/engine.ts:814 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/action/engine.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53e5a0137b386b342db82b691db93415948b85c01e38c547520df179ce67dad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/audio/tts-selection.ts:78 \u00B7 lib/server/generation/run/narration-voice.ts:69 \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":"lib/audio/tts-selection.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3d934ffc632aa5784cc850ed8f6f1175e2e443d6cd851b9a2cdae18c0a9f76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/audio/voice-registration-cache.ts:39 \u00B7 lib/media/proxy-media-cache.ts:312 \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":"lib/audio/voice-registration-cache.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbebe16cd8d0ba0108cd60c7e8ea6cf0aadcfca353f2293333759eb60e7a52c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/chat/pi/element-reference.ts:959 \u00B7 lib/chat/pi/element-reference.ts:1442 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/chat/pi/element-reference.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b71b8c6cfaa89d09cef13e3cf92f3fa684a8959e03c11f36573c2910823c0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/chat/pi/tools/call-agent.ts:218 \u00B7 lib/chat/pi/tools/classroom-actions.ts:235 \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":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31b5a15b1640560284526fdf76d33ad63a2cf8f3e2f2da6a5824943a0055ffb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/chat/pi/tools/native-whiteboard.ts:57 \u00B7 lib/chat/pi/tools/native-whiteboard.ts:150 \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":"lib/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93931272bcf49972d7ffa7de9c4779c39d17b36208534eb89bb77ce3fa90b8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/chat/pi/tools/native-whiteboard.ts:1096 \u00B7 lib/chat/pi/tools/native-whiteboard.ts:1153 \u2014 both copies are in the same file, so extract the block 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":"lib/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"417cef1c0448007674d1afafa4c6bf63ce79a67fb6fb701b626d01da00370b90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/document-store/migration.ts:506 \u00B7 lib/document-store/migration.ts:550 \u2014 both copies are in the same file, so extract the block 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":"lib/document-store/migration.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c0fabe67d1ef952179c69649e7d5b35c5694cdf0ff4f6f447cde06a97949f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): lib/edit/slide-defaults.ts:8 \u00B7 packages/@openmaic/generation/src/scene-builder.ts:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 88 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/edit/slide-defaults.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93154cb9d0e564684fce7d147f8f8a3ec5122041341fc73bfe2dca34952ab32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/export/standalone-html/build-standalone-html.ts:112 \u00B7 lib/export/standalone-html/build-standalone-html.ts:140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dc46ae66e8d63d7fed3763f08dad1a789d1ebd9dea898ede60d2ff0087d25c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/media/adapters/glm-image-adapter.ts:87 \u00B7 lib/media/adapters/openai-image-adapter.ts:70 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/glm-image-adapter.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6019bceca42ae45d5729ed77e93481b21584e7faae4482885755f515b2071306"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/media/adapters/grok-image-adapter.ts:95 \u00B7 lib/media/adapters/seedream-adapter.ts:111 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/grok-image-adapter.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc168139d03562520fd8fe6afc07d296f0f32df6b28a68b29ca41f509a9c29a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/media/adapters/minimax-video-adapter.ts:197 \u00B7 lib/media/adapters/minimax-video-adapter.ts:222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/minimax-video-adapter.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cfe971a17e308da24d65870ebc4ab8c789c0fca881f88a0bd846efc93356ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): lib/media/adapters/seedream-adapter.ts:69 \u00B7 lib/media/adapters/seedream-adapter.ts:95 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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/media/adapters/seedream-adapter.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2d0dec2869e32929834eb71ebc883ff80445bdaf032980fea94dd1c10acaeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/playback/derived-state.ts:147 \u00B7 lib/playback/derived-state.ts:165 \u2014 both copies are in the same file, so extract the block 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":"lib/playback/derived-state.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8f64bad7c9331d8bfa22b6bd7ecc9493f73b4a034b11976d5b522c913add55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/server/agent-runtime/curriculum-tools.ts:457 \u00B7 lib/server/agent-runtime/curriculum-tools.ts:548 \u2014 both copies are in the same file, so extract the block 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":"lib/server/agent-runtime/curriculum-tools.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"200253b28745aa3fd931a8ddc4b41cfad75d907ceee53c9d77327e0177cad396"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/server/generation/run/engine.ts:1449 \u00B7 lib/server/generation/run/engine.ts:1570 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/generation/run/engine.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"68974127b3304d30407570f3f9a7784ee054168d295c6bd4fd661faed94b7b1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): lib/server/generation/run/engine.ts:1132 \u00B7 lib/server/generation/run/engine.ts:1469 \u2014 the two spans are one implementation copied and then locally edited \u2014 113 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/server/generation/run/engine.ts"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfef704490baf6a48cc1d6d7659940e4d7059f707e89df6bc82a11f8d8b2fbba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): lib/utils/geometry.ts:13 \u00B7 lib/video-export/geometry.ts:31 \u00B7 packages/@openmaic/renderer/src/utils/geometry.ts:19 \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":"lib/utils/geometry.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"11de1bc3d77adc5c13c7bfc5885200521a9b2def570c0461e36e0103b815e97b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/video-export-app/use-download-subtitles.ts:56 \u00B7 lib/video-export-app/use-export-video.ts:65 \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/video-export-app/use-download-subtitles.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d2e7e5b5fa1fe152cea4e41f0abfca36ee085f40a250e5f07607eeb464c73d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/workbench/element-refs.ts:370 \u00B7 lib/workbench/element-refs.ts:393 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/workbench/element-refs.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa8667103131bacb2f89586c342897fcd106f7041f8708e19c34b0220ce1fd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx:217 \u00B7 packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx:242 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/editor/src/react/EditableSlideCanvas.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9ae140020a4ca6258a80440a326a099a9f3bce3effed1d29cb2ee774af84fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/useShapeKeypointGesture.ts:173 \u00B7 packages/@openmaic/editor/src/react/useTextCreateGesture.ts:114 \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/@openmaic/editor/src/react/useShapeKeypointGesture.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2652fa007509fc792d461a4f7472a3f4dbf5a29c9ae3e90d1ce0d901715538"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/adapters/audio.tsx:51 \u00B7 packages/@openmaic/editor/src/ui/adapters/video.tsx:57 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/adapters/audio.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f930da407f6468916e3cbee9b5b554a84406c336c4193fccba83f44453ef35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/element/ElementToolbarOverlay.tsx:40 \u00B7 packages/@openmaic/editor/src/ui/line/LineToolbarOverlay.tsx:40 \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/@openmaic/editor/src/ui/element/ElementToolbarOverlay.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"058903539fff08327c42daf2c2f0f5ccd8e9c02b865fa39d3d75b638f62fa6b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx:137 \u00B7 packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx:208 \u2014 both copies are in the same file, so extract the block 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/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94e9b3e7e6694765bc71f03abd33f5d51446b3ee9c2baa017c2d997825dd85e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/nodes/MathNode.ts:34 \u00B7 packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:74 \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/@openmaic/importer/src/model/nodes/MathNode.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8969923a65e39b05ae11e99928335aff87ed8213c5962d181ea67a05ad5c83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/textSerializer.ts:390 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:405 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff1ca218cfe40eb8ed60dd446ed107f93bcb7c455acc195a649bddf96a37220"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:2620 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4869 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5131 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5530 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2620}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f6b3c216b499f02a6e991f17be1a7bb83cfc911f229a803196529c719eb402"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:2636 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4887 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5e9efada6f0e41287c5429e4a172e7a0061193926c9f86f706cd4638c12ff3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:3319 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3455 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3319}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12c05ccf74e0feb7ca5f2aea87f5f1a8e405384dd1c9550c35d55c535fd22da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/@openmaic/renderer/src/elements/image/BaseImageElement.tsx:93 \u00B7 packages/@openmaic/renderer/src/elements/latex/BaseLatexElement.tsx:11 \u00B7 packages/@openmaic/renderer/src/elements/text/BaseTextElement.tsx:50 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/image/BaseImageElement.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d782c1e7d99c71773e3fca39b0536a5105a5dba50ddb62a0c92680d634c4864"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/@openmaic/renderer/src/elements/image/ImageOutline.tsx:18 \u00B7 packages/@openmaic/renderer/src/elements/image/ImageOutline.tsx:50 \u00B7 packages/@openmaic/renderer/src/elements/image/ImageOutline.tsx:83 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/image/ImageOutline.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"832902eb5c725de8ce6616224dffc4e5708ba94a51365ba7d9a77e45ffb51446"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/storage/src/agent-session/pg.ts:644 \u00B7 packages/@openmaic/storage/src/agent-session/pg.ts:709 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bdd03856d342c638587ed88f512488c9dbb59a897bec467867b05348a25e3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/pg.ts:928 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:313 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/pg.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"db91e4d08ba62b292b5322f61d2b8cc96ef6979aef4924f4535d736870eba6b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/pg.ts:615 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:658 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/storage/src/runtime/pg.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d5cbe12c0109b3bc0656dca4d9b3e60c378f8e544639c5965f6573d9c9007d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/storage/src/server/document.ts:105 \u00B7 packages/@openmaic/storage/src/server/index.ts:156 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/document.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"64da3c9e65b163730bc37500fb90262472a989ac79e45572f7b02c0181e61acb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/@openmaic/storage/src/server/document.ts:338 \u00B7 packages/@openmaic/storage/src/server/index.ts:449 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/document.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"7189148b138b1d92cffa09385bc0a86ac4b43197bd70f38ecfa6b36dd1b07a5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/api/generate/voice/route.ts:273 \u00B7 app/api/transcription/route.ts:96 \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/generate/voice/route.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb9d294b28e48bc7c64dd9a8ba7d3a4f78b8d93e398d8eb992a355f146e2c95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/api/generation-runs/[id]/confirm-outline/route.ts:32 \u00B7 app/api/generation-runs/[id]/hold-outline/route.ts:28 \u00B7 app/api/generation-runs/[id]/retry/route.ts:36 \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/api/generation-runs/[id]/confirm-outline/route.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3f7002ad16627bd9bf533d67e2b174c3c92d9f9c6487ffc4b8fedc0077ca4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): app/api/materials/route.ts:448 \u00B7 lib/pdf/mineru-cloud.ts:174 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/materials/route.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afb21465dbd6f6beb742259cc8c3939fbd721632bf8d8c86bd06fb2e27a5aa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): app/api/pbl/v2/evaluate/route.ts:53 \u00B7 app/api/pbl/v2/instructor/route.ts:34 \u00B7 app/api/pbl/v2/open-task/route.ts:36 \u00B7 app/api/pbl/v2/simulator/route.ts:35 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/pbl/v2/evaluate/route.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5679936c7251f13d4dbc356446390ab861c092dfab8500063acfb666fe2f438e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): app/api/pbl/v3/activity/route.ts:4 \u00B7 app/api/pbl/v3/onboarding/route.ts:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/pbl/v3/activity/route.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"513c349da25f0f71e174751472801093dba2f4a1639640f4642d199289a000f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/api/stages/[id]/route.ts:90 \u00B7 app/api/stages/route.ts:83 \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/stages/[id]/route.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9089adb4256ef55a08a23237e9b7d7d8f7d786705dcfe49ce0da45e72f27c313"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/page.tsx:446 \u00B7 lib/hooks/use-home-discovery.tsx:234 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf646e273187f76a228d905c7a0c950c3cc4ba23734ea88c3eb8fea2bb640d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/ai-elements/inline-citation.tsx:105 \u00B7 components/ai-elements/queue.tsx:218 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/inline-citation.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eca8df78ccfa81adcf9ab168820bd7ac98cbdeff6d12b64fc8d381bd8726d0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): components/chat/chat-area.tsx:250 \u00B7 components/scene-renderers/pbl/v2/workspace.tsx:323 \u00B7 components/stage/scene-sidebar.tsx:82 \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":"components/chat/chat-area.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa0b05cfc059047e50a79b94b6e669c35c297e3036f2e09f5e0b8997008d3f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/generation/outlines-editor.tsx:1019 \u00B7 components/generation/outlines-editor.tsx:1230 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/generation/outlines-editor.tsx"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31bb8447ca0e4103cefbc1780163ba4da4c9a8ac96928f9c81861d89e102261"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/roundtable/index.tsx:998 \u00B7 components/roundtable/index.tsx:1532 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/roundtable/index.tsx"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5bd504dd8251763e270cbbf8ca6175e594724983f15292b5194e35fc1ace5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/chat.tsx:1025 \u00B7 components/scene-renderers/pbl/v2/chat.tsx:1040 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b57f476df5f2a41179b93531b71c1a44c946d3b59d1e926ecb496c2f09d0bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): components/scene-renderers/pbl/v2/submission.tsx:585 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:845 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:939 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/task-completion.ts:143 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"340969d3ed7a983430dd8c0078c0f84e851c0096b3134aace35d096cd5bcfdd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/scene-renderers/quiz-view.tsx:968 \u00B7 components/scene-renderers/quiz-view.tsx:1075 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/scene-renderers/quiz-view.tsx"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d276ec793df3df97ad30da2c2353736ccea086caebc2e9f927cb6818da7b70b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/scene-renderers/quiz-view.tsx:1067 \u00B7 components/scene-renderers/quiz-view.tsx:1092 \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":"components/scene-renderers/quiz-view.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc11fdac8f0293bf2672121adcc8c8ede1e1b9783839a15f7452103ec3939a59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/settings/model-services.tsx:182 \u00B7 components/settings/provider-list.tsx:85 \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/settings/model-services.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86df267cd26dfb02d7faf8de11c05caad6bb880f1728c253f2cd7e59674084e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/interaction-elements.ts:5 \u00B7 packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/interaction-elements.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e3b1e7f76a155866e30ad2f0ee86ec4bf188f60b5e8b18bc09a41fdee4de98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:362 \u00B7 components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:384 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"8717fc09f4c172f321c3fae3345744ab921395fb78a90af545aa6f35086005a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/slide-renderer/components/element/ProsemirrorEditor.tsx:237 \u00B7 components/slide-renderer/components/element/ProsemirrorEditor.tsx:249 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9717c9f3d195193c998a0cd2c97ebfca6010ffbbfb3396b15783d12eaa7bf1c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/ui/field.tsx:67 \u00B7 components/ui/input-group.tsx:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/field.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5572912fa99f8ecb656c93882b070347d86a6b987388cd87c25d1ca9322b82d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/workbench/workspace/MaterialLibraryPage.tsx:1909 \u00B7 components/workbench/workspace/MaterialLibraryPage.tsx:1930 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10794648b7bd9d2afef2fb36e206f4fc6ef2989d6047c92f481dc7196db401f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/workbench/workspace/WorkspaceRail.tsx:691 \u00B7 components/workbench/workspace/WorkspaceRail.tsx:703 \u2014 both copies are in the same file, so extract the block 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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14c30a6222755129c18c057083dc4e841921cc1b6bc56c6a4c08aa810971c08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): components/workbench/workspace/WorkspaceRail.tsx:2420 \u00B7 lib/quiz/persistence.ts:61 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"07299b68d49b1a8f292f078ec66c5062c1bc15f5d82a99f36fc5392bde8bf374"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6 locations): lib/api/stage-api-element.ts:28 \u00B7 lib/api/stage-api-element.ts:142 \u00B7 lib/api/stage-api-element.ts:190 \u00B7 lib/api/stage-api-element.ts:239 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-element.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"504c91a9494c0ea5726880da376ea5050a17ecc2a0aef18fb281b94a640a5628"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/api/stage-api-navigation.ts:37 \u00B7 lib/api/stage-api-navigation.ts:64 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/api/stage-api-navigation.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bb934d87ef466088467a53bf0337f649a8cf6d1ee1d6986e3154c1fc7d5257"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/audio/voice-registration-client.ts:42 \u00B7 lib/audio/voxcpm-voices.ts:51 \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":"lib/audio/voice-registration-client.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c4e6579b494393d0763e751cc6398ea3676f5a916671f758086727d4778e0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/buffer/stream-buffer.ts:431 \u00B7 lib/buffer/stream-buffer.ts:449 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/buffer/stream-buffer.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b6c6324227d434fadef88174b1da81497e872ec0afaa62ac4aadf03cbed592"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): lib/edit/slide-ops.ts:204 \u00B7 lib/edit/slide-ops.ts:217 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/edit/slide-ops.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a8bdf87b6190aecdc105c037d4392e57e30878041630069973812e8246a5e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/export/use-export-pptx.ts:416 \u00B7 lib/video-export-app/collect.ts:148 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"966fe1628c0c41efd19e475820925e6ca0af7f76f3efd183b5bdd09be2cf0cd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): lib/generation-run-client/use-course-materials.ts:374 \u00B7 lib/generation-run-client/use-course-materials.ts:406 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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/generation-run-client/use-course-materials.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fce31885f244fb1e5ad66f1150681fcc9c7a3469a69ebb7b60ef9f9fe8545c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/hooks/use-canvas-operations.ts:306 \u00B7 lib/hooks/use-canvas-operations.ts:324 \u2014 both copies are in the same file, so extract the block 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":"lib/hooks/use-canvas-operations.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f03fab1950d0f11a05505f36db8be557675c49d375821e9c8d10d97a117d0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/media/adapters/minimax-video-adapter.ts:166 \u00B7 lib/media/adapters/minimax-video-adapter.ts:230 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/media/adapters/minimax-video-adapter.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4d7795bfed1eb812ad878233bbcd239745f1655b70b253aa08cce1de67ab32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): lib/pbl/v2/agents/planner.ts:728 \u00B7 packages/@openmaic/generation/src/pbl/planner-core.ts:323 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/planner.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3efcf5f76083deb63ed1f7ec78fefa9051a4c25c8ae19a181ced16ca3f01539"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/pbl/v2/agents/simulator.ts:459 \u00B7 lib/pbl/v2/agents/simulator.ts:583 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/v2/agents/simulator.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b1e2d70e44ef034cc1fcde99cbaaa8ee93aa1effe4d53f9f49e39cfe844028"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/pbl/v2/runtime/drain.ts:79 \u00B7 lib/utils/chat-storage-lock.ts:93 \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":"lib/pbl/v2/runtime/drain.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ef39e6b20ba1abe4725cd145a2dbf63da3b9f2fd1682b6631742a69413b88e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/pdf/mineru-cloud.ts:520 \u00B7 scripts/probe-mineru-cloud.mjs:50 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/mineru-cloud.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79569d1ecbf30c8bedefcfab02cd81840640af9b3e4984242dfefab095fc43d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/persistence/legacy-import-bindings.ts:70 \u00B7 lib/persistence/owner-merges.ts:167 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/legacy-import-bindings.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6f790becf3d09e2f4689b3343d4d323702ff55ae967c3af99cb674482b0833"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/persistence/owner-materials.ts:854 \u00B7 lib/server/agents/store.ts:102 \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/persistence/owner-materials.ts"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"9785d636fbf4c7b7bd429654d81d8d9c43505d1ba6c13d066d799af1e207f7fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/server/agent-runtime/course-edit/tools.ts:217 \u00B7 lib/server/agent-runtime/generation-tools.ts:680 \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/server/agent-runtime/course-edit/tools.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd62183dc09468327ae27e0fe3aa9e03770197bda1e33edf1ccd2c276becbd0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): lib/server/agent-runtime/dsl-tools.ts:542 \u00B7 lib/server/agent-runtime/dsl-tools.ts:916 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 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/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f786f68c37bdbffd98deea9e10d3d300f27499869ea05569169a7ef71eba2cb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/server/agent-runtime/material-library-tools.ts:216 \u00B7 lib/server/agent-runtime/material-library-tools.ts:324 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/agent-runtime/material-library-tools.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6774de3a304e6103d8a032cb073e9800fc7eb17fb3f76447bcbad5ce9e6dcdea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/server/agent-runtime/runner.ts:2315 \u00B7 lib/server/agent-runtime/runner.ts:2352 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":2315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3417266fe1034dc0ad36d74a07cd4814085a16acdbf3e1b817bf446b0747ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): lib/server/material-extraction/extract.ts:299 \u00B7 lib/server/material-extraction/owner-extraction.ts:493 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/extract.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"406636aa81eeb902e56b297fb29753830c00cd2c56d502bcef8921d43d5a18fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/server/pbl-v3/compilation.ts:92 \u00B7 lib/server/pbl-v3/compilation.ts:105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/compilation.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"371d80c4745e22437b1979738922cba31caf9eb97632925ca8b79741a29976b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/web-search/deepseek-endpoint.ts:2 \u00B7 lib/web-search/firecrawl-endpoint.ts:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/deepseek-endpoint.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48981c42f927a673083d599f7ae6500af740da6837ebb97329b048cbbeb4868"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): lib/workbench/course-refs.ts:118 \u00B7 lib/workbench/course-refs.ts:130 \u00B7 lib/workbench/element-refs.ts:406 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/course-refs.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aec229b017e6ea2ff7958a47858ec5e1da2a109a38357279a5cbd077effe015"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx:103 \u00B7 packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx:95 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b99885820d14992f3a4f7f7feed14b8c7e5b613b7734d779787bd7102f5d180"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/@openmaic/generation/src/scene-generator.ts:1790 \u00B7 packages/@openmaic/generation/src/scene-generator.ts:1820 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcfb3875b31b424eef6ae0ebb9f0be09e5ac16268e6c741e4cadf0458541f09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/@openmaic/generation/src/scene-generator.ts:1834 \u00B7 packages/@openmaic/generation/src/scene-generator.ts:1906 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"42274b29a608fc866546b8076e02e2b2101ff115d9a633cd018048a3fca6188e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/@openmaic/importer/src/serializer/shapeSerializer.ts:789 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:963 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:1055 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e007fa345c73645931d6c720b872e5f7d72d4f48814836660fc3d62b4a663a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:3863 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3887 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3863}}}],"partialFingerprints":{"codehealthFindingId/v1":"95caafc2aa90414e3c562c2b480ddba7727d2b01786b0da27403ef55cf51003c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:3980 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3993 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4008 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3980}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ab57b031b717ee3b56466cbd332f4b91dee72a47a6fc23425f5b53e7124df5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:4222 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4253 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4280 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd680dcb8fa2aef90b33422f2a7dd9a594b701f82ed82eb5f4c7cfdb0743580"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/pg.ts:536 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:221 \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/@openmaic/storage/src/document/pg.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ed8a8626330cf8131215c4cff146f1721186cf29eaa9d49a1bf626f647a5b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/@openmaic/storage/src/document/pg.ts:729 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:281 \u00B7 packages/@openmaic/storage/src/skill/pg.ts:240 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/pg.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b401ddce62e04f2c555b4620bdd61d6c4aebe42152eeaddbea6ce097bfa84a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/@openmaic/storage/src/kv/browser.ts:55 \u00B7 packages/@openmaic/storage/src/kv/http.ts:329 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/kv/browser.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3e3fa9d576d156a47bd5ff9bae1d74ad4ef980bc4fae91d39d02d61af705e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/@openmaic/storage/src/kv/http.ts:62 \u00B7 packages/@openmaic/storage/src/runtime/http.ts:51 \u2014 the 2 copies are spread across 2 files, and each CITED SPAN is a SPECIALISATION DECLARATION \u2014 a type whose \u0060extends\u0060 clause names a base and whose body hands that base its own values through \u0060super(\u2026)\u0060. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the \u0060super(\u2026)\u0060 call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row \u2014 there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base \u2014 a type argument, a service, an alias, a cache \u2014 the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/kv/http.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"813cfae60e159b801aa3c6e3e783fc856367bc973158fb5ab0ef17382d5cca45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/@openmaic/storage/src/server/document.ts:461 \u00B7 packages/@openmaic/storage/src/server/index.ts:732 \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/@openmaic/storage/src/server/document.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f02759d7b00bdacb38de13813125d4103c3bb64e596c2187a04751860a4c6ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/api/generation-runs/[id]/hold-outline/route.ts:44 \u00B7 app/api/generation-runs/[id]/route.ts:83 \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/generation-runs/[id]/hold-outline/route.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c9ad146473a4a0793fe0b82654cd288d1a680ff6b87e6007a86b388ea3cf63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/api/materials/[id]/extraction/route.ts:26 \u00B7 app/api/materials/[id]/route.ts:126 \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/materials/[id]/extraction/route.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecf67042c2a272991213a3d3ef7d7ea9f1e8117fbc2a2c320c2b6e2f6e2790e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): app/api/materials/route.ts:447 \u00B7 packages/@openmaic/storage/src/server/asset.ts:251 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/materials/route.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3a2dd8138abbcc2b1946199ad9ccfd1e75775c9cf8ca39cc930c6585e76d40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/page.tsx:1688 \u00B7 components/roundtable/index.tsx:222 \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/page.tsx"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc450f1877219f0e69be876418c57679a6db858577e5f8a28bbc2f81d2aaa2ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): components/ai-elements/chain-of-thought.tsx:13 \u00B7 components/ai-elements/confirmation.tsx:39 \u00B7 components/ai-elements/context.tsx:23 \u00B7 components/ai-elements/message.tsx:94 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/chain-of-thought.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b5315372547817a59fea438397f4b81625c3273d9bfebc2a0addea053733ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/chat/use-chat-sessions.ts:1315 \u00B7 components/chat/use-chat-sessions.ts:1897 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/use-chat-sessions.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1a3f95bb0c9c237a62a9071f3f912b2d70cbc1e5ed7cc1e9abef63687b9630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/chat/use-chat-sessions.ts:1826 \u00B7 components/chat/use-chat-sessions.ts:1947 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/use-chat-sessions.ts"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0dfec4d50844613566128096945732be5a80c8e1b53c5622c44d0793c261f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/edit/EditShell/HeaderHistoryControls.tsx:18 \u00B7 components/edit/EditShell/HeaderHistoryControls.tsx:29 \u2014 both copies are in the same file, so extract the block 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/edit/EditShell/HeaderHistoryControls.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"55591513bd4b67d7b28aaf806f08fcaf3fbe623c8ebd5a02397dc3b0a3650083"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/generation/outlines-editor.tsx:1182 \u00B7 components/generation/outlines-editor.tsx:1301 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/outlines-editor.tsx"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab089f946251eb2657177814eb444c6dca1b31efddfc390e4aa1901bb1b7fc6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/request.ts:10 \u00B7 components/scene-renderers/pbl/v3/workbench-panel.tsx:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/request.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"230074fd01e5f8e727abaf619d01e7beff25be0f8bca6be25b2fe8547ef83c21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/tool-activity.tsx:87 \u00B7 components/workbench/chat/thinking-block.tsx:59 \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":"components/scene-renderers/pbl/v3/tool-activity.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0c95996e9495d6dc58b9b888351036390e2e8448deecfc3482afb6d9a878b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/workspace.tsx:537 \u00B7 components/scene-renderers/pbl/v3/workspace.tsx:548 \u2014 both copies are in the same file, so extract the block 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/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff9ac67fbeb0d60305fdfd27625c6b3645a875e0682f59314d1a70cc49118c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/settings/service-display.ts:68 \u00B7 components/settings/service-display.ts:79 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/settings/service-display.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"88657d193bf3d07b465932e55670b6a69207640493cc046f69ca02878c395d32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useMoveShapeKeypoint.ts:101 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:516 \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/slide-renderer/Editor/Canvas/hooks/useMoveShapeKeypoint.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"545e595ecaef97b881a788be3dcb3eebd84584b3160e2415fa4e59b20c057a1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:268 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:285 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a7ac325d67cb54b14f437c561a35071b0c1021ae530348fd3bfdf7dccb2d61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/slide-renderer/Editor/RendererScreenCanvas.tsx:259 \u00B7 components/slide-renderer/Editor/RendererScreenCanvas.tsx:281 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/Editor/RendererScreenCanvas.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e99346bf88cdbc876672d95245a0745c0c5ea622901dd788dca31be71e4cb5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/slide-renderer/components/element/ChartElement/chartOption.ts:361 \u00B7 packages/@openmaic/renderer/src/elements/chart/chartOption.ts:375 \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":"components/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3f3b509268439eee7f8b697c7f5f9140428b71c109df42cf34f647b45a120b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): components/slide-renderer/components/element/ImageElement/BaseImageElement.tsx:44 \u00B7 components/slide-renderer/components/element/LatexElement/BaseLatexElement.tsx:15 \u00B7 components/slide-renderer/components/element/TextElement/BaseTextElement.tsx:24 \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":"components/slide-renderer/components/element/ImageElement/BaseImageElement.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"13996959774b85c79f9d0c327605635fb1383028e19eb3ab6f2722d934dc6b46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:225 \u00B7 components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:414 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"720be51871f85e0a40d90738eb2aad4cfae9caea7246823d02c83f1242e82c5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:543 \u00B7 components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:558 \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":"components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"08697151b104370ce5fa83a0e6fbb69148f6bb18546fb7e2cb85f898d1a850fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx:38 \u00B7 components/slide-renderer/components/element/VideoElement/index.tsx:29 \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/slide-renderer/components/element/VideoElement/BaseVideoElement.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5924b6152f796958f111d22379850fb9d9e7cb45437f15c2b07375811a15d154"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/workbench/ProLaunchPanel.tsx:431 \u00B7 components/workbench/WorkbenchChat.tsx:1238 \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/workbench/ProLaunchPanel.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"561e752cff30541e441dcf340c4f2abdda8966ceb8082a7acd97547f11808292"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/workbench/workspace/WorkspaceRail.tsx:1487 \u00B7 components/workbench/workspace/WorkspaceRail.tsx:1659 \u2014 both copies are in the same file, so extract the block 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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09e955da7d2183228a7f56a075ff6c89142cc1de3e990b01267c36fed44af61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/workbench/workspace/WorkspaceRail.tsx:1518 \u00B7 components/workbench/workspace/WorkspaceRail.tsx:1689 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cfadbdd1930514898197602f220992c9156cd4db937273e72221c2631e6afa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/action/engine.ts:564 \u00B7 lib/action/engine.ts:665 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/action/engine.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f941e69da29c233e6633fc207d3cf409a6ce869920228591bae6abed89ea7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/agent/runtime/run-native-child.ts:134 \u00B7 lib/chat/pi/tools/native-spotlight.ts:38 \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/agent/runtime/run-native-child.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a945c14edb3a66b6939869ac659689a005d559c2548f227023ec5405c6cdc72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/agent/runtime/tool-timeout.ts:175 \u00B7 lib/server/agent-runtime/import-pptx.ts:298 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/agent/runtime/tool-timeout.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2666629cf487c070afd9b343618e01f0ad496d4d1c65ec847f73bc00855364eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/api/stage-api-canvas.ts:214 \u00B7 lib/api/stage-api-canvas.ts:292 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/api/stage-api-canvas.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26b87ccd1dcd3096609f9f24c294364e746df7754cde235f1d8ad5c6b7b438f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/api/stage-api-whiteboard.ts:191 \u00B7 lib/api/stage-api-whiteboard.ts:219 \u2014 both copies are in the same file, so extract the block 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":"lib/api/stage-api-whiteboard.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9318a01eb58480f210cd3900dc075c4039c9e92f7a2b6cf5c491c821f4bde3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/audio/pcm-wav.ts:13 \u00B7 lib/standalone-player/playback/media-ports.ts:24 \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/audio/pcm-wav.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e6b0b52bf0623eaab61adf02066135570946c936432d47f535780c439c1189"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/audio/qwen-voice-clone.ts:236 \u00B7 lib/audio/qwen-voice-clone.ts:436 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/audio/qwen-voice-clone.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0893869cb049ae6608acc8b329150345f819da930e2576aec071b33c46629a02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/audio/tts-providers.ts:420 \u00B7 lib/audio/tts-providers.ts:1209 \u2014 both copies are in the same file, so extract the block 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":"lib/audio/tts-providers.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5754a886d25315f2b6acc21d0fe84183445faaf652ccc6c8853a5f0fc36c13c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/chat/pi/tools/call-agent.ts:183 \u00B7 lib/chat/pi/tools/call-agent.ts:195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d333fad0851553b33d8d78707eb1de29cc1cf9f3d113bd5e2b998525c8a8de40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/document/extractors/media.ts:8 \u00B7 lib/document/extractors/pdf.ts:11 \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":"lib/document/extractors/media.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"201712b6b2c695f87779b75ddbadbd00dbd3e41375c19806d731fec79d1d4729"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/export/inline-assets-importmap.ts:101 \u00B7 lib/export/inline-assets-importmap.ts:130 \u2014 the two spans are one implementation copied and then locally edited \u2014 93 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/export/inline-assets-importmap.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8c22a71b4ac74d9b769c5ab9bbb0803243c1c2fbee72573a68234af2817eff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/export/use-export-pptx.ts:155 \u00B7 lib/export/use-export-pptx.ts:166 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/export/use-export-pptx.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42c12be22d76767bc3721badeea6d5564031d7de74393ebefd9b40bfdfef803"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/legacy-browser-import/course.ts:518 \u00B7 lib/legacy-browser-import/folders.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/course.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d972ce6fe21e81747db48760d19153424bd9051cf37ba7f8593f3e0a2509b82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): lib/media/adapters/happyhorse-adapter.ts:118 \u00B7 lib/media/adapters/nano-banana-adapter.ts:124 \u00B7 lib/media/adapters/qwen-image-adapter.ts:97 \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":"lib/media/adapters/happyhorse-adapter.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4635da3d7464335ae78feb9b5d0a215eb863d2fb5f52cc4741fd2152f55c24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): lib/media/adapters/lemonade-image-adapter.ts:41 \u00B7 lib/media/adapters/minimax-image-adapter.ts:111 \u00B7 lib/media/adapters/minimax-video-adapter.ts:359 \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":"lib/media/adapters/lemonade-image-adapter.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3af49d0e3bf2f8ab40d144147db1c553029e80a6b55dcc051ae8ad7d0c281e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/media/bounded-download.ts:89 \u00B7 lib/pdf/mineru-cloud.ts:171 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/bounded-download.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aabb98a08e41cec8ef2551b1b2dac192f19472299b898d86096692f761116f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/media/generated-media-references.ts:98 \u00B7 lib/media/generated-media-references.ts:112 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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/media/generated-media-references.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf5ca2cc0e9799f84da0e7be6adf0e6646c9f22a6eeb9be01feb4145df625a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/media/media-orchestrator.ts:727 \u00B7 lib/media/media-orchestrator.ts:767 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/media/media-orchestrator.ts"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebde63b21adebdcd4bf95371244201d82310f693f90d57e0d0d9ed25d914acd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/media/polled-task.ts:54 \u00B7 lib/server/materials/extraction.ts:911 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/polled-task.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce5dddba1d69b4368683a555caebdc3bae4df3d4de974d138ba5e99b01237c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): lib/pbl/v2/types.ts:629 \u00B7 lib/video-export/legacy/read.ts:43 \u00B7 packages/@openmaic/generation/src/pbl/types.ts:629 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/types.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b012751bcf351e6828e3953dfee9875711bb3784e04e4258747fbbdf02d1cf37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/pbl/v3/domain/orchestration/transition.ts:110 \u00B7 lib/pbl/v3/domain/orchestration/transition.ts:178 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"411c059dc0d86d8581dcc169c75c18039dc59bc6dba9f830201189dd29b8955c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/persistence/asset-pending-ttl.ts:27 \u00B7 lib/persistence/owner-lock-waits.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/asset-pending-ttl.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa98ea7fbeeb0ee55c17b0d6fd21230daf2e019011e09161165a2d730eaf7fde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/persistence/library.ts:75 \u00B7 packages/@openmaic/storage/src/document/pg.ts:1378 \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":"lib/persistence/library.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a72ff047502539699c466bcc8f10dd0ff9db5c0bed38dcaf43252d1b23b9c9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/playback/engine.ts:337 \u00B7 lib/playback/engine.ts:519 \u2014 both copies are in the same file, so extract the block 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":"lib/playback/engine.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"c627961fabd478d7a78b8b1f18eb81dd0f5c390756313f1962135ffa2d49ade3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/runtime/store.ts:50 \u00B7 lib/utils/chat-storage-lock.ts:95 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/runtime/store.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9573ef6f67ccf714c0e1c50878e5e9c6cdef5de24fa5d3bcd3ddafdc324a010f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/server/agent-runtime/curriculum-tools.ts:360 \u00B7 lib/server/agent-runtime/curriculum-tools.ts:443 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/agent-runtime/curriculum-tools.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5ad7f30edcea52f078ab4f74a5ef155259d576296593afd46ddb60d52617ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/server/agent-runtime/dsl-tools.ts:778 \u00B7 lib/server/agent-runtime/dsl-tools.ts:810 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ebfff97ae39bf6914af44c477a35ff2f477d332d1077c903d7e36438634022"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/server/agent-runtime/dsl-tools.ts:995 \u00B7 lib/server/agent-runtime/material-tools.ts:353 \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":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"2560ba8ee13633b3d3d27d1075c286a92569e6b85892c55a2a3e1c1e04fd19e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/server/agent-runtime/import-pptx.ts:357 \u00B7 lib/server/agent-runtime/material-library-tools.ts:91 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/import-pptx.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a75617db73e4382fab0f81745946ea243c818ce095901091be1c3f8144e7d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/server/agent-runtime/runner.ts:119 \u00B7 lib/server/agent-runtime/tool-call-integrity.ts:24 \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/server/agent-runtime/runner.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb97cb5adb1ec9f7b0c454d5255d51edabca9e39551cd174ba917869f6d28ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/server/agent-runtime/user-skills.ts:46 \u00B7 packages/@openmaic/storage/src/skill/pg.ts:261 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/user-skills.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aabfe996faeaab1c785a37da78a2bcf67b29227d3eeecbfc0d03c9e7f7c664d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/server/generation/run/engine.ts:1743 \u00B7 lib/server/generation/run/engine.ts:1850 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/engine.ts"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b867c8e4a3991fe6b057c0af77134a196e44ed91a6a7530b8e3c1f406f784e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/server/generation/run/store.ts:872 \u00B7 lib/server/generation/run/store.ts:1026 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/generation/run/store.ts"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac170f798789e20aafe39af8140981748f0d58493c8dfd2e1b015861471ccd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/store/snapshot.ts:125 \u00B7 lib/store/snapshot.ts:150 \u2014 both copies are in the same file, so extract the block 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":"lib/store/snapshot.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fd6b530c970784625a6515c2b0dc4fd7cbbca8ce71acad6ef42985903d4a8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): lib/video-export-app/collect.ts:86 \u00B7 lib/video-export-app/timeline-deps.ts:132 \u00B7 lib/video-export-app/timeline-deps.ts:167 \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":"lib/video-export-app/collect.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3af2a8eb70dda60a5019e7b0f58b19601eca29eb96da7fdf27bbd1f559478b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/web-search/baidu.ts:189 \u00B7 lib/web-search/kimi.ts:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/baidu.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8accd21b25effc85965aa2cffe7cda6cf18ff5aaff92bdb95dd1a30466c7fa3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): lib/web-search/bocha.ts:43 \u00B7 lib/web-search/doubao.ts:63 \u00B7 lib/web-search/minimax.ts:80 \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":"lib/web-search/bocha.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c74d4f9b23148557022a5684c7dfb463ad019337d0f79a0cb31e3329ededb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/dsl/src/normalize.ts:128 \u00B7 packages/@openmaic/dsl/src/normalize.ts:145 \u2014 both copies are in the same file, so extract the block 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/@openmaic/dsl/src/normalize.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32d0eaad11ec7e1d17736ea2a3c88b4fea859725cb9781bb3d33713dbaf3550"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/@openmaic/editor/src/react/useLineCreateGesture.ts:105 \u00B7 packages/@openmaic/editor/src/react/useShapeKeypointGesture.ts:173 \u00B7 packages/@openmaic/editor/src/react/useTextCreateGesture.ts:114 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useLineCreateGesture.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5dc90f3f1b770146b360a0c5f9d2c51337f48f1835e39b21f22c2fde96c311"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/@openmaic/editor/src/ui/adapters/audio.tsx:28 \u00B7 packages/@openmaic/editor/src/ui/adapters/insert.tsx:101 \u00B7 packages/@openmaic/editor/src/ui/adapters/video.tsx:28 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/adapters/audio.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"215ef435003e886d46fbc3e0a82391db13d862e9aa4127bb3b9f3dccec1cf73b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/adapters/image.tsx:18 \u00B7 packages/@openmaic/editor/src/ui/adapters/video.tsx:49 \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/@openmaic/editor/src/ui/adapters/image.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e9f7faf7dcfd97ea266d2c82b5a6b3c738f09818b8332c197cd1e8b094dca0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:246 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:257 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"378d4a0d967773695a541817e5140e4c267e323d871ae927c6c66bc74c93b31b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:459 \u00B7 packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:853 \u00B7 packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:1127 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36f9b5cf2c54ac93a634a4b24345ae09e0b1a63bc3ed0a8e7e1b97a5fac89e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/StyleResolver.ts:304 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:516 \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/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d9320769f66c82c5d33edd3801d98ef698cf701cf6c1464948cbc5c2717feb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/@openmaic/importer/src/serializer/shapeSerializer.ts:148 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:167 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:186 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d302634743667cd4a32f21d082d23c6d92b98fbb1294d6f3a489219afa08f4c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:289 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1136 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2162 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2225 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8230f67b1c9467976c06ea305eff0525fc65919ece7e2f6873dc101a6fbf3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:314 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2890 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09bda81c462e63000010541d712b68eadefc4f568d87969013a290d1b05de7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:838 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:874 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:910 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc144e2e238362875df59670379ede07bff5fa94076d78b448c8225fbee95bc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:2687 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2736 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbaadffea39ef1b12d9e85cb540bf13e10856ac86395ea2e3366873b3ebece5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:5839 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5932 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5839}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6a1d555ab4abae1ce7d2b22a53e089cc0c0a8dd69a8cc114b0e97c8c973ac3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:5890 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6081 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5890}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0a143a53bd796bd60f398740ceb28cdfeca83bf4cafdbbe40eb0b6fcf4080e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/browser.ts:270 \u00B7 packages/@openmaic/storage/src/document/pg.ts:1058 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4306266792406a888c1114d0e02f3b569d60f116c540768b22401f17131c9099"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/browser.ts:417 \u00B7 packages/@openmaic/storage/src/document/browser.ts:464 \u2014 both copies are in the same file, so extract the block 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/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a982b95782251bb7fb081298f81a66eb3cc439d88b6ff14b74d0e0c11968662"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/@openmaic/storage/src/document/http.ts:317 \u00B7 packages/@openmaic/storage/src/kv/http.ts:273 \u00B7 packages/@openmaic/storage/src/runtime/http.ts:196 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/http.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28f12c6bf30dbe2f56b2dc34ff1ccc3291332de18a85c69c15aa87285ec6907"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/storage/src/kv/http.ts:233 \u00B7 packages/@openmaic/storage/src/runtime/http.ts:175 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/kv/http.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4b4aa0e8928e33c776c44f6e88e969fe89df4c5e33dbf4e4a8ad53cda84f36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/http.ts:95 \u00B7 packages/@openmaic/storage/src/runtime/http.ts:107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/http.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f602a00d165cfbd7796a921e2ca79850bc08f6ce8f1a755ac979a6d9f11716e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/assert-pg-contract-suites.mjs:273 \u00B7 scripts/assert-pg-contract-suites.mjs:323 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/assert-pg-contract-suites.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dcb9694c55a6b665ff8470baa919048f51e0d305de8bd3af26cc73af74feba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/api/generation-runs/[id]/confirm-outline/route.ts:35 \u00B7 app/api/generation-runs/[id]/hold-outline/route.ts:31 \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/generation-runs/[id]/confirm-outline/route.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fce70b1f68e42fdedcc4abf93f0aa97feee86e71b99939ab3be87ef30603051"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/generation-preview/page.tsx:136 \u00B7 app/generation-preview/page.tsx:201 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/generation-preview/page.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f028cb57c81c03672a91d19ee3a0bf5fd3afe32c3acec942066813c6a5d937"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/page.tsx:2035 \u00B7 components/discovery/folder-card.tsx:557 \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/page.tsx"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3333265923196c578e6f20588fd2ba02655978f2dac56a5e33f7655d6efc3b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): app/page.tsx:320 \u00B7 components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:489 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f5c0eac4bc52d80627e18c44c257e5491b0f06e418b2a01f78dcc5b17a63b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/sandbox-lab/sandbox-lab.tsx:60 \u00B7 components/settings/sandbox-settings.tsx:30 \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/sandbox-lab/sandbox-lab.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbe9a3a53f54aec6d176e76a661e9c8ee1d67a86b9f22a67da9369f8f26071e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): components/agent/agent-bar.tsx:643 \u00B7 components/site-header/theme-toggle.tsx:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/agent/agent-bar.tsx"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cdb738707f6b117150b5484ee58ae6b8bd0527c379f0b53ae04c679a582d03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): components/ai-elements/context.tsx:157 \u00B7 components/ai-elements/web-preview.tsx:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/context.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9102829078bedd933d02f029dc43316e0762c2c47f901219494a70afc89512"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): components/canvas/canvas-area.tsx:250 \u00B7 components/discovery/folder-card.tsx:454 \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/canvas/canvas-area.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93f21e3bbdeadd696bbdbf3fe29e335cf79df71b0e7602ca638eabb16aa0e53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): components/canvas/slide-element-pick-overlay.tsx:238 \u00B7 lib/edit/use-course-history.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/slide-element-pick-overlay.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f2dff8c981b6db90f230bfbad46164619866ee318df2408d101fb021a22dc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): components/discovery/folder-card.tsx:512 \u00B7 components/discovery/folder-dialogs.tsx:110 \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":"components/discovery/folder-card.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8b932d93ccd1c5da840cc6521997a068d668487c4da9726ab281f3a02f85f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): components/edit/PlaybackChromeRoot.tsx:1343 \u00B7 lib/edit/use-course-history.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c62252457af60724449970031f50c3346ef249ddb4158c40a06941313d54e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): components/edit/surfaces/quiz/QuestionCard.tsx:178 \u00B7 components/edit/surfaces/quiz/QuestionCard.tsx:344 \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":"components/edit/surfaces/quiz/QuestionCard.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a892a951ba7073bb79cb3bd17eb97ce39a688351d73bdfc03c5a601bccd190"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): components/generation/step-visualizers.tsx:243 \u00B7 components/workbench/workspace/WorkspaceCourseTabs.tsx:135 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/generation/step-visualizers.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"86acf7b817801b388613e8885ddb7f619e221b31ad90d50b00a1fa77587a4095"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): components/roundtable/index.tsx:1220 \u00B7 components/roundtable/index.tsx:2185 \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":"components/roundtable/index.tsx"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9539da2252864ec10d835e7c6ce8c2575e4e74a40e224585a3046f968cdd0386"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): components/settings/model-picker.tsx:238 \u00B7 components/settings/model-picker.tsx:262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/settings/model-picker.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ed7488c9fa17ed514cf6485dd6228aeba07497d44ac1a7eb2e6469d0029b81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): components/settings/model-services.tsx:328 \u00B7 components/settings/provider-config-panel.tsx:502 \u00B7 components/settings/unimported-settings-notice.tsx:194 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/model-services.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8dadb04750b3376cab329f889030ee4a1ca927427a20df7220b746b1d0b2ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts:180 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts:214 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef16553a8612c49057f0e56a8c19e41020e2c3b4012868c0f1f341f9977bb7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): components/slide-renderer/components/element/ProsemirrorEditor.tsx:258 \u00B7 components/slide-renderer/components/element/ProsemirrorEditor.tsx:276 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c533b66b11ed2da0d3541767640bc3958b0f5affe014192a633819ba91ac84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): components/slide-renderer/use-resolved-slide.ts:85 \u00B7 lib/import/use-import-classroom.ts:132 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/use-resolved-slide.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fdcde3e303c1278871682046fec42d72b67603fc2f2f8a3db201144cd57dc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): components/ui/card.tsx:45 \u00B7 components/ui/card.tsx:65 \u00B7 components/ui/dialog.tsx:78 \u00B7 components/ui/field.tsx:81 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/card.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc0e86276a7992e571878326a1de672c5e26b039f4f8c9de1e96292e8763e29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): eval/whiteboard-layout/runner.ts:398 \u00B7 eval/whiteboard-layout/runner.ts:452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45723db1359cef38e0f440dc5adc410380c85759b3fdc8aaee5945401cd9dfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/ai/llm.ts:81 \u00B7 lib/ai/llm.ts:101 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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/ai/llm.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"27de6f081a5912348be27ef54c7206b1e341b613a90e3a177f478b43a118b7e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/api/stage-api-canvas.ts:106 \u00B7 lib/api/stage-api-canvas.ts:147 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/api/stage-api-canvas.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"83663634288447d503aeef73b0aab51617fa66a7adb72d3dcad4bb4838a7472a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/api/stage-api-scene.ts:149 \u00B7 lib/api/stage-api-whiteboard.ts:107 \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/api/stage-api-scene.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"76031dfea26bb43204e6dab31600a57cd80df5e215c82090b003928124a503fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): lib/api/stage-api-whiteboard.ts:82 \u00B7 lib/api/stage-api-whiteboard.ts:168 \u00B7 lib/api/stage-api-whiteboard.ts:196 \u00B7 lib/api/stage-api-whiteboard.ts:224 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-whiteboard.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede529951a1cf749cdb96eebf7974c2bde73e797e65c98a6caee0902ae26cf1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/audio/narration-allocations.ts:52 \u00B7 lib/media/pending-media-allocations.ts:156 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/narration-allocations.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e15e258dd6736a8a95712e1ca06c8b32a40418309ed8756be2e536abea1b7f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/audio/tts-providers.ts:596 \u00B7 lib/audio/tts-providers.ts:610 \u2014 both copies are in the same file, so extract the block 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":"lib/audio/tts-providers.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f0e2835199939d3bf65f44699286e56a17a6968175ba2bc97a12a93c78e941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/audio/tts-providers.ts:1139 \u00B7 lib/audio/tts-providers.ts:1539 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/audio/tts-providers.ts"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c9bce987c40f97f7ea861110f66419a2f92f828fe9890bbe489962bcd13130"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/buffer/stream-buffer.ts:403 \u00B7 lib/buffer/stream-buffer.ts:687 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/buffer/stream-buffer.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b278e1c2e43e96e5be3968b9c902da3a79adab52c8ccb52af667afed109e74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/chat/pi/element-reference.ts:941 \u00B7 lib/chat/pi/element-reference.ts:1425 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/chat/pi/element-reference.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"467b028e303e7b12ce2f53bfca82b747fcb29aa324f406d98f615bb8d728c920"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/chat/pi/tools/call-agent.ts:402 \u00B7 lib/chat/pi/tools/classroom-actions.ts:267 \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":"lib/chat/pi/tools/call-agent.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"426342f900f5d1842f455c2d9afa54ad8aba7db977b914ea0f78d77488875e4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): lib/chat/pi/tools/classroom-actions.ts:67 \u00B7 lib/chat/pi/tools/native-whiteboard.ts:111 \u00B7 lib/server/agent-runtime/course-edit/element-schema.ts:56 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/classroom-actions.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42fc9865044edae68151f9b7019facdbb7ce51ed73675757439bfa64901318f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/classroom/load-classroom.ts:286 \u00B7 lib/legacy-browser-import/media.ts:76 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/classroom/load-classroom.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9f883169f3fb98857383a350c311c4d2dbac8bcee3b1867f876bc1a67ab8ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/generation-run-client/follower.ts:295 \u00B7 lib/generation-run-client/follower.ts:336 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/generation-run-client/follower.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"919fcac86570fb67362e2a193b34e8b691e8958702e230d3ab7a0cfcd3e5e55e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/import/use-import-classroom.ts:367 \u00B7 lib/import/use-import-pptx.ts:42 \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":"lib/import/use-import-classroom.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf158cf4fc58d1e78d0dcc36d015a595a1848c4fc449ad346b1f11486640a729"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/media/adapters/comfyui-image-adapter.ts:116 \u00B7 lib/media/adapters/comfyui-image-adapter.ts:195 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00112609677fc1cd8261d0d3323d2140a55c49215d0bb42420045c22ddc38bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): lib/pbl/v2/agents/evaluator.ts:216 \u00B7 lib/pbl/v2/agents/instructor.ts:1557 \u00B7 lib/pbl/v2/agents/instructor.ts:1819 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/evaluator.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fed8203a48bad155b5f2efe4916a43ac68ab2ad999e8ab70fa02e5931c49c65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/pbl/v2/agents/instructor.ts:1615 \u00B7 lib/pbl/v2/agents/instructor.ts:1639 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/v2/agents/instructor.ts"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c0815dd0a3a06814e56002dbe63697a9665a17e6b050c1c8f51f378bca73a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/persistence/owner-materials.ts:694 \u00B7 lib/server/material-extraction/owner-extraction.ts:260 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/owner-materials.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c66df55100fb73785ecec7b9707b004f8c2b130b050917a81a0b79617a4af74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/server/agent-runtime/course-edit/apply.ts:494 \u00B7 lib/server/agent-runtime/course-edit/apply.ts:510 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c754c26df4dfcc3d229fd8b76a239cecdb3983f807acd9e83a0fd0a0e6c974a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): lib/server/agent-runtime/generate-image.ts:120 \u00B7 lib/server/agent-runtime/generate-video.ts:187 \u00B7 lib/server/agent-runtime/generate-video.ts:252 \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":"lib/server/agent-runtime/generate-image.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4527904e09a4662db0bf5c86a4fa1b29f5c0e3b5606c124855016b9c9fdefa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/server/agent-runtime/generate-image.ts:217 \u00B7 lib/server/agent-runtime/generate-video.ts:304 \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/server/agent-runtime/generate-image.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df2075282269578531e490ef68f2565cff40cf7ed06358b038514495e5bdee6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/server/agent-runtime/generate-image.ts:296 \u00B7 lib/server/agent-runtime/generate-video.ts:720 \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":"lib/server/agent-runtime/generate-image.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde36a5303e69a1e0ff273fbeaae3abb19364f9d9ac019642739f01c9edff3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/server/agent-runtime/roster-tools.ts:265 \u00B7 lib/server/agent-runtime/web-search.ts:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/roster-tools.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"638740b2c07617dbde1f74b6df61946e782a11e0492a41daebc0c15095687d7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/server/agent-runtime/skill-edit-tools.ts:295 \u00B7 lib/server/agent-runtime/skill-edit-tools.ts:384 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/skill-edit-tools.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23b867cd3716de32b0e1057e0e605bb9e7c5a7d9635245b61d073291250f62a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/server/generation/run/store.ts:320 \u00B7 lib/server/generation/run/store.ts:563 \u2014 both copies are in the same file, so extract the block 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":"lib/server/generation/run/store.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"587c41bcae1b34dd5af8cbee9135d850e780b6cd25ca6b10fc0de999b8ab3a29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/server/materials/migrate-to-pool.ts:141 \u00B7 lib/server/materials/migrate-to-pool.ts:284 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/materials/migrate-to-pool.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd1a50015fe4bc7e98f9da7d2858416a71a027f8490c5afea8a39c8f10a1924"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/server/pbl-v3/runner-tools.ts:629 \u00B7 lib/server/pbl-v3/runner-tools.ts:758 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runner-tools.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e01d61837d814e9ed0e04215288b51c49962b12a9f128d59290dd8b003c6d2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): lib/server/provider-config.ts:732 \u00B7 lib/server/provider-config.ts:871 \u00B7 lib/server/provider-config.ts:1024 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/provider-config.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f5b9f73d120208b54596b802a69d869a1b2859183cd27f3bef3e0265c2a2c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/utils/chat-storage-core.ts:458 \u00B7 lib/utils/chat-storage-core.ts:471 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/chat-storage-core.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bd152e02d2f986c40312f63da3ee74dc8b7f880d8227ab683d15ab7748a167"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/utils/stage-storage.ts:287 \u00B7 lib/utils/stage-storage.ts:389 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/utils/stage-storage.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6995b67ab8a1767c2d5bb82d881fc999b92cdded344ae5a17ba05ddb5691ce0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/video-export/passes/assets.ts:163 \u00B7 lib/video-export/passes/assets.ts:211 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/video-export/passes/assets.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dda84ac3d7c42fcb0875d3395fe95a99f0fc5ed4fc67937a71b37805ac92cf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): lib/web-search/baidu.ts:73 \u00B7 lib/web-search/baidu.ts:113 \u00B7 lib/web-search/baidu.ts:153 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/baidu.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5006cb7de9701407b434e33c20281e48d59218dea83a3b6c5a867753f7150d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/@openmaic/editor/src/react/text/prosemirror/commands/splitListItemInInlineContainer.ts:37 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/commands/toggleInlineMark.ts:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/text/prosemirror/commands/splitListItemInInlineContainer.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6aa4586312601655797d8ec44543302d42b043427e17c3d662ba2d6a9c9d6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/@openmaic/editor/src/react/useEditGesture.ts:288 \u00B7 packages/@openmaic/editor/src/react/useLineHandleGesture.ts:120 \u00B7 packages/@openmaic/editor/src/react/useRotateGesture.ts:143 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useEditGesture.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc33e52ba32926f332ce272ab89969b7f77706859715edc5f8347e9e39aa655"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx:181 \u00B7 packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx:191 \u00B7 packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx:201 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"696c0e994fc87d5d456678a2241823a7a823222397158d58ff59e21051d0bedf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts:245 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts:329 \u2014 both copies are in the same file, so extract the block 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/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbcf567b9e89c790d0f053a2dfdf566791187079404d85d1cb7104ff70c8669"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/@openmaic/importer/rollup.config.js:7 \u00B7 packages/@openmaic/renderer/rollup.config.js:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/rollup.config.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d4107f9b30a86881e4330941228b9ca757369b47e7fcd408b0de6baddfa05f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/Presentation.ts:466 \u00B7 packages/@openmaic/importer/src/model/Presentation.ts:491 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"873643fcd007f9a46c11e5268ebc28ed7a393add9bbb885475090842d5ce21bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/imageSerializer.ts:361 \u00B7 packages/@openmaic/importer/src/serializer/imageSerializer.ts:529 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d416aceccbed39086d4740c16820279e10fa78c28bfc064833dbeb1d154e31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:2092 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2212 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"018b73e18645800df43856e1b1644d17dc9915ee49aae6b8b88c178fd0654e66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:4689 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5027 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4689}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01112261e4f009d329626e6ab2576b7af22df106b3dcca3d488f8f7950345da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:5870 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5963 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5870}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dee89ad35b8276372f78c1fc36b18cd04749be6344c316a01baa4aca054d23b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:5987 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6176 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5987}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aba5aa998e82e48bdfec0a0a20c6118fe67e5d0477394db7f2ecdd496f4863d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:6134 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6413 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6476 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b79edb20ec1f7fec8836aacdb28265f5a70900251b32dc63a18f3e6b65a4cad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/storage/src/agent-session/pg.ts:897 \u00B7 packages/@openmaic/storage/src/agent-session/pg.ts:1437 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b83beaa991399ef8c925cf019ab97537f2f03553c2ce6ea277a0d7ceb36e5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/@openmaic/storage/src/asset/browser-store.ts:214 \u00B7 packages/@openmaic/storage/src/document/browser.ts:175 \u00B7 packages/@openmaic/storage/src/runtime/browser.ts:179 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/browser-store.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ed767d6a03bd4c6c0fddd0e05ef9e9dd50d339eba8d9c503afa87a5e279a12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/storage/src/asset/http.ts:107 \u00B7 packages/@openmaic/storage/src/document/http.ts:156 \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/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2766c9d41b3ab8cd1dd1b09f9d62cdbcddc1b85260d640575cb5853d15b4943c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/storage/src/asset/http.ts:247 \u00B7 packages/@openmaic/storage/src/kv/http.ts:218 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78097662acf6312bbe74b80ee5cf6345fa21181fc471d2968be36d6b02b3a29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/browser.ts:366 \u00B7 packages/@openmaic/storage/src/document/pg.ts:1538 \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/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7e27b8e39061ba5ea70d0a8f0e77522a0700f676b4e8f9650b651a5442208d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/types.ts:96 \u00B7 packages/@openmaic/storage/src/store-errors.ts:37 \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/@openmaic/storage/src/document/types.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eeae6eeff2dbfe6ea65dfacbab503c67ccdba8cc4c273b554d006e3e252228"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/browser.ts:346 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:482 \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/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af57619c4a6757c3ea8e7af73a5eb102d6183258c98315e20b65f4f0394b801"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/@openmaic/storage/src/server/asset.ts:251 \u00B7 packages/@openmaic/storage/src/server/read-json.ts:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bacccaef97cc967bdb5887268a61bb544c7b5c311d1f535e9e625405db5d85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): app/api/agent/sessions/[id]/cancel/route.ts:17 \u00B7 app/api/agent/sessions/[id]/messages/route.ts:28 \u00B7 app/api/agent/sessions/[id]/route.ts:14 \u00B7 app/api/agent/sessions/[id]/route.ts:32 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/sessions/[id]/cancel/route.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5a7c4b9508b23c9edc21c153a3c36dd2fbae705c9f7560f7f3bf4dde313097"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/api/export-video/render/[jobId]/download/route.ts:26 \u00B7 app/api/export-video/render/[jobId]/route.ts:18 \u00B7 app/api/export-video/render/[jobId]/route.ts:56 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/export-video/render/[jobId]/download/route.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"964c6e3ce2babd260a77322d3e8a1b52e18d00282e026efcceed8796d9320e89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/api/export-video/render/[jobId]/route.ts:36 \u00B7 app/api/export-video/render/route.ts:70 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/export-video/render/[jobId]/route.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bba8b0168ac6a8710a5e7d47f5112d4fdf1d990ed28e3c4c52a4dc025c91330"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/api/folders/members/route.ts:32 \u00B7 app/api/folders/route.ts:70 \u00B7 app/api/stages/route.ts:63 \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/api/folders/members/route.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"955147e11cd832703fdc8df70bb3eccbaff93713895c32c720334ef8a068a7e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/api/stages/[id]/manifest/route.ts:24 \u00B7 app/api/stages/[id]/roster/route.ts:22 \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/stages/[id]/manifest/route.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb49b41f57b6e1952947a05e60570d02169a8882d65bf6bc1a2bb8615ccd9ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/generation-preview/page.tsx:357 \u00B7 app/generation-preview/page.tsx:439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/generation-preview/page.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9118e3d8d95a7db55b7cd1c1c555472c40fe47843a3447b341a878b50b242c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): app/sandbox-lab/sandbox-lab.tsx:128 \u00B7 eval/whiteboard-layout/runner.ts:106 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/sandbox-lab/sandbox-lab.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"155f9a296a5f2fe55beef0dde86cf858baa34dcf6578247231f06f7831431632"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): components/classroom/ClassroomSurface.tsx:176 \u00B7 components/classroom/ClassroomSurface.tsx:205 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"components/classroom/ClassroomSurface.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0eb15b4150a2f826b381e2fd1d936e442ac6c0584b398f96067d95aab1abd0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/edit/EditDock/ElementRefLassoButton.tsx:81 \u00B7 components/edit/surfaces/slide/ElementPickLayer.tsx:327 \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/edit/EditDock/ElementRefLassoButton.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0300019a6f728843d23a93a0e5b4e371c822925bcd70b0cda88448089b0fb05b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/edit/surfaces/quiz/use-quiz-surface.ts:176 \u00B7 components/edit/surfaces/slide/use-slide-surface.ts:242 \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":"components/edit/surfaces/quiz/use-quiz-surface.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0ca2fda9ff76b1bd7e6ed93c05fe77e2b62a5333742653dbd649d6bf1ed68e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/edit/surfaces/slide/ElementPickLayer.tsx:181 \u00B7 components/edit/surfaces/slide/ElementPickLayer.tsx:195 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8173ac6650d218d0b08f0a7ed2dc040d446578d4fa444bc811b3784d8d1b7ef3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/edit/surfaces/slide/ImageActions.tsx:41 \u00B7 components/edit/surfaces/slide/ImageActions.tsx:51 \u2014 both copies are in the same file, so extract the block 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/edit/surfaces/slide/ImageActions.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6e92eb506a5651a3435f8a864c97fb03a305bf716c6eac2bcb354b34f6f528"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/generation/outlines-editor.tsx:605 \u00B7 components/generation/outlines-editor.tsx:650 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/generation/outlines-editor.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"97afaf8f3038a5cc09ea394fef2373889b911b617a6647f821a277c8adb4b9f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/generation/step-visualizers.tsx:202 \u00B7 components/generation/step-visualizers.tsx:343 \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":"components/generation/step-visualizers.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"173b6443dccb97497bdaaa9cef287edd8fec02c1f16a2f52b1dd0b4cac2700fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): components/scene-renderers/pbl/v2/submission.tsx:819 \u00B7 components/scene-renderers/pbl/v2/submission.tsx:968 \u00B7 packages/@openmaic/editor/src/ui/latex/LatexEditorDialog.tsx:46 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab24004c42f6fe9ba5d4990cb8b26cac6da1041ce7227694fd9d81dbe1a163c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): components/scene-renderers/pbl/v2/workspace.tsx:146 \u00B7 components/scene-renderers/pbl/v2/workspace.tsx:232 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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":"components/scene-renderers/pbl/v2/workspace.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"812c4d117d541070c5b68e702a0213af96820ab563b2f587a559a1cc1a65d7a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/workbench-loading.tsx:11 \u00B7 components/scene-renderers/pbl/v3/workbench-onboarding.tsx:40 \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/scene-renderers/pbl/v3/workbench-loading.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0a2d5478345daf3a79bbb814f0ae239b381e5aa9e910e4b37c1987a7d033ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/settings/add-provider-dialog.tsx:97 \u00B7 components/settings/model-edit-dialog.tsx:82 \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/settings/add-provider-dialog.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fef40295000b21a0cf2fd5240de1f211b807b94a5780c45892e0e125b151a55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): components/settings/asr-settings.tsx:126 \u00B7 lib/hooks/use-audio-recorder.ts:324 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/asr-settings.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eac3e6429f739a76c8b903c1615ce6c5247117fed21781c27dcd766482f674"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): components/settings/models/model-map.tsx:301 \u00B7 packages/@openmaic/editor/src/ui/context/CanvasContextMenu.tsx:203 \u00B7 packages/@openmaic/editor/src/ui/insert/InsertToolbar.tsx:67 \u00B7 packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx:70 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/model-map.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"db411a0d8ffd9a44de920652a43e586c38f9dd966376df3f621c3f296ffb155e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/settings/server-settings.tsx:230 \u00B7 components/settings/server-settings.tsx:310 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/settings/server-settings.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f1bcef0b1a76a0d1f475c0aa05d94c71c43220a5ec49ec07f9b77b5dc3b671"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx:75 \u00B7 components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:476 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"96762b3cf114fa45a2da22ca46b5cf211eb9c1987cf16d138a87f9b89823bf98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts:23 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:111 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c663b2474c5ae4dbae641e85cc2a5abf4eb88995a96bc310b0d5b2ef3d4aa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts:219 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts:228 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts:237 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea127de2347659cfdadafc9bb3d4c035d31da79929e948fd32867886e1db500"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts:35 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useRotateElement.ts:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef65e33b842e5d9187a5ed380dbcc246181d198d486f4a73b3ad881e1d06dbb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/slide-renderer/components/element/hooks/useElementFlip.ts:9 \u00B7 packages/@openmaic/renderer/src/elements/shared/useElementFlip.ts:3 \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/slide-renderer/components/element/hooks/useElementFlip.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c746ee98d7913b12466d55d6c1ab4967824ae7435128ffeeffd23fc0c32c41b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/slide-renderer/components/element/hooks/useElementShadow.ts:9 \u00B7 packages/@openmaic/renderer/src/elements/shared/useElementShadow.ts:4 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/hooks/useElementShadow.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee6cf91b1d4d1eba0f8d1b02043fbe274c8f8fdb97bcb52eeb5caae84ce5f26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): components/workbench/chat/tool-presentation.ts:390 \u00B7 components/workbench/chat/tool-presentation.ts:403 \u00B7 components/workbench/chat/tool-presentation.ts:448 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/chat/tool-presentation.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"336e7c01029a9de7b8f1fa991c51a0cc23a87e21019a76562374fbdcea874ff6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): components/workbench/chat/tool-presentation.ts:548 \u00B7 components/workbench/chat/tool-presentation.ts:895 \u00B7 components/workbench/chat/tool-presentation.ts:915 \u00B7 components/workbench/chat/tool-presentation.ts:927 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/chat/tool-presentation.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3698e6e049b5a0ce1e25a44398de6faa6554b5b3193f01e2ab6dbf915a0c113"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): components/workbench/chat/user-bubble.tsx:24 \u00B7 components/workbench/element-ref-pills.tsx:115 \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/workbench/chat/user-bubble.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc3354eacbbae5bafb3a3894411c358bf71246e048c8a5c500874d79e46d77c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): eval/pbl-v2-planner/runner.ts:396 \u00B7 eval/pbl-v2-planner/runner.ts:422 \u2014 both copies are in the same file, so extract the block 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"8458ed6fcdd606fb351040824475372a14c4197c9d625fd81a241ffa69326041"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): lib/api/stage-api-canvas.ts:278 \u00B7 lib/api/stage-api-canvas.ts:318 \u00B7 lib/api/stage-api-canvas.ts:334 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-canvas.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba8ebf890dea9c8ac7f8a8c8a5b9a9550c30f4ec058b6abd18c99f9c5d5501f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): lib/api/stage-api-element.ts:273 \u00B7 lib/api/stage-api-scene.ts:118 \u00B7 lib/api/stage-api-whiteboard.ts:174 \u00B7 lib/api/stage-api-whiteboard.ts:202 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-element.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f011d31ddc034868370aff809e5fd76dd9416c75f26d6a51fc079e7353184d56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): lib/api/stage-api-mode.ts:25 \u00B7 lib/api/stage-api-navigation.ts:34 \u00B7 lib/api/stage-api-navigation.ts:61 \u00B7 lib/api/stage-api-navigation.ts:88 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-mode.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"de78d9e6ae29a08cea64dc883db5e07bd156cb80a786543cbf3dce7ae281a076"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): lib/api/stage-api-whiteboard.ts:123 \u00B7 lib/api/stage-api-whiteboard.ts:144 \u00B7 lib/api/stage-api-whiteboard.ts:176 \u00B7 lib/api/stage-api-whiteboard.ts:204 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-whiteboard.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c44a5e7e6af447e5040a18808e4bda5361e150ff48e883b31f5d0b04a2cc2d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/audio/tts-providers.ts:1233 \u00B7 lib/audio/tts-providers.ts:1425 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/audio/tts-providers.ts"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"98002ec4fe3313625fa4f4c36c7f7fb2b7c7f9271af72e45d8cf5b5aa64e2aad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): lib/audio/tts-providers.ts:1482 \u00B7 lib/chat/pi/tools/native-whiteboard.ts:457 \u00B7 lib/export/standalone-html/assemble.ts:89 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/tts-providers.ts"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bc0830fc6e5447ad0cca10dc63554833862f532ebe6bdd533738f577da8706"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/audio/voice-resolver.ts:338 \u00B7 lib/audio/voice-resolver.ts:624 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 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/audio/voice-resolver.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ec43fa7463e3a3f7442ffdc1da76aca3ec7f94da65a994898e5af02ecf5f5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/chat/quiz-results-for-store-state.ts:43 \u00B7 lib/pbl/v2/operations/runtime/quiz-snapshot.ts:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/quiz-results-for-store-state.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"74418e595df6c061bf5e585a17d02a7e621a1a78e591f5c289327b9163d145b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/document/pdf-compat.ts:79 \u00B7 lib/document/pdf-compat.ts:89 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/document/pdf-compat.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"561bf54b532bc36df3af34fc6f4b7533278a77d563491aa36df210655e344375"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/export/html-parser/lexer.ts:43 \u00B7 lib/export/html-parser/lexer.ts:62 \u2014 both copies are in the same file, so extract the block 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":"lib/export/html-parser/lexer.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dee83c705ac8f242b5a0e5f6e716e704b879cda620978898ba1655621f5ac0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/export/qr-png.ts:35 \u00B7 lib/export/standalone-html/stored-zip.ts:45 \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":"lib/export/qr-png.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4558ab043b14a4e21cda48f4913aab2c86c4cb15797d56056822b3bf91ff798d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/export/use-export-pptx.ts:807 \u00B7 lib/export/use-export-pptx.ts:1184 \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":"lib/export/use-export-pptx.ts"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2214a6ffb005ca1802cbd27ac65fb3e70fb82b41849cf4a80e8c6c3b90331b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/hooks/use-audio-recorder.ts:260 \u00B7 lib/hooks/use-audio-recorder.ts:303 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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/hooks/use-audio-recorder.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b68f4d3d7229a8e05987b157169591ce57a63fb6c88de875705ffcff3ec126"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/hooks/use-discussion-tts.ts:360 \u00B7 lib/hooks/use-discussion-tts.ts:427 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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/hooks/use-discussion-tts.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97cae266673aa79417f432fa2eca8de5c076fbe220e8c9c43730b3c29e15736"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): lib/hooks/use-order-element.ts:18 \u00B7 lib/hooks/use-order-element.ts:72 \u00B7 lib/hooks/use-order-element.ts:114 \u00B7 lib/hooks/use-order-element.ts:154 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/use-order-element.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4207b153ae252d8127891da64eab916368457ae38579b067fa8463f730d70f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/media/adapters/comfyui-image-adapter.ts:566 \u00B7 lib/media/probe-auth.ts:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a40a1bd5fadacf7a35c3693bacc478ea19dab6004ead502128dd99f2fe002d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/media/adapters/grok-video-adapter.ts:162 \u00B7 lib/media/adapters/openrouter-video-adapter.ts:165 \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/media/adapters/grok-video-adapter.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"96786016e4fa9c2ceae49a26d72e658a91cfb324cbdcc0395940335753c3c78b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): lib/media/adapters/lemonade-image-adapter.ts:29 \u00B7 lib/media/adapters/openrouter-image-adapter.ts:69 \u00B7 lib/media/adapters/openrouter-video-adapter.ts:170 \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":"lib/media/adapters/lemonade-image-adapter.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a085d753a34e15c1d47674837c1e1c11d2d00acf492a9b90a0fc28d61316fa18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/media/adapters/openrouter-image-adapter.ts:126 \u00B7 lib/media/adapters/openrouter-video-adapter.ts:140 \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/media/adapters/openrouter-image-adapter.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deca40eaaed9f44c1e7925caea4f0fcb2c6c3bc559ecab2dc058db39212c430"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/media/bounded-download.ts:89 \u00B7 lib/pdf/pdf-providers.ts:556 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/bounded-download.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa966ace16a64c3275ef4a23997768175f72f37ccf6ede54cc401174bb6559b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/pbl/v2/agents/instructor.ts:1529 \u00B7 lib/pbl/v2/agents/simulator.ts:546 \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/pbl/v2/agents/instructor.ts"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c951688a6c625a13f36088e40e6964c4c696625ab4d5630e9decced4017e09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/pbl/v2/agents/simulator.ts:138 \u00B7 lib/pbl/v2/agents/simulator.ts:218 \u2014 both copies are in the same file, so extract the block 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":"lib/pbl/v2/agents/simulator.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c1dcfc28dc8d9b39e3de3b4d7e98f3dea975cca9ea6a3f1b9127d3a1ecf0fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/pbl/v2/operations/runtime/eval-prompts.ts:544 \u00B7 lib/pbl/v2/operations/runtime/eval-prompts.ts:577 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/eval-prompts.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dc6090519d03e39954f3156219b7d8a337526324e1e3580c1640d905cd3e5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/server/agent-runtime/course-generation.ts:90 \u00B7 lib/server/agent-runtime/course-tools.ts:174 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-generation.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1c4a8872e19e3a417e8057908adca95919e661c25752113298b4019ca88481"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/server/agent-runtime/curriculum-tools.ts:168 \u00B7 lib/server/agent-runtime/skill-edit-tools.ts:114 \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/server/agent-runtime/curriculum-tools.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"429682e075a5fad890ffe25fdb74833474d843c1b81e3aae9de968f5741cd4e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): lib/server/agent-runtime/generate-image.ts:195 \u00B7 lib/server/agent-runtime/generate-image.ts:220 \u00B7 lib/server/agent-runtime/generate-video.ts:307 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/generate-image.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ec1e0a670d4f3ef06cb68c613c7f89965a677cbdf61832137ec04d49ad20ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/server/agent-runtime/generate-image.ts:107 \u00B7 lib/server/generation/run/services.ts:634 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/generate-image.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b97f06db578529c390888eb2609753052f2f743bb1906c4300defa3f844d41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/server/agent-runtime/personal-history-tools.ts:42 \u00B7 lib/server/agent-runtime/personal-history-tools.ts:60 \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":"lib/server/agent-runtime/personal-history-tools.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2f719633fe4eac1a5bd814b989d0dce82366fa3d5f704f414234deeb06f261"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/server/agent-runtime/resume.ts:73 \u00B7 lib/server/agent-runtime/tool-call-integrity.ts:54 \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":"lib/server/agent-runtime/resume.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4450b702e710f115f6281c0dc022a6fb578e92871b22fbe5f580707fbb700ed5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/server/agent-runtime/scene-tts.ts:238 \u00B7 packages/@openmaic/generation/src/generation-retry.ts:37 \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/server/agent-runtime/scene-tts.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74c899fb9349887553b4f11af729cb102068fb4609384b9cdecd5b2bee070e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/server/agent-runtime/store.ts:21 \u00B7 lib/server/agent-runtime/user-skill-store.ts:27 \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":"lib/server/agent-runtime/store.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd79722e1f7d3aec39b16067060bb7ebd3af1b726a4fb4b2c1789055b104e916"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): lib/server/generation-run-hooks/registry.ts:24 \u00B7 lib/server/identity/registry.ts:65 \u00B7 lib/server/persistence-hooks/registry.ts:33 \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":"lib/server/generation-run-hooks/registry.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"150ac55367dd156f49e0c0d0ec2b3bb650f48e1780ea3f5da267ffb94e1d5d6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/server/generation/run/config.ts:8 \u00B7 lib/server/materials/extraction.ts:676 \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":"lib/server/generation/run/config.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c645d62b055e61b6624648d6a3f846ac6965a072187e81c9429a3e2056da8a23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/video-export/geometry.ts:49 \u00B7 lib/video-export/geometry.ts:70 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/video-export/geometry.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f787b6657f305e7fb1a5f8b2721109ad316019f2bf43bce5b10ed86fd63845a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): lib/web-search/doubao.ts:91 \u00B7 lib/web-search/exa.ts:71 \u00B7 lib/web-search/tavily.ts:46 \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":"lib/web-search/doubao.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9a85d7ec5b4c868605ed201bd826573cfb7aa09fabdeab10b0ee9f5b209998"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/whiteboard/runtime/validate.ts:317 \u00B7 packages/@openmaic/storage/src/runtime/json-value.ts:134 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff07c0063fa6ec3e2d77c07cca3931d1e6aa744870e391419f9f57f79ce21ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/dsl/src/validate.ts:85 \u00B7 packages/@openmaic/dsl/src/validate.ts:95 \u2014 both copies are in the same file, so extract the block 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/@openmaic/dsl/src/validate.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f3f38542c9bac66bb9c82f2470572f44eac9c1e2d45d7d0d7f1ad5b66bf292"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx:142 \u00B7 packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx:151 \u2014 both copies are in the same file, so extract the block 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/@openmaic/editor/src/react/EditableSlideCanvas.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6725eb2b06c3a4f154193d782abed5270797150f185b13548134dd856aa53d48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/text/prosemirror/inlineContainerMarks.ts:108 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/inlineContainerMarks.ts:162 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/editor/src/react/text/prosemirror/inlineContainerMarks.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30544e2229a3476aafabc52ec2c6b6bfa4b009cdf7dc7b7e6c6acbaee4dd8f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/generation/src/scene-generator.ts:386 \u00B7 packages/@openmaic/generation/src/scene-generator.ts:404 \u2014 both copies are in the same file, so extract the block 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a636027c28e305ff4ea3d69958b6ab5f18360bb56fa4ec5cd381ddf180f82d94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): packages/@openmaic/importer/src/parser/ZipParser.ts:352 \u00B7 packages/@openmaic/importer/src/parser/ZipParser.ts:370 \u00B7 packages/@openmaic/importer/src/parser/ZipParser.ts:388 \u00B7 packages/@openmaic/importer/src/parser/ZipParser.ts:405 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/parser/ZipParser.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"748aad27a6da062aa8a0acf27558eb1c724ed4e4ba98d75c6d48471bc6a8f66b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/imageSerializer.ts:324 \u00B7 packages/@openmaic/importer/src/serializer/mathSerializer.ts:399 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a651d0c533c81d7dd3ed0e85b7e004adbb81332baf1942b209285f33f59f0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/mathSerializer.ts:424 \u00B7 packages/@openmaic/importer/src/serializer/mathSerializer.ts:449 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8f87cea630c750c91620eeb396bc07b2aefbbbfa8e31e11162af901e6998c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/tableSerializer.ts:215 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:557 \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/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9733095089c038e3de127e5a1b926206e7426bb3bd0d3bdb9b2de77d6ab3797"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/textSerializer.ts:587 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:596 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"7613aadb9ce9a22a000a40519f41ba94cedf1fc02937d2ac3cf328069a25eb5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/textSerializer.ts:893 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:1700 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb10de7d0ef55dd8abffc707681d9616a7d0ac9fc4467fb0384878713d787f6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/textSerializer.ts:1344 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:1353 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"004a1b5c93d018b39828fb655f97362a552380f5b14d389ef9caf3f9d4a2b073"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/textSerializer.ts:1447 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:1713 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a2244c7fc05697c49be1f5fd5d11f29b83312b5c69edd6cdc82992ac64b569"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/customGeometry.ts:85 \u00B7 packages/@openmaic/importer/src/shapes/customGeometry.ts:95 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/customGeometry.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e64c68e26eef58030199c806756df8a194bd23854916cd585fb33ffd148c035"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:602 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:613 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"d708b5510b96f9f139176515e383b19b6d217b195e16566343db1ca106b64957"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:1807 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6198 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6382 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2852ef156fb9009b2a8be3117378464f327968a1f2f67e463f5ace50b152cc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1922 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1952 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cb509229b179d169bf24e10655c89b0aa4ce4a92f82ec2f576edace6196575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): packages/@openmaic/importer/src/shapes/presets.ts:2489 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2630 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4881 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5142 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"281953ea98fbee44cd188d8f77d744a13aa287e02a53a5317297c8f329318122"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:3270 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3383 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da49fc83d74ff05e7ec92c5656efa31d5b79935aa6fdd5ae7ce3511d2c1009e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:3526 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3571 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3526}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b5a3e45a577af036177e991f842965cedea7243783eb9873a122727e186170"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): packages/@openmaic/importer/src/shapes/presets.ts:5915 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6089 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6260 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6277 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5915}}}],"partialFingerprints":{"codehealthFindingId/v1":"9600247f8cf91638c45f47d8542ef0cfa99c264334b0c7464a76f7e1abeb7635"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8 locations): packages/@openmaic/importer/src/shapes/presets.ts:6227 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6247 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6309 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6324 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6227}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bc7fcdbb63bd39a631cd15baff6eed8b86f87a06e53b919cb6c89409558577"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/importer/src/utils/mtef.ts:842 \u00B7 packages/@openmaic/importer/src/utils/mtef.ts:871 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7b6aee73225f48543423dc23dd82cf0aa7910a403933b0427d0a4059b6cfb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/browser.ts:241 \u00B7 packages/@openmaic/storage/src/document/pg.ts:990 \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/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"457c76a5bbd9d65fc669f1a423af065ad517e99c40bb1328ff143153d9835229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/browser.ts:252 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:405 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c58ba13db8ee01ba138a5da9b1638ba3e6c33064074e8dfdd61ab39b31fa0bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/@openmaic/storage/src/server/index.ts:649 \u00B7 packages/@openmaic/storage/src/server/index.ts:695 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/storage/src/server/index.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc87c6ff08ba59db673731abbbf5af849b05cf3fff1a9d46d4e92833749e557a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): render-service/src/main.ts:443 \u00B7 render-service/src/main.ts:514 \u2014 both copies are in the same file, so extract the block 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":"render-service/src/main.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"80757d3cba9b13b489adbadbc2515d158e92dcb034d6914cbd45b6e9840dc168"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/api/agent/owner-events/route.ts:40 \u00B7 app/api/stages/[id]/freshness/route.ts:44 \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/agent/owner-events/route.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"85af3a561e74e83ec21f3b785d9d74fbdb9f5fff5add1779fe7e054cb282c82a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/api/stages/[id]/generation-complete/route.ts:31 \u00B7 app/api/stages/[id]/unpublish/route.ts:38 \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/stages/[id]/generation-complete/route.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64fbe87f533f6d9dffbf332a4d5a8a881e861efed6c2fb95632a3b9fac9adbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/api/stages/[id]/route.ts:76 \u00B7 app/api/stages/[id]/route.ts:116 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/stages/[id]/route.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7c4d79d4cbb9f7f12ae236e0997bf93d5a66ade5ea23a87ab8319b655f9b02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/api/stages/[id]/route.ts:99 \u00B7 app/api/stages/[id]/scenes/route.ts:68 \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/stages/[id]/route.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6441ea67e06e162652c1e96abc41568efe8c03ba66331fe7e722662836fb26e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/api/verify-pdf-provider/route.ts:201 \u00B7 app/api/verify-pdf-provider/route.ts:223 \u2014 both copies are in the same file, so extract the block 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/api/verify-pdf-provider/route.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48f56bfa6201791a31a69a0ff2de971904352b215b70c9eb64e100dbb932a51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/generation-preview/page.tsx:200 \u00B7 app/generation-preview/page.tsx:233 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/generation-preview/page.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00ab9b171a9eac0927f60e821ffad7a1238cbb80f79fa6c575a0271eab58587"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/page.tsx:1062 \u00B7 components/edit/surfaces/quiz/QuestionCard.tsx:164 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff51b4aa2a861efeddacb4868e9627b8306b56f84929adde8c29d0ae8957f2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): app/page.tsx:1702 \u00B7 components/whiteboard/whiteboard-history.tsx:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9aba8644e3da1be69fe8249af1f67417ea2c6da849a49b0358823b1d9ec6bcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): components/ai-elements/inline-citation.tsx:238 \u00B7 components/ai-elements/message.tsx:40 \u00B7 components/ai-elements/task.tsx:18 \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":"components/ai-elements/inline-citation.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fef88a61bd8633955160286e98536a26a00524741782cc6ab4374fdd8847131"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/edit/ActionsBar/ActionsBar.tsx:1439 \u00B7 components/edit/ActionsBar/ActionsBar.tsx:1470 \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":"components/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c6ba9f799caec6463b3d2ae6ac98bce41e2d35b3fbd381e7cabb1a257c6585"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): components/edit/ActionsBar/actions-edit.ts:99 \u00B7 components/edit/ActionsBar/actions-edit.ts:137 \u00B7 components/edit/ActionsBar/actions-edit.ts:162 \u00B7 components/edit/ActionsBar/actions-edit.ts:179 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/ActionsBar/actions-edit.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b6dbd834f157a747258fd5b58b3f9e0d7f53631c87c0f673f4c72b11812dba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): components/edit/surfaces/slide/ElementPickLayer.tsx:280 \u00B7 components/scene-renderers/pbl/v3/learning-panels.tsx:30 \u00B7 packages/@openmaic/editor/src/ui/line/LineFormatToolbar.tsx:71 \u00B7 packages/@openmaic/editor/src/ui/text/TextFormatToolbar.tsx:97 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"84720ee566d0d1a84a00c9b5b9691ac5777b6b48f72e56f12a0658569802755f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): components/edit/surfaces/slide/ImageActions.tsx:56 \u00B7 components/edit/surfaces/slide/ZOrderButtons.tsx:25 \u00B7 components/edit/surfaces/slide/ZOrderButtons.tsx:39 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/slide/ImageActions.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb0287177f61a42339086ed1adcedec2cea33bc5b432d900ca0a896a7e8c158"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): components/edit/surfaces/slide/ImagePicker.tsx:12 \u00B7 packages/@openmaic/editor/src/ui/audio/AudioInsertPicker.tsx:11 \u00B7 packages/@openmaic/editor/src/ui/video/VideoInsertPicker.tsx:11 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/slide/ImagePicker.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"34503b90eccc1318c4c46e1ab7d273b98ec1d503aa83dad621d2feb5880c9fd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/generation/step-visualizers.tsx:90 \u00B7 components/generation/step-visualizers.tsx:883 \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":"components/generation/step-visualizers.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8eb3956d7d73868a58d69bcbaf5764d72d11695e6f240e41c05ce2e147b356"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/settings/asr-settings.tsx:186 \u00B7 components/settings/pdf-settings.tsx:75 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/asr-settings.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a015958744ffcb0acc906f83a5b4341a03fb889f153075b742b428be0aa5b398"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/settings/media-service-panel.tsx:105 \u00B7 components/settings/pdf-settings.tsx:93 \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":"components/settings/media-service-panel.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60548569cc31ac7071787d93afbd17264074cc0a62cbb3f7f0d7ab79a0b34e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/Operate/ShapeElementOperate.tsx:59 \u00B7 components/slide-renderer/Editor/Canvas/Operate/ShapeElementOperate.tsx:68 \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":"components/slide-renderer/Editor/Canvas/Operate/ShapeElementOperate.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c17b96a9f3d573b4922e5c68bb0cdc514d237d1d0a3460e6fe3de4ef7db05cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): components/slide-renderer/Editor/Canvas/hooks/useMouseSelection.ts:50 \u00B7 components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:193 \u00B7 components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:264 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useMouseSelection.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7c9fa134d5e13d4345eb92c0bb9609a009e3829f2f18e0d11dee71eb059719"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:35 \u00B7 packages/@openmaic/editor/src/react/core/resize.ts:109 \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":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6f8ce3638017212859494bfb6c85904c211e8d435b45c01b70d7ed76c2e454"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:196 \u00B7 components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c763a6184d7fd1e8de858e3f5fbce35362d8b1693735c03f72e7a29350b152"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/slide-renderer/components/element/ProsemirrorEditor.tsx:187 \u00B7 components/slide-renderer/components/element/ProsemirrorEditor.tsx:222 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"93909a55c5ad6491b6388aeac1a7e1f55369bf9648e4d6b9cac7e17e44774bbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): components/slide-renderer/components/element/ShapeElement/index.tsx:247 \u00B7 packages/@openmaic/editor/src/react/shape/RendererShapeLabelEditor.tsx:105 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef96e4b1f84bb8758b4d49295a92cdc084cb2716c90a179613ff27f18b3e36ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/slide-renderer/components/element/VideoElement/index.tsx:97 \u00B7 components/slide-renderer/components/element/VideoElement/index.tsx:131 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/components/element/VideoElement/index.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f09af0519bcee6a1393d62fe608fe4f0f71f56f45866605890337331908861"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/ui/checkbox.tsx:7 \u00B7 components/ui/slider.tsx:6 \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":"components/ui/checkbox.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"af01648a4afceb0b09c31c1c4c016e022c9117f4c01cda6b13541db8db155b22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/workbench/ProLaunchPanel.tsx:151 \u00B7 components/workbench/WorkbenchChat.tsx:242 \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/workbench/ProLaunchPanel.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a939e8b3cdbe823a6d54f977f048e141b81569ebb28fd148b8387dd588201233"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): components/workbench/chat/tool-presentation.ts:401 \u00B7 components/workbench/chat/tool-presentation.ts:446 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/workbench/chat/tool-presentation.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6d4c0a0f41331b7582550651b17db147f71b62001c6fa6671d2d40de4a439d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): eval/pbl-v2-planner/runner.ts:574 \u00B7 eval/pbl-v2-planner/runner.ts:689 \u2014 both copies are in the same file, so extract the block 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b99babd25b62fffb551ff162fe073fec214fe11203243da2af4dcf8557d44a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): instrumentation.ts:164 \u00B7 lib/server/identity/with-owner.ts:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"instrumentation.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b56b62998c3fd8713f35470e26da3e43380e1d64f9235db08a77f616115981"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/api/stage-api-element.ts:83 \u00B7 lib/api/stage-api-element.ts:320 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/api/stage-api-element.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"74024ce3d80dd59f096620182e766011d7cd5aad7f0bec5f1eb94bbb1796b2fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): lib/api/stage-api-whiteboard.ts:106 \u00B7 lib/api/stage-api-whiteboard.ts:173 \u00B7 lib/api/stage-api-whiteboard.ts:201 \u00B7 lib/api/stage-api-whiteboard.ts:229 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-whiteboard.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1a409ce04d4e20fdfe3c94228c06ac7c8ceb0d6d2f44dd4c657612a5866432"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/audio/tts-providers.ts:243 \u00B7 lib/server/agent-runtime/generate-image.ts:93 \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/audio/tts-providers.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f07c52939e99e82950cbe82377cd71d63909ab88485a719488ff3fe2aa712a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/audio/tts-providers.ts:1468 \u00B7 render-service/src/untrusted-html-csp.ts:151 \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":"lib/audio/tts-providers.ts"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08ed81c33c50528322905f88c362eee99a87c0b001af808f3022d31216e25ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/buffer/stream-buffer.ts:274 \u00B7 lib/types/chat.ts:491 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/buffer/stream-buffer.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"127cdfe3bab85615f13df53cb1a21de40a392e4f5e6504780f50b9a73956be41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/export/css-asset-parser.ts:243 \u00B7 lib/export/css-asset-parser.ts:300 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/export/css-asset-parser.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"86de968a3ee780528354dc068842e47cf40118d4536d5bd91663ff8a4f70a407"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/export/pptx-scene-placeholders.ts:495 \u00B7 lib/export/pptx-scene-placeholders.ts:508 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/export/pptx-scene-placeholders.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91037e1b79abe0cce81c19edf6e44c8fa45d526a189a7cee6f1ca628a15083d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): lib/export/use-export-pptx.ts:751 \u00B7 lib/export/use-export-pptx.ts:815 \u00B7 lib/export/use-export-pptx.ts:898 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/use-export-pptx.ts"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7a2cd73fcb5593ed87227d3c665d051360f699052344dda0cabfd20da9a140"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/generation-run-client/use-generation-run.ts:43 \u00B7 lib/generation-run-client/use-owner-runs.ts:43 \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/generation-run-client/use-generation-run.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1e76f713407a0eb871e03bfca49500b9300713974e9890a223500c7d767d37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): lib/media/adapters/glm-image-adapter.ts:102 \u00B7 lib/media/adapters/lemonade-image-adapter.ts:75 \u00B7 lib/media/adapters/openai-image-adapter.ts:84 \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":"lib/media/adapters/glm-image-adapter.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"314c0306c33dcd1adfe400ebe48d09e2fbf6beca5824cf843dea30d926a5beb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/media/adapters/kling-adapter.ts:192 \u00B7 lib/media/adapters/kling-adapter.ts:226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/kling-adapter.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abafd235e1e10cf2a80981d39c0b6d1f590ba40d61267e1bd722ab6246a9a30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/media/adapters/minimax-image-adapter.ts:19 \u00B7 lib/media/adapters/minimax-video-adapter.ts:100 \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/media/adapters/minimax-image-adapter.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26eaabf29fb9e8464207e6505c8f551793287fe8d424b24c0966d7ab3a1b67f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): lib/media/adapters/minimax-image-adapter.ts:44 \u00B7 lib/media/adapters/minimax-video-adapter.ts:134 \u00B7 lib/media/adapters/minimax-video-adapter.ts:165 \u00B7 lib/media/adapters/minimax-video-adapter.ts:229 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/minimax-image-adapter.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c090ecaabe4f995fa192f32e6424073efa3d1be23ec47ef027248d06d1fb33f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/media/adapters/openrouter-video-adapter.ts:143 \u00B7 lib/media/adapters/openrouter-video-adapter.ts:164 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/openrouter-video-adapter.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"286169ec275fa93c82a8001d7fe753e14149bb8694a4788e3201c77da24b57fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): lib/pbl/v2/operations/runtime/evaluation.ts:23 \u00B7 lib/pbl/v2/operations/runtime/submission.ts:18 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/engagement.ts:30 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/evaluation.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9739cf896a10be41b2912ef4187cfa95af3b8e30230060f2d9e54504aa4ddff2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/pbl/v2/prompts/loader.ts:29 \u00B7 packages/@openmaic/generation/src/pbl/prompts/loader.ts:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/prompts/loader.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea5a0318bc2e2222c35d1a3b7a34d363186e952d99b2774a3030a2a038fcbd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/pdf/mineru-cloud.ts:581 \u00B7 scripts/probe-mineru-cloud.mjs:80 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/mineru-cloud.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade75eb8c34b1f5fdf502bf78155191e83e53dae6508e0717147aa6bb8663711"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/prosemirror/schema/nodes.ts:154 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/schema/nodes.ts:364 \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/prosemirror/schema/nodes.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"64177531554f84a5dc0369cab78360d4cf9a7de9b5d2952cdeedb3d2d1e58d0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/server/access-token-edge.ts:27 \u00B7 lib/server/access-token.ts:16 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/access-token-edge.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0624425e7178f9dd1349bce749c2ec6f33d6e7805f63bfb047b11eb4bccb53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/server/agent-runtime/curriculum-tools.ts:408 \u00B7 lib/server/agent-runtime/curriculum-tools.ts:544 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/agent-runtime/curriculum-tools.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"967b250aff712e8e83c30de4850c3b5b9a9952109d795dfa979312c532d659fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/server/agent-runtime/personal-history-tools.ts:414 \u00B7 lib/server/agent-runtime/personal-history-tools.ts:518 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/agent-runtime/personal-history-tools.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"63916c12f0bfb3a1f4c214da2977de6a8a3164c81f3829260ecd695d1b3646cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/server/agent-runtime/runner.ts:907 \u00B7 lib/server/agent-runtime/runner.ts:918 \u2014 both copies are in the same file, so extract the block 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":"lib/server/agent-runtime/runner.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"51eed73adb94a9107233a03942a402d28c6257d87b0ff57eed25b25d2154f359"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/server/generation/run/engine.ts:881 \u00B7 lib/server/generation/run/engine.ts:934 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/generation/run/engine.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd1c096eb0b082609ce21f7fec7f7ffda7a9dc8b32408b42d72d5e6c3d32870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/server/generation/steps/material-analysis.ts:173 \u00B7 lib/server/material-extraction/extract.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/material-analysis.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ab2b5348f5c8408d8c4d60bb6c18670cdcac24b292dc205c86a2f2fc4a58dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/server/generation/steps/outline.ts:435 \u00B7 packages/@openmaic/generation/src/outline-generator.ts:61 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/steps/outline.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d846abcbb95e0caae3b3dc32d877c2fdf9c0e07df61225b81ab21b89606da9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/server/material-extraction/runner.ts:84 \u00B7 lib/server/materials/extraction.ts:782 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/runner.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"630178565c766eacc44b80179b39cc4dc3ec6e40b9402cfac1652d753c60c2f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/server/model-config/openmaic-yml.ts:147 \u00B7 lib/server/model-config/settings.ts:894 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/openmaic-yml.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"696201136595c4d4c4aac0835e64b8a1911c72c27aa1bbc9e9d77eaf5a64cbf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/server/pbl-v3/environment.ts:12 \u00B7 lib/server/pbl-v3/lifecycle.ts:154 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/environment.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db973e6e93e58875bc16df8253e0cb1c8d6cb22442bdd6aee3c7280d70a2af2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/server/pbl-v3/project-package.ts:288 \u00B7 lib/server/pbl-v3/project-package.ts:344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/project-package.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"421e8f777ff9ffc8aa48fdd69a8542d448fa7cf46f0efba74cabfb6227347b8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/server/pbl-v3/runner-tools.ts:482 \u00B7 lib/server/pbl-v3/runner-tools.ts:582 \u2014 both copies are in the same file, so extract the block 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":"lib/server/pbl-v3/runner-tools.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"7073c6359074567c773e4602146fc41612eb5c9153c70e11a5aa50b4dbc3e2e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/utils/stage-storage.ts:150 \u00B7 lib/workbench/stage-freshness.ts:206 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/stage-storage.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7f74147694da76fa5b5f55ce2233b89576f0ee37cb29aa26d4eb93779fc1e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/web-fetch/abort.ts:3 \u00B7 lib/web-fetch/builtin-extraction.ts:128 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/abort.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1e407d11cd1efa084fd5fa80d3c942c02f1819a483e378b792744b2fc222a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/web-search/baidu.ts:111 \u00B7 lib/web-search/baidu.ts:151 \u2014 both copies are in the same file, so extract the block 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":"lib/web-search/baidu.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baad97dc77791909e005414b6d7ca933f72d2e97d8719ffb49fbbb25ccac6a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/web-search/brave.ts:183 \u00B7 lib/web-search/brave.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":"lib/web-search/brave.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"368d652065cfeb901a805a1ad54fd7bb277e994f664a79428293f2857ebde369"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): lib/web-search/brave.ts:239 \u00B7 lib/web-search/exa.ts:51 \u00B7 lib/web-search/firecrawl.ts:38 \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":"lib/web-search/brave.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"345c95d5773105ba969c2ca413ce8122b602b8d14bc8ca0cceba42e53bf2389c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): lib/web-search/doubao.ts:92 \u00B7 lib/web-search/exa.ts:72 \u00B7 lib/web-search/searxng.ts:68 \u00B7 lib/web-search/tavily.ts:47 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/doubao.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"da675ed0ac8e3578a9cd88eb2d421d3776d31fc02f1b7b17eb61d9d2a7e5424c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/whiteboard/runtime/validate.ts:472 \u00B7 lib/whiteboard/runtime/validate.ts:481 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/whiteboard/runtime/validate.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a806bd1e703916f3258a424c7b42115d3c0f7589625d84be73f0fc191777d29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/workbench/first-scene-ready.ts:19 \u00B7 lib/workbench/stage-freshness.ts:148 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/first-scene-ready.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c9fa9f0a8142c7bf66eac48ef95146fb1a83f77a819380be16cdffbd10d0e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): lib/workbench/material-upload-scheduling.ts:73 \u00B7 packages/@openmaic/importer/src/parser/ZipParser.ts:161 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/material-upload-scheduling.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ce82f88f804d3ad19b3980ee85bd575230270269e554f14c8c8187f2f655ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/canvasCommands.ts:54 \u00B7 packages/@openmaic/editor/src/ui/context/CanvasContextMenu.tsx:57 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/canvasCommands.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"30068c76be5fa83766b456749ad62986fc6e515474d226ba27b0abf0b0fee2f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/core/snapping.ts:138 \u00B7 packages/@openmaic/editor/src/react/core/snapping.ts:151 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/editor/src/react/core/snapping.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c10ddaa89d3abb0f4213ca311258754f4032e85ea387e68331de7826d27ae5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/useMarqueeGesture.ts:109 \u00B7 packages/@openmaic/editor/src/react/useRotateGesture.ts:103 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useMarqueeGesture.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c0d3f7be8f76bc75c05d3b67073f2ff038a00e4830e9a29ee0c1885319a6cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/@openmaic/importer/src/model/Layout.ts:50 \u00B7 packages/@openmaic/importer/src/model/Layout.ts:73 \u00B7 packages/@openmaic/importer/src/model/Slide.ts:244 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Layout.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6fdb4171360cee46defece98fb1b6732c9399e480820676f604103472069e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:120 \u00B7 packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:143 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/model/nodes/ShapeNode.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2460fc8c77b426cf36f4d436b492014380c0069b47de7c383fd95363f6cc5b65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/StyleResolver.ts:483 \u00B7 packages/@openmaic/importer/src/serializer/StyleResolver.ts:702 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e1ebf5684079ebb4db13e490fadb1a5fcf1d5a4075c242b57478969d7e8579"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/groupSerializer.ts:246 \u00B7 packages/@openmaic/importer/src/serializer/mathSerializer.ts:472 \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/@openmaic/importer/src/serializer/groupSerializer.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ae14b8dcf415be9f21d506dffebd0593a335f97ed03859b5fd19c6fc6e383e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/imageSerializer.ts:248 \u00B7 packages/@openmaic/importer/src/serializer/imageSerializer.ts:287 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced6e118a29842ef8593a55086a6d346a18d61ccd7aeb3e9149d2f3e75c0c42f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/tableSerializer.ts:159 \u00B7 packages/@openmaic/importer/src/serializer/tableSerializer.ts:169 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e95521a9fde02385106839e3c519b8033f307fc4a2a9e16c523daef810c9aaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/customGeometry.ts:100 \u00B7 packages/@openmaic/importer/src/shapes/customGeometry.ts:116 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/customGeometry.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6962a85595de667e5b746af22fdc64122fb8d80bea1a369b336be37632ca66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:35 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:68 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c951672ef52142b77495a1c930d6f0d0d1fd5bf3dd477a351dd8110d7e6fb26f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:247 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2297 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2531 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ae99752435d9008b8ca9b73870d1ee26572cd34a77f0e0aa1f3b89f50ec17c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:449 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:541 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:575 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:585 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d05065c632d03a62eb0c1e79295374c15ea9c9bbd41370e5c55a4377142473a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1082 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c17ee00163d9e9af88804d73838ebadac048784f4417a0437b806d3ec00419f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1200 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3479 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a58f0664095a8a73bdad1993c2f5942dc83e2502d248fb6101a624d894a7ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12 locations): packages/@openmaic/importer/src/shapes/presets.ts:2518 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5853 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5907 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5946 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"22856bbe01f29a74ef94826bbba3949e10860b7a64b32ae0a29bd8c0ddacdf9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:2778 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2817 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2778}}}],"partialFingerprints":{"codehealthFindingId/v1":"311b8037824242ffc00ba5642fc70c7365ebdefc23800af0aff0fdb7e067b172"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:2914 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2914}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b2ffbe2169713cd4f0c039748f134d45f56b62c83b5dd9f7e17d4e1ce3bdc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:5124 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5820 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6011 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d984eed4a453584a6e87b9c1cf664caf37421aee6d78f944d9ec0350c1d38eb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:5927 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6118 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5927}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aaf3a7f2e573e8bf0cea514e3b67e96918a751daa3ff28c3cbd428f28d3dc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:6072 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6134 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6413 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6476 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6072}}}],"partialFingerprints":{"codehealthFindingId/v1":"831b8e7c33e29c8a275ff9721cb0bb67182ec3cdff618c53b728ba00f19eff8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:6086 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6274 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6086}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3a4a1944f41b321c65617a7dd8532b8cf480f02540bd36ffdce40f75fa51f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:6105 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6429 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6454 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6105}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c3827eb2c3457c0c05040d20b0c76d719c8c43549d313b0ebc9df04886fd4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/importer/src/utils/mtef.ts:377 \u00B7 packages/@openmaic/importer/src/utils/mtef.ts:392 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7001da1ff0d91d6c4b8548b83cf621e6886fee35de949bea2d3642c71eca166e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/renderer/src/snapshot/bakeImageSoftEdge.ts:51 \u00B7 packages/@openmaic/renderer/src/snapshot/index.ts:454 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/snapshot/bakeImageSoftEdge.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d738a7fbe9401c0cbf14b75d4c9e9a82703a3171ef8c7a9bbd3fe960cd726ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/storage/src/asset/http.ts:738 \u00B7 packages/@openmaic/storage/src/asset/http.ts:826 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bdee1d9b016d06554411a795ede6c1372e5e12fc50357c56af8ca921d5615c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/storage/src/asset/pg.ts:1529 \u00B7 packages/@openmaic/storage/src/skill/pg.ts:466 \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/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ced4fbb9ca131bf9d128914eed7b4c6f89700569a297ca51b4bf549bbd5a70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/@openmaic/storage/src/asset/pg.ts:526 \u00B7 packages/@openmaic/storage/src/document/pg.ts:878 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f1ad8f1c3d4d1fa2a86066b6611ebb033b7f8eba50677e14eb4a550478ad39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/@openmaic/storage/src/document/pg.ts:519 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:211 \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/@openmaic/storage/src/document/pg.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97805ac240f45bfb2515afdd3fa957dc8da2622851878e8cc8e9f4ee26569e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/@openmaic/storage/src/document/pg.ts:1142 \u00B7 packages/@openmaic/storage/src/document/pg.ts:1471 \u00B7 packages/@openmaic/storage/src/document/pg.ts:1503 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/pg.ts"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf1c913716717bcc01abdfd279c6b5c610b31e7a5acaea7a66f0d18453d35a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/api/agent/skills/route.ts:44 \u00B7 app/api/folders/route.ts:50 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/skills/route.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfbd804704ae3f72c5ae5f4282bf9dc193918598f2caa4d8493b0988ac9814a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/api/folders/[id]/route.ts:112 \u00B7 app/api/folders/members/route.ts:54 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/folders/[id]/route.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"883b0868bedb32ca5f0c0032d69718f6bd712d40c7f3f9c7751066eb64af0ebf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): app/api/generation-runs/[id]/events/route.ts:29 \u00B7 app/api/generation-runs/[id]/route.ts:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/generation-runs/[id]/events/route.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cd438035b393806ba9324fdc015b084e8e3d1fa3e38f8ac795013173809857"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/api/materials/folders/route.ts:33 \u00B7 app/api/stages/route.ts:60 \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/materials/folders/route.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec77545f81b19f33ee95a1d7974a8b9d4e8e29ca936d1ef94bcc4f982855f41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/api/parse-pdf/route.ts:42 \u00B7 app/api/transcription/route.ts:39 \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/parse-pdf/route.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"844c20ff953d0d3b2a32f85a55b49a13020df70a5b2a18170e0557f0c2e03b68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/api/pbl/v3/events/route.ts:6 \u00B7 app/api/pbl/v3/report/route.ts:6 \u00B7 app/api/pbl/v3/workspace/route.ts:9 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/pbl/v3/events/route.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1767725b5b57b2eca18b3533c9bd2210e1b78298d5a43af12a1c37206927ab2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/api/pbl/v3/report/route.ts:6 \u00B7 app/api/pbl/v3/workspace/route.ts:9 \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/pbl/v3/report/route.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbed559e4f9c1ebbc75ab04cbee06072b9d906dffa03d077dd11e4e7c8d8d8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/agent/agent-reveal-modal.tsx:111 \u00B7 components/generation/roster-reveal.tsx:93 \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":"components/agent/agent-reveal-modal.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb407647e7fea98cbea99c88e3447d2fce2e03ddfa9b0337b89b5bc4b4bc5ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/ai-elements/context.tsx:96 \u00B7 components/ai-elements/context.tsx:126 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/ai-elements/context.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4884c2f9eed54429581051bd99f9661e4da7077e9688a7021c3b6290886c4c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/chat/use-chat-sessions.ts:419 \u00B7 lib/pbl/v3/event-stream.ts:50 \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":"components/chat/use-chat-sessions.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"8034a20e054b3b0b67ecd2450464f93295aed535195ca04f63265da135dd78c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/chat/use-chat-sessions.ts:1516 \u00B7 components/chat/use-chat-sessions.ts:1660 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/use-chat-sessions.ts"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f3121b6a5606dec64daa9fea6d7a4cef9569a66b4808148f317c6140cf165d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/edit/EditShell/EditShell.tsx:229 \u00B7 components/edit/EditShell/EditShell.tsx:238 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/edit/EditShell/EditShell.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaafa7b9257c5e4cda3c6c0aa802895eadd3af6d29ab1884e5eab86c176bd2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/chat.tsx:266 \u00B7 components/scene-renderers/pbl/v2/hero.tsx:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17580cd034dac3ee03640917f4a7deb136ffc05c5f398138e8096c7827f3d77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/hero.tsx:69 \u00B7 components/scene-renderers/pbl/v2/sidebar.tsx:131 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/hero.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7731c2ff45b3d07549d285c1b45d81f39a05513270d541414221ff26e465ea9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): components/scene-renderers/pbl/v2/submission.tsx:285 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:837 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:931 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a255c432ebce8740f1ba64d6d464b17fc657b8575b8e09d7b7bae4262588eb69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/project-entry.tsx:23 \u00B7 components/settings/token-plan-settings.tsx:202 \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/scene-renderers/pbl/v3/project-entry.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c727df1ce717adc421dd7dc82287c264424bad4f8e94536f3087230c7dcd879a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/settings/models/slot-meta.ts:71 \u00B7 components/settings/server-settings.tsx:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/models/slot-meta.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf208564ee619a54549dd0fffe750b3b9a8804b339910149676f5b1cef22922d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): components/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx:132 \u00B7 components/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx:160 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useInsertFromCreateSelection.ts:28 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useInsertFromCreateSelection.ts:53 \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":"components/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"05142a6595aba315cf6714e58283fc00ed7838c97d4cc4ca2c9174b3e50668b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx:42 \u00B7 components/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx:135 \u2014 both copies are in the same file, so extract the block 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/slide-renderer/Editor/Canvas/ShapeCreateCanvas.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d2d7c1de707e82aa2ed156df86f60850e97893962a18abd5cf3b8fd8af73f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:176 \u00B7 packages/@openmaic/editor/src/react/core/resize.ts:363 \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":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fca7571600ad192ae88a710f7e1a442f313e2e2e225f752eac12755c2f0605"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/slide-renderer/components/element/ProsemirrorEditor.tsx:220 \u00B7 components/slide-renderer/components/element/ProsemirrorEditor.tsx:230 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd751c1e3207bf6654979347c3edb5ebc9c84529ae32f66784278a407cf8c73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/slide-renderer/components/element/ShapeElement/index.tsx:156 \u00B7 components/slide-renderer/components/element/ShapeElement/index.tsx:259 \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":"components/slide-renderer/components/element/ShapeElement/index.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ee6ebf42f63eb296254897c65e7c893ada205513c846ba69c3e8413097d317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): components/slide-renderer/components/element/hooks/useElementFill.ts:10 \u00B7 packages/@openmaic/renderer/src/elements/shared/useElementFill.ts:4 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/components/element/hooks/useElementFill.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52543f90c1d6d07e93051a68ce583ee259f1dbb1f87ac0480d7b5529d88fec4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): eval/pbl-v2-planner/build-compare.ts:26 \u00B7 eval/pbl-v2-planner/serve.ts:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/pbl-v2-planner/build-compare.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccdebfaf264c5eef77bde8643c22bfd5382f588c5b629611871eae7a85cf0d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/ai/providers.ts:1827 \u00B7 lib/ai/providers.ts:1898 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/ai/providers.ts"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"087a13e3a6d12b34be1708e9e00c55e2e2f5fd9f94980a723c732bd009cf2512"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/api/stage-api-scene.ts:99 \u00B7 lib/api/stage-api-scene.ts:133 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/api/stage-api-scene.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9b9ca7a51212dcf35ddd21f9b73e56fab5688eec8a7d6bbb7c1deda10bd7f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/audio/asr-providers.ts:647 \u00B7 lib/media/adapters/glm-image-adapter.ts:105 \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/audio/asr-providers.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fae7ed162a4c0694266711cade3162d4178bd8c99fa4756a730499f20f81714"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): lib/audio/tts-providers.ts:931 \u00B7 lib/audio/tts-providers.ts:1234 \u00B7 lib/audio/tts-providers.ts:1426 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/tts-providers.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fffec236b60d661bb2aae54c7c8fadf766b4f8f9f6fb6c4866a997a6d2e5471"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/buffer/stream-buffer.ts:213 \u00B7 lib/buffer/stream-buffer.ts:261 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/buffer/stream-buffer.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e46538a1b92402380476f879972b6de2b8f34ad9eeb494598fc9dbca695c4db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/chat/pi/tools/native-whiteboard.ts:438 \u00B7 lib/chat/pi/tools/web-search.ts:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf100fea4cec26aacf1191ef3725514f4e69a1152ab7062d96a127ece71c349"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/classroom/load-classroom.ts:286 \u00B7 lib/media/media-task-resolution.ts:159 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/classroom/load-classroom.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84545ec4bc7402bcc994da580941f0ba917e29c41ec10cb6eedca4cf7aef1e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/document/extractors/media-registry.ts:34 \u00B7 lib/document/extractors/registry.ts:29 \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":"lib/document/extractors/media-registry.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"12472f3d03c1ba5e7c5bfd654b14bc6ba56a36543f57dab2f58ce72bf482523c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/export/use-export-classroom.ts:383 \u00B7 lib/export/use-export-html.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/export/use-export-classroom.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93d56c2e85d57f1536b23adccf0883ff2d9d27c7210d1cb3b44cb6398d8f780"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/generation-run-client/follower.ts:343 \u00B7 lib/generation-run-client/owner-runs.ts:145 \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/generation-run-client/follower.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53f19491da80f6ab67df2f8844f1e31ba088c4bff487b53cee93db474ecd2a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/hooks/use-order-element.ts:40 \u00B7 lib/hooks/use-order-element.ts:90 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/hooks/use-order-element.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58ad9cfa8a20299b3755cbf68c6ca14214e5eb0c30af8347955d70d0628889f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/legacy-browser-import/model-settings-unimported.ts:133 \u00B7 lib/legacy-browser-import/model-settings-unimported.ts:163 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/model-settings-unimported.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c31e0a11afaf7efe13526ba872f952c23a749e08e7f2676a11bad88be0718cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/legacy-browser-import/server.ts:144 \u00B7 lib/orchestration/registry/client.ts:24 \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/legacy-browser-import/server.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62591c150e82f5891665d75050024a2791b633efb55f9475eedc17b17797201"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/legacy-browser-storage/index.ts:149 \u00B7 lib/legacy-browser-storage/index.ts:165 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/legacy-browser-storage/index.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a01c22c4d8b33cd4075b41cc1a7d597b426446a6ab86209fcf5f90718fb6d44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/media/adapters/comfyui-image-adapter.ts:561 \u00B7 lib/media/adapters/minimax-image-adapter.ts:93 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"f129c2639e8d3927ff5d1139645125472553d0169b67938224174851c3914e0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/media/adapters/openrouter-image-adapter.ts:30 \u00B7 lib/media/adapters/openrouter-video-adapter.ts:38 \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/media/adapters/openrouter-image-adapter.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf988c2882eda77839d68589b5fa868cd4d6c40f4419a276fb017a7a94aba9ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/model-settings/edit.ts:548 \u00B7 lib/model-settings/token-plan.ts:291 \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/model-settings/edit.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0d318ed3d5aebbf0a0d2639d9853da1e7ad97a654fa87fedcf3abb83d87003"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/model-settings/edit.ts:125 \u00B7 lib/model-settings/services.ts:245 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 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/model-settings/edit.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea8d0c419ae18cfc61e3e1d10006085e275207fe2fa45211f81d391cda0c5de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/pbl/legacy/read.ts:176 \u00B7 lib/pbl/legacy/read.ts:183 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/legacy/read.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d97ad3afab820685af08277a2f1816dce915b4e2ae1359c6e942df4f89698f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/pbl/v2/agents/instructor.ts:1380 \u00B7 lib/pbl/v2/agents/instructor.ts:1772 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/pbl/v2/agents/instructor.ts"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ac69769a0f244338da41de0485dc40287fb07f39d87e1124073a4629944f86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/pdf/pdf-providers.ts:242 \u00B7 lib/pdf/pdf-providers.ts:557 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/pdf-providers.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a8eb361a11d0a31b1e51cd3583c48bf546646cf7a07da1c4494e464254ac51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/persistence/legacy-classroom-imports.ts:34 \u00B7 lib/persistence/legacy-import-bindings.ts:46 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/legacy-classroom-imports.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c009d5356cab8e54dfddd1d6a85dfd90ddc826cbc12774eedfbe022cdea4b454"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/persistence/owner-claims.ts:184 \u00B7 lib/server/agents/store.ts:141 \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":"lib/persistence/owner-claims.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c3d22f6591cc558b8990393f341a5913e857a2aa3ee95299f0bd54044b291c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/persistence/owner-materials.ts:699 \u00B7 lib/server/materials/migrate-to-pool.ts:187 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 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/persistence/owner-materials.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe71c0787711721305b7878761f9a96b32e5251412f1f50ee041e6b5caac66c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/persistence/owner-merges.ts:55 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:163 \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/persistence/owner-merges.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"349b5f33128574978a31e753b27e3ce2cd811bc2bed4bd3fa6ab5dd115bb81bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/persistence/plain-json.ts:39 \u00B7 packages/@openmaic/storage/src/runtime/json-value.ts:128 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 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/persistence/plain-json.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85628107035298dd94b7857e9904d58bac0df629eb082932d0329f75bd370f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/quiz/runtime.ts:226 \u00B7 lib/runtime/learner-key.ts:28 \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":"lib/quiz/runtime.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebe85c1c42a725c043e26162522c796f8dc3793eadc3212bd99c403b3b01c61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/sanitize/scene-content.ts:270 \u00B7 lib/video-export/passes/visuals.ts:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/sanitize/scene-content.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"54150ad885789520ee17f8209868ca3695d49ad091847925f20e1c47c97c6e3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): lib/server/agent-runtime/course-edit/apply.ts:227 \u00B7 lib/server/agent-runtime/course-edit/apply.ts:492 \u00B7 lib/server/agent-runtime/course-edit/apply.ts:508 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c700ed76c30f4639b6dfa30b043496262a1088f84f4ca3db4cf2e8882fe1ae20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/server/agent-runtime/course-edit/element-schema.ts:765 \u00B7 lib/server/agent-runtime/course-edit/element-schema.ts:772 \u2014 both copies are in the same file, so extract the block 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":"lib/server/agent-runtime/course-edit/element-schema.ts"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de1fdafb91f09ee81f578a2ce16010cde9873f46eb52dd1ceb331a8d14e8e35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/server/agent-runtime/course-edit/media-byte-omission.ts:357 \u00B7 lib/server/agent-runtime/course-edit/media-byte-omission.ts:377 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/media-byte-omission.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c0b151c9ea56dff3201aac436ce4ad8116e9e124de607fc853deec3d0e0005"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/server/agent-runtime/dsl-tools.ts:149 \u00B7 lib/server/agent-runtime/skill-edit-tools.ts:116 \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":"lib/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6359a66d24cd32c28575f57ae6786740b78fe5410ac5fa4f3a4be8f77552a520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/server/agent-runtime/generation-tools.ts:105 \u00B7 lib/server/agent-runtime/generation-tools.ts:112 \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":"lib/server/agent-runtime/generation-tools.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2685fc405c017400608ab9f080617ff7a01ca657af86dfd24172d955c96ca1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/server/agent-runtime/personal-history-tools.ts:326 \u00B7 lib/server/agent-runtime/personal-history-tools.ts:375 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/agent-runtime/personal-history-tools.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb823c7c6086a85f2ff46401fcf0904fcad9ba543758ffb3a88bf3bf89e3cac4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/server/agent-runtime/skills.ts:309 \u00B7 lib/server/skill-export.ts:81 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/skills.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedea15cde1a05848c9d3336011051937dc1ebf3451cde52e06f580573eeef5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/server/generation/run/runner.ts:216 \u00B7 lib/server/material-extraction/owner-extraction.ts:717 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/generation/run/runner.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c01b1eb158de17a18957ed5cd1d2d5a3b4fea58e3e033bb0f03e1b68920a9d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/server/generation/run/services.ts:330 \u00B7 packages/@openmaic/generation/src/generation-retry.ts:28 \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/server/generation/run/services.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"163a2a3c31ab59963b4da9bda890fe5c9380872093f2d108e847896660764329"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/server/identity/navigation.ts:84 \u00B7 lib/server/identity/single-user.ts:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/identity/navigation.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fec26226a8d6978606d7543a1324341939bddbf6a4a90398f16cfeccee9bee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/server/llm-provider-fetch.ts:35 \u00B7 lib/utils/rejected-redirect.ts:9 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/llm-provider-fetch.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a09c6ff95bd82a45204c852a466fb65e153e645435f9296b7cce45c6e6e57c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/server/llm-provider-fetch.ts:83 \u00B7 lib/web-fetch/builtin-extraction.ts:150 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/llm-provider-fetch.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"307b633d40a87ca289e7f1db6951ef5e76c08145f4a731ab4ee86136aafac2a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/server/model-config/openmaic-yml.ts:149 \u00B7 lib/server/pbl-v3/guided-review.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/openmaic-yml.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac7a4841c6c52608228f4464dd5a3731655c8d9db0a7d9a2c0ad18f9a4d5a37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/server/model-config/runtime.ts:105 \u00B7 lib/server/model-config/runtime.ts:136 \u2014 both copies are in the same file, so extract the block 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":"lib/server/model-config/runtime.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e890fd09171a1533ab7cd38f1021dd44e13540a2ddf289c32daa2e91c413e46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/server/pbl-v3/execution-watchdog.ts:60 \u00B7 lib/server/pbl-v3/lifecycle.ts:615 \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/server/pbl-v3/execution-watchdog.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"163a807d2731daf515783cf624c13976f1ef43382be8e2ffc1f1fb8f4d3423af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/store/media-generation.ts:111 \u00B7 lib/store/media-generation.ts:170 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/store/media-generation.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c5dfac1c0d7d5404826aea2831f3b2475494f59fa9fbef25060f8bda38bc02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): lib/video-export/ir.ts:206 \u00B7 lib/video-export/ir.ts:250 \u00B7 lib/video-export/ir.ts:282 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/ir.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e8540ab30c1421b195ae62e2063a1b854ce7e1beb3d5398142e5c076e91c00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/video-export/subtitles.ts:43 \u00B7 lib/video-export/subtitles.ts:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/subtitles.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda0a3fb5a7da17c77b407ccaa0ca0107c619ee8fb9aeef1663743bb16260c9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/web-fetch/abort.ts:2 \u00B7 render-service/src/preview-renderer.ts:440 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/abort.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"63070d8ca1d7d7eafff7e1306476b934ea5cc58b3e16c7b61dba52f739a23d51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/workbench/material-library-client.ts:252 \u00B7 lib/workbench/material-mention.ts:129 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/material-library-client.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1aee7db6bf5ef8105a71b980470feb11c173eaab0b0f0949c53561cdb76cb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/dsl/src/validate.ts:355 \u00B7 packages/@openmaic/dsl/src/validate.ts:436 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/dsl/src/validate.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"021159e7efd1a865f44ef9b2ce14391c143c2f5cf8b88edfb76f819c87ec040f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/editor/src/ui/adapters/generic.tsx:18 \u00B7 packages/@openmaic/editor/src/ui/adapters/image.tsx:45 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/adapters/generic.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2677e8d900e8eb4e5e7f11aad3563f69430231c505f07ae7af205d11ae6f3fda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts:290 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts:334 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b18a996d2e24821daedd448fb964d56cee70653b64a2c8c77b300c4adb42d2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/@openmaic/importer/src/model/nodes/BaseNode.ts:151 \u00B7 packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:298 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/nodes/BaseNode.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c83dd8c588d7fc14fe56404e19c678e0e600db18979045e6268bffd68d234bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:272 \u00B7 packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/nodes/ShapeNode.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"57466707cf8873a3e0a68d1df480f992dc3c23f21adec91b286864907a47749b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/@openmaic/importer/src/serializer/chartSerializer.ts:425 \u00B7 packages/@openmaic/importer/src/serializer/groupSerializer.ts:248 \u00B7 packages/@openmaic/importer/src/serializer/tableSerializer.ts:490 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/chartSerializer.ts"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"efadf0724d0ee4bc2a4b7aa2b60df95d6329778b1fb81b49cb24bae6f8071fff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/shapeSerializer.ts:161 \u00B7 packages/@openmaic/importer/src/serializer/shapeSerializer.ts:180 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac15fae218f60b633c505cdb72f2f91f3c20ab9fe5462b28141625033497d6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/@openmaic/importer/src/serializer/textSerializer.ts:358 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:391 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:406 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf1902c5a93165779e1a3d6139120f0a780c484f6d659a67d7b31b45b87f9ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/textSerializer.ts:700 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:709 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5bc4be5ab75278b82b23de48c18005f86bc0b68408d5efc5f9f3a8c55feb6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:227 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2449 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e2eb407588ea55b544cbe2d11aabf71b4ab6508852584c2cf664a772f7e4f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:270 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:298 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3026 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3728 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5011e5ed2624dcf22dbf48e536e18180406b065fcddde08177074ba1161f18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:439 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3002 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ba1b0a01db25376af7b298ba4b6e3e56e1896a346cb00def5a205e1c6fa3a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:700 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:732 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:751 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1179 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f548e229de51a6210d75948e3807c5216e289bca7794c29e2f767e1c398a67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:716 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:736 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1183 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a3913d15b3f8300f3ae08a3f8a1af326d701cd02153fff74db8e145aa074e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10 locations): packages/@openmaic/importer/src/shapes/presets.ts:788 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:933 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:980 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1027 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bf8bb53d4a80aa2dc0b73fbb9573e3be5af3c3649b0a2434c79c89632b4d55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1046 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1275 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e6b9bcfcba992f102d9cdc4bfbca123a5342414d75a2ce1fad18a2ebf6962d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1226 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3003 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9831a8d4bacf5744a1ccd28b2f587b6e316e4e3ac0e1cf91f028aca3994b849d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1404 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1413 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a34376a00a272fffbe1e0dffcdb09799f82b116a0454f21ba95490ee48ad29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:2853 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2974 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3575 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2853}}}],"partialFingerprints":{"codehealthFindingId/v1":"f070896ae08da93f3060dcbfea69ab76f34b929c49f4da496698f37068a8ef7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:3354 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3421 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86db6b4473b817ac1b49bdbf76428f4080c0676cfc0256a4a1d0c2d34cb0cc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9 locations): packages/@openmaic/importer/src/shapes/presets.ts:4530 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4547 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4565 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4583 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4530}}}],"partialFingerprints":{"codehealthFindingId/v1":"387c417148bcd3e68d9e52271e206352e49ff9fc651b80ce193a6caef8626899"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): packages/@openmaic/importer/src/shapes/presets.ts:6036 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6068 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6232 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6252 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6036}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64736230a8fc7baeb50167186691d3c1356079f3c1652536f34bf91e4344988"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): packages/@openmaic/importer/src/shapes/presets.ts:6312 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6327 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6408 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6423 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5eb5f36779dab3a7e31b9870430896d61ec30053bec4eb893db9f83ff8dadc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:6328 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6345 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6424 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6494 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e85fdf45825dc6a9b5b67c38fb3788b899f1827799e93b31f984c6763290ca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): packages/@openmaic/importer/src/shapes/presets.ts:6356 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6435 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6448 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6459 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b05834780eebae04374dea655a4fd8f0638ebeb622410888d0c065c2850db27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): packages/@openmaic/importer/src/utils/color.ts:162 \u00B7 packages/@openmaic/importer/src/utils/color.ts:175 \u00B7 packages/@openmaic/importer/src/utils/color.ts:188 \u00B7 packages/@openmaic/importer/src/utils/color.ts:201 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/color.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da795101a9a21a31f9f93ce83da86116a885ac38a8c11c535696529f1c36509"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/storage/src/agent-session/pg.ts:1280 \u00B7 packages/@openmaic/storage/src/agent-session/pg.ts:1337 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4666117182e212cff8bb2ddde76b751a9977e4644d745319345df69b2d53c45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/@openmaic/storage/src/asset/browser-store.ts:286 \u00B7 packages/@openmaic/storage/src/asset/browser-store.ts:396 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/browser-store.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"437719e8bbc47cb9f17d8e0b29c8ab2df862ccb8ff2f74e68c0563d1d4dcd06e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/browser.ts:405 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:548 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"51be43413ba5598f730267f1b6c79161a6d611c97faac826d6a703ec5e2591b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/@openmaic/storage/src/server/asset.ts:842 \u00B7 packages/@openmaic/storage/src/server/document.ts:467 \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/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f87a6debadc5352ca6546dd3708c0a0d4d32a914febb88ec359ce3bac1664d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): render-service/src/resource-settings.mjs:38 \u00B7 render-service/src/resource-settings.mjs:54 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/resource-settings.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b673aceb1ebbeeb1b56e4d919a6a1670723decd7a9fa727768702582ef4a0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/generate-video-export-noto-cjk.mjs:79 \u00B7 scripts/generate-video-export-noto-script-fonts.mjs:212 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate-video-export-noto-cjk.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad428b18972453cc14b3996ff1893867a6d7e05cb65463d35efee6b0cc55e45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/api/agent/sessions/[id]/messages/route.ts:74 \u00B7 app/api/agent/sessions/[id]/messages/route.ts:82 \u2014 both copies are in the same file, so extract the block 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/api/agent/sessions/[id]/messages/route.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42b97154e208e0c10b55b3f41bbe91dc47ef8d61aa38d5363d7b476b5ff2054"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): app/api/agent/sessions/[id]/messages/route.ts:59 \u00B7 lib/server/generation/run/input.ts:110 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/sessions/[id]/messages/route.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"051fa1be495da4ad05775e1fd1fde2ac0839f7b9cedc1c1781fe6af0860e5871"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/api/agent/sessions/route.ts:227 \u00B7 app/api/agent/skills/route.ts:27 \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/agent/sessions/route.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e389ec239ab5a3ad10cbe5e28711dc1d68f1d0b25d2a7df3375160a93987a65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/api/agents/route.ts:28 \u00B7 app/api/model-config/route.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":"app/api/agents/route.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a863321bb77d2fc949bd2435a8057b339ad4535b333a2d32f4d81d28853d67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/api/identity/claim/route.ts:10 \u00B7 app/api/identity/legacy-import-binding/route.ts:12 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/identity/claim/route.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da30556530c9f8d09dddb431ad8d056db270df38f654f0cf2340af217575f27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): app/api/model-config/route.ts:71 \u00B7 lib/server/model-config/openmaic-yml.ts:149 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/model-config/route.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb54f43ed5effd1e46e154f1eac8ae702e878845e9cf99b8cd8652e95f73f788"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): app/api/model-config/route.ts:71 \u00B7 lib/server/model-config/settings.ts:896 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/model-config/route.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"49db92b3c98293022497aaa1eb0915a904703c35c479698fdfeabce48b84d1db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): app/page.tsx:1352 \u00B7 app/page.tsx:1907 \u00B7 components/chat/session-list.tsx:121 \u00B7 components/user-profile.tsx:174 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2aaf50541fbc84e28514c2689e58d76902f2819d10231a47b27eff9643a33b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/page.tsx:1807 \u00B7 components/agent/agent-bar.tsx:843 \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/page.tsx"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"159d0cb2d4acc01b910274435120a5e149b6f82453ec3963241b6f867fd0208b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): components/access-code-modal.tsx:14 \u00B7 components/settings/sandbox-settings.tsx:18 \u00B7 components/whiteboard/whiteboard-canvas.tsx:138 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/access-code-modal.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47dd1e890921eee8a87474521af9856f152b69f707b740008f0a3ee08aaf787"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): components/ai-elements/context.tsx:116 \u00B7 components/ai-elements/inline-citation.tsx:22 \u00B7 components/ai-elements/inline-citation.tsx:99 \u00B7 components/ai-elements/queue.tsx:122 \u2014 the 4 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":"components/ai-elements/context.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d642a9c0f522f3087dbb1d4996b812faa57d5c6843631daf12e899d8c74909c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): components/ai-elements/inline-citation.tsx:20 \u00B7 components/ai-elements/inline-citation.tsx:97 \u00B7 components/ai-elements/queue.tsx:99 \u00B7 components/ai-elements/queue.tsx:120 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/inline-citation.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b82ed0381e5065af229e5b789d842f8ba1b21f2361f12cd68d97bce3ad484c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): components/edit/surfaces/quiz/QuestionCard.tsx:322 \u00B7 components/edit/surfaces/quiz/QuestionCard.tsx:342 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/edit/surfaces/quiz/QuestionCard.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa67884466ac72204cf0f2cc8af29436d3c3fc9b19d19ccbabfd21ccf483a2bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): components/edit/surfaces/quiz/use-quiz-surface.ts:129 \u00B7 components/edit/surfaces/quiz/use-quiz-surface.ts:166 \u00B7 components/edit/surfaces/slide/use-slide-surface.ts:232 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/quiz/use-quiz-surface.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73bb054fafd89c20d205bc931c238f3efaff346f5ef3fa428452346cb9e5a0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): components/edit/surfaces/slide/text-format-bar.tsx:179 \u00B7 packages/@openmaic/editor/src/ui/text/FontSizeControl.tsx: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":"components/edit/surfaces/slide/text-format-bar.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cfd501db48f89e5bc844a25828357cd01f508e6729f33077296b6abc7e5f5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): components/edit/surfaces/slide/use-slide-surface.ts:128 \u00B7 components/edit/surfaces/slide/use-slide-surface.ts:136 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/edit/surfaces/slide/use-slide-surface.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7bb84cc0cd0fd82a6c0dca52710135f81e4b7e1e49e69fa27f85f65adf46a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): components/roundtable/index.tsx:1012 \u00B7 components/roundtable/presentation-speech-overlay.tsx:278 \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/roundtable/index.tsx"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1c5aaf47f2a20fbc0ceacbcd072b0b23c30640386097eb343a5737bf975475"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/submission.tsx:927 \u00B7 components/settings/tts-voice-managers.tsx:56 \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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c256f4a6c9e50491b7bcd08b904efbe77d809164d12e6eac84cbafef192282"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/learning-panels.tsx:21 \u00B7 packages/@openmaic/editor/src/ui/video/VideoToolbarOverlay.tsx:65 \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":"components/scene-renderers/pbl/v3/learning-panels.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"48075df4d82e21d5af4517126f15fed7ab794c65ef26209774960dacc9080799"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): components/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx:111 \u00B7 components/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx:135 \u00B7 components/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx:163 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useInsertFromCreateSelection.ts:31 \u00B7 \u002B1 more site(s) not listed \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":"components/slide-renderer/Editor/Canvas/ElementCreateSelection.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfb006c312da640f0bef038442694c45d0201381717d43d40266e6e6f73a5c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useRotateElement.ts:69 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:304 \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/slide-renderer/Editor/Canvas/hooks/useRotateElement.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"234b7cc8dec7821132596b77262c6500bfdc9425be69acf23a0eedfb771ca783"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:351 \u00B7 packages/@openmaic/editor/src/react/core/resize.ts:405 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e270add3063e9941035d7b5302d58ae92bb08ef6247c94e38aa9b69272915b74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): components/slide-renderer/Editor/Canvas/hooks/useSelectElement.ts:44 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useSelectElement.ts:62 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/slide-renderer/Editor/Canvas/hooks/useSelectElement.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efe2e4e53c6ead0b03d59f4ef15533866c3a557c9f33d69da0ebd9cb698bdc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx:57 \u00B7 components/slide-renderer/components/element/ImageElement/useClipImage.ts:38 \u00B7 packages/@openmaic/renderer/src/elements/image/useClipImage.ts:29 \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":"components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fb8f2a62d944b64b60a7d78fe5c4057b9d791ea496f45f0520481c5e444783"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): eval/pbl-v2-planner/runner.ts:616 \u00B7 eval/pbl-v2-planner/runner.ts:776 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"481b2178315ba395815f2b9cb718f5664da21063d14ea476e2c8b82a2c096a94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/agent/runtime/tool-call-arguments.ts:19 \u00B7 lib/server/model-config/openmaic-yml.ts:211 \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":"lib/agent/runtime/tool-call-arguments.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ffc143f4b2c96d20fdff9657a4ebf2ed8c3b255ae6a84f670c4129b58563ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): lib/api/stage-api-whiteboard.ts:158 \u00B7 lib/api/stage-api-whiteboard.ts:190 \u00B7 lib/api/stage-api-whiteboard.ts:218 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/api/stage-api-whiteboard.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d1ebf296c41ea7d5bb61a6c1c88dcb03a87706ca45f3519e02aa443dc9682f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/audio/tts-providers.ts:446 \u00B7 lib/audio/tts-providers.ts:513 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/audio/tts-providers.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"72408f8b0a5b633e3ed2123446e82541bd1ba5c7918ab293c8ac360136c21d67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): lib/audio/tts-providers.ts:741 \u00B7 lib/audio/voice-registration-client.ts:32 \u00B7 lib/audio/voxcpm-registration.ts:29 \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":"lib/audio/tts-providers.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ad8b5dcb1769a20d293c626293b11d67ac5bad9c3a5906bca341f92b272076"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/chat/action-translations.ts:73 \u00B7 lib/chat/action-translations.ts:85 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/action-translations.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e90664a00e0ba6a8e827898a9821145077cb91d881111bc8a75cb3f4eb665db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/device-storage/database.ts:206 \u00B7 lib/legacy-browser-import/device-rows.ts:77 \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/device-storage/database.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9bea2e110548fca8990873eb0892bcdd988801ed24030db2a5740fbc46de20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/export/css-asset-parser.ts:283 \u00B7 lib/export/css-asset-parser.ts:302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/css-asset-parser.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"225e29de02d7d3cd2c9e8ed507ca938c2e1d48737002e992ec50f455bd6cc0ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): lib/export/css-asset-parser.ts:67 \u00B7 lib/export/css-asset-parser.ts:190 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 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/export/css-asset-parser.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c60b8025c1ed8ac63221099d3a8e1bd3b32a59557bef3df4e133f2715c9c036"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/generation-run-client/follower.ts:121 \u00B7 lib/generation-run-client/owner-runs.ts:139 \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/generation-run-client/follower.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15d5b4781477c5fef45024b5a224b92aafc9976665e75a8466397ce409f30b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/hooks/use-order-element.ts:134 \u00B7 lib/hooks/use-order-element.ts:170 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/hooks/use-order-element.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd606812ea5f5c340a9230ee96ee9c2a209fc93ea354a2e51455331ba4e3ccf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): lib/media/generated-media-references.ts:26 \u00B7 lib/server/legacy-classroom-import.ts:249 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/generated-media-references.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bac615b536ea042ba11681662c6bf06e2061e38ec0faadfe7062293ed7fd5f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/orchestration/summarizers/state-context.ts:67 \u00B7 lib/orchestration/summarizers/whiteboard-conflicts.ts:93 \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":"lib/orchestration/summarizers/state-context.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98f6466c53fb0f6aa5152a10395631be19e5329a5b2a338356a6a9e34fdaba0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/pbl/v2/agents/instructor.ts:934 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/task-completion.ts:114 \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":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a8c822cf8f8585deba3c7f316b93fa2b7ac4f4ec6f72294850f286d78dca17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/pbl/v2/runtime/drain.ts:333 \u00B7 lib/pbl/v2/runtime/drain.ts:385 \u2014 both copies are in the same file, so extract the block 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":"lib/pbl/v2/runtime/drain.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ebfab97635b2aa38a8dcb2e3a3703f88f32f7927b83b0dc4e8e26a0729d356"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/persistence/owner-claims.ts:196 \u00B7 packages/@openmaic/storage/src/asset/pg.ts:1534 \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/persistence/owner-claims.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59306ce4c54fb5cf736b4b7c59d9c5dba3994af61cf450ad1d75e83014a3fd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/persistence/plain-json.ts:10 \u00B7 packages/@openmaic/storage/src/runtime/json-value.ts:32 \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/persistence/plain-json.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b7abf904e5f38079d919aee5c3b638efeb557a1f69998e845740741cc8ed16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): lib/server/agent-runtime/course-edit/apply.ts:38 \u00B7 lib/server/agent-runtime/import-pptx.ts:120 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd0f18beb874fdc5fb509ec435431d7d04d5ecbdae26a3c626fd3bb555e58c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/server/agent-runtime/dsl-tools.ts:1062 \u00B7 lib/server/agent-runtime/dsl-tools.ts:1216 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a30cc54cac919f8f365ab719c3f77d433f031a3345ddbd9a7558d89eb68431"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): lib/server/material-extraction/owner-extraction.ts:717 \u00B7 lib/server/materials/extraction.ts:782 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/material-extraction/owner-extraction.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7b100119022ca61607c99a5046e9b4c6903dfda4cc2ce3507c1917a73e87ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/server/pbl-v3/project-package.ts:23 \u00B7 scripts/build-pbl-example.mjs:13 \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/server/pbl-v3/project-package.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e5895e7f543e4807614010a71756a03cb8f2c41dab9827c1b75398e2887a2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): lib/server/pbl-v3/runtime.ts:716 \u00B7 lib/server/pbl-v3/runtime.ts:734 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/runtime.ts"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"91be135d2435971f3b89d503687b5b74a07f964eae751db97b66daa2eee6813f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/server/provider-config.ts:257 \u00B7 lib/server/provider-config.ts:485 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/provider-config.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dd9dec3e616fad2180aefd988ae2a83a5289edf13da0b155ee3c5248efbac5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/server/secret-box.ts:149 \u00B7 lib/server/secret-box.ts:180 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/secret-box.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3bfec8561a29298d24be5afaca6514dca35927dea4567da9cf05240db92d70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/utils/stage-storage.ts:968 \u00B7 lib/utils/stage-storage.ts:1388 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/utils/stage-storage.ts"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a2fcb8ac816737cf390dba7530146881e339217186564607e8aec5d4c26c60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): lib/workbench/workspace-course-tabs.ts:65 \u00B7 render-service/src/preview-validation.ts:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/workspace-course-tabs.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2acebd259f42ed17c08dbbc5acaea9cb519ef68b2075f5bc51228d3440a5b11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/dsl/src/normalize.ts:396 \u00B7 packages/@openmaic/dsl/src/normalize.ts:408 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/dsl/src/normalize.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"537f094d07dbfbbc2a0a90a11c295cf1b2975fbdb1c00933a80394a45152cec9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/generation/src/interactive-post-processor.ts:212 \u00B7 render-service/src/preview-renderer.ts:76 \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/@openmaic/generation/src/interactive-post-processor.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"7490b2686604ff640193a450b9e60e9abfcb9718592215fab4d27a92b2930938"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/Presentation.ts:438 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:230 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"358e1bad3611a326eb88ddb53478ad9aeeef83aa8e6b8cbafdadddec54425046"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/StyleResolver.ts:701 \u00B7 packages/@openmaic/importer/src/serializer/StyleResolver.ts:837 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd5e99438706e18235e7a3ac078cc0f4979a5722256b172abc3e7d3a69966bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/StyleResolver.ts:227 \u00B7 packages/@openmaic/importer/src/serializer/tableSerializer.ts:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9f2e13bf4657e3a58c1611e02ca3e36fe2919782b7b22c377aa5af451ecf27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/backgroundSerializer.ts:76 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:556 \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/@openmaic/importer/src/serializer/backgroundSerializer.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ddac6c22d17c524a24f92f1d8382903cb567aa9c779be8ae73be62d06fc0a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/backgroundSerializer.ts:161 \u00B7 packages/@openmaic/importer/src/serializer/tableSerializer.ts:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/backgroundSerializer.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c027b5b1782fdb47f5acab621220c16925ad81c4c2e185d999232665bd0ca0d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/chartSerializer.ts:92 \u00B7 packages/@openmaic/importer/src/serializer/chartSerializer.ts:111 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/serializer/chartSerializer.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"45121ad4d54132dcf6c2dc6f000e5f737f521b9f383620ccf2210e87c687c22d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/imageSerializer.ts:419 \u00B7 packages/@openmaic/importer/src/utils/mediaWebConvert.ts:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeb632a80d539277c2a468508bc372bf4202ce66fc37e2f09364b01c01ccadf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/customGeometry.ts:164 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2964 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/customGeometry.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2976d587f209e7f53202d4ab9168af30b3ef9cbb8174c4f0edf0397ba92202"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:633 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:711 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3536 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3558 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"7755c4412e82a772f227ef2cfd01bbd08474734bc74d76b694776105078c6fbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:1154 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2987 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3373 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5999 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f827b8940b6b5349da8afcc2b780a0b6273304d55d3579b5a0cb0bad54922d2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1260 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3883 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2989c612e3f979d7be01bac7847ebfa80e7b27f49c284884d9035d494b31fc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:2986 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3372 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3396 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2986}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a7a3ec4a4ff3639c40916a3219553522abb750e201399de0bc2ea1841ab2f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:3010 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3033 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3010}}}],"partialFingerprints":{"codehealthFindingId/v1":"270c8331a088ec319b0e2bb08ea39678e98a965012eb615214fe67c743360d9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:3937 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3945 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3937}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8cde5c772fd6de101214320b034ea58b9b3a071e80feb9a842d55f13857096"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:4261 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4289 \u00B7 packages/@openmaic/importer/src/shapes/shapeArc.ts:26 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad05efcf549e23b2b6d52981cc40f4ee6fc6d47180a803b64bd41660e3244ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:4974 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5470 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4974}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3f46b7755dac218961aad1c99527aae811fad8e92d3051c4fd4755bcf3c737"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:6342 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6350 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7903f2a2d404448fcf2884ad702877645c734027856c18bf05e9cf99c91f494b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:6365 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:6537 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":6365}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb64bf67595aa43401190f6b88a82a9b490f42714728255ba0dd9bcabb9e3b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/@openmaic/importer/src/utils/mtef.ts:324 \u00B7 packages/@openmaic/importer/src/utils/mtef.ts:348 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"7698af43af0784fb334610f4a646d9dc8bef0dfcc364bcd7a2fa7be17698146c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/@openmaic/storage/src/asset/browser-store.ts:118 \u00B7 packages/@openmaic/storage/src/document/browser.ts:50 \u00B7 packages/@openmaic/storage/src/runtime/browser.ts: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":"packages/@openmaic/storage/src/asset/browser-store.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac54a3298fd7d2ea01d5db15d38d41c594d6863fefebd116f7fa29658f51b6ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): app/api/agent/sessions/[id]/events/route.ts:61 \u00B7 app/api/skills/[id]/route.ts:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/sessions/[id]/events/route.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4871284ef8562372d03c05ce1b42c8f2bfb10cee6b242f1ca8e127610fa5199a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): app/api/agent/sessions/status/route.ts:9 \u00B7 app/api/agents/import/route.ts:37 \u00B7 app/api/agents/route.ts:21 \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/api/agent/sessions/status/route.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aad38a090530cc1071b6c3ec573381e7379228c519ad72a012238e39dc6a4cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): app/api/agent/skills/[id]/route.ts:18 \u00B7 app/api/agents/[id]/route.ts:31 \u00B7 app/api/stages/[id]/manifest/route.ts:28 \u00B7 app/api/stages/[id]/roster/route.ts:26 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agent/skills/[id]/route.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"654160f78a0961a0d4d10379ada4d14fe26f9ba731ff0c2884e4dd10498a4d37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): app/api/agents/[id]/route.ts:45 \u00B7 app/api/stages/[id]/route.ts:64 \u00B7 app/api/stages/[id]/route.ts:179 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/agents/[id]/route.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55a54735d0587ae44a91ddf6825fb7197cf386c360accc8d08e3d6e29cef134"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10 locations): app/api/agents/[id]/route.ts:25 \u00B7 app/api/materials/[id]/original/route.ts:36 \u00B7 app/api/materials/folders/[id]/route.ts:21 \u00B7 app/api/stage-meta/[stageId]/route.ts:33 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies are spread across 10 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/agents/[id]/route.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"741cae2802dc3168518626376933224b58d1d8979b8721a723de29b1d2845cd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/api/agents/import/route.ts:39 \u00B7 app/api/agents/route.ts:31 \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/agents/import/route.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deb0a2e9ff9e5d96c69676033b942ed8a22205c914a39611fdb578ed0e35535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/api/materials/folders/[id]/route.ts:25 \u00B7 app/api/stages/[id]/freshness/route.ts:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/materials/folders/[id]/route.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"901682a6f5662d790fc138c90b2bc89598de7bbc7c1873bb86d290b607babc36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18 locations): app/page.tsx:1689 \u00B7 components/agent/agent-bar.tsx:608 \u00B7 components/edit/PlaybackChromeRoot.tsx:189 \u00B7 components/edit/SlideNavRail/SlideNavRail.tsx:63 \u00B7 \u002B14 more site(s) not listed \u2014 the 18 copies are spread across 18 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1fc5ff56bc77eb24a055eb1387f167199eaff6b19e7cb62aa902e3abef3798"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18 locations): app/page.tsx:1688 \u00B7 components/agent/agent-bar.tsx:607 \u00B7 components/edit/PlaybackChromeRoot.tsx:186 \u00B7 components/edit/SlideNavRail/SlideNavRail.tsx:62 \u00B7 \u002B14 more site(s) not listed \u2014 the 18 copies are spread across 18 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27f4e4e1dab0c3b7d0c0199605796a5af7c54315d63e919eb3ca8c81ed7e493"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 11 locations): app/page.tsx:1688 \u00B7 components/agent/agent-bar.tsx:607 \u00B7 components/edit/SlideNavRail/SlideNavRail.tsx:62 \u00B7 components/roundtable/index.tsx:222 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 9 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 11 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/page.tsx"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29d834247462d54c90f038d145dff5ba16812741e409d6999477e0215994a5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): components/roundtable/index.tsx:229 \u00B7 components/scene-renderers/pbl/v3/use-project-editor.ts:33 \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":"components/roundtable/index.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e22dc84de273eaec402fb791db253511e5c8f257df922655a723c22177971a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): components/scene-renderers/pbl/v2/submission.tsx:305 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:60 \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":"components/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de76607191f3ec2a1db31af5393111d56221488a57ade302a8a0ffb50ab0840"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/conversation-scroll.tsx:75 \u00B7 components/workbench/chat/waiting-bar.tsx:24 \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":"components/scene-renderers/pbl/v3/conversation-scroll.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38cc7da50adac2315683c1217ed6c58137a8244028cac69b4ab1b9dfc3e3ee3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/use-application-preview.ts:112 \u00B7 components/settings/tts-voice-managers.tsx:506 \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/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5c6ac7cd0ef58a53fa4609aac1a1550b05b4c3ef25bf19f2d2563835184650"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): components/scene-renderers/pbl/v3/use-workbench-onboarding.ts:51 \u00B7 components/scene-renderers/pbl/v3/use-workbench-onboarding.ts:57 \u2014 both copies are in the same file, so extract the block 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/scene-renderers/pbl/v3/use-workbench-onboarding.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b4d8ca8f0363e6086aaf5ffcaed382ec9f2613eb669a479ae935def9fa6deb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): components/slide-renderer/Editor/Canvas/hooks/useMoveShapeKeypoint.ts:60 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useRotateElement.ts:71 \u00B7 components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts:306 \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":"components/slide-renderer/Editor/Canvas/hooks/useMoveShapeKeypoint.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f5eca448b82a4b41b0a47d56717035309eb45e3520aa215670c669d67788b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): components/ui/alert-dialog.tsx:7 \u00B7 components/ui/collapsible.tsx:3 \u00B7 components/ui/dialog.tsx:9 \u00B7 components/ui/dropdown-menu.tsx:8 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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":"components/ui/alert-dialog.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d85392db7d92d9d1d3f35d6c2c2e2739a62e3f78452bdd4018894cdbfd6f6c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): components/whiteboard/whiteboard-canvas.tsx:268 \u00B7 components/whiteboard/whiteboard-canvas.tsx:274 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/whiteboard/whiteboard-canvas.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b871439c25ced77500b2bed80adb89207152a62c7ac134be92e63635851590fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): eval/pbl-v2-planner/runner.ts:298 \u00B7 lib/pbl/v2/agents/planner.ts:731 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e641dfb47f2aee5409463ed0f4b6cdee7d24577b0d36108c0b63021d4df1909"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): lib/audio/provider-enablement.ts:113 \u00B7 lib/audio/provider-enablement.ts:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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/audio/provider-enablement.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e025f85f93edbbc03f527f5c2402882a6c39e58bba250524acf307d25f9aef56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/audio/tts-providers.ts:1282 \u00B7 lib/chat/pi/tools/classroom-actions.ts:213 \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/audio/tts-providers.ts"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2656c70baa6df6f61ce2a824fbe0041a72540fbf7d696eb21d8e9ef2177b31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/chat/pi/prompts.ts:11 \u00B7 lib/chat/pi/tools/web-search.ts:68 \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/chat/pi/prompts.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1ebec1be95ac15c340522b97bc18df54a53dd80cce0214277d9fdca2296a15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/chat/pi/tools/classroom-actions.ts:80 \u00B7 lib/chat/pi/tools/native-whiteboard.ts:130 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat/pi/tools/classroom-actions.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c572ca5b0add2e5c579cdc393023537ed1d142d3dd8039f78483e531ca41747a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/chat/pi/tools/classroom-actions.ts:190 \u00B7 lib/chat/pi/tools/classroom-actions.ts:207 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/chat/pi/tools/classroom-actions.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fc28840b4de7cb6ef41e302b1b0f2b2012a159d574af2c1d2ea5b6506293cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/export/use-export-pptx.ts:637 \u00B7 lib/export/use-export-pptx.ts:834 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/export/use-export-pptx.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4d36b546e1de8adeb310c14ef7e30ba585615bc048344b3a317ff62fb9a85f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/media/collect-stage-asset-refs.ts:104 \u00B7 packages/@openmaic/dsl/src/asset-manifest.ts:179 \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/media/collect-stage-asset-refs.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"176c77b3334307f6b35c5dff47894f5f0027eabd78d03e4bf6d903b1b4571c99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): lib/orchestration/registry/schema.ts:54 \u00B7 lib/server/model-config/settings.ts:897 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/orchestration/registry/schema.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe11f53fd2633b4589ff0da87090ff0509c2434576bc658a158afd8ed6bd1f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/orchestration/summarizers/state-context.ts:224 \u00B7 packages/@openmaic/generation/src/scene-generator.ts:1974 \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/orchestration/summarizers/state-context.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7676b31cab5d2a011dda45a4b1e00bce81401e84dd92d28f4b4b8e63269d1791"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/pbl/v2/agents/instructor.ts:884 \u00B7 lib/pbl/v2/agents/simulator.ts:100 \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/pbl/v2/agents/instructor.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efe65f44fd733a992c94f2b7bf76e5b18af01c84911ae095ae0da1ea4452f47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): lib/pbl/v2/agents/instructor.ts:1846 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:835 \u00B7 packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts:930 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/instructor.ts"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbcd003f235840f718c3f0dcccfe69c9380f788fbf397cf630134ba120b11dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/pbl/v2/agents/planner.ts:547 \u00B7 packages/@openmaic/generation/src/pbl/planner-single-call.ts:451 \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/pbl/v2/agents/planner.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafbcbf039c6176905316570d2d49ce54c026d7d71a65d3a8e9deec58e2b796a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/pbl/v2/operations/runtime/submission.ts:94 \u00B7 lib/pbl/v2/operations/runtime/submission.ts:144 \u2014 both copies are in the same file, so extract the block 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":"lib/pbl/v2/operations/runtime/submission.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0282b3c256a3d268a9fe69f9d4461f0b2d6e81fa1fdf84b771d77cd72f2cde9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): lib/pbl/v2/runtime/drain.ts:384 \u00B7 lib/pbl/v2/runtime/hydration.ts:184 \u00B7 lib/pbl/v2/runtime/hydration.ts:237 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/runtime/drain.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b044b0f9dabdbb66940a53d37db401098fc68f43fd053d1f41d17556bda7b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): lib/persistence/asset-collector-schedule.ts:80 \u00B7 lib/server/generation/run/config.ts:8 \u00B7 lib/server/materials/extraction.ts:676 \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":"lib/persistence/asset-collector-schedule.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"adddadc98a6226d99a0320d09278182a41c13463877fbbd7df65b81928587697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/quiz/math-text.ts:44 \u00B7 lib/quiz/math-text.ts:201 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/quiz/math-text.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ebf5885ec563f6cbbb3fe6c28febe1448a4b78073acd234902346ecdd99adb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/server/agent-runtime/abortable.ts:8 \u00B7 lib/server/agent-runtime/generate-video.ts:165 \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/server/agent-runtime/abortable.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d9e55dd4b430f1fe46ebf6a2dae81c205d8b3d9c1000a6f76b5252591ffd27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/server/agent-runtime/scene-preview-content.ts:77 \u00B7 lib/server/materials/inline-images.ts:173 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/scene-preview-content.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b54c76f7efbb6d1edf85c9192644dfa2b9b1f4b7ee2e560e5fab3f78a8d83a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/server/classroom-materials.ts:62 \u00B7 lib/server/materials/extraction.ts:882 \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/server/classroom-materials.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c434f04d9fef3a11140aa83663d84f3a7f96c8f4cc6cadfae04f90f8969de910"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/server/generation/run/input.ts:241 \u00B7 lib/server/generation/run/input.ts:286 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/server/generation/run/input.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"caddc174d0c07f3bf5c2a24afdc25b97f1e54d713ab93675540061c2d7fcbcc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): lib/server/model-config/settings.ts:896 \u00B7 lib/server/pbl-v3/guided-review.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/settings.ts"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab09328486d9c136865e576ba8e609514c9d2616b07744a16cfe18bde3e9458"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/standalone-player/navigation.ts:86 \u00B7 lib/standalone-player/navigation.ts:106 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/standalone-player/navigation.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5782ecf052f792c95563d0b0e4cbfe9fc3fc3687ab3e1a4a36e19af88faffe31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/utils/chat-storage.ts:717 \u00B7 lib/utils/chat-storage.ts:767 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/utils/chat-storage.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"8237845c36889be3ee731fe85884ce72b53f9da036d2815862fae0ba7d6497a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/video-export-app/collect.ts:363 \u00B7 lib/video-export-app/collect.ts:377 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/video-export-app/collect.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"341acaaf445a1ffce325f4b7e1c6bab74489a331452e5c4fb8037e9129627ad3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/workbench/session-store.ts:748 \u00B7 lib/workbench/session-store.ts:768 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/workbench/session-store.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"da071a7646780f2c420f605d2e96ccac71a7e4baa51f804062e0afb37c93d4cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/dsl/src/interactive.ts:60 \u00B7 packages/@openmaic/dsl/src/pbl.ts:194 \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/@openmaic/dsl/src/interactive.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9cb84460ce333aefdfcf924a4a0215b3724c5736a096fd4a2af717dc987c37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/canvasCommands.ts:65 \u00B7 packages/@openmaic/editor/src/react/canvasCommands.ts:85 \u2014 both copies are in the same file, so extract the block 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/@openmaic/editor/src/react/canvasCommands.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b086d244b964a694f883bbfd858bb61c2817bf74d7af6a91c465dd7de287f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/editor/src/react/text/prosemirror/inlineContainerMarks.ts:95 \u00B7 packages/@openmaic/editor/src/react/text/prosemirror/inlineContainerMarks.ts:138 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/editor/src/react/text/prosemirror/inlineContainerMarks.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6057214d9a7a6c2424f4c0a38c1d0db23a5877f4a8a7f3655bb3d5e2a46cd6aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/generation/src/outline-generator.ts:61 \u00B7 packages/@openmaic/generation/src/scene-generator.ts:671 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/outline-generator.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdebddc5043cca64fff67eac593cd09f6650274e071148b9579d5a5c81170a2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:755 \u00B7 packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:848 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"288ba40ef27d84d8fe70d5fb679296af3f7b61629bbdc1ad728ea9512cbc8531"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/Presentation.ts:58 \u00B7 packages/@openmaic/importer/src/model/Presentation.ts:193 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ace69285106d23053bd5c9eb4b15df9507188a93d56b1f3d0315bc346cec9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/model/Slide.ts:142 \u00B7 packages/@openmaic/importer/src/model/nodes/PicNode.ts:38 \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/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5348008b5de21ba3348ba6ab4c3565144f0677434a2414f9aeaebbd3854184f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/StyleResolver.ts:131 \u00B7 packages/@openmaic/importer/src/serializer/StyleResolver.ts:184 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec564328fa55b644dfd0830e466f5523d89f27bec3f2b2dd9c67b268ca5e757a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/StyleResolver.ts:155 \u00B7 packages/@openmaic/importer/src/serializer/StyleResolver.ts:205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14150a84e32e07c2ed23e7488855ed236c9e6e4f23dcf9189c7b32104592b5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/@openmaic/importer/src/serializer/StyleResolver.ts:204 \u00B7 packages/@openmaic/importer/src/serializer/StyleResolver.ts:523 \u00B7 packages/@openmaic/importer/src/serializer/StyleResolver.ts:727 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"da21a769691e0d3167ace42977d51a3e0d83b9981f456dbf42cd69f0cdd933f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/StyleResolver.ts:838 \u00B7 packages/@openmaic/importer/src/serializer/textSerializer.ts:749 \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/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"7458ce809d0d12737ea64e3b7eef5c9eb84caa669223dabba8e106cdc59cd482"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/serializer/chartSerializer.ts:71 \u00B7 packages/@openmaic/importer/src/serializer/chartSerializer.ts:111 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/serializer/chartSerializer.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8274a94e3b503eddd80962706e8010f7d364f18cf38bb7786ac5701c3685a2a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:262 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:354 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04ac06d648bffb6c31507584956b6a7035706ba38ffb2edf86d4389dc9dd0f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:422 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1235 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3c90ad0a822d18951bb5ca96d692a0559801fdf8726a1a1b39f4cc623d7219"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/@openmaic/importer/src/shapes/presets.ts:1163 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1574 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1648 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c39293c46d751fe169b43add2e64c83edb854968e4595ada67b62c9af92e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:1433 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:1599 \u2014 both copies are in the same file, so extract the block 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b340429a8eca0529c120ae4e13a06d1a1dcb237addd445607401fc6465f97e46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:2706 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:2755 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61804ab0391e464ffd0d681039f3df2bb526a075becab15eaebf54f7c795273"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12 locations): packages/@openmaic/importer/src/shapes/presets.ts:2845 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5594 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5607 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5622 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":2845}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da68def492b7d19b7a59416ab9d8d4b5e30798237a171bd997c6b6a3ddc3ced"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:3121 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:3129 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2226579f5d26ea02863432bc704101a8edeb636fd1bb6c1b9b6d1972012e49f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/@openmaic/importer/src/shapes/presets.ts:3509 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4092 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5050 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5075 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":3509}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0aaa65ac30447c3a77646a340b5684a147c35c31be55b6e1809751d50727d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:4211 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:4244 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4211}}}],"partialFingerprints":{"codehealthFindingId/v1":"017b91a05dbf81833b4f02e0c73e1701879ccffbfae31fd8ac0a986017c7d9d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/shapes/presets.ts:5148 \u00B7 packages/@openmaic/importer/src/shapes/presets.ts:5545 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":5148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5059f881866e0c2a636db93409f25bbddec1ecd0587d3c328211ed7b02fb7e1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/utils/color.ts:175 \u00B7 packages/@openmaic/importer/src/utils/color.ts:228 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/utils/color.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bc7cf040fcdb460fe3946167e33c9d3efa7b0f2ded2075a2ade17d5e276d82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/importer/src/utils/eqFieldParser.ts:244 \u00B7 packages/@openmaic/importer/src/utils/eqFieldParser.ts:258 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/@openmaic/importer/src/utils/eqFieldParser.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f5e7a3d8b42adff2d4628094c5d941f3c62d8b78875af7326cb43ca9008ad9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/browser.ts:321 \u00B7 packages/@openmaic/storage/src/runtime/pg.ts:460 \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/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"20805332f7defbb68ad48c223c5d6e2c35f74e020046b2478626bf9d2bbb82c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/@openmaic/storage/src/runtime/pg.ts:563 \u00B7 packages/@openmaic/storage/src/server/index.ts:595 \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/@openmaic/storage/src/runtime/pg.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5583006241749dd4f588ce056a3f2a05993a8b00e1db8eea04a2191b781df69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): render-service/src/config.ts:8 \u00B7 render-service/src/config.ts:28 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/config.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9d7e5f6be534862ec38acc0bfc088180c159d08065158b14b6d15ac3e3bc7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): render-service/src/main.ts:538 \u00B7 render-service/src/main.ts:563 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/main.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9bf3fafce1fcdd9d82dd2b9d187d99da5324a1d10023f624a71dea70214204"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/@openmaic/editor/test/react/table/tableSpacing.test.tsx:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../renderer/src/elements/table/StaticTable) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/test/react/table/tableSpacing.test.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3490aabf5dbb2e90dd38bed96328f2c428f7b71f2986f65fcada28c39c3f59f0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/@openmaic/editor/test/react/table/tableSpacing.test.tsx:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../renderer/src/styles) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/test/react/table/tableSpacing.test.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2096b89b0abd2ff2c9d6bfa71c223050659b06839e612927f94b3819fbacb7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: packages/@openmaic/importer/test/shapeSerializer.flowChartConnector.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../geometry/src/index) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/test/shapeSerializer.flowChartConnector.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94c80e78cd1376e88db13c4eb30336b96404cd85848682ec3d5e2c20eb54ebd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: render-service/src/runtime-info.ts:43 reaches into another package with a relative path (../node_modules/@hyperframes/producer/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/runtime-info.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dc5afe09bbaf62ba75b41672fc863be3438ea2dd143e16790fb4347210e4c3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/assert-pg-contract-suites.mjs:161 reaches into another package with a relative path (../packages/@openmaic/storage/package.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/assert-pg-contract-suites.mjs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"540125b88b90c442ee60b0a4ccb0ce99f9b09508d3a0bccda64b59d56ce2ef47"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/sync-interactive-assets.mjs:6 reaches into another package with a relative path (../packages/@openmaic/generation/dist/interactive-libraries.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sync-interactive-assets.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3722ff1b1e6dfd45eb5b578c9b9433c3711f12c7b6c8cbf566b451a36b6b9248"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/agent-runtime/event-notify.pg.test.ts:24 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/storage/src/agent-session/pg) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/event-notify.pg.test.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"972c8a5fe3d3268f0bcb9b7617252117b76c0269118f08a1816663863038cd42"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/agent-runtime/park-attempt-budget.pg.test.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/storage/src/agent-session/pg) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/park-attempt-budget.pg.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c65050ffd4d3cbe6ad10864837f212a6f6eb7cf6e45d56fc9c7963540b65917"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/agent-runtime/prior-run-record.pg.test.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/storage/src/agent-session/pg) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/agent-runtime/prior-run-record.pg.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9dc247c962dad3cea4d172aff77b441ba5fc902b2084d3a55d065522c7ac1f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/export/pptx-inline-math.test.ts:17 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/editor/src/react/text/prosemirror/document) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/export/pptx-inline-math.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f3300f74baa2d837ee32889aeac0a2361c6ab8ebe5ac02872e7d3f059da124"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/export/standalone-html-inline-math.test.ts:16 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/editor/src/react/text/prosemirror/document) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/export/standalone-html-inline-math.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf19b0d541922d18e80198359d7fa582fef9246bd90935e02373837c3377f51"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/export/standalone-html-inline-math.test.ts:20 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/renderer/src/utils/inlineMath) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/export/standalone-html-inline-math.test.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34c11c2239af6c430e679e8deac2f6812e6a6e30cc38cb93fdc67f68453e70a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/generation/interactive-observation-contract.test.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/generation/src/scene-generator) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/generation/interactive-observation-contract.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"662b604f08e2dae51b7ddfab94036ac9a7f5fac94cf6e58d961903d78eada93c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/math/safe-math-render.test.ts:16 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/editor/src/react/text/prosemirror/document) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/math/safe-math-render.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3006175fdc486c41e461d1ae7f74ee0287d109cfb224724e72f1932188ede3b1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/math/safe-math-render.test.ts:17 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/editor/src/ui/latex/latex-editor) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/math/safe-math-render.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c29c146f75d393e59b0e3a4e2387ece1d37439c255bf5501ecf4a566b2451d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/quiz-answer-key.test.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../packages/@openmaic/generation/src/scene-generator) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/quiz-answer-key.test.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4389cc388225e411042e19c3755164c56013700087c5a05d3321f89822ae9b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/server/sanitize-scene-content-inline-math.test.ts:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/editor/src/react/text/prosemirror/document) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/server/sanitize-scene-content-inline-math.test.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d759500dff9fe1bfff4a139a7fc1e0314f6316b3497fa2cb2b89ed71b4bb2898"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/slide-renderer/edit-elements-render-contract.test.ts:16 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/renderer/src/elements/image/useClipImage) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/slide-renderer/edit-elements-render-contract.test.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c37fc739cbd82364fec4dc79e79e2a02c996e8f28e3622c38d2188b452dd051"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/slide-renderer/edit-elements-render-contract.test.ts:17 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/renderer/src/elements/image/useFilter) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/slide-renderer/edit-elements-render-contract.test.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35d6ee4c9343a7e8ae151aa0c49c741b3e4be070ab1592299a0fb79421e9e53"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/slide-renderer/edit-elements-render-contract.test.ts:18 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/renderer/src/elements/text/BaseTextElement) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/slide-renderer/edit-elements-render-contract.test.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7133568e2ca4945289825191821804457d18be00826dac4e56145953a539b95e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: tests/slide-renderer/edit-elements-render-contract.test.ts:19 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/@openmaic/renderer/src/elements/table/StaticTable) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/slide-renderer/edit-elements-render-contract.test.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"28838e872b38470693547379f75cad673d889adeecc14c2bf422fff085d8a424"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presentTool (cyclomatic 232, cognitive 325): presentTool has cyclomatic complexity 232 and cognitive complexity 325; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/workbench/chat/tool-presentation.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2943504a63be69aa89655312dd6076cebb2791cb3ae20098d11c6dc28672c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Roundtable (cyclomatic 225, cognitive 205): Roundtable has cyclomatic complexity 225 and cognitive complexity 205; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/roundtable/index.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b99c0061b58c0c286ceaf2443ec123808e5aad45946e407ae8309bfe30e0ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTextBody (cyclomatic 222, cognitive 509): renderTextBody has cyclomatic complexity 222 and cognitive complexity 509; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"484f9d0f0022ba1e70f21d8f099ecb7753a1e88d6cdbda9eb5107c9b5e18fb97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseElements (cyclomatic 186, cognitive 444): parseElements has cyclomatic complexity 186 and cognitive complexity 444; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"553d21bd00d35eaa6460432cc0b0f969a5587e2fc0e55adb33c39b6d3ae74036"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PBLV3WorkspaceContent (cyclomatic 185, cognitive 151): PBLV3WorkspaceContent has cyclomatic complexity 185 and cognitive complexity 151; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c2a180085926b4daa8d94b0489cd64e0d4219ee64b5bc82d78687dc5fb7a27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPptxBlob (cyclomatic 183, cognitive 640): buildPptxBlob has cyclomatic complexity 183 and cognitive complexity 640; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/export/use-export-pptx.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"13171d3f31aba79d2f98b5ad48930958d34e64f504e5332aed6df75dba411d4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderShape (cyclomatic 173, cognitive 210): renderShape has cyclomatic complexity 173 and cognitive complexity 210; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6506bc75892b206fccf21ddf93b22009c699408ea2633ce5bc062f77b00663"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foldEvent (cyclomatic 143, cognitive 201): foldEvent has cyclomatic complexity 143 and cognitive complexity 201; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/workbench/session-store.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9db266487d6b09a8ac0d2f2ad1df2e1de2688ff3f7756291749938bd9210e51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeSession (cyclomatic 136, cognitive 203): executeSession has cyclomatic complexity 136 and cognitive complexity 203; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/server/agent-runtime/runner.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"81163afbfa72ed3b62f1d11245e72967e89769793b0624fa78f516ffa63f86b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateProjectPackage (cyclomatic 122, cognitive 158): validateProjectPackage has cyclomatic complexity 122 and cognitive complexity 158; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/project-package.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bcfef6a7c1809cbf3295e951ad9c6341a348c9a484730d730d3295bd15da34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 106, cognitive 170): execute has cyclomatic complexity 106 and cognitive complexity 170; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/server/pbl-v3/runtime.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"e578f3540b11fb77ef07b4324b27a18e1cbc9a30d591c7f272d31c388247bcc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function learningView (cyclomatic 99, cognitive 133): learningView has cyclomatic complexity 99 and cognitive complexity 133; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/server/pbl-v3/runtime.ts"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"781df20ccd34bade90686c869801eb0a88605695d923610df872888071786067"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planModelSettingsImport (cyclomatic 97, cognitive 188): planModelSettingsImport has cyclomatic complexity 97 and cognitive complexity 188; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/legacy-browser-import/model-settings.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de95be3c9b36568db28590d5f7c71899766c2a87f00987b00a758738d879249"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLearningEvidence (cyclomatic 92, cognitive 135): buildLearningEvidence has cyclomatic complexity 92 and cognitive complexity 135; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/server/pbl-v3/report.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"39299226c1524b712455b528be1b5fc92cb7af7754a62109878b4903d9c4845d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HomePage (cyclomatic 91, cognitive 83): HomePage has cyclomatic complexity 91 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/page.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9f3bca0817f1df1baadb7c58531eee3380a4183950652cbc7d311742ceebc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTmpl (cyclomatic 89, cognitive 114): renderTmpl has cyclomatic complexity 89 and cognitive complexity 114; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"987ab392dadd3036c758306dee59a77412eafd3bdb2b86ffd87d200c024e1f1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LearningWorkbenchPanel (cyclomatic 88, cognitive 67): LearningWorkbenchPanel has cyclomatic complexity 88 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05f03dc6d7fdd974ffafc5c8a31710097439e16291779e68154fa36aed12a3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectConversation (cyclomatic 87, cognitive 233): projectConversation has cyclomatic complexity 87 and cognitive complexity 233; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/server/pbl-v3/conversation.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bb4fdb21038e8b1d7b684e3066e7340ef69b069549e45e78d3aab6780a9992"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyzeMaterial (cyclomatic 85, cognitive 108): analyzeMaterial has cyclomatic complexity 85 and cognitive complexity 108; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/server/generation/steps/material-analysis.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd99f545762a8fd6388b86ad309bdef10d10bb0bdf39fc9d9c0a00d27a6249d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 84, cognitive 145): (anonymous) has cyclomatic complexity 84 and cognitive complexity 145; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/server/pbl-v3/lifecycle.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a85440dc45d739fcc3d84c971ccc4200cbdb1c0290f4d3f848e7d0d256af711"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/shapes/presets.ts: 6087 lines of code: packages/@openmaic/importer/src/shapes/presets.ts has 6087 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/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e06b892af1f922925d24bc3c8dc046b9cbc070354deacc97b9966e86c97254b"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/ai/providers.ts: 2814 lines of code: lib/ai/providers.ts has 2814 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":"62b2d156f21495ae45845863fef5723b826e5a46f122ca7609e3390a83a6b086"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/runner.ts: 2379 lines of code: lib/server/agent-runtime/runner.ts has 2379 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/server/agent-runtime/runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a0ae60326c056ee68f21bdf51ce7d22f94ae10ee1da3cbb6ba3126f71d85b8"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/workspace/WorkspaceRail.tsx: 2362 lines of code: components/workbench/workspace/WorkspaceRail.tsx has 2362 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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ee59b476355f16635c66f07167c40704a303d87b2c3e06516d1879428602b4"}},{"ruleId":"R3","level":"warning","message":{"text":"app/page.tsx: 2292 lines of code: app/page.tsx has 2292 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/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4cd4dac5e4347f137844c28b5b671473887fb0c2393a4ea4636045384b6add"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/workbench/session-store.ts: 2276 lines of code: lib/workbench/session-store.ts has 2276 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/workbench/session-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e2a5f1c3aba7d3f6ae30bba5bd9b8210061e12f11cf3dba2fc3111b95b26bb"}},{"ruleId":"R3","level":"warning","message":{"text":"components/roundtable/index.tsx: 2227 lines of code: components/roundtable/index.tsx has 2227 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/roundtable/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"949338c77475bb12dc5d90448ae47c6fc5150b28aa77448a50334f103d31508d"}},{"ruleId":"R3","level":"warning","message":{"text":"components/chat/use-chat-sessions.ts: 1998 lines of code: components/chat/use-chat-sessions.ts has 1998 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/use-chat-sessions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0809c3da6fbb2f48f040785b41c7750d84db959e07cb2445dee9c7c483d0d6"}},{"ruleId":"R3","level":"warning","message":{"text":"components/edit/PlaybackChromeRoot.tsx: 1987 lines of code: components/edit/PlaybackChromeRoot.tsx has 1987 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/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c343e4f1716a0387d17241f0bed772ac74964029a21c514a5c2d57313fed49fe"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/workspace/WorkspaceShell.tsx: 1945 lines of code: components/workbench/workspace/WorkspaceShell.tsx has 1945 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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27361c5d376db5205834bc470d13a69517a026eb8d6ecd3f90b9566dec7a762"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/workspace/MaterialLibraryPage.tsx: 1908 lines of code: components/workbench/workspace/MaterialLibraryPage.tsx has 1908 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/workbench/workspace/MaterialLibraryPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f6bb3bae493f0b360594d9a7cbe3ff1bd5be2863d991cb828fe7ab7c4d2ec1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/generation/src/scene-generator.ts: 1895 lines of code: packages/@openmaic/generation/src/scene-generator.ts has 1895 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d5fb7a7f192f45c1de88db82586b74a094256bee89e4cbee95f0804f680bd1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/serializer/textSerializer.ts: 1884 lines of code: packages/@openmaic/importer/src/serializer/textSerializer.ts has 1884 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/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce9a1e5fb0719af08777e20bf4031348daacf261321e21c80ff6143646c6f8d"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/generation/run/engine.ts: 1815 lines of code: lib/server/generation/run/engine.ts has 1815 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/server/generation/run/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0267bd12a4752cc15843e868f66d46bd2fbab6badd23dce5e2e1b2bd5f99e4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/agent-session/pg.ts: 1814 lines of code: packages/@openmaic/storage/src/agent-session/pg.ts has 1814 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/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c2f504467a1db41da307d89025c29b31c3ddc7c9ee4277bc903f78713d0eec"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v2/agents/instructor.ts: 1741 lines of code: lib/pbl/v2/agents/instructor.ts has 1741 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/pbl/v2/agents/instructor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ee3875336a39a5f1c9e58a3fbe42244b07b64ce568bbb559a3d2b65e53abf3"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/audio/constants.ts: 1722 lines of code: lib/audio/constants.ts has 1722 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/audio/constants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ba43e313b8710f8d35d9fd53841aada4d84200905961a556b4ba72347deb5c"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/generation/run/store.ts: 1635 lines of code: lib/server/generation/run/store.ts has 1635 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/server/generation/run/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"065729640f7eb4852d383da1618efa95b5144407157907d77778776c71676414"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/document/pg.ts: 1592 lines of code: packages/@openmaic/storage/src/document/pg.ts has 1592 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/@openmaic/storage/src/document/pg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0f27f3cd238a5f39ebeeb9ab2fa8ca61c0f9f6f21f7311dc1b91ba53f1efe4"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/store/stage.ts: 1590 lines of code: lib/store/stage.ts has 1590 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/store/stage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33f3e2ac4dfd48f3d450a055e9a6c2139c1b3aea053b9ad74aa3f8265e7b440"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/chat/pi/element-reference.ts: 1567 lines of code: lib/chat/pi/element-reference.ts has 1567 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/chat/pi/element-reference.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9dca1803324565c08a83403c07a44474efd06856cf7402d336b8213bdebe5e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts: 1487 lines of code: packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts has 1487 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/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a41e9230025e9d081bf72a5364ef3d2453f5589dd0c33ed984fbb1e83ef2602"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/asset/pg.ts: 1482 lines of code: packages/@openmaic/storage/src/asset/pg.ts has 1482 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/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f72218956a6a96fcc285b098d961560e5353015cc34fdccdb62fe6a902ef283"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v2/chat.tsx: 1474 lines of code: components/scene-renderers/pbl/v2/chat.tsx has 1474 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/scene-renderers/pbl/v2/chat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb53d1f5707f210eecad7086835268cda9fd15550c79a5515dd2b77d7e6ada8"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/export/use-export-pptx.ts: 1469 lines of code: lib/export/use-export-pptx.ts has 1469 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/export/use-export-pptx.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6b6894dda7ae3eb04431b4a5fd371dcfdcd4e52044f5c7f0b54a3f44d593bc"}},{"ruleId":"R3","level":"warning","message":{"text":"components/generation/outlines-editor.tsx: 1453 lines of code: components/generation/outlines-editor.tsx has 1453 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/generation/outlines-editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce9aeeded870cb0bded23f185314eacb869ffbb1ce4999756ee9e775212a18"}},{"ruleId":"R3","level":"warning","message":{"text":"components/edit/ActionsBar/ActionsBar.tsx: 1452 lines of code: components/edit/ActionsBar/ActionsBar.tsx has 1452 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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97ae62b00faf265282dbe7762da7733884a43f912f546bd83e346dea7fe7ef4"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/audio/tts-providers.ts: 1449 lines of code: lib/audio/tts-providers.ts has 1449 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/audio/tts-providers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86404f400c4bf2d88bf0f9c2a829b42c0a647e2bcca3a0faa6e4e4c0cd91ef8c"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/utils/stage-storage.ts: 1399 lines of code: lib/utils/stage-storage.ts has 1399 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/utils/stage-storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ff7f4d584d2f01a69ad3aee4e9c858a9a70d17bdc7198a046d4281744548e8"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/pbl-v3/runtime.ts: 1373 lines of code: lib/server/pbl-v3/runtime.ts has 1373 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/server/pbl-v3/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"890846b884d2b63e606be33ecf9d52423954fc78c653212cec2e4787efb07fe3"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/WorkbenchChat.tsx: 1370 lines of code: components/workbench/WorkbenchChat.tsx has 1370 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/workbench/WorkbenchChat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbe378f87efb83bb6548e053d234e5c02343dff003043fe4b2652d40f98fe0a"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v2/submission.tsx: 1341 lines of code: components/scene-renderers/pbl/v2/submission.tsx has 1341 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/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9ff37e6bb0bce49436193ca374f93502645e30186a550312d27d831b2f36e1"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/video-export/emit-hyperframes/index.ts: 1320 lines of code: lib/video-export/emit-hyperframes/index.ts has 1320 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/video-export/emit-hyperframes/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"209837a71e6af9aec58e9fee572dfca958ac76f358167e6c8e1815a97323fb01"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/persistence/owner-materials.ts: 1316 lines of code: lib/persistence/owner-materials.ts has 1316 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/persistence/owner-materials.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5046e814cfeaba41ee6ebd81bdd308da9a513c724ffbd2ea90c77b8f1d2301"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/asset/collector.ts: 1292 lines of code: packages/@openmaic/storage/src/asset/collector.ts has 1292 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/collector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69949e25a7dbce27d0b741d1f3240ef8ccc3129b562490219d53aa45e80bfa7f"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/dsl-tools.ts: 1284 lines of code: lib/server/agent-runtime/dsl-tools.ts has 1284 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/server/agent-runtime/dsl-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a9db82104a9c0f96874cf71dcc3b1925b009d0cb4b8b47ea679e485438aa82"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v3/workspace.tsx: 1252 lines of code: components/scene-renderers/pbl/v3/workspace.tsx has 1252 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/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e651a1d57e367522c4a3cf1b9c6a968e3b68ec4133192d034e491424aea58d71"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/utils/chat-storage.ts: 1239 lines of code: lib/utils/chat-storage.ts has 1239 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/utils/chat-storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f141790a55f23701fed4006b4e75ea0390a4d96c29e809d4000e88133698cc9b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/serializer/shapeSerializer.ts: 1211 lines of code: packages/@openmaic/importer/src/serializer/shapeSerializer.ts has 1211 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/@openmaic/importer/src/serializer/shapeSerializer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b646577dd278151123cf68fcd690da057cbd4ff0da2f1f61d302f119b9a142"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/material-tools.ts: 1157 lines of code: lib/server/agent-runtime/material-tools.ts has 1157 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/server/agent-runtime/material-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a2e9c69538788deb4d3235a4b90b269acce04d70ba1d306d250defa458ce32"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/chat/pi/tools/native-whiteboard.ts: 1156 lines of code: lib/chat/pi/tools/native-whiteboard.ts has 1156 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/chat/pi/tools/native-whiteboard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3311391805252e61366ed4ec4b558739de38573b1f0a5d58b2e6da14a17cac4"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/pbl-v3/runner-tools.ts: 1139 lines of code: lib/server/pbl-v3/runner-tools.ts has 1139 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/server/pbl-v3/runner-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1625c6667dc99e2d2f22d1bdb8c542be740b1b021c675641e4dcb76dd5cc6013"}},{"ruleId":"R3","level":"warning","message":{"text":"components/ai-elements/prompt-input.tsx: 1090 lines of code: components/ai-elements/prompt-input.tsx has 1090 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/ai-elements/prompt-input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77d03ea6fb774182266f1d4d7f1f01909b05fc5cc2ea0aaa4aeacfd09ca68b2"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/chat/tool-presentation.ts: 1089 lines of code: components/workbench/chat/tool-presentation.ts has 1089 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/workbench/chat/tool-presentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d9e439be68adbc4cceb540ced2171f4fce59373d819757d196481ce1d10a23"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/quiz-view.tsx: 1044 lines of code: components/scene-renderers/quiz-view.tsx has 1044 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/scene-renderers/quiz-view.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b362f93cdef0551b852b9d0d3ea3a2e9fa46c7c446b789726681df9c17af8926"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/provider-config.ts: 1037 lines of code: lib/server/provider-config.ts has 1037 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/server/provider-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1412e23c9b24b0633cad13393110e29bba83f6a2891d625a305d8549ed2bef6"}},{"ruleId":"R3","level":"warning","message":{"text":"configs/shapes.ts: 1020 lines of code: configs/shapes.ts has 1020 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":"configs/shapes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9e4f8e77e81bec982cd8cbc5e91d791c595aeb346ed43a190ded214f24d982"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/openmaic/configs/shapes.ts: 1020 lines of code: packages/@openmaic/importer/src/openmaic/configs/shapes.ts has 1020 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/@openmaic/importer/src/openmaic/configs/shapes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10d3fa7968be2f2f35b09e8bb6ec82aa763d17762badd3d524993b3ba1fe03b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/utils/mtef.ts: 966 lines of code: packages/@openmaic/importer/src/utils/mtef.ts has 966 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/@openmaic/importer/src/utils/mtef.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"050975c27083aaa8c41d1a8f23a52b0ef39ab90ab96abe2cedf51ea7dbceb735"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/model-config/settings.ts: 952 lines of code: lib/server/model-config/settings.ts has 952 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/settings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f708377bfe2fc002afb3a1efc6bfccbddc03f09115fdbc95badf6b02eed458f9"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/chat/pi/tools/call-agent.ts: 946 lines of code: lib/chat/pi/tools/call-agent.ts has 946 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/chat/pi/tools/call-agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6c88afee08f25f0830b3a77953f698a7ddaef611b5bb4f90505c3b2c33acf5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/generation/src/pbl/operations/kernel/progress.ts: 916 lines of code: packages/@openmaic/generation/src/pbl/operations/kernel/progress.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/@openmaic/generation/src/pbl/operations/kernel/progress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb058dde0869a870e995dc16ebd7c3c28c7aaed740d6d68fac1d4ff7d879de4"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/course-edit/apply.ts: 910 lines of code: lib/server/agent-runtime/course-edit/apply.ts has 910 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/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e573f2961b22e5d4cd27cd951989c204311ae7c4cc44451272f98d1d05ae72e"}},{"ruleId":"R3","level":"warning","message":{"text":"render-service/src/chunk-executor.ts: 909 lines of code: render-service/src/chunk-executor.ts has 909 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":"render-service/src/chunk-executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e26fba42fc64e7f8ba8082b04a93c7d15be177e0fcce687c67f343d4e5007d4"}},{"ruleId":"R3","level":"warning","message":{"text":"components/generation/step-visualizers.tsx: 906 lines of code: components/generation/step-visualizers.tsx has 906 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/generation/step-visualizers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"702fc4c87fd380e762ea356554f440edf10d4173312f02882555fbb869b61ac2"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/skills.ts: 905 lines of code: lib/server/agent-runtime/skills.ts has 905 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/server/agent-runtime/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1bc6938629b5c1c738eb052d1dc8bb9a244d59bd770775db379437ea1929de"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/workbench/use-workbench-session.ts: 904 lines of code: lib/workbench/use-workbench-session.ts has 904 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/workbench/use-workbench-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8e1e7294aabe7650f9de8b2c0df53a512c1e66f240b6b291fa14a382825370"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/course-edit/element-schema.ts: 893 lines of code: lib/server/agent-runtime/course-edit/element-schema.ts has 893 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/server/agent-runtime/course-edit/element-schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b7bc7ffbcebec84e6c664120d66a1b65bb010824792660f128c40e4a2273eb"}},{"ruleId":"R3","level":"warning","message":{"text":"components/agent/agent-bar.tsx: 890 lines of code: components/agent/agent-bar.tsx has 890 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/agent/agent-bar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"135b5baa839f4e8d873b4a254b1781f7a89841cf63c9c042c841bc6fdd61358d"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/materials/extraction.ts: 888 lines of code: lib/server/materials/extraction.ts has 888 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/server/materials/extraction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"164a3098a06aaf7c2e29da18b8d6da8b1ce2d6cedd45435d2b4ef767dbc5e010"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx: 863 lines of code: packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx has 863 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/@openmaic/editor/src/react/EditableSlideCanvas.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"149c2b47377d1956699038b92603ee3cf96b972b898b8c8b1659b130d8e064ce"}},{"ruleId":"R3","level":"warning","message":{"text":"components/settings/tts-voice-managers.tsx: 859 lines of code: components/settings/tts-voice-managers.tsx has 859 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/tts-voice-managers.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0edf3124f682ce0654dda94d36fb66b3a737025a45cca05c084e16214cb6dc"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/document/extractors/local-media.ts: 855 lines of code: lib/document/extractors/local-media.ts has 855 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/document/extractors/local-media.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fa38a14c33121d25be839223e01a95c74d4ceaec632a702d29fdcdceba1a35"}},{"ruleId":"R3","level":"warning","message":{"text":"eval/pbl-v2-planner/runner.ts: 854 lines of code: eval/pbl-v2-planner/runner.ts has 854 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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17d41d7a65e9990037cbf9ba715df40a6583cae3184526e7f36f0e6c91b2548"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/playback/engine.ts: 847 lines of code: lib/playback/engine.ts has 847 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/playback/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c1a40d27bccca90551d6397013a73d5ff005acf93ea5e2b5bb84480ef7ab95"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/ai/llm.ts: 844 lines of code: lib/ai/llm.ts has 844 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/llm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba20d0cbfbfba80a7a4d97f6c99d7a240afbfed63bb0b5349cea63e1b787c6e7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts: 834 lines of code: packages/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts has 834 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/@openmaic/generation/src/pbl/operations/kernel/proficiency.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83dd6c1f28ea8715ff6be5fd0a37090e466579bef661e242bceaf1402c0450e"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/i18n/workbench.ts: 827 lines of code: lib/i18n/workbench.ts has 827 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/i18n/workbench.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6764b53636389ae99fa13583c40c775a524e7c87aa5c41a5657fd5afd24076"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/asset/references.ts: 824 lines of code: packages/@openmaic/storage/src/asset/references.ts has 824 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/@openmaic/storage/src/asset/references.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7ab65d0fb9c112e0049a7db25af796ff5087524ebd14898cdb80ecda346431"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v3/domain/orchestration/transition.ts: 820 lines of code: lib/pbl/v3/domain/orchestration/transition.ts has 820 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/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaec50a741c92e2b91392b1feedf5345cf8c4a0abd194f2400c07abd54734d2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/server/asset.ts: 809 lines of code: packages/@openmaic/storage/src/server/asset.ts has 809 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/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a24a1890c8930e525d84afa425db6eb465f280846872f52ee98900a2f9cd4e"}},{"ruleId":"R3","level":"warning","message":{"text":"render-service/src/resource-systemd-runner.mjs: 808 lines of code: render-service/src/resource-systemd-runner.mjs has 808 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":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"317090473bb2f61f8c4261e91e1af79b9762baf7c7dc6b2fcffc362fcfeb7a23"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/action/engine.ts: 807 lines of code: lib/action/engine.ts has 807 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/action/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f09b757c6043b98e216ab2b0e2ee2abea143fa009e74400a8bcac405f9f748d"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/export/inline-assets.ts: 807 lines of code: lib/export/inline-assets.ts has 807 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/inline-assets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f1d9f26fcf63164bc1218ef99ccfc3684e49d2377342888cfa50f69939a482"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/export/standalone-html/build-standalone-html.ts: 804 lines of code: lib/export/standalone-html/build-standalone-html.ts has 804 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/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb90d6913e2402fa2a853895e8ad58dfba9b002aa83de0fd7bc88e1a4284b03"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/generate-video.ts: 803 lines of code: lib/server/agent-runtime/generate-video.ts has 803 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/server/agent-runtime/generate-video.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8e2c01a7eafce588269dc38959ff45b175b0d9b01451528659c91719e8e40a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/asset/http.ts: 802 lines of code: packages/@openmaic/storage/src/asset/http.ts has 802 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/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13417f7ffd3f13283d41375f2342ec9716184154321f5c0689c74bafeafbc03a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/server/index.ts: 795 lines of code: packages/@openmaic/storage/src/server/index.ts has 795 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d638f861784c224a09ed6cc61ef36316380e167136a7018e16f0c4feeff511be"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/workspace/WorkspaceRequestActivity.tsx: 783 lines of code: components/workbench/workspace/WorkspaceRequestActivity.tsx has 783 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/workbench/workspace/WorkspaceRequestActivity.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"115c5e1fcf4733772f408b7c78c1ff669a3dac4a8aafae872682915943b5d4c0"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/chat/pi/tools/classroom-actions.ts: 780 lines of code: lib/chat/pi/tools/classroom-actions.ts has 780 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/chat/pi/tools/classroom-actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8acc0d9232a95c1cfcd47a945f0092c613b6ef1f2d9b182cdf56cac2c4971e"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/compose-extras.tsx: 776 lines of code: components/workbench/compose-extras.tsx has 776 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/workbench/compose-extras.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da775b20340bef83912a82f8813665ce5b68be3f0dc47254361ab032c0df962d"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/media/media-orchestrator.ts: 772 lines of code: lib/media/media-orchestrator.ts has 772 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/media/media-orchestrator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"053f24c2751cc50eb480a57a164f0a42adbd5e2e299e27f1275ffacd4eb474ee"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v3/use-application-preview.ts: 770 lines of code: components/scene-renderers/pbl/v3/use-application-preview.ts has 770 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/scene-renderers/pbl/v3/use-application-preview.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7676622ef0aeaaedd74750e1cfecc7dcbd7fa2c0d78835d25680d5448eaf74"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/serializer/StyleResolver.ts: 763 lines of code: packages/@openmaic/importer/src/serializer/StyleResolver.ts has 763 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/@openmaic/importer/src/serializer/StyleResolver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6ba7f2150e924299288b74d73cd31621fc7648f5c56f3c08c0741584648db5"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pdf/pdf-providers.ts: 760 lines of code: lib/pdf/pdf-providers.ts has 760 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/pdf/pdf-providers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1166024b1a20821e911792d784b2e8834af5349836b6570327bdb707521781ec"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/generation/steps/outline.ts: 759 lines of code: lib/server/generation/steps/outline.ts has 759 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/server/generation/steps/outline.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b744692ba07f2b11b271ddbd3915332e8cdb95f13d39b5a842d545bed35cd47e"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v2/agents/planner.ts: 752 lines of code: lib/pbl/v2/agents/planner.ts has 752 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/pbl/v2/agents/planner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2b9a90ece83ecc15dcaa35ab41f867fed73944945eabf08873d53125458e11"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/pbl-v3/report.ts: 725 lines of code: lib/server/pbl-v3/report.ts has 725 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/server/pbl-v3/report.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13985e11823647aebec4215010e1467151202019b963ae7e8d47ec4d767fc28"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/audio/asr-providers.ts: 720 lines of code: lib/audio/asr-providers.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/audio/asr-providers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53dfcdbef3cc33a32c6708dec77739ca7e3bfaa6bf12040828ab0f9714d3a8c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/editor/src/core/index.ts: 713 lines of code: packages/@openmaic/editor/src/core/index.ts has 713 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/core/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e71d2e0ba060bd2b7ade78142fc620fea9b5204e11a8ffac245f66df68a2255"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/persistence/owner-bound-document-store.ts: 707 lines of code: lib/persistence/owner-bound-document-store.ts has 707 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/persistence/owner-bound-document-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea31fa594a6d858da54260f32a9b869e143e8008f1201f5adf8cbed7e1c9c9e"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/material-extraction/owner-extraction.ts: 701 lines of code: lib/server/material-extraction/owner-extraction.ts has 701 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/server/material-extraction/owner-extraction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"409730c041daa471c7b160160fdcc5d70924acd8bd40e116d49945d6cca0d7c3"}},{"ruleId":"R3","level":"warning","message":{"text":"components/settings/token-plan-settings.tsx: 696 lines of code: components/settings/token-plan-settings.tsx has 696 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/token-plan-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f36a6717841ae742f4f2d84e28e9370ea7b8e02b393f666f936cd03c26fd1d"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v2/completion.tsx: 695 lines of code: components/scene-renderers/pbl/v2/completion.tsx has 695 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/scene-renderers/pbl/v2/completion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f708706d4ff72367b2d245ab8feb7a8d6fb783e05d79cd12a541664e9bc9a0e"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/generation-tools.ts: 686 lines of code: lib/server/agent-runtime/generation-tools.ts has 686 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/server/agent-runtime/generation-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5800661ba3241d677168503d931c67de1801479808362e14cda9ae58d6f01e5"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/store/kv-persist.ts: 683 lines of code: lib/store/kv-persist.ts has 683 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/store/kv-persist.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfe2edd9c3f28cb854e8617fd15526a35a423e37e0bfdd3b3e8552edd210c32"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/legacy-browser-import/model-settings.ts: 681 lines of code: lib/legacy-browser-import/model-settings.ts has 681 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/legacy-browser-import/model-settings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62abbbaabe716d90c7fe5b71bde42b3bafec2ce308e54f865b6c81fc39b3c8af"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/buffer/stream-buffer.ts: 679 lines of code: lib/buffer/stream-buffer.ts has 679 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/buffer/stream-buffer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55451a33aaa2ee245954fe739ca695cbd0f5cd766b1badf62dae648adbba838f"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/edit/course-timeline.ts: 679 lines of code: lib/edit/course-timeline.ts has 679 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/edit/course-timeline.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"373dc84976a5f3d451104fb4f9de3f61bdf81bf5a7e5dd7938d9dd7b5cfb292d"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/generation/run/services.ts: 678 lines of code: lib/server/generation/run/services.ts has 678 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/server/generation/run/services.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ad9aa2ea8cb3d1a1446432b8baca39683f714d59517d8a3568f044b150eb4e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/runtime/pg.ts: 671 lines of code: packages/@openmaic/storage/src/runtime/pg.ts has 671 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/@openmaic/storage/src/runtime/pg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"608fca6c25d88850f7327fd4820680b098acb2eda89f1f403d13c8e6e59ef405"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/pbl-v3/store.ts: 669 lines of code: lib/server/pbl-v3/store.ts has 669 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/server/pbl-v3/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"388e220418a40d3c82f745c1027014c47da1f09dad9dc18b79817cb30e94d4b6"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/classroom/load-classroom.ts: 656 lines of code: lib/classroom/load-classroom.ts has 656 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/classroom/load-classroom.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5949613eadf6d84e18d6023765df5405b01d727274b3a69edd6e75aa609d52c7"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v2/types.ts: 652 lines of code: lib/pbl/v2/types.ts has 652 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/pbl/v2/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cbc5dba4c0105e5cbe810845e80511cd9dbf577e20d964680b5f0e892a9477"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/generation/src/pbl/types.ts: 652 lines of code: packages/@openmaic/generation/src/pbl/types.ts has 652 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/@openmaic/generation/src/pbl/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2c8431a469bf5ca42d1e50cee7020b4e8a629a78bfea1bfeaca6e38af70a2b"}},{"ruleId":"R3","level":"warning","message":{"text":"components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx: 651 lines of code: components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx has 651 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/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c72798b0c0ef35ba5a3a53f06e96290b277032cc9631ca3438968a84f26382"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/document-store/migration.ts: 649 lines of code: lib/document-store/migration.ts has 649 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document-store/migration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ec7f4ce105f57d8e0fd03bce32f11638091959526d8e938b859f58cbd8faea"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/dsl/src/normalize.ts: 645 lines of code: packages/@openmaic/dsl/src/normalize.ts has 645 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/dsl/src/normalize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ed50b2e2920d0d04c30a25b73235180c4b376f258588f16d8abd52667eae48"}},{"ruleId":"R3","level":"warning","message":{"text":"components/generation/generation-toolbar.tsx: 644 lines of code: components/generation/generation-toolbar.tsx has 644 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/generation/generation-toolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"250e2eacaf2779f239c2027e7957d237e9c3d1ba9e4222d5cb6ae9dc9371ef72"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx: 644 lines of code: packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx has 644 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/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef0794a20f74ade0d756ef7441e14678aa3ca1139152f3aa5711850dcf7f37a"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/import-pptx.ts: 643 lines of code: lib/server/agent-runtime/import-pptx.ts has 643 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/import-pptx.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f7dbbab2c075299fcb835f2f5621b51f3e9c7a02be85795536e534724b9125"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/dsl/src/version.ts: 642 lines of code: packages/@openmaic/dsl/src/version.ts has 642 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/@openmaic/dsl/src/version.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64193ab3189b0f635174f5f09cd6aa424c73c0ce42292add6723f4481fd9a6e"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/quiz/runtime.ts: 640 lines of code: lib/quiz/runtime.ts has 640 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/quiz/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c7b335b48b8d3f2d54ffab089ca0fbd0915bf4128a14441076f2cf777f3b3b"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/media/adapters/comfyui-image-adapter.ts: 639 lines of code: lib/media/adapters/comfyui-image-adapter.ts has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b90c2841a722c59f9b81bc10bb2edc935891d61ec49477e71178eee3889cd9"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/pbl-v3/lifecycle.ts: 636 lines of code: lib/server/pbl-v3/lifecycle.ts has 636 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/server/pbl-v3/lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55df9001d5bbdcf4efe125d2cc0b31970b670d3ccec104924b71dac54984d8cf"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/classroom-complete.tsx: 629 lines of code: components/scene-renderers/classroom-complete.tsx has 629 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/scene-renderers/classroom-complete.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a3b337a28c5508abe32b93d9a21c7740bf52c0ffb24b95b772c69c0a09d190"}},{"ruleId":"R3","level":"warning","message":{"text":"render-service/src/main.ts: 629 lines of code: render-service/src/main.ts has 629 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":"render-service/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b685893fb223628be9ee3e2dd101741afa4ddc0dbb7a7397f81a355958b7330"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v3/workbench-panel.tsx: 628 lines of code: components/scene-renderers/pbl/v3/workbench-panel.tsx has 628 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/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fbd0d72dca6c80dece8506d89c1fecd75bd5c8e955e6d53408e527d6ac9987"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/export/pptx-scene-placeholders.ts: 628 lines of code: lib/export/pptx-scene-placeholders.ts has 628 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/export/pptx-scene-placeholders.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e79355638869183d61905bf29431482b8f9f4458e7022cd3fa198d9a33c801e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/serializer/imageSerializer.ts: 624 lines of code: packages/@openmaic/importer/src/serializer/imageSerializer.ts has 624 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/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"418557ef3553b9aff3896c758182acaa13e77872efaea328291df0d6ae40257a"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/legacy-browser-import/course.ts: 618 lines of code: lib/legacy-browser-import/course.ts 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":"lib/legacy-browser-import/course.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53c0c452d43a6ff2dc85855da170f9dc886188bdae167838f6ed096fb2a1ae4"}},{"ruleId":"R3","level":"warning","message":{"text":"components/settings/models/model-map.tsx: 615 lines of code: components/settings/models/model-map.tsx has 615 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/models/model-map.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e3917f87f91699a6ca47259b46c39afb66103e5b43de38153f002c945232cb"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v2/agents/simulator.ts: 613 lines of code: lib/pbl/v2/agents/simulator.ts has 613 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/agents/simulator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5221b34c11db8373ba4cca765273ddcc7a2f2d5ec74615a52dc26f48536b7a82"}},{"ruleId":"R3","level":"warning","message":{"text":"components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts: 612 lines of code: components/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts has 612 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/slide-renderer/Editor/Canvas/hooks/useScaleElement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8f40ad1b12f27170f2c3e2f6fe43a0208eda913050439bc8075ca8528f5534"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/audio/voice-resolver.ts: 610 lines of code: lib/audio/voice-resolver.ts has 610 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/audio/voice-resolver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad68449d70ca87e8b4485e753ce650e5de66f57b63a03da958c103298e85c863"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/workbench/use-material-library-tree.ts: 609 lines of code: lib/workbench/use-material-library-tree.ts 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":"lib/workbench/use-material-library-tree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"933922bd35440c9967c96750bb44cf274b8fd466a5fff09fc1a380ff6082690e"}},{"ruleId":"R3","level":"warning","message":{"text":"components/settings/models/slot-picker.tsx: 607 lines of code: components/settings/models/slot-picker.tsx has 607 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/models/slot-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41db9b8c378d9926f624830097ab2d770f86a800a70482fdb6d84657d931bc7d"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/pbl-v3/project-package.ts: 605 lines of code: lib/server/pbl-v3/project-package.ts has 605 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/server/pbl-v3/project-package.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fee0d7f81cb31ed231476a8957e467d65e2130eafe7e63b789a5f3859da0ce3"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v3/project-report.tsx: 604 lines of code: components/scene-renderers/pbl/v3/project-report.tsx has 604 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/scene-renderers/pbl/v3/project-report.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b138aeffc0e9d8d9c62abe995d1e33abc22794846367b5ee0ed64ab25c4add72"}},{"ruleId":"R3","level":"warning","message":{"text":"components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx: 599 lines of code: components/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx has 599 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/slide-renderer/components/element/ImageElement/ImageClipHandler.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2841cadbbfdbbe4479fbb80516be62e41f0944250a826c09f5fc77c32b76c3"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/agent/runtime/stream-fn.ts: 597 lines of code: lib/agent/runtime/stream-fn.ts has 597 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/agent/runtime/stream-fn.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e96a99d8f5d0a27b6381b8f681a34c35b80f438374708eb84122ea0139a772"}},{"ruleId":"R3","level":"warning","message":{"text":"components/discovery/folder-card.tsx: 594 lines of code: components/discovery/folder-card.tsx has 594 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/discovery/folder-card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa0f8e2cad5dc1e1a29da8e1fac0c1e9410ce6c157a1c4bbbba37f62593c5b5"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/curriculum-tools.ts: 593 lines of code: lib/server/agent-runtime/curriculum-tools.ts has 593 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/server/agent-runtime/curriculum-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"106715274622dfaee37f6bce7be7a3111fc69149086b0fa39db6a5a7b83cd534"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v2/workspace.tsx: 591 lines of code: components/scene-renderers/pbl/v2/workspace.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":"components/scene-renderers/pbl/v2/workspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3051a821976f5848a429d10835e8921f9d276231f084826b3ad7f00f66e2b400"}},{"ruleId":"R3","level":"warning","message":{"text":"components/edit/AgentsView/AgentRosterPanel.tsx: 588 lines of code: components/edit/AgentsView/AgentRosterPanel.tsx has 588 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/edit/AgentsView/AgentRosterPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea3f3228a5ac316fc2f092b638bd95cf50618a29424fc6bf2e62722e4f5ad46"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pdf/mineru-cloud.ts: 588 lines of code: lib/pdf/mineru-cloud.ts has 588 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/pdf/mineru-cloud.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce86ffe8e35a7d58bd8a9d7db9af674956091e91f0a93671a122f4eb0aa60d52"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/legacy-classroom-import.ts: 586 lines of code: lib/server/legacy-classroom-import.ts has 586 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/server/legacy-classroom-import.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f179e6ac2831022f5fbb455f9855a191babcda8f2552be3c2b6c59ed6deed0c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/agent-session/types.ts: 584 lines of code: packages/@openmaic/storage/src/agent-session/types.ts has 584 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/@openmaic/storage/src/agent-session/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c236fb4a9ae8d7e6978b377a5a801736dcc0712469081603f6bb86d98cbf5e1c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/editor/src/ui/labels.ts: 580 lines of code: packages/@openmaic/editor/src/ui/labels.ts has 580 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/@openmaic/editor/src/ui/labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be5787d0e8b506b0c0cf913679d07c662ee4ee2b31bc381eb91883b13a46cc7"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/chat/pi/prompts.ts: 578 lines of code: lib/chat/pi/prompts.ts has 578 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/chat/pi/prompts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce298f003fd70b21139877f6331d3413266c4df2c6234e4eb456c5420406f30"}},{"ruleId":"R3","level":"warning","message":{"text":"components/stage/scene-sidebar.tsx: 576 lines of code: components/stage/scene-sidebar.tsx has 576 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/stage/scene-sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e399f91d3f67c94439e72ded9ef2d4c20342aae3ab675afebb70fb335c5035e6"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/personal-history-tools.ts: 570 lines of code: lib/server/agent-runtime/personal-history-tools.ts has 570 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/server/agent-runtime/personal-history-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60752aa506246d7992b0bc5356883cd79595b855e32f97a9c84512c75d919c2"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/ssrf-guard.ts: 569 lines of code: lib/server/ssrf-guard.ts has 569 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/server/ssrf-guard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"676365ab1b1336a16a0861c293c827ce10a27ed177a003b1b8aa9a10acfff0a2"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/utils/chat-storage-core.ts: 569 lines of code: lib/utils/chat-storage-core.ts has 569 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/utils/chat-storage-core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56595341c1432f2950548cda0c47b6732ff8f69351d6a141b76bc255608e2ff1"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/import/use-import-classroom.ts: 568 lines of code: lib/import/use-import-classroom.ts has 568 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/import/use-import-classroom.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adeec0cbca50d3769c75909d55d98e154fb95250fb958011d8393cffb18fb25"}},{"ruleId":"R3","level":"warning","message":{"text":"app/generation-preview/page.tsx: 567 lines of code: app/generation-preview/page.tsx has 567 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/generation-preview/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"598e602105504a67dce0602f175d90ce330b61bc3433fc8c00f89114caf486aa"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/hooks/use-discussion-tts.ts: 567 lines of code: lib/hooks/use-discussion-tts.ts has 567 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/use-discussion-tts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e963a3aa7244995d2b336396266ba706ca292ea68699497c083b049761a45c80"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/ProLaunchPanel.tsx: 564 lines of code: components/workbench/ProLaunchPanel.tsx has 564 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/workbench/ProLaunchPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9149f0ef226d57adbcffbd6596591d574d073a84583a570af934db72bdb569b7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/material/pg.ts: 564 lines of code: packages/@openmaic/storage/src/material/pg.ts has 564 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/@openmaic/storage/src/material/pg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e6ee312d66a439ed2700a09de9f46c5a60dd42203ee213b94f2ac75cf509bf"}},{"ruleId":"R3","level":"warning","message":{"text":"components/settings/model-picker.tsx: 560 lines of code: components/settings/model-picker.tsx has 560 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/model-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66a0423db5457bdc53b5809f9bfb957619741542c696172bd9b7c5f81fb66e3"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/persistence/material-library.ts: 560 lines of code: lib/persistence/material-library.ts has 560 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/persistence/material-library.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f70642074712af162ef1f9ca9e053fe7c214306cd6a40fab62c7dfc005f1e8c"}},{"ruleId":"R3","level":"warning","message":{"text":"app/api/persistence/[...path]/route.ts: 557 lines of code: app/api/persistence/[...path]/route.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/api/persistence/[...path]/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af101cce31f9f68952bc57526ba7a7602a60159f39678cf36a20808dea90ce8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/skill/types.ts: 557 lines of code: packages/@openmaic/storage/src/skill/types.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":"packages/@openmaic/storage/src/skill/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f1698048b98a6607f546a00f1f5a526d478979d56162d2ad704f89d249561a"}},{"ruleId":"R3","level":"warning","message":{"text":"render-service/src/preview-renderer.ts: 557 lines of code: render-service/src/preview-renderer.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":"render-service/src/preview-renderer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d5d400dced9e534e3e3ff82e58d1ccf4c556519472d206d78262bad65ea945"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/pg-migrations.ts: 555 lines of code: packages/@openmaic/storage/src/pg-migrations.ts has 555 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/pg-migrations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06f3020a0c31d1b7bd259cc895ff8f0431db2f5427bee0413b7f58d0ea6c4ba"}},{"ruleId":"R3","level":"warning","message":{"text":"render-service/src/resource-task-runner.mjs: 550 lines of code: render-service/src/resource-task-runner.mjs has 550 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":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4c1a0a81210be637ca9e3d65510dd0cde6dd755c594f4f65f9acb4836e7ac1"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/persistence/owner-material-extraction.ts: 547 lines of code: lib/persistence/owner-material-extraction.ts has 547 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/owner-material-extraction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e2cd4b6140898d5930fba83e95fe6385e183dbc1f869649e087ef108010f6e"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v2/operations/runtime/eval-prompts.ts: 546 lines of code: lib/pbl/v2/operations/runtime/eval-prompts.ts has 546 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/pbl/v2/operations/runtime/eval-prompts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b924fd327745a1759fb50c1aeea678f900f13dfb0fe640b9856c582cdbcde21"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v3/report-share-image.ts: 543 lines of code: lib/pbl/v3/report-share-image.ts has 543 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/report-share-image.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f64714f1f59784bb21c176af9b546ed326a59f4f335265458bad092ce92d893"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/serializer/tableSerializer.ts: 539 lines of code: packages/@openmaic/importer/src/serializer/tableSerializer.ts has 539 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/@openmaic/importer/src/serializer/tableSerializer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b9428da4efeaf6cb2c1981ca1d65118949d7903150ba4de199aee76a51b155"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/generation/src/pbl/planner-single-call.ts: 534 lines of code: packages/@openmaic/generation/src/pbl/planner-single-call.ts has 534 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/planner-single-call.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b8c72cdb7fa1c59862cf05736ba4f758a99e1d9619fe2c7f9e68f5d36fd5f2"}},{"ruleId":"R3","level":"warning","message":{"text":"components/edit/surfaces/slide/ElementPickLayer.tsx: 533 lines of code: components/edit/surfaces/slide/ElementPickLayer.tsx 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":"components/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b48222ed8fd8975c3b2d519097d4c1c1baa96b4744e37422d8031631645113"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/model-settings/edit.ts: 531 lines of code: lib/model-settings/edit.ts has 531 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/model-settings/edit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd026f75b1297a1d4076a6a84b2d282e745653da43d76222174e857dc3db2e6"}},{"ruleId":"R3","level":"warning","message":{"text":"components/slide-renderer/components/element/ProsemirrorEditor.tsx: 518 lines of code: components/slide-renderer/components/element/ProsemirrorEditor.tsx has 518 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/slide-renderer/components/element/ProsemirrorEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61607a66ceec1357aab382397577b4249871755f0f3643830aa3cf01aeb18d9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/editor/src/react/core/resize.ts: 516 lines of code: packages/@openmaic/editor/src/react/core/resize.ts has 516 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/@openmaic/editor/src/react/core/resize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80abf5749938fdbfbaf045dc37241919aa1f999300ffae615280463babd653a8"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/hooks/use-canvas-operations.ts: 512 lines of code: lib/hooks/use-canvas-operations.ts has 512 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/hooks/use-canvas-operations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735399ef47a0afd8451dcb3cf02e4e7a54c5098a0c5a228f1e83cf61bc3531c6"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/export/standalone-html/prepare-manifest.ts: 509 lines of code: lib/export/standalone-html/prepare-manifest.ts has 509 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/export/standalone-html/prepare-manifest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eaf2de497ac388af2f5c1cb4a5d0b7b98234cc2fdbe15255cc889653ceb83c"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/audio/qwen-voice-clone.ts: 508 lines of code: lib/audio/qwen-voice-clone.ts has 508 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/qwen-voice-clone.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e7895d7efc9baf14ed9e92fd88d5f0eb5e71d717bf96e31f81007cc20599a9"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/whiteboard/runtime/validate.ts: 507 lines of code: lib/whiteboard/runtime/validate.ts has 507 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/whiteboard/runtime/validate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6354e27fba960090b5d29f735846a06fd938178895b808c19e88191d1f37baac"}},{"ruleId":"R3","level":"warning","message":{"text":"components/settings/provider-config-panel.tsx: 504 lines of code: components/settings/provider-config-panel.tsx has 504 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/provider-config-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a183af01728c202404d87b28f96c036621fd7b9d6928315c938f8c63b24228d5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/utils/eqFieldParser.ts: 504 lines of code: packages/@openmaic/importer/src/utils/eqFieldParser.ts has 504 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/@openmaic/importer/src/utils/eqFieldParser.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a873cd38031b8f66d708de33471ae63229c0c973f998529a1247d082310c7846"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/serializer/mathSerializer.ts: 499 lines of code: packages/@openmaic/importer/src/serializer/mathSerializer.ts has 499 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/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34161ea203e5cadd1061a0d598cb2855a8ca2e7934765408c531c5aefda0fff"}},{"ruleId":"R3","level":"warning","message":{"text":"components/settings/skill-settings.tsx: 495 lines of code: components/settings/skill-settings.tsx has 495 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/skill-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff61c1c02c493d3f5590e6a27ac165a631a8915950a48162b13fca114cfc6b18"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/persistence/owner-claims.ts: 492 lines of code: lib/persistence/owner-claims.ts 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":"lib/persistence/owner-claims.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84414c9a39ee502e9880f994ddbc262e18b977dd98ed5ad882828d4ae854f43e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/runtime/browser.ts: 491 lines of code: packages/@openmaic/storage/src/runtime/browser.ts has 491 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9144890be0fca04bcd6cb715c49cbd8494d7ab3d855bce153d23878b35b6eb"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/model-config/openmaic-yml.ts: 489 lines of code: lib/server/model-config/openmaic-yml.ts has 489 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/server/model-config/openmaic-yml.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be881d8f58cbf85b6611b0024c3049aa3012c9314768908dcc0468a45292c24"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/skill/pg.ts: 485 lines of code: packages/@openmaic/storage/src/skill/pg.ts has 485 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/@openmaic/storage/src/skill/pg.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c51ef16a148dfbf165594e0ffb103aec403dd026f7dc2cccfac4aa92c34916"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v2/operations/runtime/completion-stats.ts: 484 lines of code: lib/pbl/v2/operations/runtime/completion-stats.ts has 484 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/pbl/v2/operations/runtime/completion-stats.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5068f8a3198784e2c3c1025a37274b7877752de0c6b26d16747d119b36b49674"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/voice-clone-tools.ts: 484 lines of code: lib/server/agent-runtime/voice-clone-tools.ts has 484 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/server/agent-runtime/voice-clone-tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28848717bed0558f6417afd6bbb9cdbd5b9c53e0e96c75c0f540597701254d6"}},{"ruleId":"R3","level":"warning","message":{"text":"components/stage/header-controls.tsx: 483 lines of code: components/stage/header-controls.tsx has 483 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/stage/header-controls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3e5d9f49633c55fe1b50a15442cb25f40d3acd68b8ad99614373c4e1f5248a"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/video-export-app/timeline-deps.ts: 482 lines of code: lib/video-export-app/timeline-deps.ts has 482 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/video-export-app/timeline-deps.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8139e406ff1c900fde8d44b7f931dd6c9faf5de815c80431e8e771297d5263"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/scene-tts.ts: 475 lines of code: lib/server/agent-runtime/scene-tts.ts has 475 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/scene-tts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d17e0b4953434b6220af25fba74786a558ac47795480acac45828777bafdce"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/model/Slide.ts: 475 lines of code: packages/@openmaic/importer/src/model/Slide.ts has 475 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Slide.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecb4fa022e019901b8a1365945869f15ee643debc7abd5fc2b15eeb9cf2e7ec"}},{"ruleId":"R3","level":"warning","message":{"text":"components/canvas/canvas-toolbar.tsx: 474 lines of code: components/canvas/canvas-toolbar.tsx 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":"components/canvas/canvas-toolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5364642d82bf6a4febf3910ec857f8f93991e7d3cbaada74cd2587b2ef62322d"}},{"ruleId":"R3","level":"warning","message":{"text":"components/roundtable/presentation-speech-overlay.tsx: 474 lines of code: components/roundtable/presentation-speech-overlay.tsx 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":"components/roundtable/presentation-speech-overlay.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7f0180e52eff38cc2df0aa64b4edf882f9330827f253bd0b290ffb4ad2e0e6"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/InteractiveIframeHost.tsx: 472 lines of code: components/scene-renderers/InteractiveIframeHost.tsx has 472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/InteractiveIframeHost.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8bc27283a4cb574ff588b065b2b1abe74448a653cdb467da460ecacf1bbd71"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/legacy-browser-import/index.ts: 472 lines of code: lib/legacy-browser-import/index.ts has 472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/legacy-browser-import/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d5eb3f4e11912a25aafbb35c0b75d7b08084425971d4369e58847134be693f"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/types/chat.ts: 472 lines of code: lib/types/chat.ts has 472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/chat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ef82b41db4aaddd474bca63ca89773e811291556154436b069c306dcf96d6b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/serializer/chartSerializer.ts: 472 lines of code: packages/@openmaic/importer/src/serializer/chartSerializer.ts has 472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/chartSerializer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df38b2d70cac8babef0111867f94672b9e0ddb44a8013cf581c8c782ca80fc80"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/course-mention-menu.tsx: 471 lines of code: components/workbench/course-mention-menu.tsx has 471 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/workbench/course-mention-menu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05f82beaf1092d845fa4a83f5d4fb8b6887dbd50bbf9b173874ffb8990b1feb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/asset/browser-store.ts: 471 lines of code: packages/@openmaic/storage/src/asset/browser-store.ts has 471 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/@openmaic/storage/src/asset/browser-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e835f7ecd0e897ab8d13ca5b000e44345fbacf44f3d1abf9eb0f8e9c43bd66d8"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/ai/model-metadata.ts: 470 lines of code: lib/ai/model-metadata.ts has 470 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/model-metadata.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"488490da1a5ef5b17f74c25adfd75b3e8d1ba11e83afcaf89cf7efc3a000316b"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v3/domain/project/project-schema.ts: 464 lines of code: lib/pbl/v3/domain/project/project-schema.ts has 464 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/pbl/v3/domain/project/project-schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"201283dd0114ba28863aab0cfbb9ef1f55a09e307d29acb4104735d7fc0e9c03"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/generation/run/media.ts: 464 lines of code: lib/server/generation/run/media.ts has 464 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/server/generation/run/media.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be34f2ab5ccbb609c4091615ac090d52396b86af53eaad8e968eb1dc7bba803"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/pbl-v3/application.ts: 460 lines of code: lib/server/pbl-v3/application.ts has 460 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/server/pbl-v3/application.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9529af9617424ea802bca6771ca0718ee1fa21cd17b7f09ea9caa7eb5879a249"}},{"ruleId":"R3","level":"warning","message":{"text":"render-service/src/render-coordinator.ts: 459 lines of code: render-service/src/render-coordinator.ts has 459 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":"render-service/src/render-coordinator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c060a0af8b9001693113a44d43b7ec4d34742edbcf2e111d695fdff00b9a019a"}},{"ruleId":"R3","level":"warning","message":{"text":"components/stage.tsx: 458 lines of code: components/stage.tsx has 458 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae972ddc6a1e14b004f32f6410ad3645f5acfd91dd2bb67c4d3a59a835833d74"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/web-fetch/builtin-extraction.ts: 456 lines of code: lib/web-fetch/builtin-extraction.ts has 456 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/builtin-extraction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eff91521420a0540498d7d73a0b8de949cca54bfbcebd0bb0c25c49033441e"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/generation-run-client/use-course-materials.ts: 455 lines of code: lib/generation-run-client/use-course-materials.ts has 455 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/generation-run-client/use-course-materials.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45afe4ebdd846d2a557b25dc89ae3932274666a4227e179d327c71698ddd8e59"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/model/Presentation.ts: 455 lines of code: packages/@openmaic/importer/src/model/Presentation.ts has 455 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/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb103f092c4e0511a3fd18992c9f768d08befbf3145d59ba4b742096d73ff9d"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v2/sidebar.tsx: 454 lines of code: components/scene-renderers/pbl/v2/sidebar.tsx has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v2/sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ffa461b066f8e75b3ea418119803ce6cd07347e50bc88c21ff1f77c3e2b1e1"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/workbench/element-refs.ts: 454 lines of code: lib/workbench/element-refs.ts has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/element-refs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96918913b2658f1d09b2a2f6406fd614782b9bf22bb3de0feb8f5134169e472f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/dsl/src/validate.ts: 454 lines of code: packages/@openmaic/dsl/src/validate.ts has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/dsl/src/validate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c3996d097343b97496f7dd11f28deaa92d7de90f877f5550eb2ad8da322db"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/generation/src/pbl/planner-core.ts: 454 lines of code: packages/@openmaic/generation/src/pbl/planner-core.ts has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/src/pbl/planner-core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a46a57e4af309f95bebda2860ee8b5db956366d59199be4a594f3ca8b9600cc"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/importer/src/utils/color.ts: 454 lines of code: packages/@openmaic/importer/src/utils/color.ts has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/color.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"169a9218ccac0bc79409960ca54dc8a462e0f3a237034179acaf57bb17f984f9"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/pbl-v3/teaching-prompt.ts: 453 lines of code: lib/server/pbl-v3/teaching-prompt.ts has 453 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/server/pbl-v3/teaching-prompt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65c05990f93f268919ecf3409cfb4d3b8ba0e6d14e6c37721e6e60c83fcc3be"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/document/browser.ts: 451 lines of code: packages/@openmaic/storage/src/document/browser.ts has 451 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/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4579a6ba84d693d2033819afe29ec70bd6e571f999d9647ecacdc8087074284"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/model-config/resolve-slot.ts: 450 lines of code: lib/server/model-config/resolve-slot.ts has 450 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/resolve-slot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd50af277ccf683ea88d211b7e17256920b63ad88753ca5508797d367022725"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/server/document.ts: 449 lines of code: packages/@openmaic/storage/src/server/document.ts has 449 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/@openmaic/storage/src/server/document.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"983d0c8dd81e2928643c390fe0aa74381f22e2a21e3e033c3fc26acc7ba98cdc"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/audio/adopt-cached-narration.ts: 448 lines of code: lib/audio/adopt-cached-narration.ts has 448 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/audio/adopt-cached-narration.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd17adc55776ec50b19b3a319181dcd74cf3e46947ded5effa85d0f3d61f5aca"}},{"ruleId":"R3","level":"warning","message":{"text":"eval/orchestration/answer-content-runner.ts: 445 lines of code: eval/orchestration/answer-content-runner.ts has 445 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":"eval/orchestration/answer-content-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7881c939036c1863d3652fa3c5201099f8138f27ce59d388379f9385962865"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v3/application-preview.tsx: 443 lines of code: components/scene-renderers/pbl/v3/application-preview.tsx has 443 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/application-preview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8db9108de59ba8f3c55439010664c6674a9419993b37264e3b01e0f4a62ff8"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/export/classroom-zip-utils.ts: 441 lines of code: lib/export/classroom-zip-utils.ts has 441 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/classroom-zip-utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13340de9bd251b19ce735ca346c74c0afbb12c7a58bbdc867a18e1508ac4308b"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/store/canvas.ts: 439 lines of code: lib/store/canvas.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":"lib/store/canvas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c47f2b53fdc75a4769b3fa93ee636439537b1c5dcb1afe8a9596380df32a836"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/generation/steps/material-analysis.ts: 438 lines of code: lib/server/generation/steps/material-analysis.ts has 438 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/server/generation/steps/material-analysis.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d83701a685e8d6056d399cf2955fdbce39e6712a7d0538abebb967e8b849e4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/renderer/src/utils/inlineMath.ts: 438 lines of code: packages/@openmaic/renderer/src/utils/inlineMath.ts has 438 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/@openmaic/renderer/src/utils/inlineMath.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccfc42a2ae7ac4183b04d1e5374d2f8954587624727389257754734e81a6e23"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/persistence/session-material-links.ts: 437 lines of code: lib/persistence/session-material-links.ts has 437 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/persistence/session-material-links.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af6b33bb24393c90d52eee60cdbf91fd039f302f875877b2fc6a19c295c4e01"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/legacy-browser-import/media.ts: 436 lines of code: lib/legacy-browser-import/media.ts has 436 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/legacy-browser-import/media.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e78bb49296d6a7f6c48481f130c263c2eebd0ab27b641de8f2428d397bae075"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/renderer/src/snapshot/index.ts: 435 lines of code: packages/@openmaic/renderer/src/snapshot/index.ts has 435 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/@openmaic/renderer/src/snapshot/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8db1ad995ca30edabbe81427269cc694246a6a5330c7f1948a4a21d188a0548"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/workbench/workspace-panes.ts: 434 lines of code: lib/workbench/workspace-panes.ts has 434 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/workspace-panes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da0bf4fbf56530063c3219983ab11b53ca23d868d13eea50b68e261eb295092"}},{"ruleId":"R3","level":"warning","message":{"text":"app/api/materials/route.ts: 433 lines of code: app/api/materials/route.ts has 433 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/materials/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c72fda0bb1a717dfb6b7dcc476af92dd16767ad08971ccc02666000b65701c0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/document/http.ts: 431 lines of code: packages/@openmaic/storage/src/document/http.ts has 431 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c29b86869573536cf18bcbc8598f23d441b859471824670747c3ea07581ecda"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/editor/src/react/text/prosemirror/schema/nodes.ts: 430 lines of code: packages/@openmaic/editor/src/react/text/prosemirror/schema/nodes.ts has 430 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/@openmaic/editor/src/react/text/prosemirror/schema/nodes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab26460d20171d359cce5458e1ef4e0acb764451f52a1b6223482657d78be06"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/generate-image.ts: 427 lines of code: lib/server/agent-runtime/generate-image.ts has 427 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/server/agent-runtime/generate-image.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e03ffc42e592a802e609c828a15c11ead109dfab1e8b7b6b8fc3f0fe723d660"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/material-extraction/extract.ts: 427 lines of code: lib/server/material-extraction/extract.ts has 427 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/server/material-extraction/extract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c44899e3d460864fc845307755cc4dd564bfad7ea56b6b40bbc6ec3eadaabb"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v2/agents/evaluator.ts: 425 lines of code: lib/pbl/v2/agents/evaluator.ts has 425 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/pbl/v2/agents/evaluator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6e378537bbffe02bf04d61624bdc2fc855725a9dbf95b0676ce43f6297b4d2"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/audio/voxcpm-voices.ts: 424 lines of code: lib/audio/voxcpm-voices.ts has 424 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/audio/voxcpm-voices.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf321f17340046639bf040eb64d887a27a9dbd7984d1e8a2d8c2a1b7ff7c5470"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/kv/http.ts: 424 lines of code: packages/@openmaic/storage/src/kv/http.ts has 424 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/@openmaic/storage/src/kv/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28f3eec2cd3d5d4034de38a19f6dd9cf128ecfdae903daf05505e96db882272"}},{"ruleId":"R3","level":"warning","message":{"text":"components/whiteboard/whiteboard-canvas.tsx: 422 lines of code: components/whiteboard/whiteboard-canvas.tsx has 422 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/whiteboard/whiteboard-canvas.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6e98870bad9a0bce6dcc64fa9a0baf77b75b8272a0417d8974298f4c3fd835"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/skill-preload.ts: 422 lines of code: lib/server/agent-runtime/skill-preload.ts has 422 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/server/agent-runtime/skill-preload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c31c90dd596f6099ad8e70b5cb8c93f8dde49be5365422a99f9054e8b48e7a5"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/workbench/owner-session-client.ts: 422 lines of code: lib/workbench/owner-session-client.ts has 422 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/workbench/owner-session-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa73287f7d7d3f9641cc4c82e62bf0c581916936e620b75233fd9cd9bbd0f08"}},{"ruleId":"R3","level":"warning","message":{"text":"components/edit/SlideNavRail/SlideNavRail.tsx: 420 lines of code: components/edit/SlideNavRail/SlideNavRail.tsx has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/SlideNavRail/SlideNavRail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fd854a13447a877b18a0dbfea4331a71ccc66e56bdc19650257f716b334bc9"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/utils/iframe.ts: 420 lines of code: lib/utils/iframe.ts has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/iframe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c274260ccf6cb9b49b6dee898e41037b69a63e13d6a2a94c9a5d13abf4d6059"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workbench/chat/chat-styles.ts: 418 lines of code: components/workbench/chat/chat-styles.ts has 418 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/workbench/chat/chat-styles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc22ba328a8446b7d7a04dcf5fbac6f7acd41fb4141ce4dcb72784c0e866b91"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/legacy-browser-storage/schema.ts: 417 lines of code: lib/legacy-browser-storage/schema.ts has 417 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/legacy-browser-storage/schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6abe2ff5499bb86b2eb3aa277470e605c4d1beb0df8f84179ca3c379e40f276"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v3/use-project-editor.ts: 415 lines of code: components/scene-renderers/pbl/v3/use-project-editor.ts has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/use-project-editor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f3a0105acc4b4e0fb1c7484f40305efb1e8072e741976ae5b9e29e55a12613"}},{"ruleId":"R3","level":"warning","message":{"text":"eval/whiteboard-layout/runner.ts: 414 lines of code: eval/whiteboard-layout/runner.ts has 414 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":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caab1e05f72aed9406042b5b23599861b68dfa545f502f0e6e6b1179059f546"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/pbl/v2/runtime/drain.ts: 412 lines of code: lib/pbl/v2/runtime/drain.ts has 412 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/pbl/v2/runtime/drain.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e16710919d11b57838129654a48f524b2e7ee221a8c26cfd5474c478ef952c"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/agent-runtime/event-notify-bus.ts: 412 lines of code: lib/server/agent-runtime/event-notify-bus.ts has 412 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/server/agent-runtime/event-notify-bus.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35c538e5f8c14e6e828ee36b87a853d6fef55cca6289c5b26fc4db1f8e42356"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/standalone-player/App.tsx: 408 lines of code: lib/standalone-player/App.tsx has 408 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/standalone-player/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0554078d4928183c87cda9f67ea4a48485b577290033e6aeab304cca96a5a8d"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/server/pbl-v3/conversation.ts: 407 lines of code: lib/server/pbl-v3/conversation.ts has 407 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/server/pbl-v3/conversation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"626fa074f43ccf2340e2d5043444b9a2188cd4921d1ff8ac29644dd250954834"}},{"ruleId":"R3","level":"warning","message":{"text":"components/scene-renderers/pbl/v3/workbench-onboarding.tsx: 404 lines of code: components/scene-renderers/pbl/v3/workbench-onboarding.tsx has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/scene-renderers/pbl/v3/workbench-onboarding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6062527a994e64c070f805bd3f57471bc867a7cc6c33c6ef228900e6a2729674"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/@openmaic/storage/src/asset/s3-bytes.ts: 403 lines of code: packages/@openmaic/storage/src/asset/s3-bytes.ts has 403 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/asset/s3-bytes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db547b984b491bccc6efb509ae8016a5344a59db33a4c2f80951a8890e8204d"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/@openmaic/generation/test/interactive-library-mapper.test.ts:99 imports \u0027./fixtures/interactive-libraries/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/test/interactive-library-mapper.test.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"019c48d8be6ed3a0a019db9509136c9f506ced9ea8f9886b75272a3bfa521f4f"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: tests/runtime/storage-entrypoint-removal.test.ts:5 imports \u0027../../lib/storage/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/runtime/storage-entrypoint-removal.test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd1c84e6068a5b0d66052c55c92d4549eef10d0c505ced41c82a0c79783dfac"}},{"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/prompt-input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3460914d4c66347ba6d0f96813903807d387d0c82b1d76a272f4a6753508fb27"}},{"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":"eval/pbl-v2-planner/runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8981ff6b4610940a9a64ddcf6c471ccfed45d878b30591396ce7aab6b840ff36"}},{"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/@openmaic/generation/src/pbl/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"085d937fd4f6b39079fd47f0834642c59823961d12f02d81b102fc15236574e7"}},{"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/sandbox-lab/sandbox-lab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d3e7ba8f9d254088989149fe297f4d198335d8a5cc713200b9dcc777068ebc"}},{"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/message.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ad57e88ec96b0240218dae373cca18fa88aabdb7a1def9071494b69fa7c1da"}},{"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/context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45273187391f501a8781e8b8eff34bda13bcda4ff1c96d4e9a0f007d717e45b8"}},{"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/assert-pg-contract-suites.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"203e115926a80585ecb9cba231f8e18c91490cd77ebdc31510516eece02c8691"}},{"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/open-in-chat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db4d551f8558f566ee733907be9d14332a092407371f1884be23845f9ba38d1"}},{"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":"eval/whiteboard-shapes/runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"245d4e3fc0a6c0648e588802c46ec513bbee9ba6da6c083330df69f3c584ad49"}},{"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/combobox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b85ca8e2dbaa5573f5c893d1cba3a1d91e8bb0ed4131f5b2dd1cc5de2ec6b6"}},{"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/inline-citation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d54d74b7fad192c3110d2184d30602fa697490019997c2c33bed5a6c906eb84"}},{"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":"eval/pbl-v2-planner/compare-html.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61894d1a978b019c1963214873707016eb3c960409857424464f00f584ebf3c2"}},{"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/web-preview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"144650153685c7923793dcaad06b74b4d5da540952e2ed775609160315b98476"}},{"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/queue.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c8bd62c852c4cc585ae6f16e06ab9d61c701a53251035d89439835e0c2fdfb"}},{"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/carousel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcd0aefdfc6a0e26559401d647be09f4c33dc8d655a2c4205d5ba206091b7e8"}},{"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/user-profile.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da616e54cc0db32e7ac6e503b052000330ef8090a644a6836aabc99c102ee8aa"}},{"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/field.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef9b0dd1aa8c5e09784a1fca3fd3acfe2a17b3431a3f337cfb333d456d935f7"}},{"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/generate-video-export-noto-script-fonts.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed36e0cc8b5a5b8d65e0055136e528cae40091d931d6b17807108deba774b21d"}},{"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/@openmaic/importer/src/export/serializePresentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fda0e3f80d6f4e93fb7b7154433578ed02131f428c94c359a3fce208faf672"}},{"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/chain-of-thought.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbc4d40c4636a82c44f25a6aef9433a94e2e4d42ff2a0cc24dfb4450de091b3"}},{"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/command.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99682ca9bb995975815213a95d55c3f02df5da5cb0a186050987d24fed45d16"}},{"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/agent-settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6a41ada391af39fd19c85aff5152cb6bd67d0bd003a4640dfba00abea65e4c"}},{"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/code-block.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cda70f94ee9ee1bb62467816af65d9f1342022bc0c3ee5f7f0936204f09628"}},{"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":"eval/outline-language/runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc4a36aac7ad24601c80cab4db345ba1e0c52084a0f7eab6db10468a92c7064"}},{"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":"components/ai-elements/model-selector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeab43b89318e9037ce1a5758f99ff11ed852e1bf0b4eae7c08775664ed0b1c"}},{"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/pbl/v2/task/update/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f649eac9a495e54fffc2c8a678cb33112a9e459148ac84f2be9d8f657839702c"}},{"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/check-internal-dependency-ranges.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4158299704abfcca81bd2a772077103e20e52dcfecf6986acc6114a58b0e4a19"}},{"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/confirmation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"890877ae5fe8846706fe76622ac6488a25f026b5aa4c9bc078702937654b1725"}},{"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/build-standalone-player.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e341662a61759686e53eb3542df702353101e054d05f18455db7ce6aa2ebf3df"}},{"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":"eval/pbl-v2-planner/serve.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a1746ca97fbe7ab2bab6fc7197ed46d8ce86834860cd1c6f082124b6dd0b46"}},{"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/probe-mineru-cloud.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1667919da44c414787704f0b80e7fd736c7a890ab072dc4ccce7dbe3eb75aea2"}},{"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/tool.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e366583b3c0f55e2230c34219b6a803944436102cd75a57198511fc9e7dd301b"}},{"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/edge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40f2edf8fa5ad135489803e6965603397986feff996b114a0e091554200c3de"}},{"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/server/agent-runtime/import-pptx-worker.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc07c4c7d2c7b04b41cdb2966ed28fd27851c06de2a5e038783a64f71e5a52a8"}},{"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/hooks/use-streaming-text.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1dd66343ee7ddd9df2a2fc178260dd328e69e3147b1f5f7fc41627d2f1071f"}},{"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/plan.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad92b28532cf75f401174aea61258c39d69e82a14691cf83531b6982ad5a67bd"}},{"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":"render-service/src/resource-main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92db195f73d38a5da122f4944a4899589d5016398bbe8078c993a0ebd86bdb0"}},{"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/artifact.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bb0cf12df11f2c8bbe67a71b673e43c6c677664fee39d7934cd3ef7a60860a"}},{"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/@openmaic/importer/scripts/extract-pptx-structure.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a370ff200bce7568cbeb7f753d03550d709bfbc697bd21aae75a0f2abb44bde0"}},{"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/check-i18n-keys.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f70323af227631f9e962c70b294eb23f47e5f58542302c3ac15117801d429b0"}},{"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/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79f86ce8759e96df9df0969015bae22ce8a1958cf392f96e081db2f6bbfe16c"}},{"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/avatar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6934c2c09fab1956f19451918e6f5ee93f9babe6015ce110dd2d47f3babe1618"}},{"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/chat/action-translations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ff7e44f68480d47b173d45a970ac12771d830768c97d4e51a5617905c5e9f3"}},{"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/conversation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"411b74f4dad963009b1efb8ee854dbeb129362d36fd76d6be8cd9c99d2df12c4"}},{"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/generate-video-export-noto-cjk.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fb72a3053859dc51ae5f4bde7a53dd65e884003157090eabf02ebe53ca2c25"}},{"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/loader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d06db42cc459300358ca148972cda6ef2ba9783d1f6a7ef0d6a03680f24e51e"}},{"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/scene-renderers/quiz-renderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"739fb32e4d539f9367f3f9e1131d55ded1577db03db1ae19dcfcd3ecec08b34a"}},{"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/button-group.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c215e5ef975c9f747db9560d332c18dffdaf380a7f7d84becd28db2cefd286"}},{"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/classroom/CourseGeneratingPlaceholder.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c620d56703e4e71ee0d6f3a65d5bfc345ccd5451a805418fba4a0036ce5369b1"}},{"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/check-node-engine-contract.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce3e1c874bfd64e6e24c8e86935f636f82cf7d96fa81192b2ff11a9a97871c7"}},{"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/shimmer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab733ee23b944ebe3263ed6c53df7b5bb748a854eae00915bf14e819c4a8b01"}},{"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/task.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b376eebb8eff0fc673045f780f25952a91d1a4307762c358b6d24e0d3a23d8e"}},{"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/node.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f5f6637ea0a69d9e322f743ee4e3b31592b4368d21aa1fe7bfa20b60a6984c"}},{"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":"eval/pbl-v2-planner/build-compare.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94a5695d154ca8041c258b804b2a6e73ac9f5f064f4a993be81c19fec865f8d"}},{"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/server/material-extraction/document-image-worker.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f53df98c561a7d13b9ed98be5a642cd81c74ac0039b7cf79f80df7fc7f72a7"}},{"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":"app/api/generation-runs/[id]/hold-outline/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3ddee0dbfc2f30df95eb7cfc2e96ab8c14970f9aae37734e0dd9cf0e749d0a"}},{"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/checkpoint.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f2a4da08809089e937fe3466c96dcc189e97bdf575356717d62960261a4008"}},{"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/sources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee34ef39a1b38d6ba7d651aab64ccaded53416505ce49613880f324eb69d04cf"}},{"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/storage-health-notice.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"202bf03d0ce560fc80b9b33f1a82822e65a14d1123c8e2257fdd531ff2942d73"}},{"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/@openmaic/importer/scripts/transvert.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc56067f634e3ed53a55925527bcc4af3d64d04c368f9fa35c7bf275835680d"}},{"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/agent/agent-avatar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76bd5a7dc1dae5d9804346249d5e8f608f1182868e42fc622224cd3ec8487e4"}},{"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":"eval/outline-language/judge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0494c693992d2c63dec0d841e6804ec491d0713d244c9d6e548750afb5c4c4"}},{"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/suggestion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edff470236a44305168f5f935d6927c80b04004d64b9941d6db5421e4e2d3ae6"}},{"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/slide-renderer/Editor/ZoomWrapper.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bae77bc3b066be1853b59614c72a7ab597ee0fb6b0857e428deb7b36375631"}},{"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/sonner.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28911d2109d2a659d802f6ed75ffc1fec3894d3cfb950d0d1065f29c8d136091"}},{"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/@openmaic/importer/scripts/transvert.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93103a99786dc88d168a89a4a180ba7f871486ddc66f487bd6cb346c5b4e92d"}},{"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/roundtable/audio-indicator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b512ad81b0af4312cc156cdc1fb25a2501ab212ff16893ebab41472458b25a"}},{"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/sync-interactive-assets.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dd9a22af7812b1c5bc6c65837315680291217422d8f53783533c07e1a3b396"}},{"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-providers/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7c6a3b36786dc033e5e416c07320020368dd1a935902ce0a1ddbe3c1021e8b"}},{"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/assert-vendor-maic-importer.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f0ef1153dd7b59cf775be67c9fccca7c001c2490737933db5ac713f6d888f"}},{"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/sync-maic-importer.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d461da8c47ae19dd689cd37a528a047ac6071218d0bef91e5eceb2ab5273d07e"}},{"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/separator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e30d11b88e339476eafbc4d9552bf9e25f22e3484c3d7166810dfed0666146f"}},{"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/standalone-player/charts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4c4de6d0701090606f458363fbeabab12fd9de2504a5b61948beeb8ea913e2"}},{"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/slider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8fd888568b9fbd16ac8587995c911b43bbe4f463c9a75abad0c0899e65e215"}},{"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/workbench/ProSwapWatcher.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35d53bdd769c9dc8823ea4a9f2c9c7f336dd47bfff7dad7a3c88a189bcffd14"}},{"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/pbl/v3/workspace/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da49fd1f237494ed6879d5e66f398742290dd33b932a3d34d0734b5542fd3eed"}},{"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/comfyui-workflows/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9385ee54c51b05771ac5c48a0547f185dd7d0eaf3526799d34989cfa6fe5e8fa"}},{"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/pbl/v3/workspace/terminal/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92c8f940dc4f802176ccd4b3c333739a23374384227544503645f7e6aec3858"}},{"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/canvas.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8754d7c6525a55fe7be0447a6b726d7144908cd671b1c681c5c05771c42f37"}},{"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":"components/agent-registry-init.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6e089c699564f23985fa11cb45baf0f19478693c05e9859d9d275df484d043"}},{"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/controls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17d023d0f0c7095526dfacea23f8ebf39b170ed6f87bb6e3651ac4003ef392d"}},{"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/server/fetch-with-timeout.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8ffa13cca6b0d9564c9088a42ea56fb1733c898254e6fa74c598b6ce9bd2b3"}},{"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/access-code/status/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e355a165d9d297b20648b6fda303a24f5862b6c59b5c2fae0d3a12379d71d075"}},{"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/connection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"747509b9f0caa21139af50d9301f677f9caa36a5532ed662432ce6deedb1aa63"}},{"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/image.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"642d068030e6c591f8435c5f0c4a745c2b0084a7ec2a2c2eb0beb0276b28f3cc"}},{"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/project-workspace/[workspaceId]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfb4cb9f155a92b5d29eecc16c0f4a60c7b0ab8452005038b0f108eab5032f0"}},{"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/toolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7579cef021431916251b6aff28b967186feffafabf8e8d91bad4ceb58b27f808"}},{"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/panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5334e1543596da0bd07daaad9e9d2d330ffd480efcaab3f2d0b30d1ad526d9e5"}},{"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/sandbox-lab/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2561f4a312d5479caf2c7d5f8e96d140bb72e9bc44a10670fbc575a4186d7b1"}},{"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/pbl/v3/application/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d40c9578f67554785d346d2f55814a6c5b014212303cbaed8acb781a369d13"}},{"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-code-editor.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25426b93733641e5defaf2f8eca0579ae1de6a259209201fc13368184bd4d8a0"}},{"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/standalone-player/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0d583cb94a342b3a8070fdb7d8ce7f8791e09f27c7676b4c3c1757389f7f9c"}},{"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/collect-sandbox-checkpoints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba740e29c0e113d7c7c329b478b3ccb1459135548ed0ffc8b45d722cc2d689a"}},{"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/generation-preview/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"176443a0841d63127295aa8ee8bca6fd32dee9a465925aabab488d5bbf607e6c"}},{"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":"configs/storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdce9b3e8ef3ade3f65d0b93a4cf9fb7a1e992bf1dc58c38ab686fd01d3277b"}},{"ruleId":"R6","level":"warning","message":{"text":"The declared test suite includes a file that cannot be loaded: This repository declares test tooling, and the \u2713 above records that declaration \u2014 but packages/@openmaic/generation/test/interactive-library-mapper.test.ts and 1 other test file(s) in this workspace cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) \u2014 each one is reported with its failing import under Test Coverage \u2014 then the declared script exercises what it claims to."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/generation/test/interactive-library-mapper.test.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d48020f44066f16a8225891800007e311db75e9f48c1c5b08131876fa0bff6b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1670 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"configs/symbol.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"094ee505be94ec7973b2228078b726d087cb31632b9897140b254a3d00bc1ae7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1262 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/prompt-input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b320f7bbffe86695b60873c60f2cc26b0e76212cb7f394e19082287d871ad1f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~374 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/message.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0351127a3185269f7a6db49cffd641c1c1bd82bd79ec86d15d33e514f42bd899"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~354 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb63b2dd95cbfdf56d5d412d1ad55f945497a9443d50d79814829e99397e7697"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~335 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/open-in-chat.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8901f2f1de3af93ff8a22d4dfb95cdde4256ade5c5b5ccc6303dd240bb6ee648"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~299 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"eval/whiteboard-shapes/runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfca2ecf212c9f406284ec20ab34c59ab597f9dc6c0ab4f10cfd64e9b8d87971"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~275 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ui/combobox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5b7b3f2ee2b1bdc2b5b4c73022d92ba0f4d00a9069c009f9a55a1a8f168e61"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~274 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"configs/latex.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5578b3a0d816660320d57445e871c71e1e892c2ebbf8958c151e3d57ad8f601"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~255 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/inline-citation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8fa2ee55b721a82598149a1e13a4c6f2e06d0c06d49946b53f4e2ab7abcd54"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~234 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"configs/animation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"665d337e3cb563d57a2c5b6a56a3644ea401a65d298d5add95f85710e90740eb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~233 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/web-preview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58a421cd318636a3c2c2e72652436655329a7f8b49ae5e670937d3c0f46b46f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~231 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/queue.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c57e4232d1a46f9d6d8b6373a4d45b8137caa8752c0e8f38ee9e55057b1211"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~231 LoC): no import path from any entry point (583 application, 46 tooling, 1573 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (components/ai-elements/inline-citation.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/carousel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c5381179e1fde2273d31ef85cf3c6d57436399f2e30a360f41565483ee59ef"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~230 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/user-profile.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a975afc0ef164e0274f6dcb739bb5dc6bd1a192c407f9fd8045047be1ac703a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~224 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ui/field.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b376f4f50fedb3f2cfb5a41958ab6b441eff0bdd1e00bc1ba715c988dfa26f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~200 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"packages/@openmaic/importer/src/export/serializePresentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4bb15afb963bbdff41c009324a1d46ebd452bd539fde911dbdceb1a9f3e47c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~198 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/chain-of-thought.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ae6d3349f3c304925bd00f5fa487bc03b1f65fff826f89c4e9dc204221fe4a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~180 LoC): no import path from any entry point (583 application, 46 tooling, 1573 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (components/ai-elements/model-selector.tsx, components/ai-elements/prompt-input.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/command.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7e5244031cb95dd3ba71c65310ba8cca2a650fa891f8e57d37518e10d81897"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~174 LoC): no import path from any entry point (583 application, 46 tooling, 1573 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (components/ai-elements/tool.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/code-block.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3667c56e8463635165b730b5113a468e90bc6bea95c3ae36459677482e0f355e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~173 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/reasoning.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0137db72b19aaadfa1875ac62a62188e54982699e884aa00ebcf8fc4e847f0ff"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~170 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/model-selector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bf4dba66a550536a067155b696962ac01ff6e2be85e720971ee893f978595c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~147 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/confirmation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6f8f3d3b3586822ea2f92c83f206eae929cdec2755a3176043207d21d95466"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~136 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/tool.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2069dbe595f9256dbc1bda9b3362ff160c940ca687ac1896b1062b53c6ebd91d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~131 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/edge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"345d165d4b278e08e2ce07c244ea38d8e0a39c50e1b20c8a6a626d1de6bedcf6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~129 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"lib/hooks/use-streaming-text.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c992021a57e0e09daf95a1ab75e526cffa13c48e71ba39508e6cb4de14383fba"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~126 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"configs/theme.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a3857ebc3232767a92896c5784da32824a1951770d06ceed15ce639a74796b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~123 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/plan.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f09bc794fa093560162475350fe67c6f26a396212d518ebf8b614239214bc15"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~118 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/artifact.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf1ff320b93f70ef4a7ddbe278a0b8d6b71122d60ba77aa7723a3e0c9cc8dbf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~91 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"lib/chat/action-translations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bbc1b3fa5f19bff700bfa4105b238922b8e63fb572e2a9cdfc64802e4eaad5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~88 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"configs/chart.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5016b635efdc0b77b11684561b8d0bb292b036ed869f3b13c42b9ef36446a7e8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~87 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/conversation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5898cf828ff0ed78f911aa642e348468bfd51aea112e87411e582cd3c65f78"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~85 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/loader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"034c43d2ba3dfee57bfe18bf9e360d27ec5590be3f5a32df2313db08d03e5d4c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~83 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/scene-renderers/quiz-renderer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04462bdf0a855f28af8c25e3c7ef6ce5d93e3dc076cc1c14fb313f762a068b01"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~78 LoC): no import path from any entry point (583 application, 46 tooling, 1573 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (components/ai-elements/message.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/button-group.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b435257e9cae51e6e2b0427eca416457b01499d50616c133cc08b5a59e8885c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~75 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/classroom/CourseGeneratingPlaceholder.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fafb1be4bfdc34614efec9cf6ac0c9711f86b9255ebd005a7597e0f1fd38f7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~67 LoC): no import path from any entry point (583 application, 46 tooling, 1573 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (components/ai-elements/plan.tsx, components/ai-elements/reasoning.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ai-elements/shimmer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"803af3c1a3f7077868c71226089c2b074e2b702f0bf524a791d3fbac7e7d6a39"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~64 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/task.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f9aea8df774f851b010c06b371484ace3b7987f069f6b0b9ec3a5b212e31a1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~63 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/node.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feaeed59691517da1211a031ad51ac2e87a95a4e22d6a3cf074b226c794f59f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~55 LoC): no import path from any entry point (583 application, 46 tooling, 1573 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (components/ai-elements/queue.tsx, components/ai-elements/suggestion.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/scroll-area.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6945e6f0fb445f4395d4562ff525b4b05f9ead9414628c767f6da30fdf0cb5e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/checkpoint.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43d99fa972a8628888d6dad1346e1b651b24a3d518098600b1a8bb732ad3d0e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/sources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c14235595f8115bc070844b68fc90caad24515ee1bd506bc8c8a864710b138"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~48 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/agent/agent-avatar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d1b2d3cd02a57b283290c93d02a9fdc5057c98ed83a4ff3304d6a4051bc6c8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/suggestion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d51a27c7cb047cb0bd9d78064d1082f786baa24d1f0093e186b9b8e966ce8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/slide-renderer/Editor/ZoomWrapper.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5831f72b8ecfa863def713a2bee4f3bbb5b20fc1c11446edac733f5b28b9ab29"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~28 LoC): no import path from any entry point (583 application, 46 tooling, 1573 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (components/ai-elements/checkpoint.tsx, components/ui/button-group.tsx, components/ui/field.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/separator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b55586147f77c65860a99712a860ae708ae1f376b34cf4acfbdeeae6a34ad5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~27 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"packages/@openmaic/dsl/src/schema-roots.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7675d014794e6bd0254ecfaeeb625774b17e59326fa01f205f4f1d169782d68e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ui/slider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"363ce4929982bad7432a0d4b39625ca8e487ec603771b32360e1489eb74b15e4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"configs/mime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20c5f84715953a09a7b3a1f236c2c9f39eaa41b0697a4657e081cb4e1aacc83"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~22 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/canvas.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dce32337b2da93f7cc1cff4dbefa577eead43363576bde021838ff8b620e581"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (583 application, 46 tooling, 1573 test roots considered), but 8 in-repo import(s) from 8 other file(s) do name it (components/ai-elements/chain-of-thought.tsx, components/ai-elements/plan.tsx, components/ai-elements/queue.tsx and 5 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/collapsible.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a470e56c3613117d0e4b026523f4c666f5ca4f202cfa090a2f5a21d1bb3b875b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~20 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"packages/@openmaic/importer/src/serializer/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f779755cf71ee347c76f09df327ee0a3dede0a4f25734f47295cdb8bf726c51"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~18 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/controls.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c69057fe00bafe742729e7ebe7bee98d74a516f9ec3a8f5e4f043c3f544cc3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~18 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"lib/server/fetch-with-timeout.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcbc3e3c61f03c49d071b2529225468e4dd61f066b3b3b8a0d30ddcd2abe8f0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~16 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/connection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73272490e2252d08a1be671c791580e205f179a1ec2dba9afac14d37d09bd335"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~16 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/image.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c03f03c75eda43c418969e470948de5e5ebb24e22575c1d1901d1e076e3e0cc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~13 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/toolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf9b39cb5d3c08b7b9723dee5ae1ecfd8319a8f9d8d3719166d2045220eb2d1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~12 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"components/ai-elements/panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95405b3d978908be4806cf2174b14cb6519b040f2717147f3ad48f2c7aa67889"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~8 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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/collect-sandbox-checkpoints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2676cff2e7249d26d8e81c66e17711c0e1733ae95fbcea7ce23c1e4a8a93af6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"configs/storage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ad3beb6cf7369337ca456b4fddc7b3c0c514dbd1490f0b4ca2ee569c88d365"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (583 application, 46 tooling, 1573 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":"lib/types/export.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2909db9775c16a9c604a77990c18406bbb7e33a65a52ccd40d7acda4872dab"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AudioIndicator\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/roundtable/audio-indicator.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef359aa99d77dac71f1896e4c05e57e0c727a0a340995124a3980953554fab82"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027onThinkingStatusChange\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workbench/chat/thinking-bar-state.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eae02c09f82761b18e22b2301f6e80d4852fe7846174df56d6dc22282c885b4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ELEMENT_TYPE_ZH\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/element.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3519c10cc497ea6fd64366df1f933b640b20b619de9e1e18fd11360a37a34e2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027HOTKEY_DOC\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/hotkey.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad9ed39b9553c5d96f9a80355a53a69e1e095fd5bce295c0363aaff3e3f5a48"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ClipPaths\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/image-clip.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"270a02e35292b783dd1be4e46e23e2053ac05e2a61f13a3681190606144fdc53"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SHAPE_LIST\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"configs/shapes.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c55b84f1807b77124f74b5c210dc8116b809d0051e26f9bc03deac192ecfa0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027HostAgentLifecycleEventType\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/agent-runtime/lifecycle.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df7a99ca59e6721131aad1fb4ee65cbc318cbb0ca04f69332aacc9bc0123f73"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027audioExistsBulk\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/regenerate-speech-tts.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1117de25e0b9b8af063e1d18ccfba4c48f7750e7d226844e2d0bba26203fad"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027VOXCPM_MODEL_ID\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/voxcpm.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b4fb5dab4dacb850cb629782de2b2196c36f1deb971122c88ca74c9568b896"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027buildVoxCPMBackendUrl\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/voxcpm.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf9a57bb5670a59eb70b954c6a02ca1faeafa9abc0659f63269189ac3f99e05"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027BrandProvider\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/brand/brand-context.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18459cacd574ab2a3570442bd75481d8ea2eb8cd998735b068da13d0812422c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027GeometryValue\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f64ac2b49bbbfc3d44e6082f14c8d660b251bb11b4c3b1d1e93432d8ff42f9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CornerValue\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cf10456d2c3bf8890784ca7bc7a658dfa1eae851f5c5cd84c18bad7ca377fc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Easing\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28e75b61fd57ae7bfaf813ec14945fec6d4883850d0dd62e6a2ace2d922c203"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TrackPhase\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aee6e6da2e8b35dcac3971e091508c22b8602f07165656f5800be53df24277c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LayerRole\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a209c1a8e823c681cab84ea3484857a0787ee48bb99633637ceb5a31ba01cdf7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MaskMode\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"304203c8ea14aaaec8804b687360e63356f0a4a0ba3eca16e850ed3ce37a1527"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MaskRef\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5374aa9b1800bb7c58cd43f1cdb6655205bec4ff3dd59ba3f0cd84f96bee932"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027InheritableProp\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c590f55bdc564d543cb2a0be6bd6aefe15623f5764cc4315dd1e10cf38be14"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027InheritRef\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"916f1af92d2f444af16a34beb56c6af1485dc198c267b3e4c32bdda0fdc118c0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Layer\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/choreography/descriptors/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/choreography/descriptors/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/choreography/descriptors/types.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4c6cd1756cc9add9f1b71996c6846a83b606911a15a4ab2691b851a49fc340"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isStageOwnershipUnknown\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/classroom/stage-ownership-signal.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f970a8c23702e2441bcedcc55bbec2ccb73ff5065ff03681b984b0e9f37ac09"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getStageAccessSignal\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/classroom/stage-ownership-signal.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f831655c3f27f78aeefe2f0babf1a3b83e93107ae03cf7d72ea776dffbf1a42c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resetStageOwnershipSignals\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/classroom/stage-ownership-signal.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41177778d7729f020faac787692e79522ec99d7631695600f2caf7b5d4132e8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PRESET_CATEGORY_ORDER\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/config/token-plan-presets.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bcec5d20b264287fb1e9d6899d3fe7d4260dfda79136c2c6866fd14e8f8654"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027tokenPlanSeedFingerprint\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/config/token-plan-presets.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff02785909753b4dcd9228216978a42e649c19fae5e3bbaf7773b6c35b312301"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027selectDocumentExtractorManifestEntry\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document/extractors/manifest.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"26490a6ab880c17c0fa01f57c1f3f75b2410894fba35d35feb214d3d2b3b558c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027selectMediaExtractorManifestEntry\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/document/extractors/manifest.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cdaa8e17e0028f56141f25794de821be987c77a718cdebcd38e8e4e402af25"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SvgPath\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/export/svg-path-parser.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbd509154d61188b10e0c44c9608acd00763362970bad0275a9879177c3f421"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CanvasOperations\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/hooks/use-canvas-operations.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b662216ea25ace9a7aea2ca7e4954d4a74522a5317186ba8d889f61859fd92"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027OBSERVATION_VERSION\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/interactive/observation.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"594ddfab3cf6cf3600c3222ea41a5c8297529021ba7bc05c22f233c4fc92ad09"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getAllMediaParseProviders\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/media-parse/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/media-parse/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media-parse/constants.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87c5dfea4121848b1da91193cff307722130a31c24e74081b29018bc09c8a4b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getMediaParseProvider\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/media-parse/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/media-parse/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media-parse/constants.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a283b59190a3e72ff4b093a446b1f921a95001b4c6ef574a85061a644dae110d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveAudioBlobs\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/resolve-audio-bytes.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"418970d9c507bcfd16b13cf55d7c1a8d5f427d9a15e61987784147a1cb2a97d8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveVideoManifestEntry\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/video-manifest.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3066539c5e422f38656ce86129dec9c4854f5f01b1ccc5a869ecc6cb6e742cb4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MediaRoot\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model-settings/capabilities.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e9490b7f493d7e1b7ba96804f61c9e3752ad694ac390479b241f2a62447d90"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027presetOf\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model-settings/edit.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc7c04e7bd4baf482e3166fbf3669ae50b0debde29cbb5e58695f4ab623667a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027groupPresets\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model-settings/edit.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b3534455521ac1570ea48b4297cd3adc0500f0c5ad0ffe421d7a66854e2a40"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027effectiveRef\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model-settings/services.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8d578d684a73c31076bf1101b9db63b587b2409649c8a90b820bde0f5ae25b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027slotOn\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/model-settings/services.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"296377e32f917f04cb43e48945eb35a4ed531ed7ffb498d92b9f3b96dec0b4d0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createAgentFromTemplate\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/orchestration/registry/types.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25a833a9414985ec195d0c4453ca1f58642228019a4e8f468a186de9770f167"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027listEvaluationsForMilestone\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/evaluation.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc47ee87e913763a1f5ac82732c3a222457dd733ffcca4d15bd198a38cc8b4cc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TEXT_AND_PDF_ACCEPT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/file-validation.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"170ece0d6d55410891bb7851efb3195c344d98ab809deb79a13ba6c4311a576a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RecordClosingCheckInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/schemas.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"595f8d9b5161757bd60f922db4fa938d25ae46bfc75d9a6620076734d459ec79"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RecordStageSynthesisCheckInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/schemas.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"74486a7892f5eeac2120b8b9814a49f6536b2f9606ce53a95c60630aa220b267"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RecordObservationInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/schemas.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82a4e0694e463dd69195e30c77b5762c5ea7197b01a09bd87ac5d7733d3d749"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AdjustDifficultyInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/schemas.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c94376902753ae3a2633b9723d91d7be00f566191d26bf649a28f117938719b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027AdvanceMicrotaskInput\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/schemas.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b38c68b2d465b5c57f0adf63379f46a6a41cd52c09bc9c4aa1246876ead529"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CLOSING_QUALITY_VALUES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v2/operations/runtime/schemas.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b026ba215d4d12189ec3279ac46cbb0b6438924e3b4d419a222e6a6078e0b3b0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027recordCourseLifecycle\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b2d8fd768ec90e7a3bffaf05c9b598110139ee737a6cafc208aa309768bb28"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027updateActiveCourseRelease\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfbd13f182150cbefe8663cc43b7079bc29e914f5f54b41741567ce3384840b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027activateAgent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1aaec28392575647f102e20d1202224644724fa68cb32d12fdb20b9f011b2d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027failOrchestration\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"946c4ab50009de865e4e2c44665c8c9af2c2021bd24a92143c94152aaf32ffcf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027markStatePersisted\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c446f6064c60862c78b5f864a0897921723d724ba677d348c48a7e75a8f18a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027releaseMilestoneAgents\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/transition.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da4b188ddc65d89dba1295b6415ef776f006efbda298848825de09a0c86734c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RuntimeConnectionDescriptor\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/types.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f85d1b2f22efcb60e39df28b82fc2ced889f3bbbe835eeb66b0adb680eba4a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027StageExecutionContext\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/orchestration/types.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5775c65f0f664cc8b76c1e443c0ba5cfc8b4d015ff3029b34e2c0959250715e8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027evaluationFailureKindSchema\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pbl/v3/domain/project/project-schema.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b6e1227711b75ca54e923dfbe33d9d8944d8f419ed342a75eeeabaa323af65"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getAllPDFProviders\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/pdf/pdf-providers.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/pdf/pdf-providers.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/constants.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0f71a423f384fe61cbdf74a2a871a5beba972c6da51c037b3ca02fecb41a76"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPDFProvider\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/pdf/pdf-providers.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/pdf/pdf-providers.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/pdf/constants.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bf44df77d4a2e337a2047e74a1c653fe246590ad36aff74ea56131702f2a72"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027validateElementPatch\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/element-schema.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c40d2b092a8d17233d902b391cf689ff5c64575b1653accd6a17ec567c432df"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MediaToolErrorReason\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/media-tool-result.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"802bf9c50d775aada8b15edd48bde35b045919943e78ac3ebfef60ec9610f3e3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SKILL_EDIT_WRITE_TOOLS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/skill-edit-tools.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"0072fd1fde6000b577f6e80cc22b939a161b1a6145a5f070205604274c886f85"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isUnknownAgentsError\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agents/registry.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a37652289bc1c6888a005f5dc0b293a93ecec28cac85c5c0127fa6ad7dd849"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isRenderServiceConfigured\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/render-service.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2635e44262abf1714bf1eb7c454fb4a61f8d841a041106b426ab7e881ee98b65"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isElementReferenced\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/store/element-refs.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"46aa6b2eac6b5c11170430d2ccd7c764e79446eed0e1027487ff98d55bc8a073"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027referencedElementOrdinal\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/store/element-refs.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c7c3b180bf4609443b46ff076a0e7558b0e641eb4f02e52dff429bceb8e3fe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SessionEvent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/chat.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec491fc29b8d206b66edd6f03d7b7a155255f56926c67dc4f9a95dd99579a0b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CreateSessionRequest\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/chat.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4618c7aab5218bd719635f247368201e99933f3ae10846f11a8f906be28db9fb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SendMessageRequest\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/chat.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf922bbca7e2f018c2f8e40e58e6d7c724d38e8c54f1fd3d627b75fc449ddf0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ToolResultsRequest\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/chat.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"71af98eb3112700d31b1c0169f871f48d3f74fa5422a167526abb5b7ded7cb97"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027toSessionListItem\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/chat.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f338a9b0aa39b4339ce6837584fbf31376406e7a13815f93098c25dc3049a61"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ParsedToolCall\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/chat.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee1a1d534b90a6ed30eed46db7e457b6f9344e98312755461f2f6891b8c192c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027UploadedDocument\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/generation.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8677221f589fd0fccf9c9fb4e6d12dc7ec2b1a1d6faf83925068556274d90d90"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SuggestedSlideElement\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/generation.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfc059d3355272a6e2d7243dbc03c9bd893b41a8f00340e1dcc7e35c094e22e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SuggestedQuizQuestion\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/generation.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39a2b5848168e8c1aed6cd04bcff328e03096c57081f816220b5b8598318cb3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SuggestedAction\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/generation.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ddaadd10809363f5c9555a6a0e7697cbff83e7b48d880c4353d7cbc4ff3ce6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ParsePdfRequest\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/pdf.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccff7413f0cf631ecc67e6e32027236c3fdf8dc009fc61c8672e2f2582f3662"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ParsePdfResponse\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/pdf.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde09806fe8be9121f781d3bed06c18c3bc7713f1208402ae464e434b797ebb2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027withChatStorageExclusiveLock\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/chat-storage-lock.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffed3b967d47c4e8a301faf3636d351759efa26617794ea0defb2f582c0ed89"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getRectRotatedOffset\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/element.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65c12dd7f2afa210694e1ff38d3cb77a19b22997ef123e9b536c275c2bcd8a7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getLineElementLength\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/element.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ec881b5e5e3494f67b829fc848a2cc98cd7e9e35caacf1ca9b3d84cd8bf342"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createSlideIdMap\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/element.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbbbc304d38c45d5a18aee8bddad32554d385d587755caef88fbc68790fd45c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isElementInViewport\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/utils/element.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d19e431eda89562655d1865a511201a1dc2825854d11ee04438471c69cf685"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RuntimeDiagnosticCode\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/video-export/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/video-export/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/runtime-diagnostics.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3743214934afde28159f6c2ba25a878e9ac067e074a72faed1d941d33417519d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027RuntimeDiagnostic\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in lib/video-export/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in lib/video-export/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/runtime-diagnostics.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20d2f116dfb9de2b0252d67aebb4b4af750f3f19d6dbe8b341b0f5d42ce9323"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/providers/builtin.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f66368c2568923faf3a2167399e4d61f8a0b6a042ee72845e026c10252a487"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/providers/deepseek.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a4e2a12ad5e5c56805cb44af1f4caec3368e1d31bb422dfd9af273e286677d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/providers/firecrawl.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f843fc4e51ee59a4061a052e9b48440d34ac699392922a90f9140c334330165e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-fetch/providers/kimi.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b03dc3e2f5a266bb7cdb4f203b93f78079af3eda43c8968550d4f036452552"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027BAIDU_SUB_SOURCES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/web-search/constants.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d3e050997b17d4fb3420bac60c27e2ca0b0dd0ef86090dfe99b2c7c773aa30"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027importEligibleLegacyWhiteboard\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/legacy-import.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fd4d6d74cd47ed475c59d06627d19d248d2221699de2675c2da420cef9bf6d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027WhiteboardRuntimeRecord\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/types.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb679fd803b0aa821ecc22b043b07c0c252dc71bb16d6ae3d85ab96b47ac544"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027defaultRichTextAttrs\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/text/prosemirror/utils.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe3698e09924a5e4238dcd26f13d09ea77002bad16f90a993677ee799822053"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027hundredthPtToPt\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/parser/units.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c97a5b4a66b3f39ed7ba928312acc2c7df5244a566b208c120257bd77d44ae"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027smartToPx\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/parser/units.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c837c7eb7fcb7ddb44d7335dd7a78b3db66416a3a7ffee21cf92a4ae88d9e43"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getActionButtonIconPath\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4045}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f28a5ec65a7454366d1b391b65515eab64a3522e28ac964a21ae5cc4c7a968"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPresetOverlays\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":4454}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ab4024c1a9c6c70680e371550a89099f564fc99bfd0afa48ba004fe48b7386"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatText\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/table/tableUtils.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a3225f3a02c48ddae8891b20bac3d66e693a7bb4575609ce70163ef60f4aff"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getHiddenCells\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/elements/table/tableUtils.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baa98a77495bcce9997589762cef1a5687a7e8d1b2d3e6214eb770aade9438a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027MAX_SIGNED_URL_TTL_SECONDS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/server/asset.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecabfbcefa00bb045668adaf37e40c64f7e0bc01bae31548d7e99a97984b213"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027packageDirectory\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/openmaic-packages.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bc76b008083b90746fc99c11792b60a9ef3fa462e65ed88a56dbe3734537cd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_extractRequestInfo\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai/llm.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f3aaa845828e70faeb0de756a1b697720cc5c0f24c822d5cb23656c26fe062"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_getSlideOrder\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/model/Presentation.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d463f294d776a9bb4b21e01c731a7258461d2ecfb60ea22a954137d224694e2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027NUMBER_RE\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/openmaic/utils/svgPathParser.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ea47753c27849082090f2a029967f2f89a27eebfcadf1a14497329b35d25e3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isEmfFormat\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/imageSerializer.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"90831f5f85b41522c045db81043f991c7013f5620b88eb2758985cba369eda82"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isChartFrame\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/slideSerializer.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"392e74ea81acfba5d8d8960ed1800d6d1a1b22306a21494d1ffd347f5ee331cf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_regularPolygon\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/shapes/presets.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9d622945721ba69e54cdd05351cf87d2557bafc9697e9d2ada341a7bb609c9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isNonWebFormat\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/utils/mediaWebConvert.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a00d121ca0da3e41823ea2082b9ddfa6ecf633d1c2cbbdaad5b85bf4399a2c"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@ai-sdk/react\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":"e2adb468524247acbf25ceaa8b41ea360c278fdba4c57e3468cc704904d54f5b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@alicloud/credentials\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":"0442c8fb0610bd326ab57f0417e9c2bf16246ceb99d89d1b8c1b7fee1336e1e8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@copilotkit/backend\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":"1f0c94ced712509e8f46eadd258e2bf1933019f70a4484f25f435abd5273a6c2"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): components/edit/surfaces/slide/BackgroundControl.tsx \u2192 components/edit/surfaces/slide/use-slide-surface.ts \u2192 components/edit/surfaces/slide/BackgroundControl.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/edit/surfaces/slide/BackgroundControl.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b94203cef8b804b4a04904e7cf8e499f4de64988b6fd1f5ea3102c9d8b6cbd"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): lib/media/use-asset-url.ts \u2192 lib/media/asset-pool.ts \u2192 lib/media/use-asset-url.ts (one verified cycle inside a mutually-dependent group of 28 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/use-asset-url.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e585d171b72944ba49f41090538fa86753c4bb3da8d364e4f73814bc78b27d17"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): lib/media/adapters/comfyui-image-adapter.ts \u2192 lib/media/image-providers.ts \u2192 lib/media/adapters/comfyui-image-adapter.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7628ac39346d19466d2ca946b2fa662eccf38ebc71cf09bee3e032610b5db233"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): lib/server/model-config/deployment-layer.ts \u2192 lib/server/provider-config.ts \u2192 lib/server/model-config/runtime.ts \u2192 lib/server/model-config/deployment-layer.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/model-config/deployment-layer.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e0fbaa9fdef25e51eb1193eadc4473b2fc0b264471086371e701e020a91dd7"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): lib/server/pbl-v3/compilation.ts \u2192 lib/server/pbl-v3/runtime.ts \u2192 lib/server/pbl-v3/compilation.ts (one verified cycle inside a mutually-dependent group of 3 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/compilation.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5106677ce2baf719a662fdaa01321875aba1e57484fa4a0b4e559582893e7c5d"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://cdn.jsdelivr.net/npm/jsoneditor@9.9.2/dist/jsoneditor.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 2 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/index.html"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f2d04dbb5537cfa12c7ba73da0955ebc4b4fd6ad395e7a7d20b8eb7ba8e926"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eval/pbl-v2-planner/serve.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"13826a5628695cac2b2d3cf550089bbf7d6539070f627ee2096375e11adcb148"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sandbox-preview-gateway.mjs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd2077014383e6bb26e19771a1060e3e045b7fd5ecd690776a592434b8f1c5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!value \u0026\u0026 /^gen_(img|vid)_[\\w-]\u002B$/i.test(value)\u0060 appears character-identically in 2 files \u2014 packages/@openmaic/dsl/src/course-issues.ts, packages/@openmaic/generation/src/scene-generator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/dsl/src/course-issues.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb2125faf12f711c63ccfc7a659f3261b5ae49ee667d197dc79f1057de86b69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!(\u0027left\u0027 in element) || !(\u0027top\u0027 in element) || !(\u0027width\u0027 in element) || !(\u0027height\u0027 in element)\u0060 appears character-identically in 3 files \u2014 lib/utils/geometry.ts, lib/video-export/geometry.ts, packages/@openmaic/renderer/src/utils/geometry.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/utils/geometry.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda974dc8afba5ad910bc0400fa7af425b5cb01aee4e0cc82f39d3f7b16854c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(data?.series) || data.series.length === 0 || !Array.isArray(data.labels)\u0060 appears character-identically in 2 files \u2014 components/slide-renderer/components/element/ChartElement/chartOption.ts, packages/@openmaic/renderer/src/elements/chart/chartOption.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":"components/slide-renderer/components/element/ChartElement/chartOption.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bad8642179077d3fbda14ed295e5de011dd430691ef4ec06962d937fc74a12b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(value) || value.length === 0\u0060 appears character-identically in 3 files \u2014 lib/chat/pi/tools/call-agent.ts, lib/chat/pi/tools/classroom-actions.ts, lib/whiteboard/runtime/validate.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/pi/tools/call-agent.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bddd7cc3ebd409e10002576707950c29ac7c1f9e377aeb53235b8f3ce818a2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(options.leaseTtlMs) || options.leaseTtlMs \u003C= 0\u0060 appears character-identically in 2 files \u2014 lib/persistence/owner-material-extraction.ts, packages/@openmaic/storage/src/material/pg.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/persistence/owner-material-extraction.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e8983cb4a7a898f2110fd38f43d989299169ae71e4697808d8f3dfad474865"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(parsed) || parsed \u003C 0\u0060 appears character-identically in 2 files \u2014 lib/persistence/asset-collection-grace.ts, lib/persistence/asset-quota.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/persistence/asset-collection-grace.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"242edb3a770df29249780fc34ac6dcbf81391d06c89c17e10e9303b27c646987"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060![\u0027http:\u0027, \u0027https:\u0027].includes(base.protocol) || base.search || base.hash || base.username || base.password\u0060 appears character-identically in 2 files \u2014 lib/web-search/deepseek-endpoint.ts, lib/web-search/firecrawl-endpoint.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/web-search/deepseek-endpoint.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff02ec40e1effcbccd6b1aa79ed9e07337ca2e9ed7bfd7e62081cf003d470106"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!active || !onCreate || event.button !== 0 || activePointerRef.current !== null\u0060 appears character-identically in 2 files \u2014 packages/@openmaic/editor/src/react/useLineCreateGesture.ts, packages/@openmaic/editor/src/react/useTextCreateGesture.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/react/useLineCreateGesture.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"407fbffb26514d4b75378e7d583d1e0e10eacb43bff303941b64346483cf45c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!anchor || typeof document === \u0027undefined\u0027\u0060 appears character-identically in 6 files \u2014 packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx, packages/@openmaic/editor/src/ui/element/ElementToolbarOverlay.tsx, packages/@openmaic/editor/src/ui/latex/LatexToolbarOverlay.tsx, packages/@openmaic/editor/src/ui/line/LineToolbarOverlay.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/editor/src/ui/audio/AudioToolbarOverlay.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"059398d976b66404518f1a6ead28e52a7575b8c65ff84db9dc787ac4df565fe0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!citation.blockId || !removedBlockIds.has(citation.blockId)\u0060 appears character-identically in 2 files \u2014 lib/document/transforms/noise-removal.ts, lib/document/transforms/normalize.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/document/transforms/noise-removal.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d639d056222b32b673c2b80e91cc7bfb6904b197fcad386df0f72d6adfdbc5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data || typeof data !== \u0027object\u0027 || Array.isArray(data)\u0060 appears character-identically in 4 files \u2014 lib/chat/pi/tools/call-agent.ts, lib/persistence/owner-bound-document-store.ts, lib/server/agent-runtime/runner.ts, lib/workbench/media-lifecycle.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/pi/tools/call-agent.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d2f21a638300a73e8bb33cd9a840de2bbcd04cfd20fd8059196f4293d7dae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!data.pblOpening \u0026\u0026 typeof data.text === \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 lib/server/pbl-v3/conversation.ts, lib/server/pbl-v3/report.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/server/pbl-v3/conversation.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b7d43310868f56a5335f2ab07e63536ad9c3a11d00a4f08ffadf7cf17f126e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!descriptor?.enumerable || descriptor.get || descriptor.set\u0060 appears character-identically in 2 files \u2014 lib/persistence/plain-json.ts, lib/whiteboard/runtime/validate.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/persistence/plain-json.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a587ced05f016463367cc0019c5d00ec453700f4a4d211024445074e8d7df823"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!dragging || e.pointerId !== activePointer\u0060 appears character-identically in 2 files \u2014 components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx, packages/@openmaic/renderer/src/elements/code/BaseCodeElement.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/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"935ed096168401e9d6ad369358c3c22c473a2bf9b2297cf90a0885e95bd54a3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!effective || effective.status !== \u0027assigned\u0027\u0060 appears character-identically in 2 files \u2014 lib/model-settings/capabilities.ts, lib/model-settings/services.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/model-settings/capabilities.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1994b946beae987a586d976fb8c10fad6fd1ae29c0926a18dd4fab1f676e11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!el.textContent || !el.textContent.trim()\u0060 appears character-identically in 2 files \u2014 packages/@openmaic/renderer/src/snapshot/index.ts, packages/@openmaic/renderer/src/snapshot/measure.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/renderer/src/snapshot/index.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8664f227366951f73a1bf46c7b40c36c2afccc78edf143516729687d9926462"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!element || typeof element !== \u0027object\u0027 || Array.isArray(element)\u0060 appears character-identically in 2 files \u2014 lib/chat/pi/element-reference.ts, lib/server/agent-runtime/course-edit/element-schema.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/pi/element-reference.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"868de35a56804d360e8258637eb4649456b1ba78704e4d20bca7ad1e65fa7f10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry || typeof entry !== \u0027object\u0027 || Array.isArray(entry)\u0060 appears character-identically in 2 files \u2014 lib/workbench/course-refs.ts, lib/workbench/element-refs.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/workbench/course-refs.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"021c127d2ab61923b567f160e0b0bb06cb96e3c93677f0172f08a79716adc1e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isActiveGroupElement \u0026\u0026 activeElementIdList.includes(el.id)\u0060 appears character-identically in 2 files \u2014 components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts, components/slide-renderer/Editor/Canvas/hooks/useScaleElement.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":"components/slide-renderer/Editor/Canvas/hooks/useDragElement.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2dc04c13561824ea5c6a07a0adc2c233a90d800bc29406f1e1700f60d23812"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isObjectArray(value.milestones) || !isObjectArray(value.roles) || !isObjectArray(value.submissions) || !isObjectArray(value.evaluations) ||\u2026\u0060 appears character-identically in 2 files \u2014 lib/pbl/v2/types.ts, packages/@openmaic/generation/src/pbl/types.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/pbl/v2/types.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a2da115565b2f92348b0930f41b25905d32a26b2039636f49245f4ffe333f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isRecord(canvas) || !Array.isArray(canvas.elements)\u0060 appears character-identically in 2 files \u2014 lib/server/agent-runtime/scene-preview-content.ts, render-service/src/preview-validation.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/server/agent-runtime/scene-preview-content.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ae7cc00647748819d7da669642f4662bcd23795a692b62a6e7311d14d9f712"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!materials.enabled || !composerTransferHasImages(event.dataTransfer)\u0060 appears character-identically in 2 files \u2014 components/workbench/ProLaunchPanel.tsx, components/workbench/WorkbenchChat.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/workbench/ProLaunchPanel.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"becbe8c2030a833fdcdc95e8db58825daaee87eb8d3b8eacb8bc4c68e28ab9ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!model \u0026\u0026 provider?.models \u0026\u0026 provider.models.length \u003E 0\u0060 appears character-identically in 2 files \u2014 app/api/verify-image-provider/route.ts, lib/server/generation/steps/image.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/verify-image-provider/route.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7ff821f3f9fcbd23d6292b2014b2ff03cae418e7a6e5606187daa044b2e694"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!needsMigration(versioned) \u0026\u0026 dslVersionOf(versioned) !== DSL_VERSION\u0060 appears character-identically in 2 files \u2014 packages/@openmaic/storage/src/document/browser.ts, packages/@openmaic/storage/src/document/pg.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff9a2e4b9cd0c6e444c289cffad087aab3f4a71292007f6f2855a4041f269a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!needsRuntimeMigration(row) \u0026\u0026 runtimeDslVersionOf(row) !== RUNTIME_DSL_VERSION\u0060 appears character-identically in 2 files \u2014 packages/@openmaic/storage/src/runtime/browser.ts, packages/@openmaic/storage/src/runtime/pg.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb8420f88b0ef62924c30c24f559248c7c689ac7ed3986d59037763b67a9de6"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060assertJsonValue\u0060 is exported, takes a document from its caller (line 194) and hands it to \u0060findNonJsonValue\u0060, which calls itself at line 148 (\u0060findNonJsonValue\u0060) with a piece of \u0060value\u0060 (and at line 184) \u2014 and nowhere in \u0060findNonJsonValue\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060findNonJsonValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/storage/src/runtime/json-value.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"102afd9da622f63ec48ee3e925027b876cbfb04b6a137aa742f53f21a96cf729"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060sameJsonValue\u0060 is exported and takes \u0060left: unknown\u0060 from its caller, and it calls itself at line 289 (\u0060sameJsonValue\u0060) with a piece of \u0060left\u0060 (and at line 299) \u2014 and nowhere in \u0060sameJsonValue\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060sameJsonValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/workbench/stage-freshness.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dc17c6d53c4eeb4f60fcd4cb70ef352c5fc68fd0ceecd4ce49178cb2f663fd"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060normalizeAndValidateLegacyWhiteboard\u0060 is exported, takes a document from its caller (line 379) and hands it to \u0060validateSchema\u0060, which calls itself at line 181 (\u0060validateSchema\u0060) with a piece of \u0060input\u0060 (and at line 214, line 230, line 235) \u2014 and nowhere in \u0060validateSchema\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060validateSchema\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb02b213efad813463bf470b4ed02f41e68cc9b2ecba6ce447a5a3e82ecf2b7f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060normalizeAndValidateWhiteboardElement\u0060 is exported, takes a document from its caller (line 282) and hands it to \u0060assertLosslessJson\u0060, which calls itself at line 326 (\u0060assertLosslessJson\u0060) with a piece of \u0060value\u0060 (and at line 341) \u2014 and nowhere in \u0060assertLosslessJson\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060assertLosslessJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/whiteboard/runtime/validate.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"7567fd5a0707ad397682f07a96755da63103ba035f3c30601f6b60c2ff71c8cb"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060formatBootFailure\u0060 is exported, takes a document from its caller (line 38) and hands it to \u0060describeError\u0060, which calls itself at line 34 (\u0060describeError\u0060) with a piece of \u0060error\u0060 \u2014 and nowhere in \u0060describeError\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060describeError\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/boot-failure.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfb789ed779b93c315c3b22658e8ec7ca6d6b7d39c0c4f486abbd92063330c4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060upstreamHttpStatus\u0060 is exported, takes a document from its caller (line 26) and hands it to \u0060statusFromError\u0060, which calls itself at line 40 (\u0060statusFromError\u0060) with a piece of \u0060error\u0060 (and at line 42, line 52) \u2014 and nowhere in \u0060statusFromError\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060statusFromError\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/llm-error-response.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"180758b2bd760676ee69c67d50e67e5ee9613fbd11cc339aca57987977bf4c76"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060isUpstreamQuotaExhausted\u0060 is exported and takes \u0060error: unknown\u0060 from its caller, and it calls itself at line 95 (\u0060isUpstreamQuotaExhausted\u0060) with a piece of \u0060error\u0060 (and at line 107) \u2014 and nowhere in \u0060isUpstreamQuotaExhausted\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060isUpstreamQuotaExhausted\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/llm-error-response.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"946d461fc087f909ccae28661d7fcd1334a1825d46df5915e5b0433c0fababb4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060isRetryableLlmError\u0060 is exported, takes a document from its caller (line 118) and hands it to \u0060unwrapRetryChain\u0060, which calls itself at line 86 (\u0060unwrapRetryChain\u0060) with a piece of \u0060error\u0060 (and at line 95) \u2014 and nowhere in \u0060unwrapRetryChain\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060unwrapRetryChain\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/llm-fallback.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"296bd04a978c4d06fe89e14bf1b2d072c470f4fe0d90e9d90a8e5f65bb4fcea2"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060findUnsafeNetworkTargetError\u0060 is exported, takes a document from its caller (line 60) and hands it to \u0060visit\u0060, which calls itself at line 68 (\u0060visit\u0060) with a piece of \u0060value\u0060 (and at line 72) \u2014 and nowhere in \u0060visit\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060visit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/ssrf-guard.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7e157619be7fdf5de4b713a393932998e30e0cff8c463377f19bee22eb2f80"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060canonicalJson\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 24 (\u0060canonicalJson\u0060) with a piece of \u0060value\u0060 (and at line 29) \u2014 and nowhere in \u0060canonicalJson\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060canonicalJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/pbl-v3/project-package.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ead1fbda718d050024a1baccd96a0bd7ddf70002ded0c2cb25651865b64fb1"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060collectStringFields\u0060 is exported, takes a document from its caller (line 337) and hands it to \u0060walk\u0060, which calls itself at line 341 (\u0060walk\u0060) with a piece of \u0060node\u0060 (and at line 344) \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/apply.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f319d280628fd960705f4b84364728b7332ca08afa03932930ca082b134da66f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060containsReadSceneMediaPlaceholder\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 365 (\u0060containsReadSceneMediaPlaceholder\u0060) with a piece of \u0060value\u0060 (and at line 367) \u2014 and nowhere in \u0060containsReadSceneMediaPlaceholder\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060containsReadSceneMediaPlaceholder\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/media-byte-omission.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0278244218296804e9d4e69c7371a7272c723f40e17f6b886e5e6e2cff6a1d5"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060containsReadScenePlaceholderFragment\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 381 (\u0060containsReadScenePlaceholderFragment\u0060) with a piece of \u0060value\u0060 (and at line 383) \u2014 and nowhere in \u0060containsReadScenePlaceholderFragment\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060containsReadScenePlaceholderFragment\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/course-edit/media-byte-omission.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"835821c2c55e9bbcbbd56875bdea4cf27619cadb4868fca65503a0620d7e5e68"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 83/146 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: aiCall: \u0060aiCall\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/generation-node-smoke.mjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b872f7cb8cc620c6fb177e55d376a335a1d201d48b35fba791d71c154666b8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: probe: \u0060probe\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/probe-mineru-cloud.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef5759ebb557a4ed7ae07de2ae58293bc768a520d0e9f1425ad1e7641fce7b1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: worker: \u0060worker\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/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7165497db47649940bea619ac5bddd76e9f38c2e44978da9208fe0fb7a64f0f7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: dataUrlToBlob: \u0060dataUrlToBlob\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/@openmaic/importer/src/import-pipeline/index.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee3b971532a790243660c5601900b650806f268118fec02f50411158260a46a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: parseElements: \u0060parseElements\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/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"80996a2f89513c2582aefd458afab5cba83a45fd1c7152a09b0c0f0ae9534845"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: probeFirstScene: \u0060probeFirstScene\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/workbench/first-scene-ready.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"11abaebb443fc0d6ec2304978419668b95f1f86a8766393ed4b74d05e8b87619"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: libraryWrite: \u0060libraryWrite\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/workbench/material-library-client.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"675df2c7ce01acfde2c469a74578e33010728fefffa59b3eb31bc913344720af"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: libraryDelete: \u0060libraryDelete\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/workbench/material-library-client.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab3576a178555fb98cc9ffd87c724dac028a1ae36fe43ff808c38d4d4cd440c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: createWorkbenchSession: \u0060createWorkbenchSession\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/workbench/session-store.ts"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28d5dcd4d43aa354352497b5cdf8928773ea80c06cff0f8e4cf0efac94dcbc2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: renameWorkbenchSession: \u0060renameWorkbenchSession\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/workbench/session-store.ts"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"030e9f9a166d4dbeb989ccac445a07e1c955b123cbc65efc968775a05dc208c1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: cancelWorkbenchSession: \u0060cancelWorkbenchSession\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/workbench/session-store.ts"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cc9055f96d846052d36d86e8211be2e47e8c73e6fb3d68459b3c658fb1609c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: postWorkbenchMessage: \u0060postWorkbenchMessage\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/workbench/session-store.ts"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50361cd5c9d5f8ffaea55c89c878061cbc17cd2128da325262a007d7856adda"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: uploadWorkbenchMaterial: \u0060uploadWorkbenchMaterial\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/workbench/session-store.ts"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0c6399050efa088a5efdeaafe00945084928409f008425f2a16342694dfadd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchStageManifest: \u0060fetchStageManifest\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/workbench/stage-freshness.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"957e1df02e5b57b5f6c4b7c4d267ad43b61f005c423aeffa96168721284963f0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchSceneChunk: \u0060fetchSceneChunk\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/workbench/stage-freshness.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2968abdc54656bfa837dd0d80c8e8b5e70feb3d9e00f3e80abf97458871e67"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchStageRoster: \u0060fetchStageRoster\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/workbench/stage-freshness.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5538b51f94a096acd0fcc88c0aaa9b07c3b6602c3df2c3634d24d16216429ae8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: resolveBytes: \u0060resolveBytes\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/video-export-app/collect.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad830d7b97ca9fd99b94f13a640273dfb62a7c2e24c4bea83c261d97234322cd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: renderFrame: \u0060renderFrame\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/video-export-app/collect.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"765e87b38117cd62c89dbb5bf0de59c0fcaaaa17bc2b58937ad4fd31c4e35de0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadGsapSource: \u0060loadGsapSource\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/video-export-app/package-zip.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"175437bf47e74c6f064dba017914f08e9d454bc0cf29bf57a08bbff3352cc05a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadVendorAsset: \u0060loadVendorAsset\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/video-export-app/package-zip.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6442f4e2582dcf3b7f7e01be01d4b4751766aedeed915c5c069333a9088702ad"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: writeCachedCourseThumbnail: \u0060writeCachedCourseThumbnail\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/utils/course-thumbnail-cache.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a34fd874fb365d85a2c061e454195a3d2a7a26b01715eb843ee272149f8b0df"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: listStages: \u0060listStages\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/utils/stage-storage.ts"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc5342ba3b42b697cbac0c5b2e4774cedacc0af0a17ce444ffe6c2cfff5aca5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: listFolders: \u0060listFolders\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/utils/stage-storage.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb8b53db1f89e7298e70314b8b6a3464e8676d2d957c45725a77a5056c75b4a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: createFolder: \u0060createFolder\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/utils/stage-storage.ts"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f9e07c5babfbc6a870504112975d94262f1e43e8595c05cc779023c3266d7f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: renameFolder: \u0060renameFolder\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/utils/stage-storage.ts"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f690375adc8338711b762705be3fff8c78661ba53cf24172f4b179aa42a83f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: deleteFolder: \u0060deleteFolder\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/utils/stage-storage.ts"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca90a95a2fe374658a2fcbc798b71c601e23053aab48e676bb76a322f6684a7d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: setStageFolder: \u0060setStageFolder\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/utils/stage-storage.ts"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8329b1f254d0d98440a89654570a5b30c2568e047591fac36e5b546b74c68a94"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: startRender: \u0060startRender\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/store/video-render.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a5d4c0030ae553f5eb6ce8566a2a6638ce642026e4d00287d1f0926385b8f3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: submit: \u0060submit\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/store/video-render.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b51b49be4a7124928a97659c5f2cab1c67e8d99a6f1af3c2d920c209b38841"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: poll: \u0060poll\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/store/video-render.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb6df5264c586058a4829a1c6b7fb2177df7a717ad66823c0ad09f584db572c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: rewriteDataUrls: \u0060rewriteDataUrls\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/server/agent-runtime/import-pptx.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89ec4f66fd60c7e4144cfe4e660f59f955396e00fa6fe7b965de7215ff39b27"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchServerLearnerKey: \u0060fetchServerLearnerKey\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/persistence/bootstrap.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9875eec1d600999f8347914ca7f644fd063a36d4af3431cf6f23c158fb73e5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: call: \u0060call\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/pbl/v3/package-client.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f474c695dc8ff5161840ab528c075799359eff9d31dfcc613c658023f5f2d414"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchAsBlob: \u0060fetchAsBlob\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/media/media-orchestrator.ts"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"141b9872b779b6343aca0332e46503999e87df98c50d2cf16036053578a22de5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: pooledAudioBlob: \u0060pooledAudioBlob\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/media/resolve-audio-bytes.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e4f84b2162eec9655702a8e04717044c613a707547d800da815b2fb7c3b32b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchBytes: \u0060fetchBytes\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/media/resolve-stored-bytes.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c6d354fe60dfdcef235e5b7d6a9d306e27190a66256994b9437a703e5d8da0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadWorkflow: \u0060loadWorkflow\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/media/adapters/comfyui-image-adapter.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b470f99009a2bfbccc56efdb46c8ba0da4039f211117691dc6cba6338b6275"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: apiRenameStage: \u0060apiRenameStage\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/live/server-api.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddeb736570e8c82a8122a188fec0e615a6b426b09a51b5c48ffcb6e0b44ca4d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: readBlob: \u0060readBlob\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/legacy-browser-storage/index.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09854779d8a87e04b2ef08a746298ed201411d2b345931ef416d7c508117569"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: runAgentsImportLocked: \u0060runAgentsImportLocked\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/legacy-browser-import/agents-import.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a39a373776f051ac5309e7c052e0690a4ccb3514a091c74ef340890594de3e0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: runModelSettingsImport: \u0060runModelSettingsImport\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/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"09745746a583dc83d320138f6432f28ba339a38224cf4c84b70479763913278c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: postJson: \u0060postJson\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/generation-run-client/api.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1040a477eb9c73003876402336c189779aea89acd592b6037860cddc6b1bba8a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: listActiveGenerationRuns: \u0060listActiveGenerationRuns\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/generation-run-client/api.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"508f9bfb0ba348601a41536c2117ad23629e25b871fb74cb469d0c4e661a856c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: discardGenerationRun: \u0060discardGenerationRun\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/generation-run-client/api.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"91629bffd75962bcd605a68f6edc949f343fabc5a3be43b07dd4a0da1b952d5a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchMaterialPolicy: \u0060fetchMaterialPolicy\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/generation-run-client/api.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d932417026858bd237a92829322e6fcadc8d666713e0f7e54fb905baf35ede4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchOwnerMaterial: \u0060fetchOwnerMaterial\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/generation-run-client/api.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"24326f43f7d19a9a1cab8937e7111d4b04b90f690786c745ab3ef0e118edd555"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: deleteMaterial: \u0060deleteMaterial\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/generation-run-client/api.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f156c508fda219823d2b523cd4444bdb41a1ec354ca936593abbf501661733f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: buildPptxBlob: \u0060buildPptxBlob\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/export/use-export-pptx.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"685ec949c3d5ba03b227b2d6400bd8f3c3f81a86f29434b581bc99f361849b67"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchPlayerAsset: \u0060fetchPlayerAsset\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/export/standalone-html/build-standalone-html.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3770a243dba876cc9e02ca1ede3ce55c2f9fb224a5ee92f06b932f9368c9599"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: registerVoice: \u0060registerVoice\u0060 holds an AbortSignal but calls \u0060registerQwenVoice(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060registerQwenVoice(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/audio/qwen-voice-clone-registration.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"446b36c3193f3781bc51fa9af9066f2e9ac21f142500c6a49e59b16d5ed91f6c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: registerVoiceFromReference: \u0060registerVoiceFromReference\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/audio/voice-registration-client.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f95719bf39a994ccd2f9800f5495b8ab391207c9118d4c511ad105584af066"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: deleteRegisteredVoice: \u0060deleteRegisteredVoice\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/audio/voice-registration-client.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36db4f87ce5f4f66242f9a06c921e604fac0220d1a9cef8a7e195c4fa657f53"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: registerOnce: \u0060registerOnce\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/audio/voice-registration-client.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6a0e887e8afcfae02108fc68d1c311a193ecfac80df2dba112da2fdfe81e95"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: probeMaterialsEnabled: \u0060probeMaterialsEnabled\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/workbench/compose-extras.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc58f85061c9f58a92b3d743b6cbe474a1d6c8838e566b05f72569b1f57e66b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: onstop: \u0060onstop\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/settings/asr-settings.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b8d511860095d0815425080aced7282cf03968a292f4a9a4ccd15c48f01365"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: verifySavedMedia: \u0060verifySavedMedia\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/settings/media-service-panel.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"370dd6215550c3711b97fa863521d7f4879a4653fa2c405470da8208cf5a1229"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: verifySavedModel: \u0060verifySavedModel\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/settings/server-settings.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e8c7414ce44652414bb41409180974d81edf9d9da421f398f99b51b73839f5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: gradeShortAnswerQuestion: \u0060gradeShortAnswerQuestion\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/scene-renderers/quiz-view.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9b8bdd8a19ce9d5c9991809ecd2a564a3b81d1393fd53e588e6a71f78727fc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: workbenchRequest: \u0060workbenchRequest\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/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd95cccf8cc84f1242a62fe5d7f6df25fd4f29a39c3694f42f78ac497592ff45"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: runOneStream: \u0060runOneStream\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/scene-renderers/pbl/v2/use-instructor-stream.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1468aacfb534180307e93c48f31317ce3978c57fa05ba269627cd57ed10d646"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: runStream: \u0060runStream\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/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"976782d1be5d8f5cbf76f76cb1b532378cc69754f80a28ce3fb3ae1517b70a89"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: convertBlobUrlToDataUrl: \u0060convertBlobUrlToDataUrl\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/ai-elements/prompt-input.tsx"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0048075bf3ee73301fed672d8c847570d236de606d4676f5c006d9d6dd8753"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: POST: \u0060POST\u0060 holds an AbortSignal but calls \u0060fetch(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060fetch(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/proxy-media/route.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad7dcb8ae0942329efebfc676729c0c70a6eed59a0ebdf779661b0c0fc7eea3"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 758 is called with an argument built by \u0060assignedImages.map((img) =\u003E img.id)\u0060 (line 758), 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb3149aaa09f535ab1ac5b33b8c060f6e03125e380b7ac87550ffa31d2c845d"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 761 is called with an argument built by \u0060visionImages.map((img) =\u003E img.id)\u0060 (line 761), 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07f01d5f1b7b63994f4dfb76b2db3140fa96dba17eb7abeca4fc272ff7e641a"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 822 is called with an argument built by \u0060imageElements.map((el) =\u003E ({ type : el.type, src : (el as Record \u003C string, unknown \u003E).src \u0026\u0026 String((el as Record \u003C s...\u0060 (line 824), 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fbe08c6efbd6ec6505be2131a413a8565b557e69ae3bdf9223604ef2ed648b"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 831 is called with an argument built by \u0060Object.keys(imageMapping)\u0060 (line 831), 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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0b47813ce55f3527201cf1a3ae94ab6eb9a875e6c8ea8d613d76f90ca3b566"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060EVAL_SHAPE_PROSE_STYLES\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/eval/whiteboard/page.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"894752dde7aca3026ac973a60e74b936a1922582564fd051246c94c6356b8eaa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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/ai-elements/code-block.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4f6a1bd97507257f88ed58eaf7737c6fe9da0485842e56a48810be6ab59a8b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060darkHtml\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/ai-elements/code-block.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6650018dbf1a3c7202894f58967ee470db03b00808d8cfe0c7d8659693090f1d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060segment.html\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/scene-renderers/quiz-view.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4deb5d8773f55b5ffc72b28fa3a413c7252191d264023cff182d86ff40b4e7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060LEGACY_SHAPE_PROSE_STYLES\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/slide-renderer/Editor/ScreenCanvas.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04fef5c89c902c725df6e13444e109323bf0e7cab2d13f42c41b6cdf7f628c1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"11613fa7fd0f82188e56d47fca25064e0672304b48744e194f9d54f1a90314de"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060oldHtml\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/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b409ff5eb7128417d63a017e128b6d16f4b55336dbd4a759acb0130fbe00129b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060highlightedHtml\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/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"965468529baec1b878c9d0b0f01d3c42c71b21dcfdc86ca1ae2999a3c9178049"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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/slide-renderer/components/element/LatexElement/BaseLatexElement.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4a9d1c951a2361d9b836d6b4f7b0199b720064ccfe66b7a7f46656bfe87822"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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/slide-renderer/components/element/LatexElement/index.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"51792af1a41d4bac40e7a01146f2957dd77b43b3ae930b85daa5b5435b66f704"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060WHITEBOARD_SHAPE_PROSE_STYLES\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/whiteboard/whiteboard-canvas.tsx"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c7ccf186fb5e0c317a7577ab48b46c1b7724066f3596ebcd3151cf5bc37e4d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\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":"lib/export/standalone-html/rich-text.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46a5c7b88cf081f89e5e6192cbbb2e75536c951f63ab2d5dc4a72b9e2e56861"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060segment.html\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":"lib/standalone-player/scenes/QuizScene.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"471a7fe7ce76a33c27d035772ee63c1802fa06f0f656815dc33a5098933dff6d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060input.html\u0060 is text this program did not author, and it is written into the text of an element through \u0060insertAdjacentHTML\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":"lib/video-export-app/quiz-layout.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11a5e54ee7d1b43cf258a5545c196f7876a0328caf7b0c742409085d6f3288e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(assetUrl(scene.base.assetRef))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/emit-hyperframes/index.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"981847eb01d20f87fbd0d69238f355614032758637197de80e67bdbc70df79c9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(assetUrl(v.assetRef!))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/emit-hyperframes/index.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"931558c6351fc11e8129868204f98ac6d5056ebbf30665ade100b0e1759de130"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(assetUrl(seg.audio.assetRef!))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/video-export/emit-hyperframes/index.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee4621ca1a0d0e39d84d842428888e40270425a3d891f74711a2ecd7abd7188"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060EDITOR_REACT_STYLES\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":"packages/@openmaic/editor/src/react/EditableSlideCanvas.tsx"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9372601304b4eab73435979d86e8335dda2491350e5780a48129ea0e5e84bbc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060cell.text\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":"packages/@openmaic/editor/src/react/table/RendererTableEditor.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbaaf2f06a0ab014b435caf2ad961d5ad0bdfab679dd2b0736ecb1bb737f517"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\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":"packages/@openmaic/editor/src/react/text/prosemirror/document.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a0b02decadf689fb9f46e905695cad6f3dd6816ce2290442f840e4b03fe25b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\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":"packages/@openmaic/editor/src/react/text/prosemirror/document.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee0d8c9428abd81174b32b5e695ac2bddda1af1e4e96d4bec84077fbdad225b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060EDITING_UI_STYLES\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":"packages/@openmaic/editor/src/ui/EditableSlideCanvasWithUI.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaae1bdcc53a29b66a50b437d92fd5684c3a738d96414b424167a27c9c60fabe"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060rendered.html\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":"packages/@openmaic/editor/src/ui/latex/LatexEditorDialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed60e2183b929fd514d461f3ca8afe59f10e57f37b464e0df74ba06bb75605b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060cellData.text\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\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":"packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9402c038c9c1857c800fd02b65081a450c645bf231cd05f3fd701c7eb03f54"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtmlAttr(runStyle.hlinkClick!)\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"c778a0a4f299df6982ee2fe293d8fba7a4c5c028c357d189fa98633cce2faf32"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060href\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme 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. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/@openmaic/importer/src/serializer/textSerializer.ts"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b64bbc8e08e43b41db998acb1115ffd8039142f57526abb27e45fc36c87645"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060SLIDE_RENDERER_STYLES\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":"packages/@openmaic/renderer/src/SlideCanvas.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67f24e35d315a7531909afc2eacc1291ea7f75d28cee4f543c9c4e307b8a7c3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3087403bd040e6fac8d04730124ee9d3667132ca90c029edcfb0e099909e9f3d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060oldHtml\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":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f8d2c2b308d355649bcdaff0e0cb61dde68c38f71320a3a7036bf90d947617"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060highlightedHtml\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":"packages/@openmaic/renderer/src/elements/code/BaseCodeElement.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca85f553a8b169b4d3ca5fd697684a77aea91cf1b612a9216963844b05fee7c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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":"packages/@openmaic/renderer/src/elements/latex/BaseLatexElement.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e02f2f954e81abc3acf3775a24880e1778e3762f1600071f636029b4817df3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060string\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":"packages/@openmaic/renderer/src/utils/inlineMath.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"19084c0d8574093cc3fd99465b99ccbc51702fbbc8bb2a6cd60ac1448139162d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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":"packages/@openmaic/renderer/src/utils/inlineMath.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dd5c7a45bbfc32f83204eb02b9090650338f5836609605b0f8f148a5934513"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060string\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":"packages/@openmaic/renderer/src/utils/inlineMath.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b99903e5f4fcdedce9e3494d9ce2d3842defcc88b8c38abb18718c0f3cd25c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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":"packages/@openmaic/renderer/src/utils/inlineMath.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3823719e03c87a47390d5544dd75c3ef2b9a2157f78d7880b7f219c9ddda1d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060nonce\u0060 is text this program did not author, and it is written into a quoted attribute value 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":"scripts/sandbox-preview-activity.mjs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5eb144378dcb077e65bedad8a7b855b0d62d16df37f8851a0124fb771b5744"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060nonce\u0060 is text this program did not author, and it is written into a quoted attribute value 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":"scripts/sandbox-preview-activity.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"790d50b63bd710bf6749ba448c9ca0a7e61f20ab2d82a87c4483bf359c1483be"}},{"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":"scripts/assert-pg-contract-suites.mjs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3477d83e723cd0cb5f1f7b48c4fc876fc25fab4fb1960d410b3939c57f5b8e93"}},{"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/sandbox-preview-activity.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c727fb030bb7436180082ec52803360dd4b59097d9ab16ee9158b695a608ae"}},{"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":"render-service/src/capped-stream.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0384185034de539d3ec75f61598f4973e1d91524bbb3ff05d107ae838a7b383"}},{"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":"render-service/src/capped-stream.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b84d687c63e5c1f9919fa26be67b6d11d6b60091c31e8c9eeae796395a7895"}},{"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":"render-service/src/capped-stream.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f89bb9276cc323fdcb6400f9ce0e8a60eaf92dac66c993d62c56b44317c2443"}},{"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":"render-service/src/chunk-executor.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa134459b701e2dc757a996c19cfdd03ab2659ee73e4a09f084c495e71251549"}},{"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":"render-service/src/chunk-executor.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d29b4638df7e9eb86e81e741b39e5758cf2ff0c594bc0cd159550bd5518618"}},{"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":"render-service/src/chunk-executor.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4f1f706cddefc3cf6cf231a71321e691ae02747e25dfc3e87412a119fcb2e7"}},{"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":"render-service/src/main.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c9f9e295f4839fc122cbb0568c5eec13f633e29a198d8ea4e7e6fdc88738ba"}},{"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":"render-service/src/preview-renderer.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d91af90361424e2a2ecda52f2cebb2d022b25685260ff2c342379b1be10a6c"}},{"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":"render-service/src/preview-renderer.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b77e5da6d9eb56f742650ac76998b5dd3ac4dd675a7b2af830027f293e17bc"}},{"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":"render-service/src/preview-renderer.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ec280a0798bc92c223475a3e2d4d26ab68cd8f0521ebab9efcffdc5195600f"}},{"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":"render-service/src/preview-renderer.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cad7935fc82929442e633099f7a3ec296c1721145fa18465092c3cbf85d057c"}},{"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":"render-service/src/preview-renderer.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea3836bdf9a0a2218416c5f4947f79878af35269db329042cc4257006671a90"}},{"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":"render-service/src/render-coordinator.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e8eaf8966af834013037a6206ca5b97b56cda40a765bde8cfb9a006301abdd"}},{"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":"render-service/src/render-coordinator.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d87e1a06c9d4f916aade6092ef729a81c967d63f7054d197667dd820cc442a0"}},{"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":"render-service/src/render-coordinator.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0a2dedaef1c6fb00f83ee6dbee9771e9db78f72ffbddf82bdc9c88ecb1c079"}},{"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":"render-service/src/render-coordinator.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"927eb8cb720fdf7fa03acc2635bdb8bbeece2bbb06343134e2277b7c4094e171"}},{"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":"render-service/src/render-coordinator.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"608231f39d938f6774296be24049f5d2755d601a7a606870c0719a9c46402a0b"}},{"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":"render-service/src/resource-main.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"305a3b98f9104cad4dce1cef0f57d632c837463b487b846eb81086e35d937097"}},{"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":"render-service/src/resource-stage-copy.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5706b2173ce4839eb335102dd417ffdffdd9ca39d5c593d1e1f4d1683048ca54"}},{"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":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb369c1fed9a73a7fd22e0946393303d2806d3d9132b4e1d2b8b15130a9e3199"}},{"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":"render-service/src/resource-systemd-runner.mjs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f4eb397ae858e14f7a2a6d9b3d50cc2aedccf96768258c55e196ada0ab346d"}},{"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":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"13615531fb7ed51d5ae232630b73fb9cac5add2a5e29b4b140b0733d233e59c2"}},{"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":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2687b1bc8f9723fb70d6ff3ccff0131ff17ed1901bb51d7cd72bf091222a9bf3"}},{"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":"render-service/src/resource-task-runner.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a850d16e05e387767c02e8be18f3919776cc8e6694b47300a3d0eaa79bea91"}},{"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/@openmaic/storage/src/server/document.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62eae2c10097591bba0d34d0d24262a349e15dfa3f0128742408ec0785905db"}},{"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/@openmaic/storage/src/server/reference.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19d1aa21dec2e80262ecd05a34beed59cc9adb2ef0831e2096835919b5dfa77"}},{"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/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"94de52b293c1bffa6897351d3272015a30520f95707fab0201eaa6dee2af7a5a"}},{"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/@openmaic/storage/src/runtime/browser.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e245c11d3010a16e4bcf05ae10f52aa6c4ec3b1f9e7be8507f4bc654ae3dc953"}},{"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/@openmaic/storage/src/runtime/http.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1890e5b44c5e3ab74532dc98e744cbb5727cf2933e7a7c4738a01c8bfc9e5527"}},{"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/@openmaic/storage/src/runtime/http.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c6ac616bae786c598c27df7406a19e3d8ab2ff5d068433cf28d3b7550229d0"}},{"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/@openmaic/storage/src/runtime/pg.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d15084823cf21b63f45925155a71c707d4e02f88f1e20e3cf28a14a75c42d46"}},{"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/@openmaic/storage/src/kv/http.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb2be8098a6200dbf79ed9b0ade6ab39f95aa8437c2d7ff128ce2ffd7e218d9"}},{"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/@openmaic/storage/src/document/browser.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ee8871a7c35fbcbf7cbc87eb43f5df735e3b276f999147db071ead4957e18b"}},{"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/@openmaic/storage/src/document/http.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e23474bdba0aa411191a7de4e399b9439a2672789a98a378f1c490aea80a0ca"}},{"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/@openmaic/storage/src/asset/browser-store.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"151968969d8b92c4f7fce5cba596aad06c6ccfbb1ecc0c976a3b3a44e282334f"}},{"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/@openmaic/storage/src/asset/http.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"315b0ae3e085b79fbd21c9540a6a9de007a6a4c30752a71df07653a0dd67c3b0"}},{"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/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1221e4ac7ea7613928464b47b2f7851e04b32022c213429081046d64397af5c"}},{"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/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b19a14534dbb730c444a0c641bc2b99b37997b0db603f2bdf845d62f31520ac"}},{"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/@openmaic/storage/src/asset/pg.ts"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb21566eedfc1c9789179ef442a6ab8d7bc36baf874bfd57fe7d7b7eaac27470"}},{"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/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b5f8c5b17f1b7b7123c869756625146b34ed906e2a4ebccd71c506ac2e8880"}},{"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/@openmaic/storage/src/agent-session/pg.ts"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee1c2f023e9edb909c12d1270320cc6a059b7f96630a16f15ce18a7e7ed35a7"}},{"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/@openmaic/renderer/src/snapshot/bakeImageSoftEdge.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4684aaf9ed7fd5bce76ddb6c21150f30dc211a9dd3b9a9ee5930a55a9c12273a"}},{"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/@openmaic/renderer/src/snapshot/index.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdada02d3e4f2abd5b9dc42b5abd10fd366f938d4b9ec2c017bfb6638cefc7f"}},{"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/@openmaic/renderer/src/snapshot/index.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"721bcf6d6f444b30b2c80c0e5bf9b5aa9a02c41fbed5a4453c96ed3949ac9f4b"}},{"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/@openmaic/importer/src/utils/eqFieldParser.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"0134c1e263bc2703c65cbb5c66590272831f3246085a6d5040cc4756f064fb94"}},{"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/@openmaic/importer/src/serializer/mathSerializer.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2b2710301b957706baeb1acca51c029f6c29d02189c2aca72498e0db7e0870"}},{"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/@openmaic/importer/src/serializer/slideSerializer.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"64905fa550fa41911d00b2f93647f91b295f005aca6f40e9a520d398b0f4d52a"}},{"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/@openmaic/importer/src/serializer/slideSerializer.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"592983a49464c8ea8ef3f25d388c1d2c98b9f627aa3881bef37636ab21481c91"}},{"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/@openmaic/importer/src/serializer/slideSerializer.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad17d8d2289bcc80a1e58cd18a8a39913b26973a8f6b20e6efcb537cf96cd822"}},{"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/@openmaic/importer/src/serializer/slideSerializer.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d28031bfcddba9abc9af8819aec2203c923ef43e523f50d0524edd34fefd749"}},{"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/@openmaic/importer/src/export/serializePresentation.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a01533ec0b08db2e80205eecce49a4b4c8f53bdea4ee7c9c31245adea341ab2"}},{"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/@openmaic/generation/src/interactive-library-mapper.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5684a90acd07dae11aadfab57f531a4538f343961eb6684223a465837fd72d"}},{"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/@openmaic/generation/src/interactive-library-mapper.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fddaa6cf850333dd776e3f56210cba07d7b69001f1c4d4d36d96e86331ced8"}},{"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/@openmaic/generation/src/interactive-library-mapper.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a1c5ba298db3d56f0ffdbf6dfc5c3dfbad9b8db8e3a908d8ddb35b9d4ff478"}},{"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/@openmaic/generation/src/interactive-library-mapper.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2877477095f6daa9ac657240608516ff8195945ff14d42c25d5597bbedfdb1f"}},{"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/@openmaic/editor/src/ui/video/VideoInsertPicker.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3a282cceac55d9d9faef319ba742c7b99908cd05eba06a3ae586c031b03ba3"}},{"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/@openmaic/editor/src/ui/text/DefaultColorPicker.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e155dd1d314a843389037d735068f3f7bb5d95cf963da1cec3bc4b17b65ad727"}},{"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/@openmaic/editor/src/ui/audio/AudioInsertPicker.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb6765c5fbd7d2ee618754868a87fd3d7dd19b882787add7c30275c99338796"}},{"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/@openmaic/editor/src/react/canvasCommands.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"18467ccd68a1ae12fba2594255f0728d3db90cbd99756434592c6534a97453e6"}},{"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/@openmaic/editor/src/react/elementClipboard.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3741d433f2e7daf7b640d5cc2e3aaba38ff30bc4912b9d2cbf04533b42a60ff5"}},{"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/@openmaic/editor/src/react/useEditGesture.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"320f8d2a8c9b0c0f3135a247de2d862ab45c5ce0cd61bdad6d4ca229cd8e2acc"}},{"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/@openmaic/editor/src/react/useLineCreateGesture.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbee706ea060101400a7121c9fe16382222d5fa8c849e4b72c0fb4eb5eb27439"}},{"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/@openmaic/editor/src/react/useLineHandleGesture.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb24a1a4b214eb81f89acd93b38ce4b2ab1fda1f591110d358dbb2f376b3723c"}},{"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/@openmaic/editor/src/react/useMarqueeGesture.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5177cb27ab3cebc13a8ffc63bc8b5d005841fdfd4986b1930f54c483871875"}},{"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/@openmaic/editor/src/react/useResizeGesture.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc883e6416e63ffbbf910131f5844dbfbfa81dde5f1ea29dcb7a52d8d4e6d8c"}},{"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/@openmaic/editor/src/react/useRotateGesture.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"824879373941c98801a8886f0485f2d95951a88d96821389102e9a6b7a575f1c"}},{"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/@openmaic/editor/src/react/useShapeKeypointGesture.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc913224a36fb8d2eb71122ae047e43fa6198a459dae4b8a06f165d57351d9d"}},{"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/@openmaic/editor/src/react/useTextCreateGesture.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd0fcfa61d3a7644fa95e3ae5e229007248219c1cea3b28f994b12dc69a4e7b"}},{"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/@openmaic/editor/src/react/layers/ElementInteractionLayer.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"346cb4dbb381ddac9f43ec99c3de5602c8fa53ce0c15468b4ebdcfa30dc90a28"}},{"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/workbench/agent-skills.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"23242677bf7620a53bc2ccfc7d0bfe706d4b85c31da0fec65c215e0d0d1c0713"}},{"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/workbench/agent-skills.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7655b7784be5dd7b49362e93ac9d3d5bd026932aa0d7183f53cb6edfaa9737d1"}},{"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/workbench/classroom-mode.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a2a0efb5328be6e44fd3979ecf2ed41d980c921e27b5c9ad6eb11ae1123e42"}},{"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/workbench/preview-tab.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b72745303728249eef72c529528fa2791b22c0480cc4cd4027d2e29069a824b"}},{"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/workbench/session-store.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3d56e4c5df668c09e791b3efabf95949cfa7a9109d318d727a45d75f7ba0a6"}},{"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/workbench/use-workbench-session.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8e9672e4a4d7379a7586793c9197d870ac564287bd762ebb12e5b516008786"}},{"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":"lib/workbench/use-workbench-session.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"456b002a246cfe72ed34cc6d3dfcd1525f2fb55761393aabb8ed43554cb69f45"}},{"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/workbench/workspace-course-tabs.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9346ca23f3d012ebf1531528cdcefd9e59f5947354e62e3abfa93deeb906c991"}},{"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/workbench/workspace-session-memory.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"149298e91dd06cabf2cb377c59be588bcc96ce86294da7ae4951e5aadd4e966e"}},{"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/workbench/workspace-session-memory.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9382e909e266a7039ee53bb20123e06d5e836edcc5cf8a0191b4e9b74ca24175"}},{"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/workbench/workspace-session-memory.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"27846e551154832965fb3afcb9cf1bd90cbeb6e9d65b7477639e2ec6b334c209"}},{"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/web-search/brave.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"689bbfa215c6501440d41c2d73389ed383bfc522a9d10efa7b59314a0fec9839"}},{"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/web-search/claude.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"29daebb8c84c0353a91bf84544ff22bc4e4ebabcc0dd8c162916b12d62aac46a"}},{"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/web-search/claude.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe0a54e7fa28a751d5f856b73aebe9d2860b9882264c8fa9af2e91339e7c437"}},{"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/web-search/deepseek.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"518459f27a45df86048df7a03f5dffe134a7be91e9d781185d63bccebb1c0ec9"}},{"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/web-search/kimi.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9859d0228ebd0ceb2f974dc2e2aec2da41782cc50cd2ffed69a00251a40fa47"}},{"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/video-export-app/quiz-layout.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fb61e7f57b4ff2cae1cf945df4cf2056f892eeb2f5ef363b526b185cf9691a"}},{"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/video-export-app/timeline-deps.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca3f8637fb21c4e94a8e50dbf4313bea057739cbee6879e8aba26708199ac59"}},{"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/video-export-app/timeline-deps.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc98ef6edae9987c0e02b397096d32c3146486deac6e5b0893422061534583fd"}},{"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/utils/audio-player.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e67ddda109be3751afa6f32e72c33a09771942b349ee7a37be0a78c566cd2e"}},{"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/utils/chat-storage.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85576dabe807bf8a08912b97c09f29cfb57e932d224b56be0a995ebb05a94e4"}},{"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/utils/chat-storage.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0927824310d198e7d7c2206708b59aa73cc38088bb35bb68a69767a18b1d24"}},{"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/utils/fetch-event-source.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"395530cbbf98639fd911b75f80ab22af89a9d8de23994d22d3dc0fc984191f7a"}},{"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/utils/fetch-event-source.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"094084ff434a62312d1aa07db806493d6308f6b410a00f75eae1af3e5108245f"}},{"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/utils/fetch-event-source.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"572d290104c302eb6a1e1c34d80214e114b0debeb98394df9cb3f62e8f4615e2"}},{"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/utils/fetch-event-source.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f95f65a10fb975e9df504ac72812d27855b0d138388c8d634fc7f53be7741a"}},{"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/utils/fetch-event-source.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d7d475ae5fcc62c7cd986dde948e7d391389aa9bb0a7cf8721b6a84137ead6"}},{"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/utils/fetch-event-source.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b91eb1bb4ba657d9e41e25cea77e0242eefcd39a76bc9400d3bc92a6db5f23"}},{"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/store/stage.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e531b08b6a048acad1f0cc2487a907ef261756a05d0d5f3031236a85fd8664"}},{"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/store/stage.ts"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed9f2f9d6404520ecd238d2095498f3c20cb78dda373800b0069c0ce01c2cb2"}},{"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/store/video-render.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7b4a5972c550bb0f998ac58e5995a8e78800c135fa2fc402645a422873def2"}},{"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/standalone-player/App.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e97af37bdb0d8fc12d4f82e137a67d9762b3c5ab370cde61f38c74eaf6ba58"}},{"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/standalone-player/App.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"567c5bd9484b1e1f2f907614f30c5976e414d453ec7d57f27fff180841d586ee"}},{"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/standalone-player/App.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da39b20b983c4afb7e32f9f32e2787819d56e177ca460cef55ef51bed07e531"}},{"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/standalone-player/App.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1138fb1b1a8a9a02a763f27613526e21347ee559c0770687f28271f21720c8a"}},{"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/standalone-player/playback/media-ports.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1462bebf064328384f0ef3373bd1c5aa0b95804c67d7a3281e31f8b6ba825bd5"}},{"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/standalone-player/playback/media-ports.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d8c184d1fbc414feeb04bb4987e595595914849df67ef69542c2d6e3feda95"}},{"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":"lib/server/audio-provider-fetch.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded3d27adedc67b45119f23cbfbfe8584c83f22ee6859c35cb827468c4be0c98"}},{"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/server/capped-stream.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5add658f0fcac0df0912f029cac90cd876874fef36cd7f0e15ded46ddaa6fc0"}},{"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/server/capped-stream.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57b4c372d73cf1055b9c7ad601cb0ae4d14b336e6fe3666f6b3c7b832d00421"}},{"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/server/llm-error-response.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b03110b020e56456245b42722a62c2ca9677afc07d2a88713a53d6f2374b79"}},{"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/server/llm-provider-fetch.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02e76b4e68738b81a3f5063c588b37ac9ac81a1bf12ce9b245b562a01259fcb"}},{"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/server/llm-provider-fetch.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"da161c1fb17e3aac7c58fe32e82445e0b9581524f6185fcc1f388ab9923dd75b"}},{"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/server/proxy-fetch.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3790b0cacb8d6ff334e828e09f5949b2ea4d72d5498262b4cd53c6f425c2aefd"}},{"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/server/secret-box.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6d4d4368b6a8f6d979e91a0d70287bc69958973057bf152813818ade342387"}},{"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":"lib/server/usage-storage.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c00c8f5219ba26c6dcae1d30dbbbfa969e2d8c7cb023dd50f98ba295ada98d"}},{"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/server/usage-storage.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a270f5f1ae3987a702805196168642ab27fc5e4c755d7f7ccb856c56279b7ba"}},{"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/server/pbl-v3/conversation.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d68306631cf01641e0878ec46b57e23770b0078907d19f00e9a3416942c630d"}},{"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/server/pbl-v3/lifecycle.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a14bd2712fe86fab050bfbeca7cf94fe9fcffa4a42565a8cae23c49d2be423d"}},{"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/server/pbl-v3/lifecycle.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be33d5af8cf458abc3cc7085ded53e5e7e03eca4713fa212b621efbfd3da812"}},{"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/server/pbl-v3/review-question.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"366d41001dc791363b33bcf4d503e0799f91634d997f6521f285fa3f02c6bf75"}},{"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/server/pbl-v3/runner-tools.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"130cb28c70b807f1d3c2b1549ce9ac10ea5dc7a91448bb9b5f24cb0ea69d3134"}},{"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/server/pbl-v3/runner-tools.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34a248841ef4df03c5016224243742628c909dbfe340f65140e7076b240607e"}},{"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/server/pbl-v3/runtime.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"47811b84a692ce040b59e56f44be94e27c80678f609aa9776a4684e88958862e"}},{"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/server/materials/inline-images.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5d6cb686e8277da822a460b67b95016ad18f349e6f6ca4bf314dbf74c3abdb"}},{"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/server/material-extraction/document-image-paths.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d199dd7f4d768aa061340d98aa3551cef9708ff31a4a5e6c8a063404d7402a"}},{"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/server/identity/anonymous-cookie.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4c257c2a90c045166a16ae3c5e04959bdfb422301f4087b9cf8ef433e554e4"}},{"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/server/generation/steps/outline.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb2c6c51aeb081adb9d99b99e8a5e2e45e632e3d58babb26c224413292435dc"}},{"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/server/generation/run/sse.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"afacd430b80b5bd7f0e4bee1ba30429423a586d355826f224865f672b4466eee"}},{"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/server/generation/run/sse.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b8cf0e61b602811ace37f409d1d1a4b7048ec8e2f827794264741a19182dd7"}},{"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/server/generation/run/sse.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"15842b42fcf4ad3b57c50116f3e3467d21634f4e88b9cf9a9cb74ede64cf5c1c"}},{"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/server/agent-runtime/abortable.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"830d52ee00c5b03b410bc0d91ebdd88184d73a62fd50b604a41810069863dab9"}},{"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/server/agent-runtime/event-notify-bus.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d20d0deb4aa83ea2e44ae978012ff215b964dc6ba47690522ff6feae93962b"}},{"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/server/agent-runtime/runner.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7710d24f15a679b85069a8969613711c68ff72d7b0baed314f6f711adcb86c4c"}},{"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/server/agent-runtime/runner.ts"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"0828e9091f70558d6f83f85985bb07452b68fc64de32a657d72aeec38fbb8ddc"}},{"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/server/agent-runtime/runner.ts"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dc1de30c624cb20b0e5ccc168e8fde7501df40f24ca108556fafc826723437"}},{"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/server/agent-runtime/runner.ts"},"region":{"startLine":2352}}}],"partialFingerprints":{"codehealthFindingId/v1":"151b48cf9ba3ab2ea154d67b39648da99cd6a87962c8e4867c2d2583e339c519"}},{"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/server/agent-runtime/runner.ts"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"25897b1fbd144931f4e4e54f93f4bbaa5901667de5f96e88eae6468d7f2edc7c"}},{"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/server/agent-runtime/scene-preview.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f3c4f769fe3a54f8278bdef7c340527c3f4652c1cffdf9b26384c8c3ec0109"}},{"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/quiz/persistence.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8e0e3ddf2a63368de8064b5a637adce516c1c2d86356b6d5df8f70ae5fabe9"}},{"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/quiz/persistence.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4642536621f73b3e4061c506b4b2366a884bad5d22b1d0a65b008ebabb008d77"}},{"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/quiz/runtime.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"859aa0c72b8512402c700d6ad3f256fb45ee67df0f1a1421d8ac5c0e0a2f61cc"}},{"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/quiz/runtime.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ec8316f02177976e834332afe2e12479e54e86ed5ba825f19a6bbd40553b41"}},{"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/prompts/loader.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc18a449b7008ae355caf769f3850a8fd1036d48c83b0aa28580e654bf21b782"}},{"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/playback/action-resume.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6485fe94d48ece1bc989f69692349ac2aa12a621a85fae20ce1ce7655ab54733"}},{"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/persistence/asset-collector-schedule.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b074b2c8250a8fa89eccf87f2656ecfdbe18eb32037164569574b627eaac7c50"}},{"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":"lib/persistence/owner-materials.ts"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ad1b6d5df1574376a778b272f8a1d059ecf16f7bd125d8900a1e9b6a17c0c8"}},{"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":"lib/persistence/owner-materials.ts"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f709e4ed5ec9cbd0b39c4079f03a5ae449f9a8edda767d5811e1d903f479df"}},{"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/persistence/schema-boot-check.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fd4211259a795508af49804bd2cf056d3d9eec248d34523348c981594acaff"}},{"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/persistence/server-provider.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fc14a14ff1e48f797812c2a6e4bb76144e56dd166f7f4e0a8fd9b9937feb27"}},{"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/pdf/pdf-providers.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cd99dbe360304266765f3937b0ab7220dccf70b420df77f63c08853a0cacc1"}},{"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/pdf/pdf-providers.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e4b4fc69af1308ade6ddb5ba18383f0d718d195f101605cd3fe03fda882913"}},{"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/pdf/pdf-providers.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbf5ef78ea597fa6b9f9c7ca554c12f785e5d3db542f6cedc2646c1b9b6e0b0"}},{"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/pbl/v3/activity.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c97e49043a021f8688c550f8a955711687ee2c580850a191317dc3c7cba300"}},{"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/pbl/v3/event-stream.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e15f1881903163ab057ed6fc0976b800211f0dc5a1728b69b31addc5d9b94ca"}},{"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/pbl/v3/event-stream.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5324548b4ba2db60b7d05e1ac9929b5ddcdc2d736cbf3a4873b900037d0b376"}},{"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/pbl/v2/runtime/drain.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaf3fac9b60e2f23ac7f806e3563958df6535412fab63ee98c8b6f7e5b9263b"}},{"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/pbl/v2/runtime/drain.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c726082907e234ed06f564a4064d0ec94cee8abc352746d6edbe158dcc8c4b"}},{"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/pbl/v2/runtime/drain.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"69460ea2f1d758c9449a45f7005e7ef462f3d25b52c84b1fe8155763aeac197a"}},{"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/pbl/v2/runtime/drain.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"390e87452555719ba0b4ce5388ed668c14162deda8c094ca961160b818b0c14d"}},{"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/pbl/v2/runtime/drain.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70fecb0fa9d04510a3fdf934fbb0bca41128c256d6d457acbd61f91c278cf55"}},{"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/pbl/v2/runtime/drain.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa31f656088ef3f924448c24573e0c0ce70467066365ce289b0db4dac8ed27f0"}},{"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/pbl/v2/runtime/drain.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"5393cbf05a0c6e9c3f0dc4ddc2548be5514314eb48045b931507b95317cd829b"}},{"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/pbl/v2/runtime/hydration.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a17fd3f68aa16f82150315813331958962432467a5d9fe168842e4ec18f40a"}},{"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/pbl/v2/operations/runtime/eval-tail-parser.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6581a9456c4c2516f0ae9f17992a04b0c70f5ab959bdcaf76f9848718df2f511"}},{"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/pbl/v2/api/sse.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0d6b5812b8b4025c131dc1f65747e803691014a90a30755eb1832443757142"}},{"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":"lib/media/asset-replacement-events.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b5263e6e4900fd3c18645fd11c00c786100d5a7a04f538e53585da3ed6a056"}},{"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/media/asset-replacement-events.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad286cf2da71d3296d0a39c4124fe653b32313847cb537edf5143ec0c7487712"}},{"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/media/bounded-download.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"be91ae502a88dd4a008e14f7d79e7fc9b1a3e956e54b4edf7defc52f774666b2"}},{"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/media/bounded-download.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"432c60151572961dc8362f630ec4eef9c04d6a781bf1280561234708794b61e1"}},{"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/media/bounded-download.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de0935c6f58ee9abb837b408aa9176cd032159034a9528c3624ea8c144450bc"}},{"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/media/media-orchestrator.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c560134c43b08b048d184ff3afb824a90df393ffa441e1faf21ee8aab731e8d4"}},{"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/media/media-orchestrator.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e943bff3b4be3ae804e62dea2741ca2c2611e42fb8fd4c0c68fb513273811b"}},{"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/media/media-orchestrator.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafc300af71c0603806e5b56ddbb1df52c2c1b61140029d8472d130f4a129134"}},{"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":"lib/media/use-asset-url.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8065144f98e1db70c8901e175a3c515f1525f9a0b30ab13a0318a8406fd450c"}},{"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":"lib/media/use-asset-url.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e9940f47648201528f63d681846287c60678e36b9d29e9bbb52fd926439ab2"}},{"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/media/adapters/nano-banana-adapter.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"94614659bd8a473f0f76d71ab6ddf5c5fab5ad955f1aa4cf1649ba36f9cca3db"}},{"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/legacy-browser-import/index.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a10b2a108b534c3a5c816c2f228560096b3522de052de111cc2cbe4b9504c35"}},{"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/legacy-browser-import/ledger.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38b394c11cb7b01192b7ca78b1607f32e843992a8f4e735fa22e3a099e81b58"}},{"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/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"86475068c961951e0c0156dbd60e41dd184cb18419a80eb6ded33a8691bde428"}},{"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/legacy-browser-import/model-settings-import.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4e94216b06330c3da4488429a4a26764ef7b077f06bf70514e6341e61bbb11"}},{"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/legacy-browser-import/model-settings-unimported.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e30634cd7b8c58efea12da95db4d79512c26d08428f08cc74b34c7101f7828"}},{"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/import/use-import-pptx.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a35fc52b1181df9c244782c71bc94693a25347e2d20d417f86027e9f3fb9118"}},{"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/hooks/use-audio-recorder.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f25aaf31a95548b1c17647428a36eb0b6990475478e1fc64eb83797a6f4fe1c"}},{"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/hooks/use-audio-recorder.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ab50084d6109dee7e5e1795b872de42b2424e0dff3bbe6db57a241a1ce3b1c"}},{"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/hooks/use-i18n.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3015b1bde4cb7d508e29b2d39e55833285c7d287fb8b5e5a934d92809f3e333c"}},{"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/hooks/use-i18n.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"109c9a2fbf16a0c6daa82ebe62655026ec9f4807da1fbc8ee228d9bac450a316"}},{"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/hooks/use-i18n.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc909c0e6a64d2ff4c6a4bc14a17a4d604c416cfd79bdea642081dc1db43413"}},{"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/generation-run-client/follower.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f246fa68ee8e2ddd6e740e062e9ded2a1e5230b5e43755f6d65d2ec7c7387a54"}},{"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":"lib/generation-run-client/follower.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d994d7405dbf036669b8f2352c213f8a5f908ae3c5a83cbe403f95df4de6bd79"}},{"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/generation-run-client/owner-runs.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"374388a8cd2e42af1c03e11da9a0d3a3d6a1b53fab2489b480f5fffa627eb5d6"}},{"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/generation-run-client/owner-runs.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae44beefa7ae6558100e25f9d2908a72b636831fdc0f773fab5402c818fca628"}},{"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/export/html-asset-inventory.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"0513bd20e0d6f0a90b81a1c62c2f24db50ae4eb7ff6f0a714ff40bb1d10ecd55"}},{"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/export/inline-assets.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50b3f44a694a1579c41552a61597752889d739052116b31eaf9f9c792eb8a80"}},{"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/export/inline-assets.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6ab1e8058843c4c80333f6700776ddd63562b229ec0a896709032a8e7ab03a"}},{"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":"lib/export/inline-assets.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"303731a67cd9ff1dcbf516e3641f9e38d60f3ce2ba5a135c345d8f525bf238cb"}},{"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":"lib/export/inline-assets.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"124c3ff132eee80e32d108d88b2019c3a7b242e2a658000eb149408726a9e33d"}},{"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/export/inline-assets.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce244c5c000d816c4672b2f9cb8d461820b878afb0ba78461fa5ef249b331ae"}},{"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/export/inline-assets.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b703f1770c5890985ff31a259ceb3aff9966a69e02a9cd0b4366d652efbf69a"}},{"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/export/proxied-fetch.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f823cac6390e8a24faa0499ab02672c6584b65ab3dd5b138eafc074460e979de"}},{"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/export/use-export-pptx.ts"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d819cb1285f4f3399327c8dbabe9833293fadc2f3f3e7a31bce22ce22c3760"}},{"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/export/use-export-pptx.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a68074ad504d4ee7369a827b79877e64beef5bf5e0db95cd129ea91f15583ea"}},{"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/export/standalone-html/rich-text.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7ef328f0de23d615709b6406e232ed61e4d3f1cc49a5d66f673754033c1a95"}},{"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/export/standalone-html/rich-text.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3a6dad699d4bd31632a2966882ce1635a350d8f2967c05e9aeca3d2f3abb5b"}},{"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/document/extractors/local-media.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f041f6185221bc27d58a5c7bcf71715e27a9d807abdd77478bbe903efa0d7646"}},{"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":"lib/classroom/complete-summary.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7baeb0e66babc291760b04396f6a1df301068e9e54422c34764200dd82f9b0e"}},{"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/pi/tools/native-whiteboard.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecaab4059c66ec405e570605bfc283de3a4585b4493497ab107de2b093a68aee"}},{"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/pi/tools/web-search.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"834ed3ceb0cc9aa4f079f06ab9227a0905fb483622e91227e5909c1d07ff1416"}},{"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/audio/tts-providers.ts"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d14d1e51c63be49331c9557ec93dc486f52da18496a08b3d674605296d05048"}},{"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/audio/tts-providers.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ac9f57a872ddab6048e1e0ed6d184b62ea955f4076cd09e906e53ea10eeb5e"}},{"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":"lib/audio/tts-providers.ts"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e78621504edba01e6a0e72a10f9f3a4d7320bf1fa96d46983cb86b9831be005"}},{"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/ai/providers.ts"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d04a07bb5248bb1db6457edfdae60f50b103a79229f8cb9e12a36b0117306ea"}},{"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/ai/providers.ts"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db92abd2f1f2935281336307ceb6b74527c9c2066fff06c9e10a7b85da6209f"}},{"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/ai/providers.ts"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c687e305b6c68759ac46c5a6c05a896ac77c560e10770960844e9512039515"}},{"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/ai/providers.ts"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffec27580a6787579f07d0d83d22a86b0f89c7157f7100f3e799cb0101aff28"}},{"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/ai/providers.ts"},"region":{"startLine":2554}}}],"partialFingerprints":{"codehealthFindingId/v1":"192e8109f4067c622da0fabc7934c5b1217eb8c5f84fcd061b447d0f2ff5c23f"}},{"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/ai/providers.ts"},"region":{"startLine":2569}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc1df8f75019bc86e5df50ca38cb49b0a9acf7857768e5e421028290bd20376"}},{"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/ai/providers.ts"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8f24d773e4a0f387584cbe35f7357f7e2e421978d8ef764fc0a87356ca8855"}},{"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/ai/providers.ts"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"77305b468cfaa6f79474d134a7e88652131076db29fb58a28d5deded9e2f6ff9"}},{"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/agent/runtime/tool-timeout.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d0b4be6acf2a3e95e90eaa252f67104190568ac12e74cd30c8fdfa759b5f76"}},{"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":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca126d7f49a73f4e63df160224c40e5d3a1e44484164996b7bcda780bf04d240"}},{"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":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f98b58f6ea0628c17b3e84f5c4069159e98fc8c50680e8cbdea1ebd69768a1"}},{"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":"eval/whiteboard-layout/runner.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a30b320ff380e1a358249a5d56a2f02e9af7c65839bc39d6fd33882a724d258"}},{"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":"eval/orchestration/answering-runner.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b013d0ce516b89bf140bbce64d7ebcbe2c2f6522d2076edfb722c87623e4151"}},{"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/workbench/WorkbenchChat.tsx"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c23806fbf9da0dfceba6d8ce4c79c2cff63e81a5b864f11f154372343b059b1"}},{"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/workbench/compose-extras.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"354042848b3d3868cf4f023f25305d7aa1238f0c5c6d1c3c31753075fd71dc46"}},{"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/workbench/workspace/WorkspaceRail.tsx"},"region":{"startLine":2432}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd359b2fcaaba1bf901702f43d52d9519b59427a5468f41017b2572385b4ca9"}},{"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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffef566130f64daefcd842d85cc50afefa9709b5112af5f1a9b89e7d16441b1"}},{"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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01da7254478bfb7a369f3ebc59d4f1d87e657fd47a7760bdcb4d7077d33d111"}},{"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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eedf7fc7741ccff95ab9dbf50ee98421336fa66b97fe66c6ea20b500065146"}},{"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/workbench/workspace/WorkspaceShell.tsx"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a8058f1c86fe1e10de6b526d3a7a115d8fe8f2573f47890741c124a973b284"}},{"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/skill-settings.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e7d3a881428c9494df3f9fe0320138aab58b53e11c32b7ccea937051dcba95"}},{"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/skill-settings.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ebfee36cb483ede184064feb15f343d53831d88a5f2709d003476570e503f1"}},{"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/skill-settings.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9fdd678fd3e8adddaac736d2ce02d527a4bce2afcec54ed61724e66a342a63"}},{"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/settings/usage-dashboard.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9be14393f116fb2fb396b3501e41be2688e3a84db97a86d0708c5100708a67a"}},{"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/scene-renderers/pbl/workspace-layer.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6195d49380c146d984045498e9d52643d34aac0ff91981dd1e64cd76bc08840a"}},{"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/scene-renderers/pbl/v3/project-entry.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bf5eb8ceeedce8189896627cb0177441929b00a336f80ff7868d4e0832274e"}},{"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/scene-renderers/pbl/v3/workbench-panel.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d571c46ce3ad5d164e9822adae7dbba1e1c886d0c121e9ea5fb689af1aaab0c"}},{"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/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dc865c4fc9a53105e22c67c91893ce786264f68b4b6d049015d2877eb2b59e"}},{"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/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"407af2899157a08b0dc3ad37b75f55d83818f69db4614842f029fdf8bc001ca5"}},{"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/scene-renderers/pbl/v3/workspace.tsx"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ec8df4912bd5287cadc6fef038a32a0d1cb2922c8b2d6af8152864c2216859"}},{"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/scene-renderers/pbl/v2/use-instructor-stream.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f970ed440529fc80bdcf67a79105af92c848b78d171f14053c0750b9b725978"}},{"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/scene-renderers/pbl/v2/use-instructor-stream.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6338bbfbff1e9d5ac7ba0d8f91b5e08e6cfd0e2e4a8f93aaf024ba167acd401b"}},{"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/scene-renderers/pbl/v2/submission.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e549fd973f5b01887af402b1f9a7a76f5729ecf3e75357eec84e9044694caa8c"}},{"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/scene-renderers/pbl/v2/workspace.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d160f87a6ac5c1c46d94f60c06a39ab3281345c40d5923c8487d8286911d53"}},{"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/scene-renderers/pbl/v2/workspace.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07f09dc0a813be4d1a5afaf960425d10b0f812cbe1e21a162c09c6b53e1721a"}},{"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/edit/EditChromeRoot.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d443e22d06a4068037ddddbe0acb96e987e558a6f6eeef2d584413e38bbd9d9"}},{"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/edit/PlaybackChromeRoot.tsx"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6228f0303c1534d1d7bb3feb885748554484913dd9b471af474c35249843700"}},{"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/edit/surfaces/slide/ColorPicker.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e8a98567d9162bff3959d8ae0c8b3bdd2d0e0923acd80a25b395cbb20f0d65"}},{"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/edit/surfaces/slide/ElementPickLayer.tsx"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceca3a8ee16e64e084e9d9cf02ccc90ed585cd5570c871e1e8d9a85c9784084"}},{"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/edit/SlideNavRail/SlideNavRail.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8889dcb7a846a0258766195516682b0c2ebf255bb6298ce6816baf0c0de7be0f"}},{"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/edit/SlideNavRail/SlideNavRail.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cface6aad4380dcdc782ad509d78acd5f3c00954cbe07b0d8dadc6a0a9e55e4"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53c2a58b85c4d61db89c7e47c1423dcbae6640750faf8204121eb90748febfc"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dcfa180a1414e1cbfe1b5cef17a0db00c2290a5a82c39ea6f5408236f474cb"}},{"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/edit/ActionsBar/ActionsBar.tsx"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"697f7436de0fe2bb0de48a8a1fe157686a17fd57786bea4e761757079b6d01fb"}},{"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/ai-elements/prompt-input.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"74046416fbdcb9d92e6436b5eb0bfac19a6dba43e7c0bfdf69f024e95fe5a334"}},{"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/ai-elements/prompt-input.tsx"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7543c57794e67794e3c2eec091598bed564523b82b75a8c1357ece0cbcb998"}},{"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/ai-elements/prompt-input.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f140824521c3fc37d6141d6b384c861124e7ab3af7e0f42b1887081bf920381"}},{"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/agent/agent-bar.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9ead6cb8e23edbd39fbd6e4eac8da08ca0d5656e28a6795d66f08925de14fe"}},{"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/agent/agent-bar.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"36af20dfed09b9f89f1f5100a08d2d14af06c09a9af1535977adce0ef9713a24"}},{"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":"app/page.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c02f7d0a88ca96a29b7c899940c8af9849a0fdbe7a6e7837c7849beb47e59b"}},{"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":"app/page.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc9d59babc06f01936d4b891359a6536e1ead2c694085830cb218be67ddae06"}},{"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":"app/page.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e25a8b97a461bdf4a485d796b458ffb5483a049e6eb37d37dce9902b2fc41f1"}},{"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":"app/page.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffbe1b22331c1ef9000467a06d2e95ef6346de5fe5561aa8f15e4120775fea3"}},{"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":"app/page.tsx"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c88162641c3f73fd397ab9a245bf544ed9e0800126efe92e038433df60296b"}},{"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":"app/workbench/new/client.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b89d3f9ecd1f616dd569b657ff30bf20d32bf3f4e1b7e0952b8c4f6febe5dd7"}},{"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":"app/workbench/new/client.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4bb7aec029a6fce786071771c12ee2e932fb279cff1c762052f2c0a31d8db4"}},{"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":"app/generation-preview/page.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7c279e6bf40d95faa99a48e485df7f1ed0ed93e99c13a5b28461bf3d7fa7f3"}},{"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":"app/api/stages/[id]/freshness/route.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"048352fe8a70606c53fd590333abd0df7c6ae641c775a71f86bd7151285b797c"}},{"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":"app/api/materials/route.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fd16ae405ccd0ed63a80d0289042b0e7838da66be2490e5f170ae77867160e"}},{"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":"app/api/chat/pi/route.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4364353ded378f8fe24da59fd3efc45ccd3d26d19329821caeaefc266d6276bd"}},{"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":"app/api/chat/pi/route.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7219e7a0a914c93ba39e3dfa980fd250295da705b59de3009e0193576302924d"}},{"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":"app/api/agent/owner-events/route.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1457ed4a6add50aae353fc321bb9d61984e009fa0f2498ceeb7a57b9d51c4b1"}},{"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":"app/api/agent/owner-events/route.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d85388ffac958fa06c9e352da686f084d286e47f5a16883498cc3e38e55f9c"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 12/13 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) reduce the strict null checking score: ~1.8 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 747 assertion(s) across the 419647 source line(s) of the 1939 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: lib/legacy-browser-import/digest.ts (44), lib/pbl/v3/report-share-image.ts (28), lib/server/pbl-v3/runtime.ts (26). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"edb251d0f8dd1deb75ff6fa12d145c3d5c948a70b0aaf8da052107c857335979"}},{"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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e3d6bcee5cdacd47c9662f189f21ef88d3a3118f51b27637e708d2d7ac968c"}},{"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/@openmaic/generation/src/scene-generator.ts"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7c0c321c43ccea834b764b7a7b9aede94e8486b2792ff9ce79a6282fd0e75a"}},{"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/web-search/brave.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f2f57f2b60161207369bdfdef056a690192afedf97a4eafc238343cc4edafc"}},{"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/web-search/brave.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd445d4548baff91247d0474288e3bbeb7ab25cb8ae19820405c5fc3d2b4ab03"}},{"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/server/generation/steps/outline.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b69032dbaa86dcaa03cb29223ef588227ef9e0e00636ff95ae6ee107825df1"}},{"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/server/generation/steps/outline.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ba8e2a90cce32873326e91a013af573f59159b1a3dedae869301d83d640a7a"}},{"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/interactive/media-bridge.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe921f629973df30b49c9d64d54a65b7930eea38c70dd002db94ec93836b7e0"}},{"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":"components/slide-renderer/components/element/CodeElement/BaseCodeElement.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6427f23afe2b21c39c3678793861608534d1f1179779af9aecad5eb96640bdaf"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022w-3 h-3 animate-spin\u0022/\u003E\u0060 under \u0060downloading\u0060, but \u0060downloading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/video-export-dialog.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6a40f4ded0b312e48888fb17d4d26fd97fc640a4c756e77d748a12ede853a0"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv\u003E\u0060 under \u0060rendering\u0060, but \u0060rendering\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/video-export-dialog.tsx"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"588dfc487b441f0b48679ce66773ae0969deae872a5530dc2fe5ab22ca0792be"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022w-3.5 h-3.5 animate-spin\u0022/\u003E\u0060 under \u0060rendering\u0060, but \u0060rendering\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/video-export-dialog.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b19f2add7f6fabacc4c6c250a04f67996221d7f2dd27ffd472372959a90d95a"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022w-3.5 h-3.5 animate-spin\u0022/\u003E\u0060 under \u0060isExportingVideo\u0060, but \u0060isExportingVideo\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/stage/video-export-dialog.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37a65cb23b71adb179b45d89f28192708af200077d4d71f554da970201e581e"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022w-4 h-4 mr-1.5 animate-spin\u0022/\u003E\u0060 under \u0060clearing\u0060, but \u0060clearing\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/general-settings.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc5b6e2c7696c0605969b41535dd3aef35beedca6d6c9e3691e55ea1c852e56"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 class=\u0022h-3.5 w-3.5 animate-spin\u0022/\u003E\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings/usage-dashboard.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7219952010c11be4806b1537bf5a168015e6fa955ef4178a140aea021e7004"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CLoader2 className= /\u003E\u0060 under \u0060isProcessing || isStarting\u0060, but \u0060isProcessing\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/audio/speech-button.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a896a9dfcce4996a88c0a7278714465ed194d9eccbd6343ff72155a345b0a8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060hostnameOf\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/config/app-attribution.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7abde324434ae719213c00785961b756fb6778826349ef6fd4a51cb146772f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readLegacyCustomAgents\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":"lib/legacy-browser-import/agents-import.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae227d3d12bb08766db34da77f1e7e95496248a191c7a768a5f14de183b9333a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060errorBody\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":"lib/model-settings/client.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"feafa7631a5a2890c9eb3a93e12a6b9424f47a223d454af6ce6bc7d62f2a28a7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060rawObjectMime\u0060 swallows every exception into \u0060return \u0027application/octet-stream\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/server/agent-runtime/session-materials.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5f241e74d48a43138c4e38260a05d253de5ddb38f41355874804bb2bbac825"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pixelSize\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":"lib/server/materials/inline-images.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e843c9ad2c9e250ae2fd8efdd2c1657f9aa4c08a2c08d1d46d1d551c6449b07"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readUsageRecords\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":"lib/server/usage-storage.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90542d70394aa898528c2219ddad6c8f8eaf00eeeb7a6d97944c0193f6d1dc8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readTable\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":"lib/standalone-player/playback/media-library.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a999b1f8ff42602a3d6009840e420a9cc217b227ee0b2163d903986c7e58dd0c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readPanelPreference\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":"lib/workbench/session-store.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"02215ce3e68b92237cfe410046d7052b981b6d5560f06de6e34d9cdcf5575d08"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060fetchMaterialMentionListing\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":"lib/workbench/material-mention.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0527168865158a45e5190608ecfb07be4fe58fca340825216aee96704bb1ce84"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readAll\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":"lib/workbench/preview-tab.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9de35e80fb04d21832aa9eb656be3e5a901aa5d843fcb995bf5ac2ff187e47"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readPlanCaptureMode\u0060 swallows every exception into \u0060return \u0027unknown\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/chunk-executor.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b516254e83a06434c624c48a53b01b6b8b928d60827ee8c5c06ef0030e994a0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060requestProtocol\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"render-service/src/preview-renderer.ts"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbe5ddd303fd5deba16bf8d7ccee42d342832e40ae1e003b8cf54cfb1b4b2c5"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.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-835","guid":"4d510828-22d0-5353-ad86-51ed0cae0b37","name":"CWE-835","shortDescription":{"text":"CWE-835"},"helpUri":"https://cwe.mitre.org/data/definitions/835.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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":203,"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."]}]}