{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"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":"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":"register.register (cyclomatic 243): register.register has cyclomatic complexity 243 (threshold 15). Most of this is not in the body itself: 1 of the 243 points is its own statement and the rest belongs to 43 function items inside it that branch (a function literal at line 1142, a function literal at line 837, refresh, \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":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92b50c4fa2791da83fd34251b32b2446b3d2f5b12faef7241f60164051a9c6f"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.one_day (cyclomatic 131): Pulse.one_day has cyclomatic complexity 131 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a1ecb7fe699149f1f78e424f82a9fc2bbe43a26e809f737edf73309de2ad3a"}},{"ruleId":"D1","level":"warning","message":{"text":"progress.readSnapshot (cyclomatic 124): progress.readSnapshot has cyclomatic complexity 124 (threshold 15). Of this number, 116 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":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c820eaa822e30ccf090edfff84282acffd9e3d8f762376752e92bcd0f2efd1"}},{"ruleId":"D1","level":"warning","message":{"text":"analyze-sessions.processFile (cyclomatic 95): analyze-sessions.processFile has cyclomatic complexity 95 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a801ead061bea8140d057baaf93a35f2253c24fd307e1515d210b8a837f6bee6"}},{"ruleId":"D1","level":"warning","message":{"text":"security_reminder_hook.handle_commit_review_posttooluse (cyclomatic 93): security_reminder_hook.handle_commit_review_posttooluse has cyclomatic complexity 93 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24a7ec79bd5d7a1470be1381b8b811ce3ccd9a06f7256057f52b0b4f8c66383"}},{"ruleId":"D1","level":"warning","message":{"text":"security_reminder_hook.handle_stop_hook (cyclomatic 91): security_reminder_hook.handle_stop_hook has cyclomatic complexity 91 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"942424169e28e930892fe1855c78e82d1c7c240b0221ee58d81e484ce9c185bd"}},{"ruleId":"D1","level":"warning","message":{"text":"viewer.html.renderBenchmark (cyclomatic 79): viewer.html.renderBenchmark has cyclomatic complexity 79 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 13 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":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ae90b8accb1dadfd67b4f6800764a200eac8239d83df94c396eea2b2def7c6"}},{"ruleId":"D1","level":"warning","message":{"text":"security_reminder_hook.handle_push_sweep_posttooluse (cyclomatic 73): security_reminder_hook.handle_push_sweep_posttooluse has cyclomatic complexity 73 (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":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aade5f08ed2bd8927af5f81714ea59b91c0ea8bb156116a61b604a2286f174c"}},{"ruleId":"D1","level":"warning","message":{"text":"build_report.proof_module (cyclomatic 69): build_report.proof_module has cyclomatic complexity 69 (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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec179172690f4195ab0dd165c8699ffd7ded88a0bbad4c3f7a559384177a580"}},{"ruleId":"D1","level":"warning","message":{"text":"ensure_agent_sdk.main (cyclomatic 69): ensure_agent_sdk.main has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"395802aa1e69308cb94fa5d30d812fd7da946cdec4cec2a76ff76358f24f6624"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.freshness (cyclomatic 60): Pulse.freshness has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47c8163e665127df4908f594e04e96bf1945c96acc0220878575e36dc6066da"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.rollup (cyclomatic 60): Pulse.rollup has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb92f2ab1986e686985130fa03ce4c6f21e60fedf34cca6f79358dd87f2aa5d"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.output (cyclomatic 58): Pulse.output 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd53c587429182afb70bf18a6691cd9b1a3c4c33788bc98410caab7aa4d229f"}},{"ruleId":"D1","level":"warning","message":{"text":"report-template.html.proofModule (cyclomatic 56): report-template.html.proofModule has cyclomatic complexity 56 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 8 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8370c04d10725deb197a9054e6dcd03b17d5a148c3d49a1e4289301635ca97b5"}},{"ruleId":"D1","level":"warning","message":{"text":"topology-viewer.html.draw (cyclomatic 55): topology-viewer.html.draw has cyclomatic complexity 55 (threshold 15). Of this number, 50 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":"plugins/code-modernization/assets/topology-viewer.html"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"467711044a22ed61c51fb14b40fa76bf20a0a10491a9863b44c39b01aa68c2be"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.classes (cyclomatic 53): Pulse.classes has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e10af768c676a5cb4d86bd8922badd7caa96483ed491fafbdcb08ccf786dff"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.render_md (cyclomatic 53): proof_pack.render_md has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"439c65cfdb91331e187a7b8c8b5f66b84f56ac69403c1e63635cc1cee1272d98"}},{"ruleId":"D1","level":"warning","message":{"text":"reporesolve.dirs_from_command (cyclomatic 50): reporesolve.dirs_from_command 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":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"114e64b53fb18b50074fa468766394a1901b029a86825953769b2fd6f9d6dbe4"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.emit (cyclomatic 49): Pulse.emit has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0bbc38216331613ca27741aa293f70efdc730d7dc307d9c8ecdd7e1fcc1360"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.check (cyclomatic 49): Page.check has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a0cd38c4533b6b859d8a4f5d88e164b0ebe66812874cd7a784b3c0c11b010a"}},{"ruleId":"D1","level":"warning","message":{"text":"security_reminder_hook.main (cyclomatic 49): security_reminder_hook.main has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e8aa5f1dc5836070d4de1f76b4d2f310ced45bc335b7c1c98470495f5190cd"}},{"ruleId":"D1","level":"warning","message":{"text":"baseline_diff.compare (cyclomatic 46): baseline_diff.compare 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"93683adfec2fecaacb9349caecc32eb066614c6d7d44b2ca2b9ec4f65c44b753"}},{"ruleId":"D1","level":"warning","message":{"text":"render_rules.main (cyclomatic 46): render_rules.main 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":"plugins/code-modernization/scripts/render_rules.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4101c2b602b679c0d85abc2316efb34ecc66f759606b2977594b0f1ebf7534"}},{"ruleId":"D1","level":"warning","message":{"text":"build_report.equivalence_view (cyclomatic 45): build_report.equivalence_view has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ff5b90df5befe52497ff90d55c3e0742698c35bd0f7e465372a462f7c21d83"}},{"ruleId":"D1","level":"warning","message":{"text":"xray.xrayOf (cyclomatic 45): xray.xrayOf has cyclomatic complexity 45 (threshold 15). Of this number, 42 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":"plugins/code-modernization/hooks/xray/xray.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ccbe7c9365cc2ba6a98c9bacdb91b6114231621956f368eafe12ed81ff00bc"}},{"ruleId":"D1","level":"warning","message":{"text":"llm._agentic_review (cyclomatic 44): llm._agentic_review 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc541cb6099bbabb93f1ce946041b78ee5fa6d5a5b5c33348b8ae78e878ef5e"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_rules.trace (cyclomatic 43): trace_rules.trace has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae809c9f7c7005855944f91b3926cf0921db7c34dc8b22cda6407928071b953"}},{"ruleId":"D1","level":"warning","message":{"text":"pane.planOf (cyclomatic 42): pane.planOf has cyclomatic complexity 42 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 18 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":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"5717bffe9cb6adde27f4eed4af237a81038f8f6a1d917ccaa2de0c6d6c1b4bed"}},{"ruleId":"D1","level":"warning","message":{"text":"build_report.build (cyclomatic 39): build_report.build 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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de1897bb24618796edef0523a84c873e72820e6cf05927ccfd7e2ec425f6418"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.exceptions (cyclomatic 38): Pulse.exceptions 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b31464472544a4e652d48a44ccda9f6a94910a426ebc6f7effa4e4f0962c8ff"}},{"ruleId":"D1","level":"warning","message":{"text":"pulse_compute.parse_profile (cyclomatic 38): pulse_compute.parse_profile 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e781d839ecb3bc150df1c147056288feac208d8d15215aba47610829cc55ccb"}},{"ruleId":"D1","level":"warning","message":{"text":"deck.deckView (cyclomatic 38): deck.deckView has cyclomatic complexity 38 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 4 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":"plugins/code-modernization/hooks/views/deck.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3182157dfb5961f84d01e68392e1bb0779fea3ee797181b95239b1deda95103"}},{"ruleId":"D1","level":"warning","message":{"text":"baseline_diff.parse_baseline (cyclomatic 37): baseline_diff.parse_baseline 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef33cb9d53cf4414edb50d1d59674bec09dba1ec92067b9ee4b04991fcab891"}},{"ruleId":"D1","level":"warning","message":{"text":"write_scan_meta.record (cyclomatic 36): write_scan_meta.record has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/write_scan_meta.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b0ce57f7385f4bb6a398ae759e30a45e12c36fddb6afaa9cc43d9b494fc406"}},{"ruleId":"D1","level":"warning","message":{"text":"report-template.html.inline (cyclomatic 36): report-template.html.inline has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a791db82a47e81132c826db0107fb5e7a88c5d108a3fd6de5ceb583baab9bd95"}},{"ruleId":"D1","level":"warning","message":{"text":"discover_bumps.main (cyclomatic 34): discover_bumps.main 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":".github/scripts/discover_bumps.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3711ecb2fe40fc2eafb33e01dcced44dad02c81d79fa9363c8351da8547f290"}},{"ruleId":"D1","level":"warning","message":{"text":"report-template.html.renderGlance (cyclomatic 34): report-template.html.renderGlance has cyclomatic complexity 34 (threshold 15). Of this number, 30 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"941b733c4f57d26e30bfc132a4f40be6c4882bf8eeba317fd46fa8c2689543be"}},{"ruleId":"D1","level":"warning","message":{"text":"plant_setup._selftest (cyclomatic 33): plant_setup._selftest has cyclomatic complexity 33 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2630a3d6df98900300881c06e9e8219fc95c907da994e22497a404420e86a37"}},{"ruleId":"D1","level":"warning","message":{"text":"report-template.html.partEquiv (cyclomatic 33): report-template.html.partEquiv has cyclomatic complexity 33 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 17 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b08a4e6cbd50007eec5a108c5598725cfa71d18a7a35d6274d3d2ce8b2ab61"}},{"ruleId":"D1","level":"warning","message":{"text":"run_eval.run_single_query (cyclomatic 32): run_eval.run_single_query has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/scripts/run_eval.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"43af14e88641bef98ed75b57fd899f5c27423ce7a40a28f1bcfe48f0e7a15f46"}},{"ruleId":"D1","level":"warning","message":{"text":"server.mcp.setRequestHandler() (cyclomatic 32): server.mcp.setRequestHandler() 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":"external_plugins/telegram/server.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"859aa869926123051d0abc19236e0779c031f513df6f114ca6889f34dbacbf3d"}},{"ruleId":"D1","level":"warning","message":{"text":"brief.parseBrief (cyclomatic 32): brief.parseBrief has cyclomatic complexity 32 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/brief.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecdaeea671c21d0e5b2bb5948e6d33953b8b6e2fe116fa1e48f5103e0e3cadb"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.decisions (cyclomatic 31): Pulse.decisions 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4948feac06b562e880debd8978c54267879eb0ff3ee1ae2356be6b37751cb2"}},{"ruleId":"D1","level":"warning","message":{"text":"server.handleInbound (cyclomatic 31): server.handleInbound has cyclomatic complexity 31 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d1e577dd6cbd9b3f6d172a54023d1208bb0d3f020940d69d99cc82d75909ba"}},{"ruleId":"D1","level":"warning","message":{"text":"report-template.html.md (cyclomatic 31): report-template.html.md has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e8a497f75a8ad34bdb63c8e10e96fa6f2961976d3b60cff33ce42e9bac833e"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.brief_items (cyclomatic 30): proof_pack.brief_items 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fb629e843ee12b3a11dcde5fd2a070f81752d42889f9b3bcdfa09d624bb942"}},{"ruleId":"D1","level":"warning","message":{"text":"config_loader.extract_frontmatter (cyclomatic 30): config_loader.extract_frontmatter 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":"plugins/hookify/core/config_loader.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fdf87e3fec5dc184d6d5f60b873d52c724914feeb60635ddf742fb95e799d6"}},{"ruleId":"D1","level":"warning","message":{"text":"llm._call_claude (cyclomatic 30): llm._call_claude 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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc0573357f2c1a229fd360a6ed2d1130c185b34d8f291d1b6994c89f1ba7f69"}},{"ruleId":"D1","level":"warning","message":{"text":"uplift_checks.parse_deltas (cyclomatic 28): uplift_checks.parse_deltas has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/uplift_checks.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fb1578a9d7eb2193922ee7ccc3f2317d66fcf10286ad508011e6839bafa64f"}},{"ruleId":"D1","level":"warning","message":{"text":"run_loop.run_loop (cyclomatic 28): run_loop.run_loop has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/scripts/run_loop.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadf769eeaaf1c0ed8c5f6af3f632da7a819872de286bd609bab4d2fea8c34a0"}},{"ruleId":"D1","level":"warning","message":{"text":"verification.parseVerification (cyclomatic 28): verification.parseVerification has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/verification.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"673097b03250a7a1597746b542f57f55985f95cf34d9194d0ec6cdf210c67b61"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.context (cyclomatic 27): Pulse.context 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"2845cf548211a24cfdc58a42d5d9073a65071b7ff31a630f7f3517d5e47d354f"}},{"ruleId":"D1","level":"warning","message":{"text":"render_report.verification_summary (cyclomatic 27): render_report.verification_summary 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":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd9366b15dfa4bd2789a774aef2bbc8c7e810c3dfddf8dc8df3cbe6d973cb7e"}},{"ruleId":"D1","level":"warning","message":{"text":"render_report.scan_of (cyclomatic 27): render_report.scan_of 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":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"8534679ed819b4393eed7bb3105d455b27b3ed7a93ed5ba5ba01c3dfe406fcfd"}},{"ruleId":"D1","level":"warning","message":{"text":"render_report.render (cyclomatic 27): render_report.render 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":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"083fab2ec1abc933ae851a854c6390358b0a80ba3884ba5b32c6c10cf53ba316"}},{"ruleId":"D1","level":"warning","message":{"text":"baseline_diff.read_baseline_evidence (cyclomatic 27): baseline_diff.read_baseline_evidence 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"515a478fbd535af3a47431c3359cd927409e107858c466cf18014fd450f9228d"}},{"ruleId":"D1","level":"warning","message":{"text":"server.mcp.setRequestHandler() (cyclomatic 27): server.mcp.setRequestHandler() has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cda1842881e700995ad9fcfcba60301f8064d325ec0a884d4b87835808bc85d"}},{"ruleId":"D1","level":"warning","message":{"text":"pane.modules (cyclomatic 27): pane.modules has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 267). 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":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1c2f9bafbb961e4d66eef82e99d40eccbbb08efbefe905c4679c13bb9ca025"}},{"ruleId":"D1","level":"warning","message":{"text":"make_shards.from_tree (cyclomatic 26): make_shards.from_tree 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":"plugins/code-modernization/scripts/make_shards.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cea56597aa2877aed055c40b636ec53724b334a0ea6b73cc16dc3591b5a151"}},{"ruleId":"D1","level":"warning","message":{"text":"estate.paint (cyclomatic 26): estate.paint 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":"plugins/code-modernization/hooks/map/estate.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8265b7482f7b84c74d13da07abb97e3952533303c945c3277c4fe4605346a781"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.output_section (cyclomatic 25): Page.output_section 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45d65aba7ed0048ea91809aae3046b4013f06775bb488ee800aeec19517d3f2"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.evaluate (cyclomatic 25): proof_pack.evaluate 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc5aa3cfd741c593dd80710af54a88147e8d464a7814e370822411eca40de55"}},{"ruleId":"D1","level":"warning","message":{"text":"RuleEngine._extract_field (cyclomatic 25): RuleEngine._extract_field 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":"plugins/hookify/core/rule_engine.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ca3b78f1fc616c0bc3cbb704a2b84a35f0df2c0b4f88ff03f6cf1847a70551"}},{"ruleId":"D1","level":"warning","message":{"text":"ensure_agent_sdk._pip_err_from_stderr (cyclomatic 25): ensure_agent_sdk._pip_err_from_stderr 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":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"392b21630770f0b43277a06796ff8c6b2fe019cf068822e0cd08d73f9f269151"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 25): (anonymous) has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 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":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b12b72414a2355d4df16e708385c4e9a4374384ccdda47332ac84447f30a7b"}},{"ruleId":"D1","level":"warning","message":{"text":"plant_setup.work_view (cyclomatic 24): plant_setup.work_view has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4803a8e01250c99389e560550d0b8e634f308f7da156301b1a9e126a752a7d6"}},{"ruleId":"D1","level":"warning","message":{"text":"plant_setup._work_selftest (cyclomatic 24): plant_setup._work_selftest 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e66c3c9d25d05077bba1360e76f8f773112dcf8f4f85cdeb2911ef839904f00"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.scrap_section (cyclomatic 24): Page.scrap_section 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8e5dfcdace0fb5fcec2e1c532f202e4731a57eba353447e529092ac62dee56"}},{"ruleId":"D1","level":"warning","message":{"text":"baseline_diff.assess_baseline (cyclomatic 24): baseline_diff.assess_baseline 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9460b1259caaaa276655347cd8e16df5d86b4b9c9ef0be8e8a81de3da107e8"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.check_fresh (cyclomatic 24): proof_pack.check_fresh 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84799a97d053d3833b6fc0117134f83f8102c19e529488a69aa3cfe43207143"}},{"ruleId":"D1","level":"warning","message":{"text":"server.mcp.setRequestHandler() (cyclomatic 24): server.mcp.setRequestHandler() 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":"external_plugins/imessage/server.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b1034311a1dc81781cd4a90b55ee908cf9f215db98aee16fdb190c20d3c095"}},{"ruleId":"D1","level":"warning","message":{"text":"rules.cardOf (cyclomatic 24): rules.cardOf has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/rules.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"365d90a7cae8cd6f26ea9820ebd27aa23a549ea906100686cf0c6d5aad54e0e6"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.fold_diagnoses (cyclomatic 23): Pulse.fold_diagnoses 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"378394b1cb3eca8034ba50f74178d9931d77b053843e5b3f6fe692b05b6123b2"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_rules.parse_rules (cyclomatic 23): trace_rules.parse_rules 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":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4193ad1a43e962fb30484224a36ae234a78f33e3a9109a201728de4eb444c20d"}},{"ruleId":"D1","level":"warning","message":{"text":"ledger.check (cyclomatic 23): ledger.check 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":"plugins/math-proof/skills/siege/scripts/ledger.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd68edcd7a78637161d7591c6c4fe22c30f4246da375113422b1b68d888ecdd2"}},{"ruleId":"D1","level":"warning","message":{"text":"security_reminder_hook.check_patterns (cyclomatic 23): security_reminder_hook.check_patterns 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":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"508b8fc195b78f1ab8a789fece54fde74225fae1733e24b02c3c8ff2a60eed36"}},{"ruleId":"D1","level":"warning","message":{"text":"improve_description.improve_description (cyclomatic 23): improve_description.improve_description 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":"plugins/skill-creator/skills/skill-creator/scripts/improve_description.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6572251d44f42127637c29029a32fbd4d8376894ee6dbf50df22e4d5954322d"}},{"ruleId":"D1","level":"warning","message":{"text":"quick_validate.validate_skill (cyclomatic 23): quick_validate.validate_skill 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":"plugins/skill-creator/skills/skill-creator/scripts/quick_validate.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e65185da7c3ba8f23c2fc016b2db41ccb3065e0b218af923bf6e2f019823d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"uplift.parseBaseline (cyclomatic 23): uplift.parseBaseline 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":"plugins/code-modernization/hooks/reader/uplift.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bd2479a22350f88cd3494b97ce81f7bba7497fd3d867a415902cab24a737a9"}},{"ruleId":"D1","level":"warning","message":{"text":"analyze-sessions.handleUser (cyclomatic 23): analyze-sessions.handleUser 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":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c90fa5fdd69216733ae43401a045d9f0e10fb34dd0533e206ee84d3a3e6505"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.source_check (cyclomatic 22): proof_pack.source_check 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d77c5fcd000ed18993c5c52fcbd5053390b611ebd5be225ab2d3abdd81d586d"}},{"ruleId":"D1","level":"warning","message":{"text":"_base.interp_reparse_metric (cyclomatic 22): _base.interp_reparse_metric 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":"plugins/security-guidance/hooks/_base.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc6effcec8a43146ef3735115c20086a7a5c8b4a10bbb77f19a260564f436b"}},{"ruleId":"D1","level":"warning","message":{"text":"llm.analyze_code_security (cyclomatic 22): llm.analyze_code_security 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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cfd16de6eb9edaa985855f3110879d5a1d33d22de497b758a6354cdd816f8f"}},{"ruleId":"D1","level":"warning","message":{"text":"generate_report.generate_html (cyclomatic 22): generate_report.generate_html 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":"plugins/skill-creator/skills/skill-creator/scripts/generate_report.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7727f85ccf31e8d11307e88cc22ce365b7ccb6f43870251c75aa442c650faaa"}},{"ruleId":"D1","level":"warning","message":{"text":"progress.nextOfTransform (cyclomatic 22): progress.nextOfTransform 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":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3d22bdf35b82dfc082a91c232dc0ec7914f505fcd18d00de6856d31d8ca0b4"}},{"ruleId":"D1","level":"warning","message":{"text":"raster.codePointOf (cyclomatic 22): raster.codePointOf has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/map/raster.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35ef51726b22f6c46603412e384172f72942bb0eac462e91e352994cbfa268c"}},{"ruleId":"D1","level":"warning","message":{"text":"Ladder._match (cyclomatic 21): Ladder._match 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"8babc493364433b8c47c9612bedbe370233bab5df00eb804207f51f87e49a0a7"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.rank_events (cyclomatic 21): Pulse.rank_events 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c10fadb3198622b3042499651c7e8d8bd046d8ea5730c297aa19b925e51029"}},{"ruleId":"D1","level":"warning","message":{"text":"render_report.notifications_of (cyclomatic 21): render_report.notifications_of 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":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7664979c009e7c6b919237a600ebfddc202ed1f2f08b0ad5ce2396fe4197812"}},{"ruleId":"D1","level":"warning","message":{"text":"compare.judge (cyclomatic 21): compare.judge 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":"plugins/code-modernization/scripts/compare.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e428ddc7a2e6d1e7c49e0f706145d4a1d305c1bdbcd7bd188770dd56daad1fe"}},{"ruleId":"D1","level":"warning","message":{"text":"make_shards.main (cyclomatic 21): make_shards.main 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":"plugins/code-modernization/scripts/make_shards.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0c83b20404fa3587c6543bb5bc47aa3ed4078ad5ee53d3f3d430aab21cb6bc"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregate_benchmark.load_run_results (cyclomatic 21): aggregate_benchmark.load_run_results 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":"plugins/skill-creator/skills/skill-creator/scripts/aggregate_benchmark.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1968efb962d6785d68a06eb4b3f1bdd9dc6d40abc7780611c8835d45d4ad6322"}},{"ruleId":"D1","level":"warning","message":{"text":"mine-transcripts.renderHTML (cyclomatic 21): mine-transcripts.renderHTML has cyclomatic complexity 21 (threshold 15). Of this number, 17 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":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"76848611d5d2b20227585274855fccc15c51250438fd0ce2c4ec96bf7d7f5a7d"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.days (cyclomatic 20): Pulse.days 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6702030d32db844cbd57fe668bdd9594a83105e9cf9c4c0692dcf9f3a5e9ccd7"}},{"ruleId":"D1","level":"warning","message":{"text":"pulse_compute.load_exports (cyclomatic 20): pulse_compute.load_exports 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a60171f99fa4c071c7a5a6cb81f32e0a7a11444b932176cdfdc8c76079f7a1"}},{"ruleId":"D1","level":"warning","message":{"text":"Page.freshness (cyclomatic 20): Page.freshness 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d44af08f6f798b4400803788ddd9fd69477deb0e2696228b50f84b14aae7b7a"}},{"ruleId":"D1","level":"warning","message":{"text":"patch_artifacts.section_stat (cyclomatic 20): patch_artifacts.section_stat 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":"plugins/claude-security/scripts/patch_artifacts.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"4950d8ea278ed5e73af0a934ad682a5273d3e70fcb600d226e87f6b76e992d47"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.check_tests_state (cyclomatic 20): proof_pack.check_tests_state 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad13355a1588fcb7a666e557b07eeb22591e49200e9903e5b81d498f790e0fd"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.check_rules (cyclomatic 20): proof_pack.check_rules 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"764bded69455400ea69a467ab5a696414659db82bc6890f465c25b8f27f0b45a"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_rules.render (cyclomatic 20): trace_rules.render 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":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1587dcec3eb501bca4dd089f9b49d96853260e7047fd24fe7cb3816710e27475"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_rules.main (cyclomatic 20): trace_rules.main 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":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"8471c743d67c0511247f50e46c14ec61f3f3a19e90bb0a3ff687d3e285374bd7"}},{"ruleId":"D1","level":"warning","message":{"text":"ledger.main (cyclomatic 20): ledger.main 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":"plugins/math-proof/skills/siege/scripts/ledger.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c76c53d3c4e17dabac4ba43dd23292f1e8168ed95683fdbaf3f1d63ee503708"}},{"ruleId":"D1","level":"warning","message":{"text":"extensibility._validate_pattern (cyclomatic 20): extensibility._validate_pattern 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":"plugins/security-guidance/hooks/extensibility.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"120412e08f83e16641e3141b8633b30a1464b0cac77b39cc9d5a564edaea4033"}},{"ruleId":"D1","level":"warning","message":{"text":"generate_review.build_run (cyclomatic 20): generate_review.build_run 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":"plugins/skill-creator/skills/skill-creator/eval-viewer/generate_review.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bbac8235fea743c2a8102fb370d24f526cbdff3502ee122b1ce75ddb180103"}},{"ruleId":"D1","level":"warning","message":{"text":"topology-viewer.html.renderSidebar (cyclomatic 20): topology-viewer.html.renderSidebar 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":"plugins/code-modernization/assets/topology-viewer.html"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d71ef51c7faaf2a143680689aeb0cd36100ffb3d2033190f15c61e3e6fb5f0"}},{"ruleId":"D1","level":"warning","message":{"text":"pane.session (cyclomatic 20): pane.session 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":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"7656fd37a301236c61b3d11dea9762e04190cd743041c9b4168bfa88ab19d8ad"}},{"ruleId":"D1","level":"warning","message":{"text":"analyze-sessions.main (cyclomatic 20): analyze-sessions.main has cyclomatic complexity 20 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb705a83e9c77b6a4d96582a085054b374b1136b5ecbbfdcb7e1bf63d21a576"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.normalize (cyclomatic 19): Pulse.normalize 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"2687dfc0c2cba7ca225ab783a0007fe60060db473ad84255060e7f1c4e8768fd"}},{"ruleId":"D1","level":"warning","message":{"text":"compare.within_tolerance (cyclomatic 19): compare.within_tolerance 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":"plugins/code-modernization/scripts/compare.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e84279eeff8c438ac7ebab950eb4b97b4a29cc618ded1de9bc58878657572b0"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.suite_evidence (cyclomatic 19): proof_pack.suite_evidence 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a6e52abc97ed091f4427f29a7cda10e6db1d994e8dea95a4d0874d34825e0d"}},{"ruleId":"D1","level":"warning","message":{"text":"telemetry.snapshot (cyclomatic 19): telemetry.snapshot has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7ce7d397cc8724feb249a08c9e2a5886916a14b5387f2cdd9e162e3870ff6c"}},{"ruleId":"D1","level":"warning","message":{"text":"uplift_checks.main (cyclomatic 19): uplift_checks.main 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":"plugins/code-modernization/scripts/uplift_checks.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"538d4dec1cb6e907e52ae25d53e6cf66594e2a3ac50253e194040cc09df80e93"}},{"ruleId":"D1","level":"warning","message":{"text":"ledger.answers (cyclomatic 19): ledger.answers 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":"plugins/math-proof/skills/siege/scripts/ledger.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e5dcc13033ebd1b1b8826a5df22d82c45f39fd2c5798fc07cbac7fefddfbdd"}},{"ruleId":"D1","level":"warning","message":{"text":"diffstate.compute_v2_review_set (cyclomatic 19): diffstate.compute_v2_review_set has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f058b4f36c58d35650c2a06621258fd88650a0541f12e5049bdf1a688bb503"}},{"ruleId":"D1","level":"warning","message":{"text":"llm._call_claude_dual_or (cyclomatic 19): llm._call_claude_dual_or 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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46924d5136bcec861abbee9551993f0b77480ccd07c4db2b545d5e36e47feae"}},{"ruleId":"D1","level":"warning","message":{"text":"reporesolve.iter_git_repos (cyclomatic 19): reporesolve.iter_git_repos 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":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a764ff6db2637a20a29a8e2220bdf22a21a857e111d00965069c2dd42aa6d646"}},{"ruleId":"D1","level":"warning","message":{"text":"security_reminder_hook.emit_metrics (cyclomatic 19): security_reminder_hook.emit_metrics has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"72590f1f405c7390e2e8dd0352c9e8c49605d049635d74873106edc1596d72db"}},{"ruleId":"D1","level":"warning","message":{"text":"report-template.html.partNodes (cyclomatic 19): report-template.html.partNodes has cyclomatic complexity 19 (threshold 15). Of this number, 12 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15bcd21767dc640b63963ca1bdd2ae205d84ddafc9f2ea159af24bd64d69748"}},{"ruleId":"D1","level":"warning","message":{"text":"topology.parseTopology (cyclomatic 19): topology.parseTopology 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":"plugins/code-modernization/hooks/reader/topology.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"75099200a90d6d95cbfe298c592c1ca6022611c2822478fd5c5a06dad43ade3f"}},{"ruleId":"D1","level":"warning","message":{"text":"modernized.readTestsAt (cyclomatic 19): modernized.readTestsAt has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"28493ed86f97ee119ff553911180d49a26666e2f9f415975b3ed343513d2ec96"}},{"ruleId":"D1","level":"warning","message":{"text":"plant_setup.details_html (cyclomatic 18): plant_setup.details_html 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"509e0bada569779e81ba99718d9d6d5ff36d4771d0e815674cfa4b906df31275"}},{"ruleId":"D1","level":"warning","message":{"text":"plant_setup.prune (cyclomatic 18): plant_setup.prune 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd70c85bd57f92ce9ab18c87b5e6aedf79757c971f4061a0d8b7fbfa81ea7cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Pulse.downtime (cyclomatic 18): Pulse.downtime 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b8ffcb9776f18bf7674d75d5427aa840ad1a1fbf3d6782dcb623862d85f9ea"}},{"ruleId":"D1","level":"warning","message":{"text":"finding.relative_path (cyclomatic 18): finding.relative_path 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":"plugins/claude-security/scripts/lib/finding.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b5273d426d0cdeae238d0f0ad4085c746b8c683c5e018ca17bfe9f7a070e88"}},{"ruleId":"D1","level":"warning","message":{"text":"baseline_diff.render (cyclomatic 18): baseline_diff.render 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6046b82d20069e0e5a36b3b2404a783198031c3325dfdcc42e574de5abb00fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.baseline_state (cyclomatic 18): proof_pack.baseline_state 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"8470b6c4c52c1117bc69b8796a398e67fcca375caaf2442d040158331945c45b"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.check_same (cyclomatic 18): proof_pack.check_same 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"157c20a3f217630e48d6d3d9e20b79390b4c056565296dddb6da7281c8913987"}},{"ruleId":"D1","level":"warning","message":{"text":"ledger.early_conclude_ok (cyclomatic 18): ledger.early_conclude_ok 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":"plugins/math-proof/skills/siege/scripts/ledger.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18228d0ad4ac041373dc0820a903e8de7ea49a386e755057b6b28cb0f2a5719"}},{"ruleId":"D1","level":"warning","message":{"text":"_base._record_usage (cyclomatic 18): _base._record_usage 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":"plugins/security-guidance/hooks/_base.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6320d10bf59e53903b9479553611a6e4c1ee2182408828befbcee1d61e64334a"}},{"ruleId":"D1","level":"warning","message":{"text":"gitutil.filter_preexisting_from_diff (cyclomatic 18): gitutil.filter_preexisting_from_diff 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":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8a32064a9fccba3d52c812ff03e329e254ee54c7a71573a9d12aac654af0c1"}},{"ruleId":"D1","level":"warning","message":{"text":"server.gate (cyclomatic 18): server.gate 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":"external_plugins/telegram/server.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"55de0cba7347606223281ca90a9d47becbb0ee12671cadc436b74efcf071ce18"}},{"ruleId":"D1","level":"warning","message":{"text":"report-template.html.draw (cyclomatic 18): report-template.html.draw 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 3 function literals inside it that branch (lines 481, 478, 492). 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5f65bd0e073c6b18f65381f5e0abb60f36624a50f726ce1a9ce1a3926c74d8"}},{"ruleId":"D1","level":"warning","message":{"text":"rules.parseRules (cyclomatic 18): rules.parseRules has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 362, close). 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":"plugins/code-modernization/hooks/reader/rules.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61caf0294f726730b3f978efd1607d3b7e1ca359c661384a8f3bbaa013647ba"}},{"ruleId":"D1","level":"warning","message":{"text":"ledger.parseLedger (cyclomatic 18): ledger.parseLedger 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":"plugins/code-modernization/hooks/review/ledger.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"957fd03604b7d4cd8498a671774a47751f92d2867f6adbe65dc6438d1571cdf8"}},{"ruleId":"D1","level":"warning","message":{"text":"write_scan_meta.tree_extent (cyclomatic 17): write_scan_meta.tree_extent 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":"plugins/claude-security/scripts/write_scan_meta.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"73820fc0d67ec6cf730f5a3075749ec215ae063d2bb1722b8573a125a64fcea9"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.not_proven (cyclomatic 17): proof_pack.not_proven 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a743cd91d3ffa6a5deb40d9695e6d013b0deac28d38f2b61dbd716b2a5894eb"}},{"ruleId":"D1","level":"warning","message":{"text":"diffstate._diff_review_started (cyclomatic 17): diffstate._diff_review_started 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":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2f6ec6b4ff2ddf763a7e0a696a9d3806855c408763fdeee2c1e014c56f0251"}},{"ruleId":"D1","level":"warning","message":{"text":"server.handleInbound (cyclomatic 17): server.handleInbound 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":"external_plugins/telegram/server.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aece312c6a6ae9693d5221ac853a39ba9788bf6ad5d3fc89c265a00ef6b2c2"}},{"ruleId":"D1","level":"warning","message":{"text":"extract-rules.verifyAndFold (cyclomatic 17): extract-rules.verifyAndFold 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 2 function literals inside it that branch (lines 474, 451). 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":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6be6c92ca24e6cd62fc92d9b65d09e04f23c98d2db9dbacc01631d6a1532e99"}},{"ruleId":"D1","level":"warning","message":{"text":"hooks.metrics (cyclomatic 16): hooks.metrics 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":"plugins/claude-security/hooks/hooks.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7a3ba4d333268310aeb95e9107f1f94f9a659bbb829bdd8d8695943bd09f1b"}},{"ruleId":"D1","level":"warning","message":{"text":"hooks.tip (cyclomatic 16): hooks.tip 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":"plugins/claude-security/hooks/hooks.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"970938d925984c1fa53bea4c0cccbd0c36b3c9d1c30545afcaebae11bab5e66b"}},{"ruleId":"D1","level":"warning","message":{"text":"save_result.checked (cyclomatic 16): save_result.checked 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":"plugins/claude-security/scripts/save_result.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd33da91b34c736a66950d6c38a83388b9fbf5969a129d14c71b4c4cf2f3ac57"}},{"ruleId":"D1","level":"warning","message":{"text":"write_scan_meta.capture_revision (cyclomatic 16): write_scan_meta.capture_revision 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":"plugins/claude-security/scripts/write_scan_meta.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07bdbbd3ece96393af0a9591721c397ab4108ceda8c8c02748a54354edf1a22"}},{"ruleId":"D1","level":"warning","message":{"text":"baseline_diff.result_files (cyclomatic 16): baseline_diff.result_files 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fefcf8347b0c13d80c00a47a6a366673974b3ec236f33377ce3abbcf5c3155"}},{"ruleId":"D1","level":"warning","message":{"text":"baseline_diff.read_results (cyclomatic 16): baseline_diff.read_results 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e4f8f604c61c47f1a2aae4f0aeb883c776f889362aa7ce3ae57ad16404d409"}},{"ruleId":"D1","level":"warning","message":{"text":"baseline_diff.parse_results_json (cyclomatic 16): baseline_diff.parse_results_json 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06cc70582153b666215d17fd0e72fb23005a2b6b2ae6d6086b6232f51e8ccdc"}},{"ruleId":"D1","level":"warning","message":{"text":"build_report.proof_view (cyclomatic 16): build_report.proof_view 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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af49454e48bf302c62f3923e69a799c05813c4ca60c962f3a22c01ac5bcb894"}},{"ruleId":"D1","level":"warning","message":{"text":"compare.self_check (cyclomatic 16): compare.self_check 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":"plugins/code-modernization/scripts/compare.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44a23fd773002dbbdf4372b7b205be99f4af0db391e0dc4e7dcc0f1ba9ed275"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.check_canary (cyclomatic 16): proof_pack.check_canary 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"27693c33e6c62b455ff36e064a3bd626846bf141209b0a5064f9107dac83bbb9"}},{"ruleId":"D1","level":"warning","message":{"text":"proof_pack.build (cyclomatic 16): proof_pack.build has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"447587560e1258c3bfd70ec6e9c2335011258c555458bf846fa7b8f8013b8b7b"}},{"ruleId":"D1","level":"warning","message":{"text":"diffstate.turn_commits_code (cyclomatic 16): diffstate.turn_commits_code 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":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"03186b3d39b52679938a5659a3a1c5583e4e4afdad064c9d2d64eb77ae35100b"}},{"ruleId":"D1","level":"warning","message":{"text":"llm._net_error_class (cyclomatic 16): llm._net_error_class 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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ca9f0d3320b0e2064f885c1f911b05ccd93e858910924f70a7271320af5fe0"}},{"ruleId":"D1","level":"warning","message":{"text":"reporesolve.repos_from_paths (cyclomatic 16): reporesolve.repos_from_paths 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":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"123b4c87a1067179482863dbe5524c62f412f19882fa0619fa5a8872328d7ac0"}},{"ruleId":"D1","level":"warning","message":{"text":"server.gate (cyclomatic 16): server.gate 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":"external_plugins/discord/server.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5cf8ed5ce3e53c7711265eab506762faf9588fc8705439543d1cce59442135"}},{"ruleId":"D1","level":"warning","message":{"text":"discover.walk (cyclomatic 16): discover.walk has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 88, 86). 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":"plugins/code-modernization/hooks/reader/discover.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f58eea658a3ebb3ba3a0e624a80a581750c4eadfc64a01660c3d39a3bea481"}},{"ruleId":"D1","level":"warning","message":{"text":"discover.directoryUnits (cyclomatic 16): discover.directoryUnits has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/discover.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ec23875fb0bafc8cc4397cbe21f65d8d5432495a8ad0fb56d619dff75d506b"}},{"ruleId":"D1","level":"warning","message":{"text":"progress.oneLineOf (cyclomatic 16): progress.oneLineOf 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":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"672456f037ddba7ca88cf4a56137c241ffd85cda77aed6f48bfbeef3b6b80920"}},{"ruleId":"D1","level":"warning","message":{"text":"xray.upliftXray (cyclomatic 16): xray.upliftXray 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":"plugins/code-modernization/hooks/xray/xray.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9581ecf0a88f8543499cbb477f06b3f5e7c1df486655350d157f1fe976947259"}},{"ruleId":"D1","level":"warning","message":{"text":"mine-transcripts.gitCommitsWithOurWork (cyclomatic 16): mine-transcripts.gitCommitsWithOurWork 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":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd68c0989397f43e426f100fc4a65c3c5f30d9b732ae6b5af066d1d93dfcaf7"}},{"ruleId":"D1","level":"warning","message":{"text":"analyze-sessions.printText (cyclomatic 16): analyze-sessions.printText 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":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcb3e27c87774e5b3a979db8ffdb9f71ea4bab73421b9e1c7a11cad9570f876"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 16): (anonymous) 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":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5a1e04fcfe67095cefeee8a6cb917715f2c1a91536b2e1afa46ecd2992e509"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze-sessions.processFile (cognitive 201): analyze-sessions.processFile has cognitive complexity 201 (threshold 15). Drivers by points: if/else 45 (146 pts), boolean chains 36, loops 6 (12 pts), ternaries 2 (5 pts), error handling 1 (2 pts) (nesting depth added 111). 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":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b99f094520b95f61b5c10b525d68cafb8ec2cc7b15d8e97aa26587ed064077"}},{"ruleId":"D2","level":"warning","message":{"text":"viewer.html.renderBenchmark (cognitive 181): viewer.html.renderBenchmark has cognitive complexity 181 (threshold 15). Drivers by points: if/else 23 (58 pts), loops 12 (48 pts), ternaries 11 (46 pts), boolean chains 29 (nesting depth added 106). Of this number, 169 points are the body\u0027s own statements and 12 belong to 7 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf5d95d1852a354a6d5cfc1d7e1df004c008e66309a06ff58ea81ad4987b0a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.one_day (cognitive 179): Pulse.one_day has cognitive complexity 179 (threshold 15). Drivers by points: if/else 47 (82 pts), boolean chains 42, ternaries 20 (38 pts), loops 13 (17 pts) (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9c2e780da5c9ebd909df5e699a639eafe77c1823bd2451f543c3e0db5b3135"}},{"ruleId":"D2","level":"warning","message":{"text":"progress.readSnapshot (cognitive 165): progress.readSnapshot has cognitive complexity 165 (threshold 15). Drivers by points: ternaries 25 (54 pts), if/else 28 (48 pts), boolean chains 44, loops 9 (19 pts) (nesting depth added 59). Of this number, 159 points are the body\u0027s own statements and 6 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":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"b767231acfa6676895d877380f414625956d8744a0bf946db9237acb048b3827"}},{"ruleId":"D2","level":"warning","message":{"text":"security_reminder_hook.handle_commit_review_posttooluse (cognitive 129): security_reminder_hook.handle_commit_review_posttooluse has cognitive complexity 129 (threshold 15). Drivers by points: if/else 53 (72 pts), ternaries 20 (33 pts), boolean chains 18, error handling 2 (3 pts), loops 3 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae99416d15da09ec09244ac1b9763181c7784fccec29fc194a2471829a736a7"}},{"ruleId":"D2","level":"warning","message":{"text":"security_reminder_hook.handle_stop_hook (cognitive 123): security_reminder_hook.handle_stop_hook has cognitive complexity 123 (threshold 15). Drivers by points: if/else 47 (64 pts), ternaries 18 (29 pts), boolean chains 21, loops 3 (5 pts), error handling 2 (4 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f36e567e8c767a42a1f26fb77d4c460d1af327cd813cc4c475e32b5ce4bfef"}},{"ruleId":"D2","level":"warning","message":{"text":"reporesolve.dirs_from_command (cognitive 120): reporesolve.dirs_from_command has cognitive complexity 120 (threshold 15). Drivers by points: if/else 26 (84 pts), boolean chains 18, ternaries 4 (13 pts), loops 2 (5 pts) (nesting depth added 70). 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":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f7f117f61ea23b1e692dc56f6b4ac961faa080f5484c836b64854acb605a72"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.freshness (cognitive 117): Pulse.freshness has cognitive complexity 117 (threshold 15). Drivers by points: if/else 25 (59 pts), ternaries 18 (32 pts), loops 10 (18 pts), boolean chains 8 (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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ffe86663f62c737df764d20f117631de9b564cf7a0ab81e71c27abd96cec7b"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.render_md (cognitive 102): proof_pack.render_md has cognitive complexity 102 (threshold 15). Drivers by points: if/else 22 (43 pts), ternaries 16 (43 pts), boolean chains 14, loops 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"3835134b104558e2f2bb00456138645f513de3ae3aa55bf380e191241a84e74f"}},{"ruleId":"D2","level":"warning","message":{"text":"security_reminder_hook.main (cognitive 99): security_reminder_hook.main has cognitive complexity 99 (threshold 15). Drivers by points: if/else 34 (74 pts), boolean chains 11, ternaries 2 (7 pts), error handling 2 (4 pts), loops 1 (3 pts) (nesting depth added 49). 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":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e0556d0cb530a0c98bb592d0042bbf2f66041be133f604f5d81106cff89447"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.output (cognitive 94): Pulse.output has cognitive complexity 94 (threshold 15). Drivers by points: if/else 22 (43 pts), ternaries 13 (24 pts), loops 12 (17 pts), boolean chains 10 (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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e7dbca7553b60ab7815e25d0eabb350663f8b9dacde8c1df2eb7a282c9da29"}},{"ruleId":"D2","level":"warning","message":{"text":"security_reminder_hook.handle_push_sweep_posttooluse (cognitive 94): security_reminder_hook.handle_push_sweep_posttooluse has cognitive complexity 94 (threshold 15). Drivers by points: if/else 40 (49 pts), boolean chains 20, ternaries 8 (15 pts), error handling 3 (7 pts), loops 2 (3 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":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cc038847f8c2d38aa0caa45e0073222567b915a5f6683b4d3048a16c16080a"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.classes (cognitive 93): Pulse.classes has cognitive complexity 93 (threshold 15). Drivers by points: if/else 29 (54 pts), loops 13 (22 pts), boolean chains 9, ternaries 2 (8 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"218475992e0152c138ec13d200fab8756876d0cc9df7212e8954446bf425604f"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_rules.trace (cognitive 93): trace_rules.trace has cognitive complexity 93 (threshold 15). Drivers by points: if/else 18 (50 pts), loops 8 (15 pts), ternaries 3 (15 pts), boolean chains 13 (nesting depth added 51). 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":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"71dc0d2f8a5a8e20b80b2365e2ea6ee2a0e1e8524a5c9ba7df669416d37a3129"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.rollup (cognitive 89): Pulse.rollup has cognitive complexity 89 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 15 (20 pts), boolean chains 17, ternaries 8 (17 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b202740152b9fbd02acdacde5aa08a61bb6cb914f2e6d44bee6fdcfa45bffe55"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.parse_baseline (cognitive 85): baseline_diff.parse_baseline has cognitive complexity 85 (threshold 15). Drivers by points: if/else 13 (36 pts), ternaries 7 (26 pts), loops 6 (15 pts), boolean chains 8 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dba7911a030729b543dfe8b467021239d9ee2204367244396253964ee29c9a"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.compare (cognitive 80): baseline_diff.compare has cognitive complexity 80 (threshold 15). Drivers by points: if/else 21 (45 pts), loops 10 (18 pts), boolean chains 10, ternaries 2 (7 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d86779e8a50a39fa1117452d9328f2267443c9ea78bac552ae07cdb36da3d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.emit (cognitive 79): Pulse.emit has cognitive complexity 79 (threshold 15). Drivers by points: if/else 16 (27 pts), loops 11 (21 pts), ternaries 11 (20 pts), boolean chains 11 (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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d1586ef2ea11ba91c2d64b64116324a386bbfeb39da7df81fd66f152ad2321"}},{"ruleId":"D2","level":"warning","message":{"text":"run_eval.run_single_query (cognitive 79): run_eval.run_single_query has cognitive complexity 79 (threshold 15). Drivers by points: if/else 20 (66 pts), loops 3 (7 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 52). 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":"plugins/skill-creator/skills/skill-creator/scripts/run_eval.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97d59a953432c9f4c1be5394bcb0bc2a33ea3dba682a1d7e84980384eb1ef56"}},{"ruleId":"D2","level":"warning","message":{"text":"build_report.proof_module (cognitive 77): build_report.proof_module has cognitive complexity 77 (threshold 15). Drivers by points: if/else 23 (29 pts), ternaries 22 (25 pts), boolean chains 20, loops 3 (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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b72caacafac92029fc1362cc8e378cd7963726b989d77ac526b8cff994d0f34"}},{"ruleId":"D2","level":"warning","message":{"text":"ensure_agent_sdk.main (cognitive 75): ensure_agent_sdk.main has cognitive complexity 75 (threshold 15). Drivers by points: if/else 24 (36 pts), boolean chains 26, error handling 7 (10 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":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e3c15bb9c21cd19d7f38a61299630750ebcf89e9437f3604b33898bc7f1cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.exceptions (cognitive 72): Pulse.exceptions has cognitive complexity 72 (threshold 15). Drivers by points: if/else 14 (33 pts), ternaries 8 (20 pts), loops 8 (12 pts), boolean chains 7 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab15a3afd7e0b2afdfc62b70ab8b71e94f6935889b524ab6782418b440c249d"}},{"ruleId":"D2","level":"warning","message":{"text":"llm._agentic_review (cognitive 71): llm._agentic_review has cognitive complexity 71 (threshold 15). Drivers by points: if/else 28 (44 pts), boolean chains 9, error handling 5 (8 pts), loops 2 (5 pts), ternaries 2 (5 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d28d0f354bed1d8ee2aa1c3ef74f97abc981916710b82a1de53c1431a3f53ed"}},{"ruleId":"D2","level":"warning","message":{"text":"topology-viewer.html.draw (cognitive 69): topology-viewer.html.draw has cognitive complexity 69 (threshold 15). Drivers by points: if/else 19 (40 pts), boolean chains 11, loops 5 (10 pts), ternaries 3 (8 pts) (nesting depth added 31). Of this number, 65 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":"plugins/code-modernization/assets/topology-viewer.html"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1480e6ba84a34fe1f1929a03b559499a7ab903293031891eac515e5246190673"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.check (cognitive 68): Page.check has cognitive complexity 68 (threshold 15). Drivers by points: if/else 22 (36 pts), boolean chains 13, loops 10 (13 pts), ternaries 3 (6 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"2579a13b4c59a603305d897becfa89f2b3bca0e3d69485e5d207a67e3c8ee107"}},{"ruleId":"D2","level":"warning","message":{"text":"report-template.html.proofModule (cognitive 67): report-template.html.proofModule has cognitive complexity 67 (threshold 15). Drivers by points: boolean chains 24, if/else 15 (23 pts), ternaries 8 (20 pts) (nesting depth added 20). Of this number, 62 points are the body\u0027s own statements and 5 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"181c59de01cf999d8181afda349642ad0e789178fe2c85823d478efaa79d61b8"}},{"ruleId":"D2","level":"warning","message":{"text":"xray.xrayOf (cognitive 63): xray.xrayOf has cognitive complexity 63 (threshold 15). Drivers by points: if/else 21 (34 pts), ternaries 11 (19 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 22). Of this number, 61 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":"plugins/code-modernization/hooks/xray/xray.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96cadc3ec0aa1a7155dc8f953e9f8e56fd1c6b35c48969d52b538366ac31e7f"}},{"ruleId":"D2","level":"warning","message":{"text":"render_rules.main (cognitive 60): render_rules.main has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (29 pts), boolean chains 14, loops 7 (11 pts), ternaries 2 (5 pts), error handling 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":"plugins/code-modernization/scripts/render_rules.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"343f94f871812b4adde1e6113c6151068454989dbaef15456cb51d7462b1b09d"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregate_benchmark.load_run_results (cognitive 58): aggregate_benchmark.load_run_results has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (31 pts), error handling 4 (15 pts), loops 4 (10 pts), boolean chains 2 (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":"plugins/skill-creator/skills/skill-creator/scripts/aggregate_benchmark.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b997b9b7b71d4fadc289c0bcd9acd9fdbf428a011ab327d0bbc3baeae1230d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"discover_bumps.main (cognitive 57): discover_bumps.main has cognitive complexity 57 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 5 (13 pts), loops 5 (9 pts), boolean chains 7, error handling 2 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/discover_bumps.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e280c120adc0c6f59c8264872cff96fb59756140bde0b4a68c4ad9026715e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"build_report.equivalence_view (cognitive 57): build_report.equivalence_view has cognitive complexity 57 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 18, ternaries 11 (18 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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd63da1d75794282f8e1a8e579a1dab449808659f30a5afd4200448d4e343ef"}},{"ruleId":"D2","level":"warning","message":{"text":"llm._call_claude (cognitive 56): llm._call_claude has cognitive complexity 56 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 8, ternaries 2 (8 pts), error handling 3 (7 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"da55e9a8fe22bac0d0852903518d7e1c2ce307fc0689b8138b08d28272972d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"build_report.build (cognitive 55): build_report.build has cognitive complexity 55 (threshold 15). Drivers by points: if/else 21 (29 pts), ternaries 9 (13 pts), boolean chains 6, loops 3 (4 pts), 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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d40a19fd013f2282d16577d7e4d235b0bce9a9600753d68dfd38efd8b8014cb"}},{"ruleId":"D2","level":"warning","message":{"text":"run_loop.run_loop (cognitive 55): run_loop.run_loop has cognitive complexity 55 (threshold 15). Drivers by points: if/else 23 (44 pts), ternaries 5 (9 pts), boolean chains 1, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/scripts/run_loop.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f444fd37a1b043d2c3381393f5afce1a2b2e66bc30934029de3cfb8d37e42fd"}},{"ruleId":"D2","level":"warning","message":{"text":"pulse_compute.parse_profile (cognitive 54): pulse_compute.parse_profile has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (30 pts), loops 5 (12 pts), boolean chains 10, ternaries 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce54a3fc6f11f95b86851676059166644aed701964f2c671c9fb480e89349106"}},{"ruleId":"D2","level":"warning","message":{"text":"server.mcp.setRequestHandler() (cognitive 54): server.mcp.setRequestHandler() has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 12 (28 pts), if/else 5 (11 pts), loops 3 (6 pts), boolean chains 5, error handling 2 (3 pts), match/switch 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":"external_plugins/telegram/server.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"51775b42c26658c205a1b668112743cb2c6188851b28a059364336a7496e6180"}},{"ruleId":"D2","level":"warning","message":{"text":"uplift_checks.parse_deltas (cognitive 53): uplift_checks.parse_deltas has cognitive complexity 53 (threshold 15). Drivers by points: if/else 13 (33 pts), boolean chains 8, loops 4 (6 pts), ternaries 2 (6 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":"plugins/code-modernization/scripts/uplift_checks.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1dd58092824f56ab02c527e75c3522597df8c51cdef323a95abfd8fd26aef7"}},{"ruleId":"D2","level":"warning","message":{"text":"config_loader.extract_frontmatter (cognitive 51): config_loader.extract_frontmatter has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (36 pts), boolean chains 10, loops 2 (5 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/hookify/core/config_loader.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f0f36c1646780b24c8228d0be4e7aab13dce6c7b1443f4640f1f00dc03fb94"}},{"ruleId":"D2","level":"warning","message":{"text":"report-template.html.inline (cognitive 51): report-template.html.inline has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 16, ternaries 4 (15 pts), loops 1 (nesting depth added 19). Of this number, 49 points are the body\u0027s own statements and 2 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f273e3ff4402567dbcd525cf0219c820f1d2751b0702e22a2a34da84ce5d32"}},{"ruleId":"D2","level":"warning","message":{"text":"security_reminder_hook.check_patterns (cognitive 50): security_reminder_hook.check_patterns has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (33 pts), error handling 3 (9 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dfdabe231cf1689aebae7685efffed5b27c7b783a1217e2210cab364d1b862"}},{"ruleId":"D2","level":"warning","message":{"text":"report-template.html.md (cognitive 49): report-template.html.md has cognitive complexity 49 (threshold 15). Drivers by points: loops 6 (16 pts), if/else 10 (14 pts), ternaries 3 (10 pts), boolean chains 9 (nesting depth added 21). Of this number, 42 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"758fd6c20441412d5608785d7d4e518e7f20d210b613745e5e236ab64cc0ee6c"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.decisions (cognitive 48): Pulse.decisions has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 8 (15 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"13422509a70b88e94a76488fc9b039c65b9f27d4ddfc7d432ca4dc9a48127eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"make_shards.from_tree (cognitive 48): make_shards.from_tree has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 9, loops 5 (8 pts), ternaries 1 (5 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":"plugins/code-modernization/scripts/make_shards.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"950758fa7650472ba282cf29a78b79aa1d6152ac1802561115bc3f5e28be0a6b"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_rules.parse_rules (cognitive 46): trace_rules.parse_rules has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (30 pts), ternaries 5 (11 pts), loops 3, boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f0fad223cd2eedccc08e957f66682d7fe75795e94c6c51e0387d229bcf8f4f"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.context (cognitive 45): Pulse.context has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 8, ternaries 4 (8 pts), loops 2 (4 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd89fd95f835103808e03e35c09677419ee2d3add1eb6ebdf4fa5a28bff2d001"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.read_baseline_evidence (cognitive 45): baseline_diff.read_baseline_evidence has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 6, loops 3 (5 pts), error handling 1 (2 pts), ternaries 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c5b1a390d7c66f52c9d9b927a6c408ba9ab4b68c5014d8724d81572e5103de"}},{"ruleId":"D2","level":"warning","message":{"text":"pulse_compute.load_exports (cognitive 44): pulse_compute.load_exports has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 3 (7 pts), boolean chains 5, error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca26939964262f13ec35972a80f35bc1baf1fa6233089313b161e8a0e027e1b5"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_review.build_run (cognitive 44): generate_review.build_run has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (27 pts), error handling 3 (10 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/eval-viewer/generate_review.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa5e635d5857f4d7b7eda7bbfdc0213de9a90e4d76f0c37486f04c29236b55c"}},{"ruleId":"D2","level":"warning","message":{"text":"server.mcp.setRequestHandler() (cognitive 44): server.mcp.setRequestHandler() has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 5 (11 pts), loops 4 (8 pts), boolean chains 3, error handling 1, match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"2057e85c22dad64d137433a958bff2b6f1ba723ff77ee87cb265a582f069f865"}},{"ruleId":"D2","level":"warning","message":{"text":"estate.paint (cognitive 44): estate.paint has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 9 (24 pts), boolean chains 8, if/else 2 (6 pts), loops 3 (6 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":"plugins/code-modernization/hooks/map/estate.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"256485ad20f4790cb5264b74f78017516cccc7e386e1504a330dcb42630e3b9a"}},{"ruleId":"D2","level":"warning","message":{"text":"server.mcp.setRequestHandler() (cognitive 43): server.mcp.setRequestHandler() has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 8 (21 pts), if/else 4 (9 pts), loops 3 (6 pts), boolean chains 3, error handling 2 (3 pts), match/switch 1 (nesting depth added 22). Of this number, 37 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":"external_plugins/discord/server.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7295810972135febcd05e29924153037296b732d287c507239205448b556bf3"}},{"ruleId":"D2","level":"warning","message":{"text":"plant_setup.work_view (cognitive 42): plant_setup.work_view has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 6 (14 pts), boolean chains 5, loops 3 (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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16f1f246a51b458e5c4bbca4fd0bc7f0d4e3647601bba4a86a6b662ed5ec941"}},{"ruleId":"D2","level":"warning","message":{"text":"improve_description.improve_description (cognitive 42): improve_description.improve_description has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 5 (14 pts), loops 4 (10 pts), boolean chains 3 (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":"plugins/skill-creator/skills/skill-creator/scripts/improve_description.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f049ea3faf07c0e25fa28568eddb03c3210b656b33fdc91e57cf1d11d95e250b"}},{"ruleId":"D2","level":"warning","message":{"text":"server.handleInbound (cognitive 42): server.handleInbound has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (25 pts), ternaries 4 (8 pts), boolean chains 7, loops 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":"external_plugins/imessage/server.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f4d93cc1a9de511b5b608e380cf55a05318fe2d390baa9bb338a8e883712ad"}},{"ruleId":"D2","level":"warning","message":{"text":"uplift.parseBaseline (cognitive 42): uplift.parseBaseline has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 9 (24 pts), if/else 4 (9 pts), boolean chains 5, loops 3 (4 pts) (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":"plugins/code-modernization/hooks/reader/uplift.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a31c36e5206431a36dd02599f25a5305473c91698616380a2c3b03ec406b88"}},{"ruleId":"D2","level":"warning","message":{"text":"reporesolve.iter_git_repos (cognitive 41): reporesolve.iter_git_repos has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (25 pts), error handling 2 (6 pts), boolean chains 5, loops 2 (3 pts), ternaries 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":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b127f5946a97a20fd04b670090ae9b50c21674b1c30997f781f10774866d98ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.days (cognitive 40): Pulse.days has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 6 (20 pts), if/else 8 (13 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 22). 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaabb7ea52aa454c7e0163df5491690050007c29a4622f7fc3d5fd55783fe6e"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_report.generate_html (cognitive 40): generate_report.generate_html has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 11 (23 pts), loops 7 (12 pts), if/else 4 (5 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/scripts/generate_report.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5e4cd33bdcd1cfdab4c60c9d9489b3bb16aba6e161c85dd160a29b0bf51c77"}},{"ruleId":"D2","level":"warning","message":{"text":"write_scan_meta.record (cognitive 39): write_scan_meta.record has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 9, ternaries 8, loops 2 (3 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/write_scan_meta.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e2ba1e77f351cb2a48b167e19a555f612c9dfd62dff8b7bfd84786beee4add"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.result_files (cognitive 39): baseline_diff.result_files has cognitive complexity 39 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 3 (8 pts), boolean chains 5, error handling 1 (5 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ac53d3c0b9c002b45d0bccd4957e33e0959bb7aa8ab5059f2e013be75e69fc"}},{"ruleId":"D2","level":"warning","message":{"text":"plant_setup.details_html (cognitive 38): plant_setup.details_html has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 4 (11 pts), boolean chains 1, loops 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"011bcac30cde98214c47636e368977075235b0bc978da73c28e5405b4a4f5471"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.brief_items (cognitive 38): proof_pack.brief_items has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 6, ternaries 3 (4 pts), loops 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5832f0a1a35557681bbc05038207a1ce5115c04b249ad3bd936cab1c48aece"}},{"ruleId":"D2","level":"warning","message":{"text":"_base.interp_reparse_metric (cognitive 38): _base.interp_reparse_metric has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 3 (8 pts), boolean chains 4, loops 3 (4 pts), ternaries 3 (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":"plugins/security-guidance/hooks/_base.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5153685315d6d19678f91c5b8ba1fcfe29c31486f55718194c890699acea359b"}},{"ruleId":"D2","level":"warning","message":{"text":"brief.parseBrief (cognitive 38): brief.parseBrief has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 12, ternaries 4 (6 pts), loops 1 (nesting depth added 13). Of this number, 34 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":"plugins/code-modernization/hooks/reader/brief.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6579c8738cfdbb6dcfa620c53672fe098dd6214301dca10ea07e7c1f584bde95"}},{"ruleId":"D2","level":"warning","message":{"text":"plant_setup._selftest (cognitive 37): plant_setup._selftest has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 16, loops 8 (9 pts), error handling 4 (8 pts), 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e2ff3c8c07fe02048322b2523d1e979d4923687c4fd1953d1154bddf77ca0d"}},{"ruleId":"D2","level":"warning","message":{"text":"discover.walk (cognitive 37): discover.walk has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (22 pts), ternaries 3 (10 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 22). 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 88, 86). 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":"plugins/code-modernization/hooks/reader/discover.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9599dc39a78fe9e02430d6316a1df1009136f224539b0a506af7354b150d687d"}},{"ruleId":"D2","level":"warning","message":{"text":"deck.deckView (cognitive 37): deck.deckView has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 23 (27 pts), if/else 5, boolean chains 4, loops 1 (nesting depth added 4). Of this number, 33 points are the body\u0027s own statements and 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/deck.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94924a710d49f04ee5a51d1143143a8a3e478c15abf1ebf894296bc77ee9704"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.normalize (cognitive 36): Pulse.normalize has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 6 (12 pts), ternaries 2 (7 pts), boolean chains 4 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43e4b313bdd8e06a775bc018afd17f409e384eb11835cd7ee9fd6b6471f3632"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.output_section (cognitive 36): Page.output_section has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 8 (11 pts), boolean chains 4, loops 3 (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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf6940da3ba29ae7f68ae92f8ac474c6f0efe1df198f0bc266b2430900268b8"}},{"ruleId":"D2","level":"warning","message":{"text":"uplift_checks.main (cognitive 36): uplift_checks.main has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 7 (16 pts), loops 4 (9 pts), if/else 5 (7 pts), boolean chains 2, error handling 1 (2 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":"plugins/code-modernization/scripts/uplift_checks.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c08bc4cd0909de13fca180bf50b413200b237cc2ba0803a0ae92931e06d8ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 36): (anonymous) has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 2 (8 pts), boolean chains 5, loops 2 (3 pts), other 1 (nesting depth added 18). Of this number, 34 points are the body\u0027s own statements and 2 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":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"9414c3fd93fe0b9f2254f459c424160027bf3392a687e647db127c9d7ec2ab0b"}},{"ruleId":"D2","level":"warning","message":{"text":"compare.self_check (cognitive 35): compare.self_check has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 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":"plugins/code-modernization/scripts/compare.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6d01f2cf8efddbd6d3e6e80203a61e24954fcea12d37ed9b2906a56bfb1b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"RuleEngine._extract_field (cognitive 35): RuleEngine._extract_field has cognitive complexity 35 (threshold 15). Drivers by points: error handling 4 (16 pts), if/else 9 (16 pts), boolean chains 3 (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":"plugins/hookify/core/rule_engine.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f2f3e312fdabfbddd66ead154e6a0d27dd0cc37d42a028d4005a8922959542"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.check (cognitive 35): ledger.check has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 3 (6 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/math-proof/skills/siege/scripts/ledger.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb46b0e6d6a19179412cde3a456cd830954c9c01f859ecc8b57f934a9d5fcd73"}},{"ruleId":"D2","level":"warning","message":{"text":"progress.nextOfTransform (cognitive 35): progress.nextOfTransform has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 6 (14 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 14). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"92563a4f895c3bd5092727997ce176037665a01268e6452fc06408433bc88240"}},{"ruleId":"D2","level":"warning","message":{"text":"plant_setup.prune (cognitive 34): plant_setup.prune has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (5 pts), boolean chains 4, ternaries 1 (3 pts), error handling 1 (2 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"893df932741c25bbba3fd48d351f43aaa0197a64039ac6c9d3030b1a794857da"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.read_results (cognitive 33): baseline_diff.read_results has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 6 (14 pts), loops 5 (10 pts), if/else 2 (6 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"172db1c0e9acb6b2524c3e36bdbcd1aa0390dc50e37fcd2185b6a8f3c1c1730b"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.source_check (cognitive 33): proof_pack.source_check has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 6 (8 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c687c23a68acb3c36660c4f0b2158dbf5dc2178bbd6b25572c2a5dc59e2727"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.evaluate (cognitive 33): proof_pack.evaluate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 8 (11 pts), boolean chains 5, 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"981665b6a1dddb03e1291a08849b048502f8737fbf1f73ed4462ce6269478eac"}},{"ruleId":"D2","level":"warning","message":{"text":"gitutil.filter_preexisting_from_diff (cognitive 33): gitutil.filter_preexisting_from_diff has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 3 (5 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":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab7c85b27766022f6cd68ee25c40ad4b7a18b536d26d21bb866ce1ecf0f9ccc"}},{"ruleId":"D2","level":"warning","message":{"text":"verification.parseVerification (cognitive 33): verification.parseVerification has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 5 (8 pts), boolean chains 7, loops 2, error handling 1 (nesting depth added 10). 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":"plugins/code-modernization/hooks/reader/verification.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a61cbaf257c6f857f7e7e4fd090fb8566fed958531eddd2493e0824647f928f"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.fold_diagnoses (cognitive 32): Pulse.fold_diagnoses has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 11, ternaries 4 (8 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"8684334966cd8ae60e5fb969fc65619675f180a31158d2b7883384be3cb26305"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.answers (cognitive 32): ledger.answers has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 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":"plugins/math-proof/skills/siege/scripts/ledger.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f9661ae7c2adb114dd1d55783df755b176090fae9b7162dd0da0bb23a8232b"}},{"ruleId":"D2","level":"warning","message":{"text":"pane.session (cognitive 32): pane.session has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 14 (27 pts), loops 3, if/else 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":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c594b6a16a3153d4d473155d748838093fc84b6cd5822cdff996a6f1594284"}},{"ruleId":"D2","level":"warning","message":{"text":"pulse_compute.read_xlsx (cognitive 31): pulse_compute.read_xlsx has cognitive complexity 31 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 4 (9 pts), ternaries 2 (7 pts), boolean chains 3 (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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37ef455aa581bfb4c526cbe5d6e489c9b078f463c1e1343c0e1c0f73bda9e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"patch_artifacts.section_stat (cognitive 31): patch_artifacts.section_stat has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (7 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/patch_artifacts.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"effc4ae9f24890b34cca89b4914a7f1944ad5c44cbfa419bf8e8af6e64e434c2"}},{"ruleId":"D2","level":"warning","message":{"text":"uplift_checks.walk_tests (cognitive 31): uplift_checks.walk_tests has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (5 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/uplift_checks.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2942a1a5d05e3a79e51cb5b2222e3ad68d23cb392e3d0ee3b4385b60b695df9f"}},{"ruleId":"D2","level":"warning","message":{"text":"reporesolve.repos_from_paths (cognitive 31): reporesolve.repos_from_paths has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 2 (5 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 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":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eed33a68cdfabc4fc5b48619cdd74c30639f6c15db873ee1d86285102da370"}},{"ruleId":"D2","level":"warning","message":{"text":"report-template.html.renderGlance (cognitive 31): report-template.html.renderGlance has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 12, if/else 11 (12 pts), ternaries 3 (5 pts), error handling 1 (2 pts) (nesting depth added 4). Of this number, 27 points are the body\u0027s own statements and 4 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf8f39fb37954ccaeeb866a3c08ddbd8c6be95502119baf7429255e9be03a53"}},{"ruleId":"D2","level":"warning","message":{"text":"modernized.readTestsAt (cognitive 31): modernized.readTestsAt has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 5 (11 pts), loops 3 (4 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 15). Of this number, 28 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":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"005213234ed0a953d0f40e29c10363060b250a0de10c5f834ea614fce5b56912"}},{"ruleId":"D2","level":"warning","message":{"text":"pane.modules (cognitive 31): pane.modules has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 16 (24 pts), boolean chains 6, if/else 1 (nesting depth added 8). Most of this is not in the body itself: 6 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 267). 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":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4055fd73210c9a5fb65546ae3c7397ec09de96ed5944413df469db147789c76"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.rank_events (cognitive 30): Pulse.rank_events has cognitive complexity 30 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 10, ternaries 4 (7 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc161d226a81dca71177ceca734b5f8782147a1f20dc63ac06b2b06b00f11291"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.check_rules (cognitive 30): proof_pack.check_rules has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 3 (9 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"836503b4e251b4d1696c4634d31a46d59741c9049bd35915aa5bd4ea8eb86a19"}},{"ruleId":"D2","level":"warning","message":{"text":"treemap.squarify (cognitive 30): treemap.squarify has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 4 (8 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/map/treemap.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5bfcd91cac4b2d681fd477c1b7e944cc4b62fbfd11ba342eaed36edff1b383"}},{"ruleId":"D2","level":"warning","message":{"text":"compare.judge (cognitive 29): compare.judge has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 6 (11 pts), boolean chains 6, 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":"plugins/code-modernization/scripts/compare.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0a11255ff7aed8b8aed9b3da78777f2bae99bae66bddf5f20c31294b7b29d1"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.main (cognitive 29): ledger.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 4 (9 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/math-proof/skills/siege/scripts/ledger.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef37d09be5f639845db823bdc5571d7048a101b58234df3fe0289a40b9fe5631"}},{"ruleId":"D2","level":"warning","message":{"text":"quick_validate.validate_skill (cognitive 29): quick_validate.validate_skill has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/scripts/quick_validate.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1e500999961c7cd0c3f082e0c1467435d3e2d3a5f985c22170085210d656ef"}},{"ruleId":"D2","level":"warning","message":{"text":"server.gate (cognitive 29): server.gate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 3, loops 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":"external_plugins/telegram/server.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6bf12706f7d579ba7a8f9e84694921ca32f72c824202c9b314b69fdb9b9812"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze-sessions.handleUser (cognitive 29): analyze-sessions.handleUser has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 8 (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":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7bb18977777ccfebb7e179dee84e15ec06399025e6aa7670d2a225e420de64"}},{"ruleId":"D2","level":"warning","message":{"text":"render_report.render (cognitive 28): render_report.render has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (19 pts), ternaries 4, boolean chains 2, loops 2, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3df0d301859b38539d227ea2e9f7b55bc1ee4fd584a95fc1930637f210c35df"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.evidence_paths (cognitive 28): baseline_diff.evidence_paths has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 4, ternaries 1 (4 pts), loops 2 (3 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0d9d5ac017cb2e16ae8225e8b51e5573f65c7ff568152c948fa54f3b068e78"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.parse_results_json (cognitive 28): baseline_diff.parse_results_json has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 5, loops 1 (2 pts), ternaries 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c92cd43b6501a8222be6e6c55f254f989fa8f817d698f60e2192ac45faccfd4"}},{"ruleId":"D2","level":"warning","message":{"text":"make_shards.main (cognitive 28): make_shards.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 2, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/make_shards.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3653283ded7e31e4f74eeb473c85122319465124d17d85de28a1ecf4499489c3"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_rules.main (cognitive 28): trace_rules.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 4 (6 pts), boolean chains 4, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b84a7a4a1abc4ade8919d226d13a26cbc22f8e7320dc6ec37bc2f2ae6eeffe0"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 28): main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 5, loops 3 (4 pts), ternaries 2 (nesting depth added 8). Of this number, 24 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":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"113ac4d7ba2c76dd1263bf1b629d7f3fd32f5d4a6fa7ed4fc2d81f769632d247"}},{"ruleId":"D2","level":"warning","message":{"text":"Ladder._match (cognitive 27): Ladder._match has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (18 pts), ternaries 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad61573a24eb0dcd523235f739ad226a0ed5b513105794891b4378f9dad283a6"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.downtime (cognitive 27): Pulse.downtime has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 5 (8 pts), boolean chains 4, 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbb7ad03ec4e3060298bf70e7fe569fffa89cb514298276a6489f39c16261b8"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.scrap_section (cognitive 27): Page.scrap_section has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), ternaries 5 (7 pts), loops 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bb7c526b7b29e38c143c6fd19e94dc7a489fe28058ebce2dad62c7c6703f85"}},{"ruleId":"D2","level":"warning","message":{"text":"render_report.scan_of (cognitive 27): render_report.scan_of has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12, boolean chains 9, ternaries 3 (4 pts), error handling 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"56319ee76b2fdc61874df1eac3e6389fd91b0edd94a13c7506d3130b01214b1f"}},{"ruleId":"D2","level":"warning","message":{"text":"write_scan_meta.tree_extent (cognitive 27): write_scan_meta.tree_extent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 2 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/write_scan_meta.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9b591fb8a08715e37f9d8797ae4f9ab6327d9bb0b89d84e22adcdb7acd1caa"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.assess_baseline (cognitive 27): baseline_diff.assess_baseline has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, if/else 8 (12 pts), ternaries 1 (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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21000b29e063948fc12150efeb42ae3f16c04ba56f13fdb80cd663b618196b7"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.suite_evidence (cognitive 27): proof_pack.suite_evidence has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 4 (8 pts), boolean chains 5 (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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd42c7401b1c83b231744d9118cdee98be26ea365d7c617e0c19b830c57030ca"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.check_fresh (cognitive 27): proof_pack.check_fresh has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 10, boolean chains 6 (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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bc8eb8a472e0ba9bd178bed8c0412b27aa1129e06bbc19b149c4bca8e6b3ad"}},{"ruleId":"D2","level":"warning","message":{"text":"compare.within_tolerance (cognitive 26): compare.within_tolerance has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/compare.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"97de4facb1e18509f04a1327747d186f82d72381a46beac03076f221db17ec69"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.check_same (cognitive 26): proof_pack.check_same has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 3 (6 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48717f988427f906eb93a3eb313c25cd573d473fc79d3f5b3420fe3a15f1f85"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.early_conclude_ok (cognitive 26): ledger.early_conclude_ok 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":"plugins/math-proof/skills/siege/scripts/ledger.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19d9279655dc2b9c576f7d2c0b0320a572b77efc58db0af0ad293d96a8877b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.downtime_section (cognitive 25): Page.downtime_section has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (9 pts), loops 3 (4 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd9567e76bcac050c68e238f4d10df213f1ce1aa1b28685fa8217e87e5eac40"}},{"ruleId":"D2","level":"warning","message":{"text":"render_report.notifications_of (cognitive 25): render_report.notifications_of has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5, ternaries 3 (5 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":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd315326b532889eedd43559f2e7eeb53c423e60c1d8d22403ba72b04a4945f"}},{"ruleId":"D2","level":"warning","message":{"text":"ensure_agent_sdk._pip_err_from_stderr (cognitive 25): ensure_agent_sdk._pip_err_from_stderr has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 12, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc2d8273338db8e83ed1268cddfe64d248cc13bc2cac7a7d87e65053dbe88bc"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.analyze_code_security (cognitive 25): llm.analyze_code_security has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5, ternaries 4 (5 pts), loops 2, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"f114001ee6f83f2373c359820187917b9e079de62631d2d3588d6fea7dcfff29"}},{"ruleId":"D2","level":"warning","message":{"text":"report-template.html.partEquiv (cognitive 25): report-template.html.partEquiv has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 14, if/else 8, ternaries 3. Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 306, 302). 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1c7b922a4a6e99ec19229d48d0f031084862d988963f48f0c5b96177aa2d31"}},{"ruleId":"D2","level":"warning","message":{"text":"pane.planOf (cognitive 25): pane.planOf has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 18 (20 pts), if/else 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 10 belong to 11 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":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"33846e5684f9442718a2c7b3942a72fc7fae694c6ae80d18113a7cd061744ba9"}},{"ruleId":"D2","level":"warning","message":{"text":"extract-rules.verifyAndFold (cognitive 25): extract-rules.verifyAndFold has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"b776ad565905a8cf9d32b3df4e7a09ee61b3a7401ae3d7042ce3a1c5a61e2c88"}},{"ruleId":"D2","level":"warning","message":{"text":"server.gate (cognitive 24): server.gate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 2, loops 1 (2 pts), 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":"external_plugins/discord/server.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"121113ebe4e5cd1bb166dc491674777b74869f69defd31bb2a21f87a20cf3e6b"}},{"ruleId":"D2","level":"warning","message":{"text":"server.handleInbound (cognitive 24): server.handleInbound has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (17 pts), if/else 5 (6 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":"external_plugins/telegram/server.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6e9b2af1c7ed83c048b2faa4fbe249630cd855d7fd52b349c245dddf424889"}},{"ruleId":"D2","level":"warning","message":{"text":"topology.parseTopology (cognitive 24): topology.parseTopology has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 6, 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":"plugins/code-modernization/hooks/reader/topology.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f5594c3225afcc5a4ef298ce92c9d7900065e761c4f5574c603c6d4e8abb93"}},{"ruleId":"D2","level":"warning","message":{"text":"plant_setup.put_block (cognitive 23): plant_setup.put_block has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 9 (10 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be7c55b02e2615950ace83222621405b350141ad0cd54f28acadd19085cdf41"}},{"ruleId":"D2","level":"warning","message":{"text":"plant_setup._work_selftest (cognitive 23): plant_setup._work_selftest has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 18, error handling 3, loops 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9ea3375494e6342f670c3c2d9ea50d443d5ac0ce7e69a75afc969ae0e6f04f"}},{"ruleId":"D2","level":"warning","message":{"text":"finding.located (cognitive 23): finding.located has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/lib/finding.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8344c7072323c65a5adfab38411aae6993c4a8907de4acbaa22c1df51033ef27"}},{"ruleId":"D2","level":"warning","message":{"text":"write_scan_meta.capture_revision (cognitive 23): write_scan_meta.capture_revision has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, ternaries 1 (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":"plugins/claude-security/scripts/write_scan_meta.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bda616184944bf8bb56e1e11607d94a8d09a0dd8de3da9cf4d1b392b809f608"}},{"ruleId":"D2","level":"warning","message":{"text":"compare.parse_masks (cognitive 23): compare.parse_masks has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, loops 2 (4 pts), error handling 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/compare.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"193959a61e1afa6aebbf927ccfd9c59e5d794e957d91117c4095cd77be2e5404"}},{"ruleId":"D2","level":"warning","message":{"text":"diffstate._diff_review_started (cognitive 23): diffstate._diff_review_started has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9f364ec1f3763cc418a4cefe9d5e56b7f1a5f051e7a64b79cdbfe968191f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"_DiffKeeper._keep_added (cognitive 23): _DiffKeeper._keep_added has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a41b1b85f978cd34fc7089ad0c790b8aa6526b628b6df8d96da0ff935f34cc"}},{"ruleId":"D2","level":"warning","message":{"text":"gitutil._sweep_stale_indexes (cognitive 23): gitutil._sweep_stale_indexes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, error handling 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":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddcf4a0fb8c7602eb52cd0451959cf577e651911a83dfdcd8cee0c00992073a"}},{"ruleId":"D2","level":"warning","message":{"text":"server.gate (cognitive 23): server.gate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 2, loops 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":"external_plugins/imessage/server.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"22325dd2a4867429dd3a5ebda490ef40df7ea2f1e077b5b0d90c29449a4f3db8"}},{"ruleId":"D2","level":"warning","message":{"text":"mine-transcripts.gitCommitsWithOurWork (cognitive 23): mine-transcripts.gitCommitsWithOurWork has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (4 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23260459168de838ff97c11d592d9432602a590bd6c24d155fa82b97c41e3d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.breakdown (cognitive 22): Page.breakdown has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (7 pts), ternaries 2 (5 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80e3c3fe52f87234c410d1c7f391ef83aa9375714216a7f9a46d91ac0046ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"diffstate._mark_inflight (cognitive 22): diffstate._mark_inflight has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 4 (8 pts), boolean chains 2, ternaries 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":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce44ffd9394211d4875982702516303a68f548a2ae131e4fc04f3e16c68b5517"}},{"ruleId":"D2","level":"warning","message":{"text":"diffstate.compute_v2_review_set (cognitive 22): diffstate.compute_v2_review_set has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3, ternaries 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af23d39e84617565cd893cf5a46fbf51b0c21c2520d889457cec630b3bcfb3"}},{"ruleId":"D2","level":"warning","message":{"text":"extensibility._validate_pattern (cognitive 22): extensibility._validate_pattern has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 8, error handling 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/extensibility.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4d2755bc391830f495e9e362f30cfbdc1b2987b368cb25eb2b90ddd70515da"}},{"ruleId":"D2","level":"warning","message":{"text":"session_state.cleanup_old_state_files (cognitive 22): session_state.cleanup_old_state_files has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 3 (7 pts), boolean chains 2, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/session_state.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a488739beaa32ad53bf058f3e606c41d50370ab6ecfb7b67ac3ce1997acd2816"}},{"ruleId":"D2","level":"warning","message":{"text":"progress.oneLineOf (cognitive 22): progress.oneLineOf has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 4, boolean chains 3 (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec43b258bf7101669acfea065ab103771c5353478c6979882f10ec0dc4c85527"}},{"ruleId":"D2","level":"warning","message":{"text":"mine-transcripts.renderHTML (cognitive 22): mine-transcripts.renderHTML has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 5, if/else 3 (nesting depth added 2). 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: 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":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"935cbf93130cd1b3c227afe766fd2cdfdd67319f08c8b67b06fb24ee96b5eed2"}},{"ruleId":"D2","level":"warning","message":{"text":"plant_setup.install_work (cognitive 21): plant_setup.install_work has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (7 pts), boolean chains 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a28fa9f6ecc34750294793236f00ba1972b1e02dcded6f35e395013affe281f"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry.run_hook (cognitive 21): telemetry.run_hook has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (8 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"c788c3d1cb04d067000f70ce94a7aca1a4bd778b9e949801dea671140ca09e27"}},{"ruleId":"D2","level":"warning","message":{"text":"uplift_checks.delta_coverage (cognitive 21): uplift_checks.delta_coverage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (5 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":"plugins/code-modernization/scripts/uplift_checks.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab2f682e4794f94fd6ade69b0c4fd5a10f391787fcf10b9164cf6320b1c3ae0"}},{"ruleId":"D2","level":"warning","message":{"text":"gitutil._git_status_porcelain (cognitive 21): gitutil._git_status_porcelain has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, 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":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad2bf19dffbeff535618df2c3101573d307a635ae1f75f3923a57341c336981"}},{"ruleId":"D2","level":"warning","message":{"text":"llm._context_without_unreadable_store_certs (cognitive 21): llm._context_without_unreadable_store_certs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 3 (6 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d47622890f02e57d8700c86b25435ff7f6cd5bb4458a0f607d97446c34887b"}},{"ruleId":"D2","level":"warning","message":{"text":"llm._call_claude_dual_or (cognitive 21): llm._call_claude_dual_or has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (9 pts), loops 1, ternaries 1 (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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f7822c047087391e8cb87ac318d16b71a534caafa5a39858014bb575d40ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"security_reminder_hook.emit_metrics (cognitive 21): security_reminder_hook.emit_metrics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 2, 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":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c013042efa29c53913d6de4b4edcb6a8376f421d7a542909105d342930321e1"}},{"ruleId":"D2","level":"warning","message":{"text":"discover.directoryUnits (cognitive 21): discover.directoryUnits has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 3 (5 pts), loops 2, boolean chains 1 (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":"plugins/code-modernization/hooks/reader/discover.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f73f06a1d32e3990a3b34650757a27ddf366d5e5377a772336029b88e34b27"}},{"ruleId":"D2","level":"warning","message":{"text":"rules.parseRules (cognitive 21): rules.parseRules has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 5). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 362, close). 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":"plugins/code-modernization/hooks/reader/rules.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5c216fb04b538ba0bbddc421187d58c7034a30626d15eb99f57675b24242b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.freshness (cognitive 20): Page.freshness has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, boolean chains 5, 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, 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdba9b0e8bb7dae2bbf0aff1700ee2c62ccaa7fd99acf176be5bdf5b0724a59"}},{"ruleId":"D2","level":"warning","message":{"text":"build_report.modernized_docs (cognitive 20): build_report.modernized_docs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (6 pts), error handling 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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfadc12d98ef5614b15d399a6a0a9f2437882a0b10d9ad2dacd1b080da8c30f"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.check_tests_state (cognitive 20): proof_pack.check_tests_state has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, boolean chains 8, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a02d6402e18ec36754c116c643bfe9bbfd15ca638fd18deaf3471211eff767"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry.snapshot (cognitive 20): telemetry.snapshot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 4 (5 pts), loops 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":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f153d56570251d47f09a297dc947cb43b7aec4789eb02c1156fa3a80857e5ade"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_rules.walk_module (cognitive 20): trace_rules.walk_module has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"16577401569931cf7809c0a506cda34b86e12d580c70ee9b56a07d510ef7eb64"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_rules.render (cognitive 20): trace_rules.render has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 5, if/else 5, loops 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed7381e0ffcc4f75784898bfa350e789fc97c9a1dbd6febcfaed0958f27a8f5"}},{"ruleId":"D2","level":"warning","message":{"text":"_base._record_usage (cognitive 20): _base._record_usage has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (6 pts), loops 1 (2 pts), error handling 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/_base.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34f9e9c2eab1d6225aa1d6b78442045708651f71e89689a836d13f42dbfadc7"}},{"ruleId":"D2","level":"warning","message":{"text":"diffstate.turn_commits_code (cognitive 20): diffstate.turn_commits_code has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"2794ec03853e26ac3d78be318915e2890fe22717288c2888ced7001bcf79043d"}},{"ruleId":"D2","level":"warning","message":{"text":"gitutil._is_secret_shaped (cognitive 20): gitutil._is_secret_shaped has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bb401989cb9e36c161646262c55939996f59ee1869dfe4262aefd4874fd136"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.gateway_review_cli (cognitive 20): llm.gateway_review_cli has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 3 (5 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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"6216a02e63fc748bdf1a46f0173228a92df0383b9cc11a1efca13b7bc85294aa"}},{"ruleId":"D2","level":"warning","message":{"text":"report-template.html.listItems (cognitive 20): report-template.html.listItems has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"417280add6cfe3e4fd9f2e805af93bee8b19be38451ab50e67a37801467a791f"}},{"ruleId":"D2","level":"warning","message":{"text":"Pulse.shift_coverage (cognitive 19): Pulse.shift_coverage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 1 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47856201cf3c6fb3181cecfa357a148c9d434d9de364ac9de495fda4b27d25a"}},{"ruleId":"D2","level":"warning","message":{"text":"patch_artifacts.report_findings (cognitive 19): patch_artifacts.report_findings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/patch_artifacts.py"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba7acbc95a921feb6d8943be451a028d0a42b92beac5574fca73efa4705601d"}},{"ruleId":"D2","level":"warning","message":{"text":"render_report.verification_summary (cognitive 19): render_report.verification_summary has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 4 (5 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":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b2c5920e8e8db8bde3aaf1813cae4688b5b0e9c0398e1c38a7451ef090e332"}},{"ruleId":"D2","level":"warning","message":{"text":"build_report.security_facts (cognitive 19): build_report.security_facts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c252ccc4aed9546c785bf1cb573b94e3da44120cec7d9f0a1960361486e5d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.check_canary (cognitive 19): proof_pack.check_canary has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 3 (6 pts), boolean chains 5, loops 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfa6b197ef65d9ea9cfeace02f2cbf6c963298fa090afa9d4137decfc9a8d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry.built_kind_and_count (cognitive 19): telemetry.built_kind_and_count has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (5 pts), boolean chains 3, 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":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"874911c3a6abe3f7cfbb8238d22a4486b951d9ea08672f73cac0e388885461a7"}},{"ruleId":"D2","level":"warning","message":{"text":"llm._net_error_class (cognitive 19): llm._net_error_class has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 2 (3 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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"06110ca5fa53dccf3814ffc907a3068a017a37165b338696c3b0d8135ecb0222"}},{"ruleId":"D2","level":"warning","message":{"text":"security_reminder_hook._claim_bash_hook_once (cognitive 19): security_reminder_hook._claim_bash_hook_once has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 4 (6 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95c84c10b81af383335d86a6f93627847da83b6c7103ba26a4cd3548b572c06"}},{"ruleId":"D2","level":"warning","message":{"text":"rules.cardOf (cognitive 19): rules.cardOf has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (5 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/rules.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"baad460474154f6f6929ee2f01f63027e8e8a9356051312c8290bae01fa81b91"}},{"ruleId":"D2","level":"warning","message":{"text":"pane.nextBlock (cognitive 19): pane.nextBlock has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (15 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":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b3845c152372f89085c1eb5c4c0b71a037d6f4eda0d66712a2b53c332bb6f5"}},{"ruleId":"D2","level":"warning","message":{"text":"register.register::nodesTouched::take (cognitive 19): register.register::nodesTouched::take has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9edd0b8fc76ffa63755d5820a839589723ef4e7e7da45c0598a2aaa1dc5c196"}},{"ruleId":"D2","level":"warning","message":{"text":"plant_setup.problems (cognitive 18): plant_setup.problems has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1addc25603e16dcebc159d1312e02e135a7784808ff425c091756dd735ffe82d"}},{"ruleId":"D2","level":"warning","message":{"text":"plant_setup.work_problems (cognitive 18): plant_setup.work_problems has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e03a6f12f8eaedfaca4a144ecdcc135d8f34a3979a8f869a2847dbb1defca6a"}},{"ruleId":"D2","level":"warning","message":{"text":"finding.relative_path (cognitive 18): finding.relative_path has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 3, error handling 3, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/lib/finding.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"05955a23fdeca98f6b57a8491a79fc3796c5c70934b7b6dd9a73ab4d54bd6538"}},{"ruleId":"D2","level":"warning","message":{"text":"write_scan_meta.sanitize_remote (cognitive 18): write_scan_meta.sanitize_remote has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (4 pts), boolean chains 3, error handling 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":"plugins/claude-security/scripts/write_scan_meta.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66804c7df33f19ef71de32666bb1010e4d8b436674a98f5424e6309af7ce44e"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.render (cognitive 18): baseline_diff.render has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 6 (7 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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0864ba58f82a8544769919ac931ae42199711e2a369345f2e1134b04ed3dff7"}},{"ruleId":"D2","level":"warning","message":{"text":"build_report.parse_rules (cognitive 18): build_report.parse_rules has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, 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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1847c83167666622bdac72e927c2bd349ace240cb3ee91fadd9812528e970b58"}},{"ruleId":"D2","level":"warning","message":{"text":"build_report.rule_facts (cognitive 18): build_report.rule_facts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e85a7ce1daa30caca31ca0229033319201c4d83ff3019ebc5113f8f41fadd8e"}},{"ruleId":"D2","level":"warning","message":{"text":"build_report.baseline_facts (cognitive 18): build_report.baseline_facts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (4 pts), ternaries 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":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29249e265229bf95dc67c21b3b60da1cedf775e8ca7da12495a524d30374e84"}},{"ruleId":"D2","level":"warning","message":{"text":"compare.mask_spans (cognitive 18): compare.mask_spans has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (3 pts), loops 2, 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":"plugins/code-modernization/scripts/compare.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f707a3f56e367171807072527fd060bcac67ab4f1979c4cfdd201ff056115ca"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.baseline_state (cognitive 18): proof_pack.baseline_state has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 4, ternaries 1 (2 pts), 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a96b5493e4d80b32ebcd859ede50cc6626125b112d31f72e14fab1d578a235d"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.not_proven (cognitive 18): proof_pack.not_proven has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 5, loops 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2df6e726ef213484724ee41dcad0610e7ae1524078d9753840be36898fdbbd"}},{"ruleId":"D2","level":"warning","message":{"text":"gitutil._copy_slot (cognitive 18): gitutil._copy_slot has cognitive complexity 18 (threshold 15). Drivers by points: error handling 3 (7 pts), if/else 4 (7 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":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c642c60744b052efd708b585e72bf416805ce730b7ed1057dbaf0d43e383b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.parse_skill_md (cognitive 18): utils.parse_skill_md has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (6 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":"plugins/skill-creator/skills/skill-creator/scripts/utils.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2c64342ec74e849f594d79ee96a0c059116200780e690993f9b121ae03dd6b"}},{"ruleId":"D2","level":"warning","message":{"text":"modernized.readNotes (cognitive 18): modernized.readNotes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (2 pts) (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":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff16844509c213022db2bacf88b0da7dcffc5fccc4743e267578c1a4aaf7deb"}},{"ruleId":"D2","level":"warning","message":{"text":"ledger.parseLedger (cognitive 18): ledger.parseLedger has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, ternaries 3 (6 pts), if/else 3 (4 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":"plugins/code-modernization/hooks/review/ledger.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4b8db00b5f74519d31b97eca25363353ec257d589fd208d6fc24ff0c59e70c"}},{"ruleId":"D2","level":"warning","message":{"text":"Page.n (cognitive 17): Page.n has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 4, boolean chains 1, 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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f46dba327ab480fe15a1c8578fa1998720cdf3cbbd97e5020b60796508f892"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.load_test_runs (cognitive 17): proof_pack.load_test_runs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 6, loops 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"20adcca7875a4949e0810694fe517b11bb81f8a3682f702b6e76b16bbff1924b"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry.goal_code (cognitive 17): telemetry.goal_code has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9c8252de928250d4c395b990453755e93d1036502d34a07f69ea277487d8fb"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry.failure_metrics (cognitive 17): telemetry.failure_metrics has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb748f4bf4f434469164a61aabeda0e362661cbf647eeb80f61f23a8b3dc293"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry.show (cognitive 17): telemetry.show has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"d707d504654c381b8bffdda90cb0663e287669af6c1bf1f9b64bf2722c4e2905"}},{"ruleId":"D2","level":"warning","message":{"text":"config_loader.load_rules (cognitive 17): config_loader.load_rules has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 3 (6 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":"plugins/hookify/core/config_loader.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e990c8a256b133637bb215f20370326cfb7c6d72f0bd22159472766ee9ec72"}},{"ruleId":"D2","level":"warning","message":{"text":"diffstate._hunk_keys (cognitive 17): diffstate._hunk_keys has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 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":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed918953ad253b3bec8735d0ef78f869e27ba82b1e2729ef2b3db9fc5ff3186"}},{"ruleId":"D2","level":"warning","message":{"text":"gitutil._sweep_stale_stash_indexes (cognitive 17): gitutil._sweep_stale_stash_indexes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (3 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf398ed6f95856366a7eecd65925be9d03dff405faa8eba4a0999f994e94471"}},{"ruleId":"D2","level":"warning","message":{"text":"gitutil._gitlink_paths (cognitive 17): gitutil._gitlink_paths has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"422d6e286a2bd5182a0d1db6d14c31742cba94e8e68043c7fb4f495a640a56d4"}},{"ruleId":"D2","level":"warning","message":{"text":"gitutil._parse_diff_header (cognitive 17): gitutil._parse_diff_header has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (7 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":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3070a125abcec8b89d963e366ddd4c49d838c3d79a031fc7ac950381dbd4a03"}},{"ruleId":"D2","level":"warning","message":{"text":"llm._net_error_flags (cognitive 17): llm._net_error_flags has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce406f1df219a8b7109d9ccec4a1d44f6ff9e7c368773bc2d6274b02f7f764a7"}},{"ruleId":"D2","level":"warning","message":{"text":"server.handleInbound (cognitive 17): server.handleInbound has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 6, error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"445312cc7e57882dce1d1964bbf89a874a278cfb8443e6331ce3468c728ab25b"}},{"ruleId":"D2","level":"warning","message":{"text":"report-template.html.buildList (cognitive 17): report-template.html.buildList has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b042458c0a98ac903bf3c9407bd96987855dc3b593e6b5dd4f0a6078fafaab8f"}},{"ruleId":"D2","level":"warning","message":{"text":"viewer.html.renderGrades (cognitive 17): viewer.html.renderGrades has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 5, if/else 2 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8ab2644ef1e07de3ed8a44bcf895a688d64a3adfc6d1cf75223895c67c7dd3"}},{"ruleId":"D2","level":"warning","message":{"text":"printText (cognitive 17): printText has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6, loops 5, ternaries 2 (4 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":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f53c41b66cc1ea17ce801805b67f4406151e02d1e1bba8367159c68a303efd"}},{"ruleId":"D2","level":"warning","message":{"text":"patch_artifacts.build_claims (cognitive 16): patch_artifacts.build_claims has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/patch_artifacts.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"690f6b5eaf39ee65f08dbac1a3a7fbfd0c1fff64e52dc295bd4f066f6b22b671"}},{"ruleId":"D2","level":"warning","message":{"text":"patch_artifacts.index_markdown (cognitive 16): patch_artifacts.index_markdown has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 2 (6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/patch_artifacts.py"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b078c5c1cc4a6e963128c43e247d54e3cc419f84ecaea3a8cd536e57c2b60e"}},{"ruleId":"D2","level":"warning","message":{"text":"baseline_diff.parse_runner_log (cognitive 16): baseline_diff.parse_runner_log has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedea33fb19e468eb1532eca7a41e7a32bd0dc0c51e34c94dce363c82373274a"}},{"ruleId":"D2","level":"warning","message":{"text":"Source.read (cognitive 16): Source.read has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 2 (4 pts), boolean chains 3, error handling 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de81cbabb0e97126ee2ae43d5ef1625049b2509796c04d61f7beddc96ec6992"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.code_mtime (cognitive 16): proof_pack.code_mtime has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae184b2c55f87aeedd490977e6ca4e18425169a3d6b46d727e3852a81118d1f"}},{"ruleId":"D2","level":"warning","message":{"text":"proof_pack.build (cognitive 16): proof_pack.build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, error handling 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":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8f5f44213faa1c8f30ffe55dbc0ff94dbc99f7666e68ec3d9ac71a21c8262d"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_rules.run_evidence (cognitive 16): trace_rules.run_evidence has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/trace_rules.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5509860c2ce419e9bfd00879a98b89ddfec6f453ebc2b30c12bcf986c571fd61"}},{"ruleId":"D2","level":"warning","message":{"text":"extensibility.edit_stats (cognitive 16): extensibility.edit_stats has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 3, error handling 1 (3 pts), loops 1, 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":"plugins/security-guidance/hooks/extensibility.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"19890810889d87b5bd094570744b7264dcb1a087966ff42061e7ca1f4df22bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"extensibility.search_custom_regexes (cognitive 16): extensibility.search_custom_regexes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), error handling 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/extensibility.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f328550c2e3de0cf132234b1b8c3006b243c11da40f0029d41ef1136e8c71282"}},{"ruleId":"D2","level":"warning","message":{"text":"llm._fetch_newest_models (cognitive 16): llm._fetch_newest_models has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 2 (4 pts), 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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b5db61a886f2f57fc45fad4d5f3f7fb5277fb5190d2df26e79f53ee3164fed"}},{"ruleId":"D2","level":"warning","message":{"text":"report-template.html.draw (cognitive 16): report-template.html.draw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 481, 478, 492). 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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cf4b9579c5aa08e751e884947fb2f7a4ca1f9b92912c7e553d09c4f051b56e"}},{"ruleId":"D2","level":"warning","message":{"text":"uplift.parseCatalog (cognitive 16): uplift.parseCatalog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (5 pts), boolean chains 2, ternaries 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":"plugins/code-modernization/hooks/reader/uplift.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c08ff4d054ead988fbc92b391e9cce9e409e2b0eb9755f120fe3e742e84244"}},{"ruleId":"D2","level":"warning","message":{"text":"xray.upliftXray (cognitive 16): xray.upliftXray has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 4, 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":"plugins/code-modernization/hooks/xray/xray.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a041001019b8c363b13bcbab4c0cb249d68fdb075ccb1c89572f36a29462a5dc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 16): (anonymous) has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, ternaries 5 (6 pts), if/else 4 (nesting depth added 1). 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: 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":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cabf70e9b418d99a7e474c8053d4f0fe8290a0cc8aa40869440236b7c339c3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: register.register: FunctionTooLong \u2014 register runs 710 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 610 over it, 7.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":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9572711329a1b105d38828335282ef9fabbb73468eca282bc4e958220ecb07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/pulse_compute.py: FileTooLong \u2014 2014 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1514 over it, 4.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":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffff43c9984ecf3a94ab8168796560fc55c24713a909c04505a63bbb5cbcced"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/security_reminder_hook.py: FileTooLong \u2014 1988 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1488 over it, 3.98\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d99e0ff57f140679f108a93ccb53181bff57fc0312f21a484eac2607003d22f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/llm.py: FileTooLong \u2014 1679 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1179 over it, 3.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":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1536e331f22595d9cd8c5a962d836706b1cfdd710bc098f923c2cba4617544c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/gitutil.py: FileTooLong \u2014 1349 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 849 over it, 2.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"042b9d27a60dcefbb57c5bac51d2af7f3695c3b242f0a9a3d569b5c4a113997d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/plant_setup.py: FileTooLong \u2014 1004 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 504 over it, 2.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":"plugins/claude-for-manufacturing/shared/scripts/plant_setup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39da628e24fc92a3ba2309fd2deb05a998842e8cf8ffe7925cedbfd42a75c628"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/patch_artifacts.py: FileTooLong \u2014 971 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 471 over it, 1.94\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/patch_artifacts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4065ca0dc3b0ab5205c15baedf5e7c29eb226f2bc00854cc307a9934d0a55b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: register: ClassTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 310 over it, 1.78\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":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5559a26b98bc04d0ff8ec6443687b1cbfa11bef1440a6ef24b4a93d83cc19ddc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/diffstate.py: FileTooLong \u2014 839 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 339 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":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd11a972c0b61988eaf05fc1ee0540a697875dc0f9d11ba0f20d2e98e8dde250"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/proof_pack.py: FileTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 314 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"306399eaca00bc723d63ebd162f4aaabb4e657563bfacb20c2497a1544751799"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analyze-sessions.processFile: FunctionTooLong \u2014 processFile 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":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5594d303f77cec317ff3553e69d828f05080766ed5b60ab2d79beba75209a3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/register.ts: FileTooLong \u2014 783 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: register (104-1296). The bar is 500 significant lines; this is 283 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"380f7eb043b318e15f9849ea0df3f43e7d23d0ee298296f2dda0125f6cdadd4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/mine-transcripts.mjs: FileTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 258 over it, 1.52\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":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb5ba0023c0e0a973321cf9ac4a42b2ca181a77061735ef957a9075dcfba18d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/render_report.py: FileTooLong \u2014 715 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 215 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ce0d8b9124676b551dcc07b47f047322737f993447b53478afba8540562df6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: viewer.html.renderBenchmark: FunctionTooLong \u2014 renderBenchmark 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":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed928e7a39201b45169527c716701ec4ce53767ce7959457c66e23f198acb8b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/render_short.py: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 192 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d39d1da2d186a2ceef5bbe087097a75184b5adfc1b0dad71f3c81a1817a392"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: telegram/server.ts: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 186 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8511ff4986ea88a7f3785307a5491198268e18f528e1a36ca2cd050eeb0ec5a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/baseline_diff.py: FileTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 150 over it, 1.30\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":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6b3f6c704121195d2563b321f2f7e001d141af32ef54bfa877cca2f3149ee0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deck.deckView: FunctionTooLong \u2014 deckView runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/deck.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"283c3fde547f9f54afffcf684b075001b8461d7fa4eb3f915fbd3d311aaa3c64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reader/progress.ts: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30978c93c1e8059f6ebbe97e20dee164e4ce8203f91eb1d191309cd83d166e9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session-report/analyze-sessions.mjs: FileTooLong \u2014 605 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 105 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c736ba0094bc797c427170ff88362ede34f2e1cc41e82b2a25db89c09c1800"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/build_report.py: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 100 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee548d067eba367fbfde0664aee46a0d4cea37cd1b98a861802d784c4109687"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: discord/server.ts: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 91 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":"external_plugins/discord/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8ab98de438f672a39d4aff989ab7f3307daa90350a4366c46f039d1c473a2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/ensure_agent_sdk.py: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef568fee6bdbc21507c148207795dee9635f7dc468df45de9555b832271aed2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/telemetry.py: 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":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d731ffd292db296a7edba545e37daacedd90f12cd9787238443adabbbb5cbb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imessage/server.ts: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 69 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d617072f79163e353b1f374a668c8e637148169f6e2f634714199a6a9ea72901"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflows/extract-rules.js: FileTooLong \u2014 538 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 38 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":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a612033fc4ebc4d84fce67360fb63e49809fab7e0aa4c8c2b74425571f49243b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): plugins/hookify/hooks/posttooluse.py:27-58 | plugins/hookify/hooks/pretooluse.py:28-62 | plugins/hookify/hooks/stop.py:27-51 | plugins/hookify/hooks/userpromptsubmit.py:27-50 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/hookify/hooks/posttooluse.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e8fb7fcc39d226073dd994d8cbd9033ad1c8d07b5a638d5449017ceb92a252"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): plugins/security-guidance/hooks/llm.py:1512-1542 | plugins/security-guidance/hooks/review_api.py:369-398 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe3a4c8e3ccde823209c5ea8daa29e01f77976c639083c86dbac62a999e2a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): plugins/code-modernization/scripts/build_report.py:673-692 | plugins/code-modernization/scripts/compare.py:431-448 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32b0489cdc20aed00d72c3810e13cc00f2b3db6b4894f42815f31084d3d9be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): plugins/code-modernization/scripts/baseline_diff.py:111-125 | plugins/code-modernization/scripts/build_report.py:127-137 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"306297f7cd5a34ecd909763d471b67fcb676e7bc2b91677a9b13af14db695ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): plugins/security-guidance/hooks/llm.py:513-537 | plugins/security-guidance/hooks/review_api.py:34-64 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"325ebcb4a0f0af57b83800d530a38f746428a7f8632119a0bfa3061b8bee49b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): plugins/security-guidance/hooks/gitutil.py:210-232 | plugins/security-guidance/hooks/gitutil.py:1069-1092 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17437ac58e3dff35776e26e9d0dcf9eb1d34d92b9ace03f2bf25cd92b73b066"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): plugins/code-modernization/scripts/baseline_diff.py:89-92 | plugins/code-modernization/scripts/build_report.py:120-123 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5880ffcbb04fb3bd4700a673658378d71e315e0284bc33f0a9ef0684fbe83d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): plugins/security-guidance/hooks/gitutil.py:1013-1027 | plugins/security-guidance/hooks/gitutil.py:1096-1108 | plugins/security-guidance/hooks/gitutil.py:1165-1185 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df57a318056da88a59316d88e84de308f185779cdc99b5e0271c5501ede7891"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): plugins/code-modernization/scripts/baseline_diff.py:56-57 | plugins/code-modernization/scripts/trace_rules.py:77-78 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d38e051b1199403ff7bb4eed92eacff7635b787db9e44140a568de7f1aaa59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): plugins/claude-security/scripts/patch_artifacts.py:1269-1278 | plugins/claude-security/scripts/write_scan_meta.py:536-545 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/patch_artifacts.py"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c527d2d768a9dc4f4b7bdca0b3b1928b9d064d2f6aab60f470013c4b6126de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): plugins/security-guidance/hooks/llm.py:1915-1925 | plugins/security-guidance/hooks/security_reminder_hook.py:1285-1299 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb67f08aa78d3c932a45faae8df241719c9212c2f59466ac5d36bb326999359e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): plugins/claude-security/scripts/lib/chain.py:20-25 | plugins/claude-security/scripts/save_result.py:108-113 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/lib/chain.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa87cca474815e5aa1bf9acbcfe4e9dd8502c7b3f805b62198f394f3bf6ec8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): plugins/security-guidance/hooks/llm.py:2629-2684 | plugins/security-guidance/hooks/review_api.py:212-267 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":2629}}}],"partialFingerprints":{"codehealthFindingId/v1":"1320bbfce83a58f9f4fd592c98a604dcc7444ad10b3086aab3493c83e43ff893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201333 lines \u00D7 2): plugins/hookify/hooks/posttooluse.py:27-56 | plugins/hookify/hooks/pretooluse.py:28-60 \u2014 before extracting anything, compare \u0060plugins/hookify/hooks/posttooluse.py\u0060 and \u0060plugins/hookify/hooks/pretooluse.py\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/hookify/hooks/posttooluse.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b544cf72d3a6cc41336eae8e49bd67cbb5f98fc34f7daef36c6b5827326d93c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201328 lines \u00D7 2): plugins/security-guidance/hooks/llm.py:2578-2605 | plugins/security-guidance/hooks/review_api.py:325-342 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cbfc4b78d583f5b2084baf1cf3d17f4218ee2dc8325f7fab44de8115de4d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): plugins/hookify/hooks/stop.py:27-49 | plugins/hookify/hooks/userpromptsubmit.py:27-48 \u2014 before extracting anything, compare \u0060plugins/hookify/hooks/stop.py\u0060 and \u0060plugins/hookify/hooks/userpromptsubmit.py\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/hookify/hooks/stop.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52ae344e5a6b58d796fee92c982c20c88d02e62da2e89fee233bec8b0675d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201321 lines \u00D7 2): plugins/security-guidance/hooks/llm.py:1524-1537 | plugins/security-guidance/hooks/review_api.py:371-391 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plugins/security-guidance/hooks/review_api.py:371\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5d04c5aaa94f7d354b8a7cddfeb4500643b33110bc3fc4f5afb265ee52a430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): plugins/security-guidance/hooks/security_reminder_hook.py:2155-2172 | plugins/security-guidance/hooks/security_reminder_hook.py:2628-2641 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plugins/security-guidance/hooks/security_reminder_hook.py:2628\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dad4bc9ca3c22e9c2cffc06ee0bb995cf3182edaf9cbc3bf56c4312b980a7a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): plugins/hookify/hooks/posttooluse.py:44-58 | plugins/hookify/hooks/pretooluse.py:47-62 | plugins/hookify/hooks/stop.py:36-51 | plugins/hookify/hooks/userpromptsubmit.py:36-50 \u2014 before extracting anything, compare \u0060plugins/hookify/hooks/posttooluse.py\u0060 and \u0060plugins/hookify/hooks/pretooluse.py\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/hookify/hooks/posttooluse.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1cc0c6712de398a961e2800aa927b254618a971e0acc733a0efde27a866629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): plugins/security-guidance/hooks/llm.py:1458-1466 | plugins/security-guidance/hooks/llm.py:1469-1477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e82d36b662a6918692c9f4aacfe0e0a50560e46aed73db3930ad3c4ed5e881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): plugins/security-guidance/hooks/security_reminder_hook.py:2286-2293 | plugins/security-guidance/hooks/security_reminder_hook.py:3124-3131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":2286}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49181315397da2cfaa77757d4d39ef950b0a81ec2246ee6959ca4ba37ddc5de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): plugins/skill-creator/skills/skill-creator/scripts/run_eval.py:270-277 | plugins/skill-creator/skills/skill-creator/scripts/run_loop.py:259-266 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060plugins/skill-creator/skills/skill-creator/scripts/run_loop.py:257\u0060 calls \u0060add_argument\u0060 and \u0060plugins/skill-creator/skills/skill-creator/scripts/run_eval.py:269\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/scripts/run_eval.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4990cdf34bd167afb878eb1880c4fc409a1c55e4c9a71a5febe126750858e8bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): plugins/security-guidance/hooks/security_reminder_hook.py:1439-1445 | plugins/security-guidance/hooks/security_reminder_hook.py:1454-1460 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plugins/security-guidance/hooks/security_reminder_hook.py:1439\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83e5b02cf3b1f5197baf915b4ea0420d6d3a0cb253521b7326010e63c6d5304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): plugins/security-guidance/hooks/security_reminder_hook.py:2281-2286 | plugins/security-guidance/hooks/security_reminder_hook.py:2707-2712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plugins/security-guidance/hooks/security_reminder_hook.py:2281\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":2281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dfdfed8b9959039d58b4fc986c063b8458d34748a7ebf142647b4a0ca31d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): plugins/security-guidance/hooks/diffstate.py:1327-1331 | plugins/security-guidance/hooks/gitutil.py:1419-1423 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plugins/security-guidance/hooks/diffstate.py:1327\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da51084a816ff14f0f6e62fb48248f7c510e9a1a46d503a213f35c67313fd69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): plugins/security-guidance/hooks/llm.py:2565-2569 | plugins/security-guidance/hooks/review_api.py:309-317 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plugins/security-guidance/hooks/llm.py:2565\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":2565}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec49fdce768ba860324489bccd17b94fbecd8cca2718e1dffc10bf48af90618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): plugins/skill-creator/skills/skill-creator/scripts/run_eval.py:261-266 | plugins/skill-creator/skills/skill-creator/scripts/run_loop.py:246-251 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060plugins/skill-creator/skills/skill-creator/scripts/run_loop.py:253\u0060 calls \u0060add_argument\u0060 and \u0060plugins/skill-creator/skills/skill-creator/scripts/run_eval.py:268\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/scripts/run_eval.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f50875be5b57638dc09117372c1b3b66025548fffde40122041e8e00357b41e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/security-guidance/hooks/security_reminder_hook.py: plugins/security-guidance/hooks/security_reminder_hook.py changed 68 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in security_reminder_hook.handle_commit_review_posttooluse at line 1765. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/security-guidance/hooks/security_reminder_hook.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"77078df6dfb910a84b1f9e7134ecff8b2a75c5652fe183354b539ffed5f5920e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/security-guidance/hooks/llm.py: plugins/security-guidance/hooks/llm.py changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in llm._agentic_review at line 2204. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/security-guidance/hooks/llm.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f1323407337e047282d9feac8143c0a2aef95098d38270205f1ea1b2e6e14f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/hooks/register.ts: plugins/code-modernization/hooks/register.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 243 in register.register at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/hooks/register.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a889d384b10c3c01cb291ce55a0221ff6a96efbd670954cb5fe84987fc601e39"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/security-guidance/hooks/ensure_agent_sdk.py: plugins/security-guidance/hooks/ensure_agent_sdk.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in ensure_agent_sdk.main at line 701. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/security-guidance/hooks/ensure_agent_sdk.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb209efa5697b414754e11b23cf84c6201e8fd45afdd1832e5b45a59257b413"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/security-guidance/hooks/diffstate.py: plugins/security-guidance/hooks/diffstate.py changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in diffstate.compute_v2_review_set at line 1356. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/security-guidance/hooks/diffstate.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"debbfb62a1829b942ce88d8c41ad83dc2d25030f186fdc52c0884c5f12c339e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/hooks/reader/progress.ts: plugins/code-modernization/hooks/reader/progress.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 124 in progress.readSnapshot at line 496. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/hooks/reader/progress.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03a8fc8b7205601dc50c5d17465e3076c815505a17ad2175ca2e9d8328fe801"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/scripts/build_report.py: plugins/code-modernization/scripts/build_report.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in build_report.proof_module at line 383. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/scripts/build_report.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"531bcba899c4b46e8f1007efad19b4b6f74e6e94d7aa30e59e21f79757f48d72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/assets/report-template.html: plugins/code-modernization/assets/report-template.html changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in report-template.html.proofModule at line 335. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/assets/report-template.html\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2305a601dddf195fcae69e26175f880ec67515d76b94073482b2f7c98a9008"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/workflows/extract-rules.js: plugins/code-modernization/workflows/extract-rules.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in extract-rules.verifyAndFold at line 432. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/workflows/extract-rules.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"da92491273ba994bdafb50edb65137e81c9c69f1937ed817cad9dc799bc06c59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/scripts/render_rules.py: plugins/code-modernization/scripts/render_rules.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in render_rules.main at line 84. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/scripts/render_rules.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/render_rules.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2a8d51996fed607f9a28e2df666f7cb4e5e69f8e9428fe7863fad3151edacd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/security-guidance/hooks/extensibility.py: plugins/security-guidance/hooks/extensibility.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in extensibility._validate_pattern at line 380. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/security-guidance/hooks/extensibility.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/extensibility.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59fd86ba370aef292a7d2a5dd4ae1a20b1bdb0bfa5054b39563b0d0eb3d6d13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/security-guidance/hooks/reporesolve.py: plugins/security-guidance/hooks/reporesolve.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in reporesolve.dirs_from_command 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/security-guidance/hooks/reporesolve.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec64f79c841d8e29fe75b4e6d568ea81589da16ff9fd7ebf417517123058dc1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/claude-security/scripts/render_report.py: plugins/claude-security/scripts/render_report.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in render_report.verification_summary at line 367. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/claude-security/scripts/render_report.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/render_report.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"d439e02d88e040c4804223ce322139979cf4cfb99ae67d9523cb77c597e11bf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/claude-security/scripts/write_scan_meta.py: plugins/claude-security/scripts/write_scan_meta.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in write_scan_meta.record at line 427. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/claude-security/scripts/write_scan_meta.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/write_scan_meta.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0085ca149e1aae7e972e11f996e89610e08932aa1b90a8dc95daf40f453decf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/scripts/proof_pack.py: plugins/code-modernization/scripts/proof_pack.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in proof_pack.render_md at line 881. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/scripts/proof_pack.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26a455a030c47f36c48f5c0ce1286ebe9d2857eec8ede0f3226ae85acc59447"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/hooks/xray/xray.ts: plugins/code-modernization/hooks/xray/xray.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in xray.xrayOf at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/hooks/xray/xray.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/xray/xray.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21f23c7b5898d5d3576be8db1f872050b8da8058fcfa608cfc2bb6bca04a0bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/hooks/views/deck.tsx: plugins/code-modernization/hooks/views/deck.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in deck.deckView at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/hooks/views/deck.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":"plugins/code-modernization/hooks/views/deck.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"629c32b1c065bc05a3c48593d86715c61c31c6f525284eecc00ecc1619303b85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/code-modernization/scripts/compare.py: plugins/code-modernization/scripts/compare.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in compare.judge at line 269. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/code-modernization/scripts/compare.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/compare.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"247dc5a2eef026af5ab4cc316f6e910afb03c157d14b5c3faae88797bdb2c085"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plugins/claude-security/scripts/lib/finding.py: plugins/claude-security/scripts/lib/finding.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in finding.relative_path at line 327. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:41:08 \u002B00:00\u0027 --until=\u00272026-11-14 00:41:08 \u002B00:00\u0027 --full-history --no-merges -- plugins/claude-security/scripts/lib/finding.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/lib/finding.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"7915ef31216d983ee67b1a0284d86b662c0c931f9c4d3698dbddbedc0d4dc657"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 19 significant file(s) lose their only recent owner: plugins/code-modernization/scripts/proof_pack.py, plugins/code-modernization/scripts/build_report.py, plugins/code-modernization/scripts/baseline_diff.py, plugins/code-modernization/hooks/register.ts, plugins/code-modernization/scripts/telemetry.py, plugins/code-modernization/hooks/reader/progress.ts, plugins/code-modernization/scripts/trace_rules.py, plugins/code-modernization/hooks/views/pane.tsx (\u002B11 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f3acbeec5e60cbe4565f97dce937759d674b303942b4e5d8ee9b3ec6cf0af98f"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 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 (22 single-owned of 90 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; 90 of the 113 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: plugins/security-guidance/hooks/ensure_agent_sdk.py, plugins/security-guidance/hooks/session_state.py, plugins/math-proof/skills/siege/scripts/ledger.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (24250 LoC, 111 module-visible types across 12 directories) overshoots its size bounds. 1 of 6 build unit(s) (checkout, npm, tsc) overshoot their size bounds, lowering Project Cohesion to 6.7/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0efd352301cce44028162a902cccec18359dab3edf6bc3deda4d2814035d0403"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db6c749d2b7955510374dd2aa65b0abea97579ef24c19c1948a715f14b0ce943"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e33dea1c19a1d49d2ac20b23010950bfc75acb7dd9cb25a17fdecb331a970c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e5a1adbc34400f1ab1e0740621f85289a5f515e2331048bf4e2d96172a2b263"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d03736da5ceea4dbab48c5b1f0f7c55cc830c88ad6cfa5d0c146c021f2af9da"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66c490906bf697691caf0fd25a44a1d892739b0883d89f09dfd78c4c81990df2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3051d089a19c24b0c42b614fa711fa0e2e62f7b9d6b3b625d5f71b5239f49eb0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f31ec83bd20451542816203fd83c1a13ffed0c5d254bdb8255ee24719220cf29"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8931291224505308b92b7d93ebc20efde7716a39c9dd3bb1ee4cc7e128dc28d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02f24717af6440c77fe038b4107a7ed79e474dafef6c9ee555784ccdc8e3f4de"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1dc91ac74d890ae6fdf3de9b0786812fa06fb7eb1398931c64ec362fd086ccf1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6e79ebb5d9749674e823d748de6a89e9872836e303069fa1a4ef860c2dc1b86"},"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":"6f8ddaa02db26a65316d1141069afc7fc6152468054b3e577a0ad948066d64dc"},"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":"713a898b626ff9e7b0c847155edd8671ea6ea7c1aa829620a911638a5de51458"},"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":"0b52b3f43873433c50b7adaad1a7cc12a1756d7916dd433bdf186ee70514213e"},"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":"14e26dd3443466641b6eff876d562c9eddf5aaf2122520fb878823537abcd856"},"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":"5b56556e07d5bf4dae4dc5fb1aa932681acced54da3b033a8dd267484f3d8097"},"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":"b83f6e0fa50a7ffa646d0f3a3aacde2f9fb412a0177c264bbecebca97cb2060a"},"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":"b8283d42d8790f044e6121a01c391af334e061368ce32183b9804baa6dacc9a3"},"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":"c89aef37514de842cb69c2933555a5dd6bec28b7df1ddbfc07762d42ca8ffd0c"},"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":"949dad5566786821d63f8808b00711a992b587bdf8974fd009d019de314d7fda"},"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":"8a44090474cefb7603274aba83d55862d59fdfe3e71ce005bd284062b2dc1f15"},"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":"8b0dffc0f68df9c109343eec8afddb94b04716faa301b36a09e10f911f5e2838"},"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":"a3875a10619b154acb41cc0dc76c50f5bda5da87685cfa3070e410408765b8f9"},"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":"295df26cd65b8e54471affa7b2b166e0d9e50fa30e3df169708dc8e9461e66dc"},"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":"6e71636f3681e1f4f32dceaf901d0ba20dc161b13862d87ef1bd13bb50a4dcdb"},"taxa":[{"id":"CWE-327","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":"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":"85893f1cf64c92b71f3e153aff10f66df4472ee3863331c6f02b14b54cf000ec"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"7de83bba970e430fa9dee254e0fd628a899fd4a03c3a59becdf239f4378f98e5"},"taxa":[{"id":"CWE-939","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":"16fd8cab9d28dddfd24554d8284949faa640fa305ebcbf5c4d8a4161549e991c"},"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":"da8ecc1dde61c4d44d951feede0b202a10e98d6bd174c96034c0cbf2185878be"},"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":"ad18fb943e4c40edbfc683c97710705a81bfd80d287f8ea5f19b3b3b74041d8a"},"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":"6e7fd710146b3af0590356f0b2a1d526c11edccc25c958b81c9eeb7dbb4935ba"},"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":"74d11e5caef973d93e078681a9d7ba84b17b38d05b91c61e0f8d686ac1b83073"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-348","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-697","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"531b0748169d269620a89de10045203e6ab334a3a68239c4cb92dae81a6bcf6f"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-348","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-697","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"ba0b78a1db0a85c347fa460bb1b5f38f76e513505ee8794bf8e7498144f9da01"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-348","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-697","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"4763438191e8f1a72cc741de0e7c4c79a33429eca701bf9d580f34f3f3060ac0"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[CVE redacted]","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-348","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-697","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"bd88f2c53d66a1be805ef050374547d34a8cd4186b1ee5850c6063f210d51d5c"},"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":"d5014ae561f7102037c2c76be4f966cbfe3cf733c0362460397000939f1eea4e"},"properties":{"dependency":{"package":"undici","version":"6.21.3","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]","[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":"ca1288b470c765d6e21b0a414939278322a6526806207e8bf18d84f96e9dca28"},"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":"edd99a4ae8eedd57a3558e6665ff42259aeb5c32ab1857d3f8dc7fe09d2ed401"},"properties":{"dependency":{"package":"hono","version":"4.12.5","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]","[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]","[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":"894eb63aa30a9599dea01fa27fcb834016975da09fa3a84df4475ca2dc3159e9"},"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":"71f79b07d56cd9aa4335d5e2cb2712c8fc5bba3aa3734ab6e1eba88890f2a394"},"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":"f0ae048375ebd8e1a016d1b36d6702d741f7f805a06cdea599e7dcd5710dec7e"},"properties":{"dependency":{"package":"zod","version":"4.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"external_plugins/discord/server.ts","line":19}}}},{"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":"788b5a44abcb692c9dd9315a28162c5f58aaf0e1197a8ada2683546df5f05d6a"},"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":"2dd4d5dc7b7df409114e0d7ae849ccf027e94076abe27f25967f011226eef816"},"properties":{"dependency":{"package":"lodash","version":"4.17.23","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":"572ab52eb459afb7ad41787b6cb8413a0b07558845a96d506c1585287c3d7a70"},"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":"fffdf771cf6d381e01f64cb66cbc5bb2c772f38909983cc774719718ff829cd5"},"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":"db83db9b2ae112dda9f3dab488952f41a99d4d8c0c32df5ba686ee32379913a4"},"properties":{"dependency":{"package":"hono","version":"4.12.8","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]","[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]","[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":"36ca7fd0404b90e1cdf27843ec8d0e654402b54cc3a05985bc949281d0e230bd"},"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":"be25b3165f7591208305f3dc4f91d66f11f43da69de0b4a32758861180c831f2"},"properties":{"dependency":{"package":"zod","version":"4.3.6","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":"a4ffed79caa51a1d7803114206390f6cb5444d0846559b4a6278f179499cd06e"},"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":"0e81858dbeb3cc5145038033abcd1eaa2bcfd8a18e2b14837e231b9f87ec9dc6"},"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":"beb02c42d63da0438c143dddda9af698869c00661f4c69ce884f5eecafd8e9c0"},"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":"29a444a2b3b54e12654c72c449db69ae8ba1687abd94c10782d3de6b7b607375"},"properties":{"dependency":{"package":"hono","version":"4.12.9","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]","[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]","[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":"5557a5d8f5a311529216d427f4c46ce464092a6626fd4e765ee0dcc176c0e80c"},"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":"476f1b990629caa6d3cbc56fb39992c0398149569520d2d4353c09654bf75853"},"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":"96b5b3c42643dd1c2648f7e60d63d146adb8455301090c4d19b9ba517aea6d16"},"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":"c0de94e77faac9a3cde5bb6768d8c9fdba0e92dd71b06947fe02ab2d66743332"},"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":"aa805afbccd266ef7f211749e1bf9f2a80105d0fcd41cfa9e48d84052878b64e"},"properties":{"dependency":{"package":"hono","version":"4.12.5","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]","[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]","[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":"537f51fadf1b50a4ab16cef84be5770c2f39d634142e40026732c4e0d22e81f6"},"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":"9f03051fc78ceb4aa8283043847f1623c0f9957da83403882318c97387b0d4aa"},"properties":{"dependency":{"package":"zod","version":"4.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"external_plugins/telegram/server.ts","line":18}}}},{"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":"c8459dc9006b21e18616d191b2842d6d25b417165d1bcb4f5d645c95cb7416b1"},"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":"94953e1f6090a6db0719077cf329545f5e026f4e00e2b034b09bc14b9d2ae100"},"properties":{"dependency":{"package":"undici","version":"6.21.3","advisory":"[CVE 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]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"d404b3ca9c29e5df54d80028c6c1f66babb6d425a7278e1f40e5f646f9071b0e"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8973c74a612984ee27f0434dfbf0043f57efd38f67900688511f74c6a0984a38"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-436","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-551","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28495094cc7d0f108714225cc37d79d4962ae07a30bdf812fdbe69016736830b"},"properties":{"dependency":{"package":"lodash","version":"4.17.23","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"0b80481cb52e9bd0971733ffb85406f2bdf25db9343efc874149edc25add915f"},"properties":{"dependency":{"package":"ws","version":"8.19.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1050","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-770","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":"59931dea661c9bf974082fdb841954b1dac0748322160314367e9e17836053bf"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-400","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":"75fa6b5881b44e54661c48b6e93d5292602cf168331c9fce6d9613e39ed2b24b"},"properties":{"dependency":{"package":"hono","version":"4.12.5","advisory":"[CVE 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]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5dce6d12aeef86048abdc9296d530f9daecebc27b7d5d1c72f65b017bbc918b8"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-20","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-918","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":"93cdaa5d5efb62618f57f042f437df18111109ea260fad7bde479afb35b74e91"},"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":"ed6a8bd28580366860f5e072297d962574669de403a5a939b5c8ca958180390e"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1e5db7c182ec5a2297f7c71ceccfce28577c54fe0d1b2454df4c1e0cdd53d8a"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-436","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-551","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70258a9f8c2b2488f12a1de3c950e77390c4ff9f884ab6d004fdf5585fe6484c"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-400","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":"0e79c367828228c0041aece4632555a09a8de66d5521a0bbdb2adecf918d1cac"},"properties":{"dependency":{"package":"hono","version":"4.12.8","advisory":"[CVE 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]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5449984b9efe31a8f9ecf7c896748ae663fe333143a4ce2a0678ff589c37e71e"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-20","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-918","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":"0a447edffa34795a0f7da2f1e4a428200a3a0ae1916cacd883a1661014fd52ae"},"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":"16c57c3e968afaaf9ca0b625b1af530b1d1a05c4d2c83a292d8408c95074cf11"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b336e35d360051efc4027d469362b001741b4940fbc78c799f2f0a33d1f3ba4"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-436","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-551","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"208a9ea526692c6bd7f33b67f235e55981829c6808bab2b07b74b6adfb4c5169"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-400","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":"d27a087c7cc5568ba5b8547645a6df7c2137c75a3f25aeadd8abfce88cde18aa"},"properties":{"dependency":{"package":"hono","version":"4.12.9","advisory":"[CVE 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]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29f4ef45f9a6f7f9b373396f9374f6e0378f3da6e7c6805dbcf8861470b6222e"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-20","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-918","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":"ba79b003735bce7c90330972f88d6f0717b648f47daa9bb21ab4bd8cf8b9cea8"},"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":"6ad904197faaaab402f7a9f655400e4edb71d8ccd19a566fc8f91d1622fc8fa8"},"properties":{"dependency":{"package":"zod","version":"3.25.76","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":"2105f7d07c16a2695c76a1122d477e30dce042a6c5c410e3429cde471a0c53f1"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c95f0d8568bc7e02b2dd890e4dddf944f7dc6316ecc27b94616b789077395d28"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-436","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-551","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1ae4677d0c7c923d6f4bb60d09c66c2f27405567400108b9b17856897ad59ab"},"properties":{"dependency":{"package":"path-to-regexp","version":"8.3.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-400","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":"8f05a359aa26a936e2554ca884c9c0943e79afdaaf5eddba78b248134b9e7474"},"properties":{"dependency":{"package":"hono","version":"4.12.5","advisory":"[CVE 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]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f13927875eb24a4599b9aba0cc163ba5d9f91875769638b3ce42d9080eb33cc7"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-20","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-918","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":"39d359943de0a32f8738191ffb2ca25728b01d858f4621127f5a72a2b8404429"},"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":"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":"54d94da43306f5538fcdde3c4c37df9724c029d60ceb5bf0a6bfcf7208019ea5"},"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":"afeabd9d8432fda8c37a54fb841ab9c8f2cc4635dbd54afe70259e0c0ef84c70"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[GHSA redacted]","aliases":["[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":"df4c4372db9bbf64c69e5881e2dd83c1db900dc89c575bef4aca87ad600ce20f"},"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":"8bb36732174282ae4162880f5ac5147801de2bfd0dbccaa59d3741bb4c466224"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[GHSA redacted]","aliases":["[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":"1a5c23464915337760ce79c75daef0b6e4df1fc3f182baf6c231497a19cec566"},"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":"15880dc6b30a679c63911fe53ea80ad26bcabec966de4927567c1ebced97c642"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[GHSA redacted]","aliases":["[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":"4401c2c0309d1caf1f532d7569dc38fd6b07efef91da9d519b27c22b82961522"},"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":"8ddf290528e6c3529e85ddf408cd55d3aa5878bc356121514275f1b9ae17090c"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[GHSA redacted]","aliases":["[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":"91861f56a31f92de3e7c7e6a8e2e66609419b4dacec8cb835ea82027d019f808"},"properties":{"dependency":{"package":"qs","version":"6.15.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"364fa3113d7dc3d629cffeb13d9bd07b09bb66d78222b81d39246cb81a2aaea4"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-174","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c83248e9a214eaf3608b5482d47885d1027a167708b765f0d5b1315ef68e51b"},"properties":{"dependency":{"package":"qs","version":"6.15.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e00fe72c555fbdca2c243424638f1d3feb8ce423f1f8894d8dfc1a6e9dd4c95"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-174","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"549180762d0027c4843c1d782b38268ca016d69b0a2feda87be6b4f09a60c663"},"properties":{"dependency":{"package":"qs","version":"6.15.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39c255c6d32535ee0e62fd9a3eb8880f8e86f66e3fb9c3bf4fbab7aca737fb2c"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-174","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00a7aef1f456d157166ff13701ed0211392f905944d8b490a5cf6f4abf9a2e2b"},"properties":{"dependency":{"package":"qs","version":"6.15.0","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fe218b7850a6dd110a5b303de66b16aa18d7c33f014bf23ae0d8f2e344fe823"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.11","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-174","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/topology-viewer.html"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6950ef462aef94805a16e73e1be5311468333fc0e539dbe08dd476d28fb46abc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/fakechat/server.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf69bf5a5ab85a6376cf092237edc2f175ee3e1a331f6159425898075c2d3c89"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/fakechat/server.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c70150792a6e9338c93e0a438cff7e1225126537731ec5d7c4bbaacc14ebe1"}},{"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":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b5b0f56003b8b4cc01236d17b44fc7928638daa3ee2e49fcdc2c9bfd71a26c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/topology-viewer.html"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be331b8e7acc9cc6b5b95ab67309de3309ecd2f4480fa50126916cf33c1c419"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/project-artifact/skills/project-artifact/template.html"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d3e982835954b67b45cd254089b347a1a82aa0fec13bb9cdbbbc81d5f4cc8e"}},{"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 for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"1905ab93978caf859ac743d944c4511bdb2b8514ec14cd1823e7179eb6b0157d"}},{"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":"plugins/code-modernization/assets/topology-viewer.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1d12ec53075269ad29cdd40eb76e8e0ca8ffa3bb08a2b30ee71879aa9c0994"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch2\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/project-artifact/skills/project-artifact/template.html"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1677c477f4558a51f38425aaf4a1af3bbdf64664f443d72a6d72c8b6d81621b3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/project-artifact/skills/project-artifact/template.html"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff1215fe6a5066555af5723dec73ab2fc7c98b09b166da282025bc6b6585391"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch3\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/project-artifact/skills/project-artifact/template.html"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2822d496e875c9ee80a0e760dc3785119fbaff46b3b184f7a6f1c986cdb4cb7d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch3\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/project-artifact/skills/project-artifact/template.html"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e258f4010d31a77ec1322b6381ed8976d2647884274b20df08613fbb10cc45d8"}},{"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":"plugins/session-report/skills/session-report/template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a364479a3c2d88f85b2884f7049b9a33b900cdf8cbddc790045d9b2e41a204"}},{"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":"plugins/skill-creator/skills/skill-creator/assets/eval_review.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a44874b953ff66516af1543a50bf791475734fa0e9d1a8e12fb53c3890b4558"}},{"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":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e4a46e178a6f1ea1692d65f0991b2daf07e2950705aa6e0b6784a656042270"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ccanvas\u003E: A script attaches a click listener to this \u003Ccanvas\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/topology-viewer.html"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc18d6fc13fb924d2db0784ec149dac150452fa4714be3acd09d6dc0677ea589"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.1:1): \u0060body\u0060 sets color: #1a1f27 on background-color: #0e1217 \u2014 1.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7644981578b948420bcb573762a8ce0c140b7ec25b4673c0791bcd7336f5cb1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.0:1): \u0060input,button,select\u0060 sets color: #1a1f27 on background-color: #161b22 \u2014 1.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ef77659f19b04210644b64de6d06289262aaf7cbfd3623def1806f2a9a4437"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.2:1): \u0060.mm\u0060 sets color: #e6e9ee on background-color: #fff \u2014 1.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d34a854993fc8ded5a7ef072904b80b12b178c25cd86a775b561151c6002471"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.0:1): \u0060.copy\u0060 sets color: #1a1f27 on background-color: #161b22 \u2014 1.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/report-template.html"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93c1d0a8a39216db5b47fef7520579c9bd664ac242a535ba29422b0b0749365"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060#hint\u0060 sets color: #8a8a8a on background-color: #252526 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/assets/topology-viewer.html"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2a76512ca87a96dc2994c916a6df019f3a1894a9106c994ac801af4426a2c1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.2:1): \u0060th\u0060 sets color: rgb(80,80,80) on background-color: #1a1918 \u2014 2.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/template.html"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3354fa7e4a00cf27fdeb58f18da553955d458f21fec75ee8d753dfca0a6a96e6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.9:1): \u0060.btn-add\u0060 sets color: white on background-color: #6a9bcc \u2014 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/assets/eval_review.html"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef7e1c407d5f5811e01045d54e114840417f4fdcb4a3a29f7f905c230dc50c6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.btn-export\u0060 sets color: white on background-color: #d97757 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/assets/eval_review.html"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b863cd3b601a943d87841e7ba28586c50cb39ae419073c2509b1cf5aa97ce617"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.grades-toggle .arrow\u0060 moves (\u0060transition: transform 0.15s\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":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"726d086a13d5170c3cd1944901f659e7054eb80138f07dad95ffb56a3c0ba41c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.1:1): \u0060.section-header\u0060 sets color: #b0aea5 on background-color: #faf9f5 \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":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f704a989f536978244c65cb09bbfb0a9572e82fb4708a87c59f4b4d4d336fe09"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.1:1): \u0060.output-file-header\u0060 sets color: #b0aea5 on background-color: #faf9f5 \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":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b373ae2e59898780314297723a7b7ec73565256cc854d648e129c1acc39a7f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.0:1): \u0060.output-file-content .download-link\u0060 sets color: #d97757 on background-color: #faf9f5 \u2014 3.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4af9e181d933be76931a3240c60e2a411676b197223de09cf827c5163cd105"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.1:1): \u0060.prev-feedback\u0060 sets color: #b0aea5 on background-color: #faf9f5 \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":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d95bbb7868bfd1869dde7d641aedba67741555dd3206867acd11c2fa3cc217"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.2:1): \u0060.grade-pass\u0060 sets color: #788c5d on background-color: #eef2e8 \u2014 3.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d46550cd0ee0a3876722c9014b1e29f27f39588764e6d689d245aaa89182cf8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.0:1): \u0060.grade-fail\u0060 sets color: #c44 on background-color: #fceaea \u2014 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed1906e0149dae5fbea4fb2510dd8e6f3640133ee1fe468f5a554eae7c6c1f0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.1:1): \u0060.done-btn.ready\u0060 sets color: white on background-color: #d97757 \u2014 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/eval-viewer/viewer.html"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fd991710f7c6f416fb2b78f40a84217d3223829dd4d231d8e7697e1cf39e67"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 19 Python, JavaScript/TypeScript production file(s) this check read across 6 module(s). Each was searched for its ecosystem\u0027s logging libraries (Python: logging, structlog, loguru; JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 7 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/check-mcp-urls.yml"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060external_plugins/discord/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1312a094498232757b60461d50c38f48b559a10e9d2a3365734bd80a6e6fcd5f"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 1 versioned entry, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060callback to void\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":"external_plugins/discord/server.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efa25f503e5d163622d8d17052917eb47ed8e3cda4c9f2d30fd10df9b09b5cf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060callback to void\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":"external_plugins/discord/server.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4eb36d9e7eda9f06824c50ab4ad73ae378f3e88e7b9cbf29b7fb31a47b175ab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060downloadAttachment\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":"external_plugins/discord/server.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb73c10986afc0c296c0090580c910df20a5e82b509cb2e137a68b919baeadde"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060downloadAttachment\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":"external_plugins/discord/server.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedd54b7973835ba861e59366c908b33afbea320b6abe027aeaab027827b53ed"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060callback to mcp.setRequestHandler\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":"external_plugins/discord/server.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"b169ac6c16b12ca4a619f6d4271ecd87ccc1d95073eeb3437ea03a92a0a811bd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060callback to mcp.setRequestHandler\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":"external_plugins/fakechat/server.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e79ef5654e79f8cf0b961196c3278928ddad24e3963b29ca0674ba6a26daff2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060callback to mcp.setRequestHandler\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":"external_plugins/fakechat/server.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"261c4bc7fd0dec939b0bb9986ba27b10ee452516eaaba462b80d08cf70cfea1c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060copyFileSync\u0060 in \u0060callback to mcp.setRequestHandler\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":"external_plugins/fakechat/server.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59c3fcc30904268465718119d894983a15219b1d051e45723c97222c8163877"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060callback to return\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":"external_plugins/fakechat/server.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"15959ced164b6e2f15da9cf84f59a00eafc66f42e51b4ca01f3188d7a6e45676"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060callback to return\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":"external_plugins/fakechat/server.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe6b1e9b3923359f8899d2ea45ee28147f85d5f6c165e7190611421b842fdbe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060callback to mcp.setRequestHandler\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":"external_plugins/imessage/server.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a621994d3271942e6120f6853c943187f52ce1e227ab7d388a5ea09cb12c90c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060callback to mcp.setRequestHandler\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":"external_plugins/telegram/server.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47face39e978ee50ec1d11ed7762097bdf44a89adab20028b55396e51040984"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060callback to mcp.setRequestHandler\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":"external_plugins/telegram/server.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"7697c08cb7f51940e487ba7e58757cb95465b2fe0d243532da14c10307fba421"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060callback to mcp.setRequestHandler\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":"external_plugins/telegram/server.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"9374b4ca77a317e9cece7f0354509a6c4583159873b4179187dea67e42a6cec7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060callback to handleInbound\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":"external_plugins/telegram/server.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bbfb44e7c6b2f7abe6e8d253177a0be9ff1ec0c2db2412cbd159816b9ef6e1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060callback to handleInbound\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":"external_plugins/telegram/server.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafaa192c454e83497d511a15bffda57db60956f8d582426186f271d8880bab6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (18 clone groups): 18 duplicated blocks under external_plugins/ have copies in at least two of the sibling directories discord, fakechat, imessage, telegram \u2014 17 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 18 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 18 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 18 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":"external_plugins/discord/server.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e0bb1596e77273edac5dcc579563d3a3a656886d57a62cd093bb4f08a4e0c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (82 lines \u00D7 2 locations): external_plugins/discord/server.ts:92 \u00B7 external_plugins/telegram/server.ts:98 \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":"external_plugins/discord/server.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8d3078f320f4e3182d39c96ddb6daf4892d527e45e2a647614d1fa9f26125f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): plugins/theme-examples/hooks/scenes/honu-lagoon.ts:181 \u00B7 plugins/theme-examples/hooks/scenes/koi-mosaic.ts:282 \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":"plugins/theme-examples/hooks/scenes/honu-lagoon.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc71f7c2aecc57e54f2390ad1f0daba7d6c92e869e2e22d19ce24e2e82110d5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): external_plugins/discord/server.ts:753 \u00B7 external_plugins/telegram/server.ts:748 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"98acbc219b7892d7ce3e2287656a740972e2700ab739cc100c361474254087da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): external_plugins/discord/server.ts:37 \u00B7 external_plugins/telegram/server.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":"external_plugins/discord/server.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75085e10a7a32c58af76f3c3d20867eec371f28b06d5f8873bc2c0fc1dc48cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): external_plugins/discord/server.ts:706 \u00B7 external_plugins/imessage/server.ts:717 \u00B7 external_plugins/telegram/server.ts:635 \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":"external_plugins/discord/server.ts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"250636846e5ae608588227730d55c221cad6a8ef72b2205e8c3e7b62bd6185a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): external_plugins/discord/server.ts:252 \u00B7 external_plugins/imessage/server.ts:339 \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":"external_plugins/discord/server.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"afed398c2ea71c862c184d0403fb0c796ddbab8c4e6229145439cfd7e19ec055"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): external_plugins/discord/server.ts:464 \u00B7 external_plugins/telegram/server.ts:415 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ee61f6b9ae3c5b76bd170a4af761a57cfd6457e1a620df491b8aa88b2dda08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): external_plugins/discord/server.ts:373 \u00B7 external_plugins/telegram/server.ts:366 \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":"external_plugins/discord/server.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbd0fc620848211a2053b4875518faeb78faeac1f9cebd83eb7891a6d5bd752"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): external_plugins/discord/server.ts:312 \u00B7 external_plugins/telegram/server.ts:325 \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":"external_plugins/discord/server.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00aabd5f23dfa24c458446225d722517e869fd041ff652ecec010c4d2f5bb50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): external_plugins/discord/server.ts:623 \u00B7 external_plugins/telegram/server.ts:550 \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":"external_plugins/discord/server.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"1382bc5e981b206f2fc2f77fb78af143044407a2be7eadc39940454b5f21d210"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): plugins/theme-examples/hooks/scenes/honu-lagoon.ts:178 \u00B7 plugins/theme-examples/hooks/scenes/night-reef.ts:209 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/honu-lagoon.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"892ebee20e3493996110e77df48d97abbe0e927bee960f100d9ebb5fe3b2df7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): external_plugins/discord/server.ts:595 \u00B7 external_plugins/fakechat/server.ts:88 \u00B7 external_plugins/imessage/server.ts:650 \u00B7 external_plugins/telegram/server.ts:522 \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":"external_plugins/discord/server.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"4017e7be8fffa62d18305befbce8f3471a8440510f076d15062d62a7e8369fa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): plugins/code-modernization/hooks/reader/fs.ts:9 \u00B7 plugins/code-modernization/hooks/reader/fs.ts:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 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":"plugins/code-modernization/hooks/reader/fs.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ac419d5ac015ae1288a41bd75291f6a578c08ff10af14348b8165bfe1286a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): plugins/code-modernization/hooks/reader/progress.ts:364 \u00B7 plugins/code-modernization/hooks/reader/progress.ts:394 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f608a5bf33871c874090aa84b5bb065c97b972857d8ff55395f80e83f6de523a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): external_plugins/discord/server.ts:496 \u00B7 external_plugins/discord/server.ts:777 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f45d453ec4589008ff4b8f59d1877e1df51bf5d9854234b774dff2294d08f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): external_plugins/imessage/server.ts:669 \u00B7 external_plugins/telegram/server.ts:542 \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":"external_plugins/imessage/server.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f9a0a44b27321fd72bb81510c36e0fcb4bb78e9103689be98c622dc5702dc8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): external_plugins/discord/server.ts:788 \u00B7 external_plugins/telegram/server.ts:775 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1f395e5daebd92be5557f32a19db25c1848aceb4332c2349d9c1452ec15100"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): plugins/session-report/skills/session-report/analyze-sessions.mjs:801 \u00B7 plugins/session-report/skills/session-report/analyze-sessions.mjs:825 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb88b2f7ea5a563d824056ab5ca38274669636da220c2feb9d15926f9a69e90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): external_plugins/imessage/server.ts:460 \u00B7 external_plugins/imessage/server.ts:470 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72c658b236d139689d7805b702cfc8c3ee5faa1b2afc6cecc074e84e09c94eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): external_plugins/discord/server.ts:283 \u00B7 external_plugins/telegram/server.ts:280 \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":"external_plugins/discord/server.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"09211a9a946c4a72a7725b415db56e3f912cc7e9d5ebdbfa8f62d81870947e61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): external_plugins/discord/server.ts:612 \u00B7 external_plugins/telegram/server.ts:540 \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":"external_plugins/discord/server.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"180e8a1ca1ed013922501de65a9226ff1f633fb3dc3182940687044cd3e033da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): external_plugins/discord/server.ts:732 \u00B7 external_plugins/telegram/server.ts:667 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cc4a4c2055f78d8a5a54fc82652a3ef48a4bb13f30f74c0347d18edb8a3490"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): external_plugins/discord/server.ts:838 \u00B7 external_plugins/imessage/server.ts:833 \u00B7 external_plugins/telegram/server.ts:935 \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":"external_plugins/discord/server.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1585123ffb45fda7bf09ea8fc18fd7c0b741b61bc20f1f697ff3b784f1036af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): external_plugins/imessage/server.ts:323 \u00B7 external_plugins/telegram/server.ts:232 \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":"external_plugins/imessage/server.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08d8297dce634d347eae636d2933cfab82619711c78aee36086415531b01806"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): plugins/code-modernization/workflows/portfolio-assess.js:7 \u00B7 plugins/code-modernization/workflows/reimagine-scaffold.js: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":"plugins/code-modernization/workflows/portfolio-assess.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"31892622ae0017cbcb03b2b85a43f92da9e4f8e657bd453088e464f166c36bea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): plugins/theme-examples/hooks/scenes/koi-mosaic.ts:41 \u00B7 plugins/theme-examples/hooks/scenes/koi-mosaic.ts:237 \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":"plugins/theme-examples/hooks/scenes/koi-mosaic.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a7eb0f0365f279512dfddd5118c5027a49c39db6a611a8bd53fe0149199b63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): plugins/theme-examples/hooks/scenes/paper-garden.ts:197 \u00B7 plugins/theme-examples/hooks/scenes/paper-garden.ts:225 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 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":"plugins/theme-examples/hooks/scenes/paper-garden.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2784b20e61eb7ed0c9af4c18f88ae2dbc31096d5db7675a961992c9013708de4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): plugins/code-modernization/hooks/reader/rules.ts:121 \u00B7 plugins/code-modernization/hooks/reader/rules.ts:150 \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":"plugins/code-modernization/hooks/reader/rules.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcac5415982541466727f45fdc19809291bc14ca0512b79d3429523ccd12eca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): plugins/code-modernization/hooks/views/deck.tsx:174 \u00B7 plugins/code-modernization/hooks/views/deck.tsx:236 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/deck.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d65c7bd61129acb05b243f0381198c82995ad48dd95388e80fdfc03c486fdfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): plugins/code-modernization/workflows/extract-rules.js:15 \u00B7 plugins/code-modernization/workflows/harden-scan.js: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":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c851a3a421c0e7a15d96cbb6edf48557dc1c33f8ffc8322080b3c94e09ca79a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): plugins/code-modernization/workflows/uplift-deltas.js:9 \u00B7 plugins/code-modernization/workflows/uplift-migrate.js:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/uplift-deltas.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8ad5caf581245f67e8cacdcbaf11a71dcc99004a0e43dc0d55287f21a08ca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): plugins/theme-examples/hooks/scenes/braille-stars.ts:39 \u00B7 plugins/theme-examples/hooks/scenes/halftone-dawn.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":"plugins/theme-examples/hooks/scenes/braille-stars.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42b2fc0ac013ae191db0dcee447ad701c2d096baa84b63c7a8780e1992f1c58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): plugins/theme-examples/hooks/scenes/departure-board.ts:48 \u00B7 plugins/theme-examples/hooks/scenes/honu-lagoon.ts:178 \u00B7 plugins/theme-examples/hooks/scenes/night-reef.ts:209 \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":"plugins/theme-examples/hooks/scenes/departure-board.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d24508ed7f1d6faf5bc07eef9d10075e9d44428b24168c12773259d504937cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): plugins/theme-examples/hooks/scenes/koi-mosaic.ts:17 \u00B7 plugins/theme-examples/hooks/scenes/teletext-clouds.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":"plugins/theme-examples/hooks/scenes/koi-mosaic.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c88d7bbacceb6b18eeeeaa035e906696301c5c42f27d281da7a3590d621094"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): plugins/code-modernization/workflows/harden-scan.js:282 \u00B7 plugins/code-modernization/workflows/uplift-deltas.js:212 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/harden-scan.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b929c44d9a49c540b3a4d185232a3320e90f30211cc8a3f96026433d366a4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): plugins/theme-examples/hooks/scenes/braille-stars.ts:39 \u00B7 plugins/theme-examples/hooks/scenes/dither-dunes.ts:112 \u00B7 plugins/theme-examples/hooks/scenes/halftone-dawn.ts:42 \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":"plugins/theme-examples/hooks/scenes/braille-stars.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f081ccf69291130bdf124d928c65d2622d1afbc6aba2e3e63fdfbe0d58220f89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): plugins/theme-examples/hooks/scenes/honu-lagoon.ts:37 \u00B7 plugins/theme-examples/hooks/scenes/paper-garden.ts:92 \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":"plugins/theme-examples/hooks/scenes/honu-lagoon.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7728df346814778963a772c73a3b4688a897b46f513cda5d1cbf65b795d73ec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSnapshot (cyclomatic 132, cognitive 183): readSnapshot has cyclomatic complexity 132 and cognitive complexity 183; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"2994491f8bdc6875dcebad6ac04092211cfe9c5829473100acc131c2b349e42c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processFile (cyclomatic 95, cognitive 195): processFile has cyclomatic complexity 95 and cognitive complexity 195; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cf6fe14a739cbf5333d572e6716c2d58197dfcdfdea7c8e6985a75458089c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 61, cognitive 76): (anonymous) has cyclomatic complexity 61 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5a0b48c95fc6ba0c23244e8d38e994996fb8de11036ee7ff3a87be05dcf7ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function xrayOf (cyclomatic 46, cognitive 67): xrayOf has cyclomatic complexity 46 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/xray/xray.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea9fb59a706281268dcca1fe6ae0b4164eabbe4a8c0975e358bf9a7d18fbca3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 62): (anonymous) has cyclomatic complexity 40 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e9ece6a0b879e69398c9cb541069ec00f310d889322b876a5192ba4b6446e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deckView (cyclomatic 39, cognitive 40): deckView has cyclomatic complexity 39 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/deck.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d155bb4018ffdeb9c8b85e50774ac60398a9dd0a13df2f21a799e48aa2076fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBrief (cyclomatic 38, cognitive 43): parseBrief has cyclomatic complexity 38 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/brief.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dfd8d44c5f283b6e636d5c051645969ec38e3d842dcfef3507d1ca2c5e0120"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBaseline (cyclomatic 33, cognitive 48): parseBaseline has cyclomatic complexity 33 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/uplift.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1525187cc4d9523717cbd3d8cd7656adf2556ab947aa318e7d9bc81d2a638b5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pineCells (cyclomatic 32, cognitive 57): pineCells has cyclomatic complexity 32 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/snow-pines.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"77465ba453ac585c8e0698bc823933d7c81beb26f52c6871067c84b042e0a12b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 44): (anonymous) has cyclomatic complexity 32 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca656ae1e292f8e89c16b36399fd45a121d085103253216e44350dd07467d17b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleInbound (cyclomatic 30, cognitive 43): handleInbound has cyclomatic complexity 30 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"34465c5078adee4fcf2b066fbba75af80a0d2dfc88b8351116bfeabfce69c69e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function milkyWayCells (cyclomatic 29, cognitive 63): milkyWayCells has cyclomatic complexity 29 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/braille-stars.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b55dd114c74b8462fc2a92c063dcd164699c558ef1cbbbe562882c12a3e6d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 49): (anonymous) has cyclomatic complexity 29 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56f4a942d95a30367acafeb6baa17a58850991e736a2478aacf2a2e39c9b0a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 26): (anonymous) has cyclomatic complexity 28 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefcb3c8929cdead325d54b7ff428485325d1c2b22856746f421d529a9a878e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paint (cyclomatic 27, cognitive 49): paint has cyclomatic complexity 27 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/map/estate.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ee9295d8c7e999d708168abc707101396ce30a19ca29f7d2117e63134defe2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseVerification (cyclomatic 27, cognitive 35): parseVerification has cyclomatic complexity 27 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/verification.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d1cfe95c5b0df39469957bd0aa84429be0079429639d06d84d1397133c2908"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTopology (cyclomatic 26, cognitive 31): parseTopology has cyclomatic complexity 26 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/topology.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b03e64f3a108204df47d6857e1e684c3df9ef10a77d18a7fb0a9735101f000"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planOf (cyclomatic 26, cognitive 27): planOf has cyclomatic complexity 26 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a82b1954a6e4b45ad697cd3e33e5820a766cba106f29433fb7e44957dbf905"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function turtleCells (cyclomatic 25, cognitive 73): turtleCells has cyclomatic complexity 25 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/honu-lagoon.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e021b46474d79b22c88c2b555f9928d0dab6f4e3f570b5259edccd61ca86a11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cardOf (cyclomatic 25, cognitive 27): cardOf has cyclomatic complexity 25 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/rules.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d68eed8f12060fd121d76cdd40709de915308ae100f1bdc04cebdd0ef4da11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alphabet (cyclomatic 23, cognitive 39): alphabet has cyclomatic complexity 23 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/departure-board.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"92421a6dbc489b8fdc43132c00739e68caea08c528e70aa04b70e7d8bf0493c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleInbound (cyclomatic 23, cognitive 32): handleInbound has cyclomatic complexity 23 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e3f3b499e616774fea43eadc257f87781ab65957e14daf5993999685de14ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleUser (cyclomatic 23, cognitive 29): handleUser has cyclomatic complexity 23 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84ab5f84a67def80a2eea596a21a9c6d4ccc28a04ca4ecbe1d484766e34f09b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function islandCells (cyclomatic 22, cognitive 55): islandCells has cyclomatic complexity 22 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/honu-lagoon.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaf7027deecbee9b40ef753b4abcb0c933b2ceb8f63566a89d89d5a4fb30b2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 34): (anonymous) has cyclomatic complexity 22 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d77973e701d31b6d4a24b9a454f2b7136ceaaf7ff1bec16ecd7b87d4447eb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gate (cyclomatic 22, cognitive 33): gate has cyclomatic complexity 22 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f231f91b3c957f59fa3b04f18220c6d9d92d1c93609d2f09c4156875122b41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextOfTransform (cyclomatic 21, cognitive 34): nextOfTransform has cyclomatic complexity 21 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2e00146e07280fbd6fd4ecad9a55e32dbc13dc09310e1847e15b939043a423"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gate (cyclomatic 21, cognitive 29): gate has cyclomatic complexity 21 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"110f4509e5cb6cf0831259e53d005d000642086d21e20196e4dcc016eb47c9b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 20): (anonymous) has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/rules.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cac7d3ca6e8b07ef42c80523b133ea64ba1b5fe67d50717c88626b1286ae29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function session (cyclomatic 20, cognitive 27): session has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"45da4d0eb51b18f803daf1123c9dfebc40354342b186f66fac9727bc13648556"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleInbound (cyclomatic 20, cognitive 26): handleInbound has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ecf4dd97cdb0914b7b7f5251c6c835ab42560b7e893e81836374efef80ed45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function directoryUnits (cyclomatic 20, cognitive 26): directoryUnits has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/discover.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2c11ce2d12db6438a9690687120b04c3fa31213dd7c0886c6397cd645f5864"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 19): (anonymous) has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc768c31d70473073ea5f730160157ecac4f5d3349c8fb9c1f950c17ce6f3df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gate (cyclomatic 19, cognitive 27): gate has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c791039e3c2eaea9a0fb326ed47786c5b5c4e83bd32047b71c8b580d10d8eea7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upliftXray (cyclomatic 19, cognitive 19): upliftXray has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/xray/xray.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a1c21e1ed4be7f0df414e70bb0928c0558eaa1c6dede9d8ad48099d6cebc5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fieldStars (cyclomatic 18, cognitive 44): fieldStars has cyclomatic complexity 18 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/braille-stars.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2e20b012c2fe04903b3fde841747f0fdd8db7d13deed4ab2e6209d903d365a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function levelPath (cyclomatic 18, cognitive 29): levelPath has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/dither-dunes.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c092d669119a41dcc25dd2d662e88550ef2583e64a4c8f7b2bfbe8825651760d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLedger (cyclomatic 18, cognitive 19): parseLedger has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/review/ledger.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d44dddf66fd9b4a54691a186e1cad66eea07c40c08e61de02832b49511e468"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rowOf (cyclomatic 18, cognitive 17): rowOf has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/rules.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6ff37541e30ed785de0750dbcf03cc115cf4c2cd2fe8ab4813fe4629227ac5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTestsAt (cyclomatic 17, cognitive 30): readTestsAt has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a886751838926804cfd6e175ec267fe1b50a911e202208106f4aa7a4debe894"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lilyPad (cyclomatic 17, cognitive 30): lilyPad has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/koi-mosaic.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee31a7ab84ea83cef39712175504a7c57d8729410dbbdc38e7dc446b203d477"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 26): (anonymous) has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"390be00cb5cf902cbd8069445cc14cfbe9edc6158684d422466f602f9f81a29e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coralCells (cyclomatic 17, cognitive 26): coralCells has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/honu-lagoon.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2076722492e605a81b31c41615f5514b2d3c754b5018278c782bfe64063ab9e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 17, cognitive 17): refresh has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be57854bf0ebfe69a1c6a1609c96004e285d2d50fd158bc966e6140adbac2d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderHTML (cyclomatic 17, cognitive 15): renderHTML has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a87826eedccdf9a6e85ab35b376ff3a252a7fb99df73f47103d4b0f737e92d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function squarify (cyclomatic 16, cognitive 31): squarify has cyclomatic complexity 16 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/map/treemap.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e4f247f7b738d2014661e8a99ab691d046aae96b43650f94921688beb27e83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setByAWay (cyclomatic 16, cognitive 25): setByAWay has cyclomatic complexity 16 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/register.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbce000f0b9ac7464d5cc9651e163cf8e53ba08a69519d4b9c4eb20f3fb7464"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 16, cognitive 24): main has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12be0d39c0a11957957cf59badf9cf170bcf1bb37c6d1d487ec74011c9915db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gitCommitsWithOurWork (cyclomatic 16, cognitive 23): gitCommitsWithOurWork has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0579c2c3e67de0b0f344fe4db12437bf8e67db3156ffadd5ede01aa0ea7614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMentioned (cyclomatic 16, cognitive 18): isMentioned has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e6763fcf50eb1b9ea5cfd6658964cd30ea598cc23fd6f32a570bc53983f0d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 18): (anonymous) has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/register.tsx"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"157c7ddf682e81a5c6a892940c5d5f0f7d2f410b6948b991ea26bf4de965dae5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printText (cyclomatic 16, cognitive 17): printText has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2898d70ef389150a4cf70690e8789abeb421279db0004b76588f7bf05a4689b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 16, cognitive 15): walk has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/topology.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e9beaad54a241c74d1aad294fb4cba75dd4578fdcd367ec79f25f10119833f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c66daac66119df31b60beb6a53859ee2c2ac02bc446fb4df9258cc4e34822b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nodesTouched (cyclomatic 15, cognitive 18): nodesTouched has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7735ebd3dc1c570ebc2f790e88ecae121cb35994d86f4b59f4297dc1d1ad3408"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nextBlock (cyclomatic 15, cognitive 14): nextBlock has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"4377e3e73e492ecf73841865a39bd5a9cda711c77ca29bd0cadfe8ebfb39fb60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function take (cyclomatic 14, cognitive 20): take has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a68fec53218a597ffacf353f669b0747dfa61064677abf886b9e237e895a487"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNotes (cyclomatic 14, cognitive 18): readNotes has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64f4cfbf3727e63dc9e21683d79c17797ae1de66c1b29a1cd11ebb3a8587f35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCatalog (cyclomatic 14, cognitive 18): parseCatalog has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/uplift.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd36834cd04fc4a09ddc408c4285e857ae967c16a2e87ba11490fbf58d88b4f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signBrief (cyclomatic 14, cognitive 18): signBrief has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/sign.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e9673bc10c7dd3dcad7bb8bc39a4195ea1bef3ca4a81a3808afe2bec333263"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readModernizedIn (cyclomatic 14, cognitive 15): readModernizedIn has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7522389cb80f8cae5f016ad79002da2f8a84bbef43e13ec560713c7be0b2052f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee080e58591c28fe88ec5d7977e10c17f2366b612590b035847d3a9fd7ad0cd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stateOf (cyclomatic 14, cognitive 11): stateOf has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"54862c04517dcd0f6a258be4f6d9600fa663d1bcfc3beb4e3319436b6a64cfec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 23): (anonymous) has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/discover.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65eae14ccd7f9a44365f7ffb9cff9f60b493d0c5ec9d318895383e5cf095ce5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oneLineOf (cyclomatic 13, cognitive 18): oneLineOf has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"76488fceb015be21f269b11d82ab79a6154548b6211567bf5de85d0f5bed52fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeFailure (cyclomatic 13, cognitive 13): normalizeFailure has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/fleet/fleet.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"305b5b8f94f103b698d48287bcfe093094e5f4df42cfa857c931bab038c67178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function followChoice (cyclomatic 13, cognitive 12): followChoice has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/register.tsx"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d694918163073e984536e843fa9989a38578e639d5cd4986117fe236b14cb495"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function figures (cyclomatic 12, cognitive 28): figures has cyclomatic complexity 12 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/braille-stars.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef61081a90eea81828c0a92b5f5cc407ecbbc19d4f15f0547b78d3888bdd260"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bankBlocks (cyclomatic 12, cognitive 20): bankBlocks has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/teletext-clouds.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b445bc90477a0e3f9ee63c1ffdbdd19c05827158b11f14e82eed809bcdab9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function landHatch (cyclomatic 12, cognitive 19): landHatch has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/plotter-tide.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d286178357be64b1757c02f354056665bcfdaa563bbd42f5926c9add5e7aa37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be3044e07a6ba0d6f71881a2907c3ee18b97eefee0a71cf19d03be76fe85fb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sprig (cyclomatic 12, cognitive 17): sprig has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/paper-garden.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb548397b69eb793704f45d83d7d1d9c384c6eff50aa4dad6e752d3f90712570"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c382f3bf8eaa876261091aad7edec553a8180ed7c1c5891084b0e40c2ddec12e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unitOfPath (cyclomatic 12, cognitive 13): unitOfPath has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/estate-model.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c88a142932932c4186c80cf2e26405ff02c6aa3cb94e1291d439c569f9f27cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legendRowsOf (cyclomatic 12, cognitive 13): legendRowsOf has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b53d0ede3ef1b9b0f26ff6c5e93868b45d0914f8eb0ce8d9cb09c8ef46fc554"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeProjectKey (cyclomatic 12, cognitive 11): makeProjectKey has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/project-key.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e05f0def663750b49abf5e49581139444af410222a0792dc7b036e90ce72766"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bandPaint (cyclomatic 12, cognitive 11): bandPaint has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/braille-stars.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cd906a748c320ea5d98f2b1dec928b10d744d1636d2796ba1c7d14c715a81f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function noteFailure (cyclomatic 12, cognitive 9): noteFailure has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/fleet/fleet.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b450d552847d289f71de8054274fcd6ffbb652e4a3e60433283bf9f4f06d1d4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 21): (anonymous) has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0251e7a2f29b588f75c3f46c1faa4cf70b5235e4f2af669491df2f2a9dfed1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMentioned (cyclomatic 11, cognitive 15): isMentioned has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e1f33dd48944d8fc086d6a31022d2994c261ad13d61c91025f7526f12f34e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function penJob (cyclomatic 11, cognitive 14): penJob has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/plotter-tide.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"41859b2b7e332f91a72fdb05a89e1b3265b40374e4fbcc39099197aa128c4462"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7ba505a36d09ddb1810b85a3af2ac813244d81e4debf2c9d18bbd45054d872"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function screen (cyclomatic 11, cognitive 13): screen has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/halftone-dawn.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4831c2e49ee56d18e0b5c924e67f2acceefb7ba2299975e650f99ffb64156ea5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blocksOf (cyclomatic 11, cognitive 13): blocksOf has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/koi-mosaic.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"02db1686ace7f3a4b8cba0f32213b40f404400ccbcdfebaa6b43b35d4be3963e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stateOfUplift (cyclomatic 11, cognitive 12): stateOfUplift has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35f30318d4ec531dc876dc4c3b00cc7bec3a6c2e7a5dcf2889b5f3ad402ecc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function base64Of (cyclomatic 11, cognitive 11): base64Of has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/map/raster.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4be22c9bf79564985292bf7faf25ce25bd04ad24f11e7f37d049c185154fd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSource (cyclomatic 11, cognitive 10): loadSource has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75367c11847d6db93cd7fd45731d4f343066a8c6f2823f5cce5189cae4e2104"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/code-modernization/hooks/register.ts: 1051 lines of code: plugins/code-modernization/hooks/register.ts has 1051 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53769f1b9a663abd0893dc04eb0a3e84c746d8e4af3fbc60f0b814ac8610cdf"}},{"ruleId":"R3","level":"warning","message":{"text":"external_plugins/telegram/server.ts: 959 lines of code: external_plugins/telegram/server.ts has 959 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06252fa1156c687c89e265ce957ca1838fe61679a56af83f7b07e4b21ce14afc"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/theme-examples/hooks/register.tsx: 894 lines of code: plugins/theme-examples/hooks/register.tsx has 894 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/register.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a6e5426039143442f70a08983a1111c45ce371891f89cdf527d97a86e2dd77"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/code-modernization/hooks/reader/progress.ts: 832 lines of code: plugins/code-modernization/hooks/reader/progress.ts has 832 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/progress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c0d6209d4a43576af222eb641ad5949f65ee8236db6a545f59909fcb269610"}},{"ruleId":"R3","level":"warning","message":{"text":"external_plugins/discord/server.ts: 826 lines of code: external_plugins/discord/server.ts has 826 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ff80c94c388734a148990796b9cbda9e5b9305645c423d342b7e8290deedc6"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/code-modernization/workflows/extract-rules.js: 818 lines of code: plugins/code-modernization/workflows/extract-rules.js has 818 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cd7346385637ff068ecaf0b200ba363de9e6f5da59ef3f8a4a8f2881ab8093"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/session-report/skills/session-report/analyze-sessions.mjs: 818 lines of code: plugins/session-report/skills/session-report/analyze-sessions.mjs has 818 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5665b9164f7c9eda1949dbe229d7bb58cce1690b2c829451575be44d132a3310"}},{"ruleId":"R3","level":"warning","message":{"text":"external_plugins/imessage/server.ts: 798 lines of code: external_plugins/imessage/server.ts has 798 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c44aeab181e7d3b94a4bcb85eb59ae53cae48db97d6b5c34201fa5d7ca02e0"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/code-modernization/hooks/views/pane.tsx: 588 lines of code: plugins/code-modernization/hooks/views/pane.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":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27818577a1fa6394659013c55ad36293be3c8014e4875f78c8e5903bf30f425"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/theme-examples/hooks/scenes/koi-mosaic.ts: 446 lines of code: plugins/theme-examples/hooks/scenes/koi-mosaic.ts has 446 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/koi-mosaic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b60ef8687bf3a9e83b070bdddfb833fb6d87bde222a9f98f47e7a2daca832c"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/theme-examples/hooks/scenes/night-reef.ts: 430 lines of code: plugins/theme-examples/hooks/scenes/night-reef.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":"plugins/theme-examples/hooks/scenes/night-reef.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61b5340343ad645cbf56f66b90e838a790d97084e640f560ef58af7818a4a58"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/theme-examples/hooks/scenes/paper-garden.ts: 416 lines of code: plugins/theme-examples/hooks/scenes/paper-garden.ts has 416 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/paper-garden.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a16b6907debba59971cc2c769f39ea2bbf235893c7635493f4121e20172a2df"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/theme-examples/hooks/scenes/braille-stars.ts: 402 lines of code: plugins/theme-examples/hooks/scenes/braille-stars.ts has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/braille-stars.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa00cb2ccec774653d2e07c24cd4e1ff2ecaa74b7cd23249e4ffe7099ca3c3b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a4c795fb31a1114159bb37f0a8649139decc5646f016d7a48ed9cb09d83537"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1445dac9bebf784bbc47f2512248e697d67ed7bbc7550baea71a679afa20629b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/register.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9a5510b96a83978bf0fa362c554ad2892fb5edc4dc7beefdbb2798a42946ac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1c7bf3752957168fa45f832713e5fb0565fed900548ec258a803189980f996"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11cbf6a70b07b2a4c9119aa57d4db47927ed2bfe02a0129d4e6cf8165c6bc2b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a4804029481ba8f751f605b5bd7048899cb7e1780d5d73e566b20e4fa66dc3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2077a931c8c51f92d56854b236cfd413b407957bd5ec1cdeeeb5e54ae186cca"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb112de7a7974090817e1affb276bb0ea6f11a208073c4980a10bcfbcf82c10"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/views/pane.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ac4aba3307cc1d6251cda88d874f39239ac9e4e021b9258a5a80ed5238a31c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/koi-mosaic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec13707671e16fcb283ed5aea5b98099deae226a90d8d959dc07d78f0b32173"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/night-reef.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d519bb43320536f796382e9b779d976e50056d547bf3fa03d2843c3f2316d6d9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/paper-garden.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5301eb20cb2e0e5cc0be306eeacfe7e369cf861fd316707c6df35e97efea3566"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/braille-stars.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d764d56276564c642f67c99aea555dff89cf3173603578182f3f9355a96477a7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/snow-pines.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93f7072758feb4800d4998e887ef01939fe4f2c8e47d46b43ee66416708dc35"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/uplift-migrate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2fdf1ebd5625d9cd54656538d089f13500fb5fd326cbcf3cee258cced7df52"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/vector-range.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"293461bb01e05fe97dab29581e62c468e06ad1cb1a4c90b784d9450ce7caad20"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/dither-dunes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a18ceafc28d545edb76aa8378fb4236d04cd22c4994d073252db247efe61684"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/plotter-tide.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2819e079ae1c170d0f3b425030d243ab4e0ecb5bef8d7f0d092dff1f48fb6044"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/honu-lagoon.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67230cd5193e5282baf90a19ba1dc8ea5ca1d7d0245f86289c26cebc3f8bf55f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/harden-scan.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a527fd632dd9193f65787f3bf51c1eed0b292644cd73c10fdfec861cf87e860"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/blueprint.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf7ec18ffe435cc07aa8302104239cd96ed345fa46ca488140cca5cc5bb5392"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/departure-board.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f956c3d47361b067181bfd6817899c56a52c25e025d773fa52c5103916635ebd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/teletext-clouds.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c947437f553b5dc9898b2eb7a9258081e2cfd570c5eb69b35e2af3e49f9ed7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/project-key.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf799a52a05e469055449ae694011c6b30c1cb1b8d41725fc2225a086eed3b4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/uplift-deltas.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c620cf46eae05f0773bfc7414cb7490b8c74199b71dc53e3d625ac9ffb6456d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/themes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e466e9baac5e2a37a2b077d143af43c37c481ad5ae00215bb30debc18bdcc6c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/fakechat/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da088385e4141253bb80a85c739e092d20cbab1abcceda9cd35643e6fec37f4f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/receipts/assets/make-sample.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a27b7ff3a13c63be73b8ff398c82a7780f2029022741a1c44c36dfe10b49c44"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff08c2ea036eca9f803601efa546aed97d05fcb6249148993bcf4b7b22cd243e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/halftone-dawn.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58cebe997e980e06b765b81a4a3f4216d5694b007899abd0bc805f1ed3dd875"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/fireworks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fd8a0327bb668d01f411836459ebe44621617117ec8c5ba8fa4f3321133532"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/portfolio-assess.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7e1c8112291a527f57a85e2f9a15e9e228eb287397d3ba1d308826d5ca6ee0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/theme-examples/hooks/scenes/classic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"776eebe3eb3472f9c7b6fc05c626887b3e11f776c7888a1eb7889c899ce26d83"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/workflows/reimagine-scaffold.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c833ffadbb75ab0db8beb3e80f46551e1bcb196204170a561fba746a140a3dd2"}},{"ruleId":"R6","level":"warning","message":{"text":"No test, lint or typecheck script: test \u2717 \u00B7 lint \u2717 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a9372ffc30204d52cc3368af49ceaa995574db973935e30b3946f83785dea15b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1298 LoC): no import path from any entry point (8 application, 7 tooling, 10 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":"plugins/code-modernization/hooks/register.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f577133520b3e9ac64f97a68ac6b4c4bf013d3deb01e541b970d85a87d2fb2e1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1076 LoC): no import path from any entry point (8 application, 7 tooling, 10 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":"plugins/theme-examples/hooks/register.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"161e67d3d842e80d4236a7e91c40f089af50683ccce794ac965f07afd16e512c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~865 LoC): no import path from any entry point (8 application, 7 tooling, 10 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":"plugins/code-modernization/workflows/extract-rules.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b3b3d1246afade4cba35e4fc41f1280439f14ce23dedde121acf83e442688b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~425 LoC): no import path from any entry point (8 application, 7 tooling, 10 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":"plugins/code-modernization/workflows/uplift-migrate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a971f621c8f00992d7c237acbca6d18838a89e6b277cad394e44345305886fa0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~296 LoC): no import path from any entry point (8 application, 7 tooling, 10 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":"plugins/code-modernization/workflows/harden-scan.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f86b89e8b0359fc272444ae6deae9b8c0fd44f4b5486aecdc7e6abff94ae66f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~238 LoC): no import path from any entry point (8 application, 7 tooling, 10 test roots considered), but 2 in-repo import(s) from 1 other file(s) do name it (plugins/theme-examples/hooks/register.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":"plugins/theme-examples/hooks/project-key.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"806e70a44c5613def5af03554a98cf5a6736a6e140ad9dd9b66175f2f246ec45"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~232 LoC): no import path from any entry point (8 application, 7 tooling, 10 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":"plugins/code-modernization/workflows/uplift-deltas.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"480e33b654865eb5cbf900996bb193acdefb70e8a2124d0c17d679ed98e552ef"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~110 LoC): no import path from any entry point (8 application, 7 tooling, 10 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":"plugins/code-modernization/workflows/portfolio-assess.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73f02bb0d0748323929d88e43590f70c7da8192f82cc4d4f2bb64002ccb056a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~103 LoC): no import path from any entry point (8 application, 7 tooling, 10 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":"plugins/code-modernization/workflows/reimagine-scaffold.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1b6c3594997050c02fd820a7f8a890f0be886b5eaf6a30b87eb19529e252a3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isSourceFile\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/estate-model.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5f327909ec2dfd2180ba096544392b1970b9eafd6a3dd524f498e2ff54cb16"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027readModernized\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"194bfa531c85d5805655f0782d9bbab1b10ee7df4756a85e96b738423b749eec"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DECK_ID\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/state.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6c1e60e06c0fda7f139e20e7b151a3552c937f69c8a4c661e26d16e7e0ac80"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027under\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":"plugins/code-modernization/hooks/reader/discover.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"386988ee833575ce194524ec7adc6fb1fbb175bd8f868c9553af7eae26c72944"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027claude-code\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c31f589392a375971def89818535be42bf629c397a3c489024144cb3bff2da"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027zod\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e8df91c508cdf58594e75ca6337a1c33788451357d58ef8407cd73d4a3bffb"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027zod\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f55797dfaac59d16ffa738cf7b9ff0c145c12283217bf2deada40a88b2d029"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rule.confidence !== undefined \u0026\u0026 rule.confidence !== \u0027High\u0027\u0060 appears character-identically in 2 files \u2014 plugins/code-modernization/hooks/review/deck.ts, plugins/code-modernization/hooks/xray/xray.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":"plugins/code-modernization/hooks/review/deck.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5c399e461e5538c966b1541cff0a087c74a7720c677689729a1149423c2320"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 3 files \u2014 plugins/code-modernization/hooks/reader/topology.ts, plugins/code-modernization/hooks/reader/verification.ts, plugins/code-modernization/hooks/review/ledger.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/topology.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d9473b7fd994c3d29feaeb9f4699daddd2983c152285994bcf7bf24eb49923"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unit.dir !== undefined \u0026\u0026 unit.dir !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 plugins/code-modernization/hooks/reader/estate-model.ts, plugins/code-modernization/hooks/register.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":"plugins/code-modernization/hooks/reader/estate-model.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7956f643c9beefed55e1f831e1f93b72e63d884f04b48d6f4ae5ffd52a53634c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060PLUGIN_ROOT and PLUGIN_ROOT not in sys.path\u0060 appears character-identically in 4 files \u2014 plugins/hookify/hooks/posttooluse.py, plugins/hookify/hooks/pretooluse.py, plugins/hookify/hooks/stop.py, plugins/hookify/hooks/userpromptsubmit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/hookify/hooks/posttooluse.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8802b9835ccd7df9cf865a60b1282ed58b869021a25deedaff48baf24bec67f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fr[\u0022days_old\u0022] is not None and fr[\u0022days_old\u0022] \u003E 1\u0060 appears character-identically in 2 files \u2014 plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py, plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/pulse_compute.py"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bc90717464414f16cb2d3578faa05c9c489607ffd8ce798d10f4a350293a11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(reviews, dict) and isinstance(reviews.get(\u0022reviews\u0022), dict)\u0060 appears character-identically in 2 files \u2014 plugins/code-modernization/scripts/build_report.py, plugins/code-modernization/scripts/telemetry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aef0bbe2dbd26bf6b23e2fcefe923255c04ec334245a9e38f19e04d046e871f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, int) and not isinstance(value, bool) and 0 \u003C= value \u003C= 10 ** 9\u0060 appears character-identically in 2 files \u2014 plugins/code-modernization/scripts/build_report.py, plugins/code-modernization/scripts/proof_pack.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b8ccdd33da69ff9a698df1c9529ea367038ec7d2d3b2656a2bd848727cea37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060j \u003C len(lines) and \u0022|\u0022 in lines[j] and lines[j].strip()\u0060 appears character-identically in 2 files \u2014 plugins/code-modernization/scripts/baseline_diff.py, plugins/code-modernization/scripts/build_report.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9254e5ee933e47affa7b45b5859b854cbe6e679441c9981a0417275bbf6d61d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not args.system or args.system in (\u0022.\u0022, \u0022..\u0022) or re.search(r\u0022[\\\\/\\x00]\u0022, args.system)\u0060 appears character-identically in 2 files \u2014 plugins/code-modernization/scripts/build_report.py, plugins/code-modernization/scripts/trace_rules.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcd5751a0b18ef76dd75e675e44486509eff63a52200d29df37122f8095e497"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not diff_output or not diff_output.strip()\u0060 appears character-identically in 2 files \u2014 plugins/security-guidance/hooks/gitutil.py, plugins/security-guidance/hooks/security_reminder_hook.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fa3df3491a04cdd730bd81c58dac247d7f02c6284630b8bf8ffaa0b22d0f70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not is_str(prefix) or not scan_prefix_shaped(prefix)\u0060 appears character-identically in 2 files \u2014 plugins/claude-security/scripts/patch_artifacts.py, plugins/claude-security/scripts/render_report.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/scripts/patch_artifacts.py"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2dfdfe7d8f6dd28b2fc3b6c57121c8d61758d34cbea06bfbaa5446abdfa2a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.path.isfile(path) and not os.path.islink(path)\u0060 appears character-identically in 2 files \u2014 plugins/code-modernization/scripts/proof_pack.py, plugins/code-modernization/scripts/telemetry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/proof_pack.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b383f8ac6979710b79889f82573d4aaa3ea724e29e6f4d08c061ce53b34262"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rel == os.pardir or rel.startswith(os.pardir \u002B os.sep)\u0060 appears character-identically in 2 files \u2014 plugins/security-guidance/hooks/diffstate.py, plugins/security-guidance/hooks/extensibility.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d075049dd131f4bf90ea1f4ebf0e8caa50bee9ddb89932881629b233993e247d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.endswith(\u0022|\u0022) and not s.endswith(\u0022\\\\|\u0022)\u0060 appears character-identically in 2 files \u2014 plugins/code-modernization/scripts/baseline_diff.py, plugins/code-modernization/scripts/build_report.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27f4a570246e7bf5b5f2e429ba759a45b514701903b8d739e6f578955362e18"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/1 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: downloadAttachment: \u0060downloadAttachment\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":"external_plugins/discord/server.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cef1b8bc4b2121db47cf77b41a19f7ab307a1773d8a225ce72d6427f2a760b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e1890544f448bfe038697ca34da8f0b3674b8c88bbedf0f96a41d450064de9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e0ba3b05c5ef01d3ad259ef6c4705a57fa7aa55e70233f53a825582ba366a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/session-report/skills/session-report/analyze-sessions.mjs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d21111da93b15b9ea849bf5aaffe353af2278772ac70b1194b49bc08ec6417"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/_base.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"303670b66ddaa067a3503cb5a67f6c55c2bfce615ce1bce2cc299284d675b201"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/_base.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d856f3dbbcd249016aadcf8d0dfa55b5ffae22d40f85f0980b722ddffb20099e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/_base.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7286ffbd6cd7ae8586fe46cd59b1b26cc9a1341e893a8bd7445ea879b467ceb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/_base.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aa2c6fbfa5fdfba9f3afb8452c7f7713f75f27564391584cef830e0d687d7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c5d23de8115e2afd1b048b54ccc2a7eb8fa78b9e5ff7439f4e2221d475f5a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/diffstate.py"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"860d0834df4dc96d16063ed6222ae1836a51224bd68650ed977ba8aa8154d271"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"71038257af2bb84b93834ffd4200cbe3f5a4700afbe57ab544224d4413f44476"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f837cb75d4b7d2bf7f8c7c53ff565a899412d72320cfa21807cef54e115297c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e568b9f68b869bdee9840772c0fdc4acf5a26b1d5484b9b0478dd8716e9db0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"571651aa6c558462453ea3312cabb3414aa21d43627dfbf0e786fd2f34ddb456"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"368623ca6b32a0a1dadcd5c3d57884b14cbf707d620b8f3295593ed62fcd0d47"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/extensibility.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d5f486d42c075ae412adbe756ed196bf1c7a0f051c2ba88c08d96991b6fda8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"51154bb1315306b74ffb1de2698615cc781109e35828ac3df438e8a03dbd0903"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74650bdcfda5848875565c79f0417b0bf7400109a20b4648510ad110b24b240"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1f7c94fb07637ba5379d39e27acb73d3c21795c81c461a4886962b610f3b7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"909ac586bc6dbe8e122a9e65d207108a34c11762380e9ea82cc63cd303078260"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"6625d0bf21904fdccfd1c4df65488436cb67d2f539023d92f56eb7eb70cf3dfb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f967af6cd67f1d2b1cd5eb079b9edf0be20ce695111331c2812133e82f437cca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"094a74f86a6ad1cd814b50f6ca5b22524a688c7a17020a20988a05a6c923f47b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6355d8c2188e2f144a8355457c75b8d18fe37655709c05de01fe7c3e3ae40feb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f74028dd9de3de53bd24368e6e52b811c6cb62e09abe2a0f8880153f5a1ae5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e9b401ebd6b97e2e96a45bd9a6338d8cdd7bbff2a74a954b7f084650736b78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"3622fd277858838dc591fccdb54b3bbc4ce70719f4c09082ccd195885d540fb1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b934fa927eb79ec264f0f44bf0f51ef3ce0774de0315702ad4a02e827b024cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"856930c7f5dca33084478a6bb85ea72954f8f928d91a943e1c1311f8730da46c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6665c5c57222638f67f1e4d0e0872bd8cc66ad574d28ef9db69ce47aed8827d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/security_reminder_hook.py"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a440e922e01678aec960daaf0b4459917cbd1fa52f4f15cd7463daf0c0d98d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/session_state.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3027da4c68f00b2d293beb873de708b9905150fa3954cd98d1db4765ffdfe8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"68226b8a66137d717278672d4c455ac64cc43c81860fa46d29a443ee2029a1cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"def2538df8d589f4f331e12aa9cebe36387cd42294bf53ed7dd30d0d412d716b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9439be7867bf35fde79e36a262c0cfeaabb53572f865fec7f82cdd6c7fc8a11"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d03f24c9d32a87e6344d8229428bd03f9042d11b6b9e62890c903ab0330aa8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/fs.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"57144f6d6c839330605950317a34f995658e6859b2bacf11d00715b51c4f6142"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"798e88a839fae9cce9aeb7339e4f7cee78877038dddc03163afbae5bbbcb8caf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a0591b89e7350f12119421dce7aca26a55cc463154a2f53918d496ca5966c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd4e5b47fc93428b10026e613f0e086f84dc1b2fab9f418ed8913ff84a90d94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebb131736deb4b0cc92ad78c3ea416b13a89de1fa998573cbe1c50997305094"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d05333841968768a6c8a68f0aa193933b6a3b3fcbcd161906d8c1f9820e7ca5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa537974fb6430e00ae72ca974f37a81246d09d9e79d2168dc9dbe12f95c875"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"46951be26b43558cfd2bc51969b8aa74781b30f6a6c4057b99f5280397c9ccfa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/telegram/server.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b9b85fa4597fa4781efab9b92a3146b2b284410b92f47fe380af10ee9fdb4e"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ddd19855a252840c7cdac1606f60a6937e4f8e90ff276d7be881434047187f"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dccb124ff3b86c59929878957a4151f0a78964bc242986a7f81102ed63f60e"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f08ecdf92b5e9f3b120ecd5776bb0e84f86a3f058fe96c30cf4d6924d9b853"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"724d020120b7a8c53e27151e602733d1dc1b858781cd8c1a9805b2ab02d443c7"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d396fca25a2dea99eaba7bb63c2a00ccfbd3dbf2613cab82302794579a2b32"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adc0e54b602c74c52fa63f31dc7d291ce1355634f420468e453d9f4629b96dd"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"5077c09a9409f1ba2524d892a70084395635c47bdf775df5f786956825e9f1df"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"0905f6d76addf39873dcd43063cebf522a94ed796cc54d7968cbd1ef488939ec"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca2e9cc1f515c4417bc71170624e9fc4cf4929d0255f4ae1fe722ad9ee3c182"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59b6382bfd8fdd0fd00b48529297027628d40d8e5f175cf624c350e692b87e3"}},{"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":"external_plugins/telegram/server.ts"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"10573438b280b9bf4913374ca71a636a24fd6d927e7eda1e954d25faa13ec5dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4d01a716501a6c7aa87737d2f784c3ebe825a8afd936f1fdf35912677cd901"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59cd96d2dd511cd8879b232afad43cd532fb0381870aafced72bbdb575a984a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0bd68da4ecaf5f5fd78017819bc67a4d3f457a7e4a0b69c62a4a246341d95b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f649755626a3426e66c1e80662d6ffd9e53cfe1c3851c3dba6e459e6baf2a24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/imessage/server.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadebc534c7f5e16d667e8c3f3ba02c5e71b31fe1f0af45c390dd09db87bbff0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/fakechat/server.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6310dbb26d182c5c308ccfbbad5c39a4deea9fb211f70efd1998cdb89b5a991a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7e2a6f39de006797dcf5f95b14fe8d637312544cac5c076d794267bba863eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"662d16373a670b3f1937ad7789a191bb5c3bc268b8f97fc91c26db9a5a2ae22e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9791d278c6eb21026f72e436ae23596d87ef7598dc6792882b25fb221308f2db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"85caa0e3589b8d49f87acbc0b7ebd7cbdf8792868b74483d0a7e8ab2e6bacae9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b5a54212d80addc8f67ff31d1cb759a97347a4296ce53bc37cd075730de3a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"external_plugins/discord/server.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"931424bbef14fe66ebea2a3fbd612c2d79eb08117784f27757568b7207f446d2"}},{"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":"external_plugins/discord/server.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c637240ced19e84416a3a7c2fc3a9f686b2b658844a24d1847b75fd0d59a892"}},{"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":"external_plugins/discord/server.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ac5daa9b1d581d903ec476c9cd8a85b08362060ba4032848040edc1a0ad9e8"}},{"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":"external_plugins/discord/server.ts"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb58dc67167a57b6642518f693a65cbfedeb155a44a55a3f6c1edabe9027ba2"}},{"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":"external_plugins/discord/server.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a44f788258d78d3a5b640bf82c6f6a44a815636389bbe719932299b77f1219d"}},{"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":"external_plugins/discord/server.ts"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eab15aad141cf94cacced3a0b61ff8f9b875a6a0beb530af150962cf689ddbe"}},{"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":"external_plugins/discord/server.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5579489328d882f66dbfd87ffe676791c26390d3f8a1fdbd3bc935aaaab86b3"}},{"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":"external_plugins/discord/server.ts"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ad24f0bd2518b25d5889d1a2f429a7cec5186fcadac945dd028d5d42aac7dd"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.5 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 16 assertion(s) across the 10696 source line(s) of the 31 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: external_plugins/telegram/server.ts (10), external_plugins/discord/server.ts (3), external_plugins/imessage/server.ts (3). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/scripts/improve_description.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"694ccbaf4d88e97d477807873ced72a4f16529c9c311800cc4804c4403e15089"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/skill-creator/skills/skill-creator/scripts/improve_description.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad9efda8806606cef35b3e70bf8440553a6b5a4c37e47478652d903e3dcb030"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/baseline_diff.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8884381db3d950b53c85bcfb4e71822f8313f2cd55b3336265fda7ccc81a7b"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/build_report.py"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"16499acec480395b36af6260e8c66af306271f0b77c64c5c86020ba5be565061"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c9cd12512c08c1842870a3a1bc35976568e3aedfd7f2b7d23603cecbd55b5a"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c61c8e8ba40e5083cc3b3db71ceeaae592aba699bb4c14d74b5b330e7ed9ea"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a63016392c67642ac78f600b758096c63e3148002ea255fe30ff7914c29adec"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f29ac221b6c39ef37c597c970d215de82c5f6d719fb4c8fa61aae54c2bb2a6"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de4f61e070b9375256d37164fd49eff7a5f3852a258b688e8789579edcdbc45"}},{"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 Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-for-manufacturing/skills/morning-plant-pulse/scripts/render_short.py"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d6d204a74a3926ae196a4988b7f24725daf8d7249a9bb8e9f291cddd175931"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060parse\u0060 returns \u0060{}\u0060 when \u0060(ValueError, RecursionError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/claude-security/hooks/hooks.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"11906406a6fdaac98d4f1157bc700af7afb4b3c82a69688cf405ed9dc7cba0b3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060whole\u0060 returns \u00600\u0060 when \u0060(TypeError, ValueError, OverflowError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a582d6ceea3ad8f79d087d12886d92ae5c62b457a143b171bb450a1eb435b50d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060plugin_version\u0060 returns \u00600\u0060 when \u0060(OSError, ValueError, KeyError, TypeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef460a9c9e49cc3d36da35a0da47a1acbc168ac91a5d7da7938180c99e40260"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060inside\u0060 returns \u0060False\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/scripts/telemetry.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70b10b28bd35c0dcd0f148ad124701ed4dd5e4727fe971e52a98e623a9ed9d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060launcher_probe_metrics\u0060 returns \u0060{}\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/_base.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bea49cffe5bb90fbc7ace841256f45bb3f9feb69127d048ba4bf2258d5bf34"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_encode_rc\u0060 returns \u00600\u0060 when \u0060(ValueError, IndexError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a7272c40fd003b62fddd8475a19c70e40ec7ddee64e82fc3e69b6dcb60eed9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_encode_errno\u0060 returns \u00600\u0060 when \u0060(ValueError, IndexError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e5747ba82d45fd8be788921c9cfc0967cf087eeb59776b8eb359b6abba443f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_plugin_version_int\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/ensure_agent_sdk.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"0387e8f4d92f6026fe49a6db8f31003d51e5898d6da117bfb44b2f0a90d7bcd3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060on_windows_drive\u0060 returns \u0060False\u0060 when \u0060(OSError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/gitutil.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf58666246988854a3c69d74cc0ca584e1afa6933632ee3d99b246ac9f5dd363"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_net_error_code\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/security-guidance/hooks/llm.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c4cfd828eb81376707c7780eb8ac76a59d9a71841d1e97af34c885772818fc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_tokenize\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":"plugins/security-guidance/hooks/reporesolve.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1a9e75eb7b0d3c72913d299149632daac334ce8cddf71d8809ac6e025ec9b7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listOrEmpty\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":"plugins/code-modernization/hooks/reader/fs.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ad53c7cebb61298932bcb343b9bdd3120828b84b97212988f3c0d8c1808e67"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060changedAt\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/code-modernization/hooks/reader/modernized.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d8155e7ebfad6044250eea9cb8bb8e9e8acc49854818fa76e3df7a1ebd1d51"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseLedger\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":"plugins/code-modernization/hooks/review/ledger.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf5b632a53dae6899f9c67828eb4ee5cb566e66212e0a51a7689fddd1e12b3f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060gitCommitsWithOurWork\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":"plugins/receipts/skills/receipts/scripts/mine-transcripts.mjs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a3656ad864fac6e15e8d3ea2957f99c08d8c91165f3a8249e1d72ffa542ed5"}}],"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-1050","guid":"c769a6f8-c07c-6a59-9131-c5ed25ebf209","name":"CWE-1050","shortDescription":{"text":"CWE-1050"},"helpUri":"https://cwe.mitre.org/data/definitions/1050.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-174","guid":"12320e15-76a3-3950-856e-f2ca9ed179e7","name":"CWE-174","shortDescription":{"text":"CWE-174"},"helpUri":"https://cwe.mitre.org/data/definitions/174.html"},{"id":"CWE-20","guid":"0a612236-7785-3553-b517-eabea925caa3","name":"Improper Input Validation","shortDescription":{"text":"Improper Input Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-290","guid":"379b1e66-a292-7b59-aa1e-a5bb4a6a99e9","name":"Authentication Bypass by Spoofing","shortDescription":{"text":"Authentication Bypass by Spoofing"},"helpUri":"https://cwe.mitre.org/data/definitions/290.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-348","guid":"dbf31c90-4ef1-c35d-b7d8-d350e532f731","name":"CWE-348","shortDescription":{"text":"CWE-348"},"helpUri":"https://cwe.mitre.org/data/definitions/348.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-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-436","guid":"956fd49f-403b-db57-accb-62122d11b312","name":"Interpretation Conflict","shortDescription":{"text":"Interpretation Conflict"},"helpUri":"https://cwe.mitre.org/data/definitions/436.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-551","guid":"7fa3c62d-d9dc-335d-90aa-e9ca8b006691","name":"CWE-551","shortDescription":{"text":"CWE-551"},"helpUri":"https://cwe.mitre.org/data/definitions/551.html"},{"id":"CWE-697","guid":"61fcce2f-e722-1753-b9b3-ef38f4650b8a","name":"CWE-697","shortDescription":{"text":"CWE-697"},"helpUri":"https://cwe.mitre.org/data/definitions/697.html"},{"id":"CWE-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.html"},{"id":"CWE-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-770","guid":"aeddd25d-2b4f-7255-92c9-e933d075dd43","name":"CWE-770","shortDescription":{"text":"CWE-770"},"helpUri":"https://cwe.mitre.org/data/definitions/770.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-918","guid":"2e9b9091-5a0f-dc57-b644-7ad04bd56e64","name":"Server-Side Request Forgery (SSRF)","shortDescription":{"text":"Server-Side Request Forgery (SSRF)"},"helpUri":"https://cwe.mitre.org/data/definitions/918.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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.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"},{"id":"CWE-942","guid":"a5e9f9ae-e5c1-215b-b5ef-9b85aa6b4828","name":"Permissive Cross-domain Policy with Untrusted Domains","shortDescription":{"text":"Permissive Cross-domain Policy with Untrusted Domains"},"helpUri":"https://cwe.mitre.org/data/definitions/942.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"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"}]}],"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":107,"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."]}]}