{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"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":"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":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"Group.Group (cyclomatic 43): Group.Group has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 3 of the 43 points are its own statements and the rest belongs to 16 function items inside it that branch (handleKeyDown, handleGroupClick, handleGroupMenuClick, \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":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc64939f36b04746ce56a711f88d15d9df1630e16a719dd42f9390d7bd86acd"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Update (cyclomatic 35): index.Update has cyclomatic complexity 35 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 15 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Update/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faca2c020f66b139fc41d71470a5ff0a248a64ac5e62f65bc478cba11ab4e69"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ShortcutRecorder (cyclomatic 34): index.ShortcutRecorder has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 11 function items inside it that branch (handleKeyDown, handleBlur, handleKeyUp, \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":"src/components/ShortcutRecorder/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"52368bf1eb3190689c12de1ac0fbedd948a95435fff57a7678c691a988d2d3e9"}},{"ruleId":"D1","level":"warning","message":{"text":"EcoPaste::keyboard::windows::hook_proc (cyclomatic 32): EcoPaste::keyboard::windows::hook_proc 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":"src-tauri/src/keyboard/windows.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23d583351f49f511659450646344e6c54e716cf9e0adaef2ed80dfcc30ed197"}},{"ruleId":"D1","level":"warning","message":{"text":"List.List::handleKeyDown (cyclomatic 32): List.List::handleKeyDown 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. This shape REPEATS in the file: one other method here (List.List::renderItemContent::handleQuickAction) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"52145fb8efe4f2acd8fa3148e08d05dac981385f75ea618c7bda1f52071a118b"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).tool.execute.before (cyclomatic 32): (anonymous).tool.execute.before 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":".opencode/plugins/inject-subagent-context.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6467ff0dbdbd2482bd2c4976da3561cfc1227ec4c455596f324132e07af6dd"}},{"ruleId":"D1","level":"warning","message":{"text":"buildSessionContext (cyclomatic 31): buildSessionContext has cyclomatic complexity 31 (threshold 15). Of this number, 28 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":".opencode/lib/session-utils.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e633c41fffe8e060206389f8be085b94ec1b09586a28043841a50488d87bcca9"}},{"ruleId":"D1","level":"warning","message":{"text":"cli_adapter.detect_platform (cyclomatic 30): cli_adapter.detect_platform has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/cli_adapter.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba0d08d160c85dc93c3807b160a853719ea31b290f10da237f5eda9fec7af93"}},{"ruleId":"D1","level":"warning","message":{"text":"task_store.cmd_create (cyclomatic 28): task_store.cmd_create 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":".trellis/scripts/common/task_store.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded11dcbd9b562bfb5c0a054ea376f4e5adc7f125b0b4f4ef28cd761a8b05f9e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Preference (cyclomatic 28): index.Preference has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 7 of the 28 points are its own statements and the rest belongs to 9 function items inside it that branch (handleActionComplete, handleSettingChange, a function literal at line 298, \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":"src/pages/Preference/index.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c2a196456e3ec4ee31f2d58c9cf305441d3d68681348cd33f824fdb74624c3"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionControl.ActionControl (cyclomatic 27): ActionControl.ActionControl has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (handleClick, pickImportBackup, changeDataDirectory). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/ActionControl.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de35dfe6574411c285c56192955178f039f2f090a144cfc3b2d8ec4e2b4cc91"}},{"ruleId":"D1","level":"warning","message":{"text":"EcoPaste::run (cyclomatic 26): EcoPaste::run 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":"src-tauri/src/lib.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05b4c3e903afd0d40f2e3d8b6391443dc3349f475bd1ea3bdfa9a4762714b7e"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupImportModal.BackupImportModal (cyclomatic 26): BackupImportModal.BackupImportModal has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (getOkText, a function literal at line 96, importBackup, \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":"src/pages/Preference/components/BackupImportModal.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb7774189bed65daae24aa87fb7f3609d10cf744b0c7a8af7f0c13bfe06b14f"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupExportModal.BackupExportModal (cyclomatic 25): BackupExportModal.BackupExportModal has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (getOkText, a function literal at line 87, exportBackup, \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":"src/pages/Preference/components/BackupExportModal.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c8f07f886d855e199148b307b7ef637bbd18475a3a52786861a556e6086ef4"}},{"ruleId":"D1","level":"warning","message":{"text":"PreferenceSettingControl.PreferenceSettingControl (cyclomatic 24): PreferenceSettingControl.PreferenceSettingControl has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/PreferenceSettingControl.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bb2e2353f75d077ebdb2f4a6499990df79bd2b62bfd8c77dbbdd886540fcba"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIAdapter.get_commands_path (cyclomatic 22): CLIAdapter.get_commands_path 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":".trellis/scripts/common/cli_adapter.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef04adc209212611028c48823a4e2db97bc97c159ef30b99e91a367bf65013"}},{"ruleId":"D1","level":"warning","message":{"text":"PreferenceSection.resolveSectionVisual (cyclomatic 22): PreferenceSection.resolveSectionVisual 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":"src/pages/Preference/components/PreferenceSection.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6305b42efdbbdf1a8abfdc1b90091243160c41e6794c840cac9b2505d5dd6237"}},{"ruleId":"D1","level":"warning","message":{"text":"add_session.update_index (cyclomatic 21): add_session.update_index 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":".trellis/scripts/add_session.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb531e7ab79c2960befaaedad5e7cf42162ed16c8ea8d2b0546432d885e2880e"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._resolve_spec_scope (cyclomatic 20): session-start._resolve_spec_scope 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":".claude/hooks/session-start.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20a7341f0e1a038e4a9e42a693fea9faca6d379e9155ed303d33068379e9582"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._resolve_spec_scope (cyclomatic 20): session-start._resolve_spec_scope 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":".cursor/hooks/session-start.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"772e867ca0630a93e9ae0abac8f961136fa2db315046be2a79d918cbf5a8007b"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._resolve_spec_scope (cyclomatic 20): session-start._resolve_spec_scope 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":".gemini/hooks/session-start.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"558773eb96043b31766839838cd3ebbcc5aea6822039667d4a190eb31d20a482"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._resolve_spec_scope (cyclomatic 20): session-start._resolve_spec_scope 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":".kiro/hooks/session-start.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f17418b015778ac1076f99ed37eac20d2ae36b8e9b37f669fc0315785a3e75"}},{"ruleId":"D1","level":"warning","message":{"text":"CLIAdapter.build_run_command (cyclomatic 20): CLIAdapter.build_run_command 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":".trellis/scripts/common/cli_adapter.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c594693ef067d25abaa745d83dfddad0c9b6721cd28ff2ff0cc0f981fab03c"}},{"ruleId":"D1","level":"warning","message":{"text":"List.List::renderItemContent::handleQuickAction (cyclomatic 20): List.List::renderItemContent::handleQuickAction has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (List.List::handleKeyDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b849550907e55c40167c6bd7566693c9c7d3e02a08d6f059be09fda33c08bbb"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._get_task_status (cyclomatic 19): session-start._get_task_status 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":".claude/hooks/session-start.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d7b42138fd53a9da4b84ee80967fd2b210275449729c8e7cab2510f4eccfe9"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._get_task_status (cyclomatic 19): session-start._get_task_status 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":".cursor/hooks/session-start.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"163d36d758e3dc6867b7d601107f597cbc32bb5ca7d8168e5d56ee625327a726"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._get_task_status (cyclomatic 19): session-start._get_task_status 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":".gemini/hooks/session-start.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ed1b2fc9b64d73dc117de6b4898ecd2910f4e877cf22b679cb3fee59297f11"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._get_task_status (cyclomatic 19): session-start._get_task_status 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":".kiro/hooks/session-start.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"561bc1831f2a327f689e485b86d2c432367dcc7d054515ae44c6a1f7c52457fc"}},{"ruleId":"D1","level":"warning","message":{"text":"inject-subagent-context._extract_subagent_name (cyclomatic 18): inject-subagent-context._extract_subagent_name 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ea7124ad950fa876d5a9faf987995cd4ef8671513559f04a992b7e8bf92899"}},{"ruleId":"D1","level":"warning","message":{"text":"inject-subagent-context._extract_subagent_name (cyclomatic 18): inject-subagent-context._extract_subagent_name 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":".cursor/hooks/inject-subagent-context.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"907068a4693c72c3ad9c66c23a409d27a91aa373baf879934c7e45ea614cc273"}},{"ruleId":"D1","level":"warning","message":{"text":"inject-subagent-context._extract_subagent_name (cyclomatic 18): inject-subagent-context._extract_subagent_name 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":".kiro/hooks/inject-subagent-context.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"84caafb3b0f0a357fafa80130a2ab6c58052b6a21e476d9d9f990e6f16c8138f"}},{"ruleId":"D1","level":"warning","message":{"text":"session_context.get_context_text (cyclomatic 18): session_context.get_context_text 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":".trellis/scripts/common/session_context.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb006c447aa23f310cadeacd8da12d003b8564f8a6eb5aa6aae6d519911c676"}},{"ruleId":"D1","level":"warning","message":{"text":"PreferenceSettingRow.PreferenceSettingRow (cyclomatic 18): PreferenceSettingRow.PreferenceSettingRow 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":"src/pages/Preference/components/PreferenceSettingRow.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dc6d327dc050d03651ba0aafed3dec4c685da8aeeab37343b2b251fb1e0b0e"}},{"ruleId":"D1","level":"warning","message":{"text":"ClipboardMenuAction::label (cyclomatic 17): ClipboardMenuAction::label has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/menu/clipboard_item.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d42a2f1018921645bf0850e9c9b23df0c3e05ed8b71f9232d878df0361cce6"}},{"ruleId":"D1","level":"warning","message":{"text":"resolveSpecScope (cyclomatic 17): resolveSpecScope 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":".opencode/lib/session-utils.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b076a66a766a326b196145010713488854c7a7de984299a97d3ad0824dd808f9"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._build_compact_current_state (cyclomatic 16): session-start._build_compact_current_state 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":".claude/hooks/session-start.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"844f67b17844a8d043a343c4350c406cd16d554c01252e3714b71105157bc22f"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._build_compact_current_state (cyclomatic 16): session-start._build_compact_current_state 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":".codex/hooks/session-start.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3708b8893855b4cfec53382b943bb3060bc942f4c94bcb74f560c0eea6d73c3a"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._build_compact_current_state (cyclomatic 16): session-start._build_compact_current_state 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":".cursor/hooks/session-start.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fffe9ae07a8ff4204db2ea9e4ea7b7f2e8fbb42b24fcfa0e64bd74700b055a9"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._build_compact_current_state (cyclomatic 16): session-start._build_compact_current_state 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":".gemini/hooks/session-start.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bf23209b769ee84e3ce37b10972ed8f3c3940e2734bc222c961eeefb6eef70"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._build_compact_current_state (cyclomatic 16): session-start._build_compact_current_state 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":".github/copilot/hooks/session-start.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb64a53468096e394a621e6fc950ee68a93e135a479af23f91e4de0b7ca2f1"}},{"ruleId":"D1","level":"warning","message":{"text":"session-start._build_compact_current_state (cyclomatic 16): session-start._build_compact_current_state 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":".kiro/hooks/session-start.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11592141f8c8a20646db5b34325c68c2baa7b91a9c3ac27c1e7d351b3417b36"}},{"ruleId":"D1","level":"warning","message":{"text":"packages_context._resolve_scope_set (cyclomatic 16): packages_context._resolve_scope_set 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":".trellis/scripts/common/packages_context.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6c4ff124748b9dd9163f160e92f5cdbc6cfae256645e4cf3c50d734da6f8a9"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionControl.PermissionControl (cyclomatic 16): PermissionControl.PermissionControl 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 5 function items inside it that branch (handleChange, a function literal at line 50, a function literal at line 130, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/PermissionControl.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"996d7041be87ac25e81540fd7c1c46ace32ba67d5fa3c29a0c3fe6686d348ef9"}},{"ruleId":"D2","level":"warning","message":{"text":"EcoPaste::keyboard::windows::hook_proc (cognitive 76): EcoPaste::keyboard::windows::hook_proc has cognitive complexity 76 (threshold 15). Drivers by points: if/else 29 (71 pts), boolean chains 5 (nesting depth added 42). 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":"src-tauri/src/keyboard/windows.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f0848d90b768e1b7e12714d447ae62be6eb11fca697ac75159aea886553a59"}},{"ruleId":"D2","level":"warning","message":{"text":"buildSessionContext (cognitive 65): buildSessionContext has cognitive complexity 65 (threshold 15). Drivers by points: if/else 18 (37 pts), error handling 4 (12 pts), loops 5 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 34). Of this number, 57 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/lib/session-utils.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"561803c6ca5fd9c9f6b37091478847a4f03ae2f3b833ba9d2abe0072c942b23d"}},{"ruleId":"D2","level":"warning","message":{"text":"task_store.cmd_create (cognitive 44): task_store.cmd_create has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (32 pts), boolean chains 4, error handling 2 (3 pts), ternaries 1 (3 pts), loops 1 (2 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":".trellis/scripts/common/task_store.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa51773c1990d67278301eccfd9c6cf24ffc39274845c72b3b026d775d3c216c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).tool.execute.before (cognitive 43): (anonymous).tool.execute.before has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 7, ternaries 1 (2 pts), error handling 1, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/plugins/inject-subagent-context.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ffac3bfce19e250d00d6a672589faab806f5a91c388e69ce498b0ba66349b0"}},{"ruleId":"D2","level":"warning","message":{"text":"Group.Group (cognitive 40): Group.Group has cognitive complexity 40 (threshold 15). Drivers by points: if/else 23, ternaries 7 (9 pts), boolean chains 8 (nesting depth added 2). Most of this is not in the body itself: 2 of the 40 points are its own statements and the rest belongs to 16 function items inside it that branch (handleKeyDown, handleGroupClick, handleGroupMenuClick, \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":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"786b65340e38559f075f2e477c60778c911bb9058bd024ad8befe96d4a3c1553"}},{"ruleId":"D2","level":"warning","message":{"text":"task_store.cmd_archive (cognitive 39): task_store.cmd_archive has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/task_store.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"888b633b29784363d64a2270a9943682e526148c338089ff29cd72e3c4d77d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"List.List::handleKeyDown (cognitive 39): List.List::handleKeyDown has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 8, 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":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93fb929afedac2adf251fd9e116d3f3bd0e44604239e2af2fc788f47190638b"}},{"ruleId":"D2","level":"warning","message":{"text":"EcoPaste::run (cognitive 38): EcoPaste::run has cognitive complexity 38 (threshold 15). Drivers by points: if/else 24 (35 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f111f7a61fa860c3741dff2b2f2cfd391e075441729f74d83f9d48a9d0b17aa"}},{"ruleId":"D2","level":"warning","message":{"text":"add_session.update_index (cognitive 37): add_session.update_index has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (32 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/add_session.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f94b113955b14ea391118769c0ffb95337662651713f65783bc99b96000e798"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Update (cognitive 36): index.Update has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 13 (15 pts), if/else 9, boolean chains 7, error handling 5 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 15 belong to 7 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":"src/pages/Update/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6d80c2f824c0e8674346da35a46ac76d9e2458931592536a158d614b03ffdc"}},{"ruleId":"D2","level":"warning","message":{"text":"CLIAdapter.get_commands_path (cognitive 33): CLIAdapter.get_commands_path has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 5 (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":".trellis/scripts/common/cli_adapter.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6676749741af0f64a5bf8980ff96fc52dc29cfa29795bcce0a1218dc68bd2b"}},{"ruleId":"D2","level":"warning","message":{"text":"cli_adapter.detect_platform (cognitive 33): cli_adapter.detect_platform has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 8, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/cli_adapter.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c017583ca465e3b60cea233dae5f7f8773fb5a05262e6bbf05e0fb44f442010"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ShortcutRecorder (cognitive 33): index.ShortcutRecorder has cognitive complexity 33 (threshold 15). Drivers by points: if/else 23, ternaries 4 (5 pts), boolean chains 4, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to 11 function items inside it that branch (handleKeyDown, handleBlur, handleKeyUp, \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":"src/components/ShortcutRecorder/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bf713ee45cf0bb2346efb431be39fd5f6730bb3d7989fbf8b8dd1683c6454a"}},{"ruleId":"D2","level":"warning","message":{"text":"inject-subagent-context._extract_subagent_name (cognitive 30): inject-subagent-context._extract_subagent_name has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec15316350eb3b74490d51a202f28541cbe8df002362d5794eab48921129d6f"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._resolve_spec_scope (cognitive 30): session-start._resolve_spec_scope has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2607dc82ce29e205d6c2e2c8d17ae882842854c7e66365322bff367aa5aeae8"}},{"ruleId":"D2","level":"warning","message":{"text":"inject-subagent-context._extract_subagent_name (cognitive 30): inject-subagent-context._extract_subagent_name has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 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":".cursor/hooks/inject-subagent-context.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"41382e62d343a12713805196c97dd1c2e6658c4f521c1733d294e4e3aba1c286"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._resolve_spec_scope (cognitive 30): session-start._resolve_spec_scope has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/session-start.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e768f07e14748992b78029322adbbc583051cc3c9249884e1e1e3d83c9c7414"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._resolve_spec_scope (cognitive 30): session-start._resolve_spec_scope has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".gemini/hooks/session-start.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea527106688ffbbf6ce357fa44df6675cc56ca69a306bbea4d2907050d88c219"}},{"ruleId":"D2","level":"warning","message":{"text":"inject-subagent-context._extract_subagent_name (cognitive 30): inject-subagent-context._extract_subagent_name has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 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":".kiro/hooks/inject-subagent-context.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0beac282907a63b49f49cbb51c5d0e9d8036405c7a844a9dd74287f3cc5b4cf"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._resolve_spec_scope (cognitive 30): session-start._resolve_spec_scope has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".kiro/hooks/session-start.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8614ab23c8d7b9dbeda41739e4e48f8d84919a4924742356038b13a186df82"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Preference (cognitive 29): index.Preference has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14, ternaries 7 (9 pts), boolean chains 3, error handling 3 (nesting depth added 2). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 9 function items inside it that branch (handleActionComplete, handleSettingChange, a function literal at line 298, \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":"src/pages/Preference/index.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"35659006d5a19c64c9d74e84662de8874bef35d1050465d66f560d4d8e6791cb"}},{"ruleId":"D2","level":"warning","message":{"text":"config._parse_yaml_block (cognitive 27): config._parse_yaml_block has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/config.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd658706b0982024f03dc4a741591b7b81c6d2ee4755968723bfd98205ec762"}},{"ruleId":"D2","level":"warning","message":{"text":"session_context.get_context_text (cognitive 27): session_context.get_context_text has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 2, 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":".trellis/scripts/common/session_context.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c050ca23b054a41140aea2e494c44999602394b446dcb6d39f4e6413de6461"}},{"ruleId":"D2","level":"warning","message":{"text":"trellis_config._parse_yaml_block (cognitive 27): trellis_config._parse_yaml_block has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/trellis_config.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9f5c1402633e8a1146247c19bbd71ba489ff7cc7890336c2b93cc804ff7c90"}},{"ruleId":"D2","level":"warning","message":{"text":"task.cmd_start (cognitive 26): task.cmd_start has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 2, error handling 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/task.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faaa7ef5b4591c9981eaeaa993d36ed55b9259bfdee9f6479090874b9b9f715"}},{"ruleId":"D2","level":"warning","message":{"text":"safe_commit.safe_trellis_paths_to_add (cognitive 25): safe_commit.safe_trellis_paths_to_add has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/safe_commit.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5403f131649729a8bdb869f5d550b4618be0f2993eb1d1d67cfc2f75539f21c"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionControl.ActionControl (cognitive 25): ActionControl.ActionControl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15, boolean chains 6, ternaries 3, error handling 1. Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 3 function items inside it that branch (handleClick, pickImportBackup, changeDataDirectory). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/ActionControl.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"75507ae10650ab5a03620ce7bcfdf49b2991ad7c1899a417734c6b2b43b00ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"ClipboardReader::read_with_capture (cognitive 24): ClipboardReader::read_with_capture has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/read.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a562625387d78219f258ee99539ccff8ac46f8af229b2b0d463a0904259ee9c6"}},{"ruleId":"D2","level":"warning","message":{"text":"resolveSpecScope (cognitive 24): resolveSpecScope has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/lib/session-utils.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b607c3764dd3c393b4e629b5e20e877abd7111350fc83f2fdc7928cfab3329"}},{"ruleId":"D2","level":"warning","message":{"text":"getResearchContext (cognitive 24): getResearchContext has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (7 pts), error handling 2 (6 pts), boolean chains 2 (nesting depth added 14). Of this number, 22 points are the body\u0027s own statements and 2 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/plugins/inject-subagent-context.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"074d04f1580a0eb27c5fc1db29e630765f4a1782f62a0b50de3e8ac613299259"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._get_task_status (cognitive 23): session-start._get_task_status has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf26449c8732ab332fc663b5eaeb50a1b15f979647729da17198e5f5dfe01d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._build_compact_current_state (cognitive 23): session-start._build_compact_current_state has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (6 pts), boolean chains 4, 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":".claude/hooks/session-start.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45d9d417df8137849115e5a0c0c44965e3c326ebc5c2d8cab1a72edc02ef526"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._build_compact_current_state (cognitive 23): session-start._build_compact_current_state has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (6 pts), boolean chains 4, 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":".codex/hooks/session-start.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be7a58ba2c9ed4a9e943de26deed770b8c3f85ffe007579818e334461d3056b"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._get_task_status (cognitive 23): session-start._get_task_status has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/session-start.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae239918ecb415a4ceed8d8b9ed6ef5795bdecbf7b725047d2199fb499c68586"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._build_compact_current_state (cognitive 23): session-start._build_compact_current_state has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (6 pts), boolean chains 4, 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":".cursor/hooks/session-start.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"e908c0c480add99bd5d60a37e98a4e1edc2fbff0f8c6955e2ea1e809dc4b53fb"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._get_task_status (cognitive 23): session-start._get_task_status has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".gemini/hooks/session-start.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a6c44629c17c7fe69bec8d7f1e27a96bb2f261b81a41052711c0c0ec015f75"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._build_compact_current_state (cognitive 23): session-start._build_compact_current_state has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (6 pts), boolean chains 4, 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":".gemini/hooks/session-start.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86b4a10bef20024472c68f25266d6882b154fc4db38b894cff1b9b7635eb39a"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._build_compact_current_state (cognitive 23): session-start._build_compact_current_state has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (6 pts), boolean chains 4, 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":".github/copilot/hooks/session-start.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce98d03c3f1241577002fae0a6bdc8c78dbb59265cd470b5168a18098b6f1f0"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._get_task_status (cognitive 23): session-start._get_task_status has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".kiro/hooks/session-start.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26721f5810cf69d9c9b8345331eceabb3ae2d3cc82f591f82e0a78b1ecb22ae"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._build_compact_current_state (cognitive 23): session-start._build_compact_current_state has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (6 pts), boolean chains 4, 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":".kiro/hooks/session-start.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c531db937706c08492a94f40e5db696183aee6f6dc941eaa99facfaf10d4484d"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupImportModal.BackupImportModal (cognitive 23): BackupImportModal.BackupImportModal has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, ternaries 4, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (getOkText, importBackup, a function literal at line 76, \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":"src/pages/Preference/components/BackupImportModal.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b2df6c9cd5ddeef54ad2bd265903282edc0e299a7698237e9afbbf28c0be93"}},{"ruleId":"D2","level":"warning","message":{"text":"EcoPaste::clipboard::ingest::build_item_with_settings (cognitive 22): EcoPaste::clipboard::ingest::build_item_with_settings has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/ingest.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad89805d28d55a59bb624304d10a59c8d31cf81e99743c0ddae6f4917879148c"}},{"ruleId":"D2","level":"warning","message":{"text":"packages_context.get_context_packages_text (cognitive 22): packages_context.get_context_packages_text has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (6 pts), loops 2 (4 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":".trellis/scripts/common/packages_context.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2387cc984cbfba1068212d0be9b5dcbb15f41ae42e4e985dcb0daedca02ba963"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupExportModal.BackupExportModal (cognitive 22): BackupExportModal.BackupExportModal has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8, ternaries 2, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (getOkText, exportBackup, a function literal at line 78, \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":"src/pages/Preference/components/BackupExportModal.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3aa27c561cedda19cd37880d24a718756988ec27e716b667f3f244fb6f1505"}},{"ruleId":"D2","level":"warning","message":{"text":"EcoPaste::clipboard::ingest::draft_from_text (cognitive 21): EcoPaste::clipboard::ingest::draft_from_text has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (3 pts), loops 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":"src-tauri/src/clipboard/ingest.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"783734ca6d5c261ec266d45600cb4dcb5782c234d2a054733e5a3387de5e0028"}},{"ruleId":"D2","level":"warning","message":{"text":"add_session.main (cognitive 21): add_session.main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3 (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":".trellis/scripts/add_session.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"db58d87751d97e13b762208630f97326af98c7469f32bade749942d91e2af772"}},{"ruleId":"D2","level":"warning","message":{"text":"packages_context._resolve_scope_set (cognitive 21): packages_context._resolve_scope_set has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5 (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":".trellis/scripts/common/packages_context.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79ad95d154565e40135ba38209fc6d5a4329f2546bd2efdea8d3fe71df32ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"task_context.cmd_list_context (cognitive 21): task_context.cmd_list_context has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/task_context.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f8c878da4dd9ec531bfa6efae8f0f431f60a136420643a8b305b4543e9d754"}},{"ruleId":"D2","level":"warning","message":{"text":"task.cmd_list_archive (cognitive 20): task.cmd_list_archive has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (5 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":".trellis/scripts/task.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea6283b0d06c312e3764ce4909f77c5d9e482d008b03f563bde55d05cc88168"}},{"ruleId":"D2","level":"warning","message":{"text":"PreferenceSection.resolveSectionVisual (cognitive 20): PreferenceSection.resolveSectionVisual has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/PreferenceSection.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fe77121400e6c93ad4c00c352e327bbd660928c06039783abad35961030db8"}},{"ruleId":"D2","level":"warning","message":{"text":"EcoPaste::window::show_window (cognitive 19): EcoPaste::window::show_window has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/window/mod.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"101ba20aa2f4ba79b3e91ad7f35789c13c465846b9fe69289e599508d14bcb15"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._collect_spec_index_paths (cognitive 19): session-start._collect_spec_index_paths has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 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":".claude/hooks/session-start.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1f1795b39550dcc2c632d8c6026594b2aa49aaa3ccc1c065afc5258b0cbe7a"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._collect_spec_index_paths (cognitive 19): session-start._collect_spec_index_paths has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 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":".cursor/hooks/session-start.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8b24fe3883a6686146045d5d9f80c8d65cca107884bbfa85f7e7058a3c1f07"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._collect_spec_index_paths (cognitive 19): session-start._collect_spec_index_paths has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 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":".gemini/hooks/session-start.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfa9c5cd5bc0ee21c84db6238599800eaed938f58903a949fb0f389a845af4b"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._collect_spec_index_paths (cognitive 19): session-start._collect_spec_index_paths has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 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":".kiro/hooks/session-start.py"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"add4d7108c5ab0ec9c27a2b78d2b21895edd41f5c257ab0459c41cdd61ed13db"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow_phase.filter_platform (cognitive 19): workflow_phase.filter_platform has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/workflow_phase.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9451b20870a64f2c148eb1a1a0469e50c897d1efcdcf6b20386855e5f50cb3d"}},{"ruleId":"D2","level":"warning","message":{"text":"PreferenceSettingRow.PreferenceSettingRow (cognitive 19): PreferenceSettingRow.PreferenceSettingRow has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 15 (17 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":"src/pages/Preference/components/PreferenceSettingRow.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9423fc4d3731a5a1ef20b2630f2526f9c13390d8184b9a16c5c49d961f3c2b05"}},{"ruleId":"D2","level":"warning","message":{"text":"active_task._lookup_env_context_key (cognitive 18): active_task._lookup_env_context_key has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 6 (9 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":".trellis/scripts/common/active_task.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3d6fd20a0e9d08cccb9b02d671eeca7ec80f25957781b7865483ecf097eba1"}},{"ruleId":"D2","level":"warning","message":{"text":"git_context.main (cognitive 18): git_context.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/git_context.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64526deaf79eef2d3d332475b63cda1b1f52250ce4adedf60660e49add6b4a3"}},{"ruleId":"D2","level":"warning","message":{"text":"inject-subagent-context.read_jsonl_entries (cognitive 17): inject-subagent-context.read_jsonl_entries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6389e4ab24a8fd59dc26ef70e85935b6b93117609fcd8ce6046af43c87a521ae"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._load_trellis_config (cognitive 17): session-start._load_trellis_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 8). 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":".claude/hooks/session-start.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08bceb19be3a0910af4326c3373ac25693d1b7b56a25df5a371c2884efb543d"}},{"ruleId":"D2","level":"warning","message":{"text":"inject-subagent-context.read_jsonl_entries (cognitive 17): inject-subagent-context.read_jsonl_entries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/inject-subagent-context.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1008702d5a50a8234d38a052faaee43915bf54622b9d3823caf610b2aa5a5a00"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._load_trellis_config (cognitive 17): session-start._load_trellis_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 8). 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":".cursor/hooks/session-start.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b5441c97dc5d8250b2feb05edd391e0fc101be8b51ca65845703cffe409c90"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._load_trellis_config (cognitive 17): session-start._load_trellis_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 8). 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":".gemini/hooks/session-start.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c1e8ae4a9ef7999d82820762e3b92201c935a055b1dd67cf6322cbdac15995"}},{"ruleId":"D2","level":"warning","message":{"text":"inject-subagent-context.read_jsonl_entries (cognitive 17): inject-subagent-context.read_jsonl_entries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".kiro/hooks/inject-subagent-context.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2890b6ed2eeed7a16aab1edd2eee734f50e87fe9056f373fa3a2e2f49e3f85"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._load_trellis_config (cognitive 17): session-start._load_trellis_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 8). 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":".kiro/hooks/session-start.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e22e12fc0e0f9ff1f5fe68203234b38cc29c034885c2158a829cd20b4a562d"}},{"ruleId":"D2","level":"warning","message":{"text":"add_session._auto_commit_workspace (cognitive 17): add_session._auto_commit_workspace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/add_session.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a0cb8b2509e15321200df655fe07a4ff4f34a07dff45e5c8a08118ef19525e"}},{"ruleId":"D2","level":"warning","message":{"text":"inject-subagent-context.main (cognitive 16): inject-subagent-context.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"d449903c9ede5c860665e43c26a57e0b7c4e24a18bb3923c33a56138c60d6598"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._collect_spec_index_paths (cognitive 16): session-start._collect_spec_index_paths has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codex/hooks/session-start.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ee3eda5f56177f37a392e0cbdbb4174fc19a2d7a2346222ede650ca46ca95d"}},{"ruleId":"D2","level":"warning","message":{"text":"inject-subagent-context.main (cognitive 16): inject-subagent-context.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/inject-subagent-context.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fb901d06a53446b75b503c1bca143810192855c819c31b81f9f850682d3925"}},{"ruleId":"D2","level":"warning","message":{"text":"session-start._collect_spec_index_paths (cognitive 16): session-start._collect_spec_index_paths has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/copilot/hooks/session-start.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0202ed92af487cfb79649babcbcc9541640b96aef7ec5fb3a26f2fb4e261e67f"}},{"ruleId":"D2","level":"warning","message":{"text":"inject-subagent-context.main (cognitive 16): inject-subagent-context.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".kiro/hooks/inject-subagent-context.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5ad57918e15b2ff69ffb70afe5b331cfc94dd1d93532376f308b3a7f180ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"active_task.resolve_context_key (cognitive 16): active_task.resolve_context_key has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/active_task.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6875a261e86cbfadfad9eb0bd944c202827f5ef166e671be8f48ac9a23bec781"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionControl.PermissionControl (cognitive 16): PermissionControl.PermissionControl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 4, boolean chains 2, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (handleChange, a function literal at line 50, a function literal at line 130, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/PermissionControl.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5986b1f8dee23fa565c8db7dea8c3b725cb6428281e36fa3095eaa12f48f26aa"}},{"ruleId":"D2","level":"warning","message":{"text":"readJsonlWithFiles (cognitive 16): readJsonlWithFiles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/lib/trellis-context.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c1bbfd9390ba66ccce2663ce4806ade6881fe52f4aa515ff2cf249f3ce829a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).chat.message (cognitive 16): (anonymous).chat.message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, ternaries 4 (5 pts), boolean chains 4, error handling 1 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":".opencode/plugins/inject-workflow-state.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"32644f771f5df332272dc2efb69712a4906e081df9aa6d5b0eb66a491ef95718"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: List.List: FunctionTooLong \u2014 List runs 654 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 554 over it, 6.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5073d7ec18ddce11dc6b50972f8fa3f00ec5be7d17dd4fbc5087a5a14c821c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Group.Group: FunctionTooLong \u2014 Group runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"112634a03228e45f307a6073c540abdb5c4363229899b65fabfdbf51e7672eb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useClipboardPreviewController.useClipboardPreviewController: FunctionTooLong \u2014 useClipboardPreviewController runs 287 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 187 over it, 2.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/hooks/useClipboardPreviewController.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce6086f73dbdec97e19da124f37ec6250cb47faecf51aa2eca2c8170796f520"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActionControl.ActionControl: FunctionTooLong \u2014 ActionControl runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/ActionControl.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9adf34916845a7620cef243517be9163dea5ed7aaf12bb601cbc40283d82b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Preference: FunctionTooLong \u2014 Preference runs 245 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 145 over it, 2.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/index.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"522b82ce693030b9d71f254441e1f1d9bf3abc7e7c78a2ec19f1269cbba88a02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EcoPaste::run: FunctionTooLong \u2014 EcoPaste::run runs 224 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9139b83b7bd214ef5e120038a3c195ced6b396e953b7b3e4ad901db309ea08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useClipboardItems.useClipboardItems: FunctionTooLong \u2014 useClipboardItems runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/useClipboardItems.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2293d176130064832652f1cf6e1bc1cb65711b7a0aefe4c905dd4e746c43a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backup/mod.rs: FileTooLong \u2014 1027 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 57 free functions. The bar is 500 significant lines; this is 527 over it, 2.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/backup/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0652c37ef461284c1008e356cd4c0f7eb8e978236ec83ec6dbaa83ce31c71f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ShortcutRecorder: FunctionTooLong \u2014 ShortcutRecorder runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ShortcutRecorder/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"482a64c4bc3b93b100f33f9b9c9b32ff487bae62e4dbb53f74084cda094de9d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/clipboard.rs: FileTooLong \u2014 1005 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 61 free functions. The bar is 500 significant lines; this is 505 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":"src-tauri/src/commands/clipboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcffadc9055ebd78bb97edf4a88683a77459b1cbe368315d7cf08a1ef63ff939"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Update: FunctionTooLong \u2014 Update runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Update/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a556e725bfa10b5cc1222b98d356c970d39bde21e0248544d6a90f3da8efa7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BackupExportModal.BackupExportModal: FunctionTooLong \u2014 BackupExportModal runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/BackupExportModal.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"05df1fabc20e7b9fcdd2466eb814f7f171783d9e562051eff14803ebc918a39b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/List.tsx: FileTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: List (86-1112). The bar is 500 significant lines; this is 387 over it, 1.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a3d15f023f5466807801d14c6230f41bf4dbf8e692b3f9abf64575d0bbd31b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: motion.usePreviewMotion: FunctionTooLong \u2014 usePreviewMotion runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preview/motion.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72d12a7adf9369f2ee052963f18422887658ca78f146a2b1fa382ce6209ab00"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: List: ClassTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 254 over it, 1.64\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":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88997d4f11689c0bc65c200cfadb7060b7a0277d41d4a0322d5b234d6f310a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BackupImportModal.BackupImportModal: FunctionTooLong \u2014 BackupImportModal 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":"src/pages/Preference/components/BackupImportModal.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"885080aa8b89e0e4cee1a0daf5aed4d350b3702e0310517802c98b21585724eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/index.ts: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 271 over it, 1.54\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":"src/commands/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4d61d473a0806c4a2b86f95f7fc78094da04db1bf6bd463cfa84f69c17d14a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LegacyImportStep.LegacyImportStep: FunctionTooLong \u2014 LegacyImportStep runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Onboarding/components/LegacyImportStep.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f97995702db6e845c3effdf9618e4b775c1cefb00a72767ad8d6ac9faecba0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreferenceSearchResults.PreferenceSearchResults: FunctionTooLong \u2014 PreferenceSearchResults runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/PreferenceSearchResults.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"144f19f9a3f1464e1b81f223ca39300810b9f55e6642888ca0e3309ed1a23411"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ClipboardGroupManagerModal.ClipboardGroupManagerModal: FunctionTooLong \u2014 ClipboardGroupManagerModal 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":"src/pages/Preference/components/ClipboardGroupManagerModal.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7817c921ae80a9529adc42f51855216b022a4b8500bc3575ff798156382b7208"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ClipboardGroupModal: FunctionTooLong \u2014 ClipboardGroupModal runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ClipboardGroupModal/index.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c684fd2896ebd452edafb4cda8b3ab50f5633f4c428db503807d07535ce26ef5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreferenceSettingControl.PreferenceSettingControl: FunctionTooLong \u2014 PreferenceSettingControl runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/PreferenceSettingControl.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"726a9c12bde80d80e307c47f7fcafdab917aca8274a1d433caaabeb807d6ff6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Preview: FunctionTooLong \u2014 Preview runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preview/index.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"017751768540e37ae54077aea924546242e095b18386b0d519b2ac58b386da10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/Group.tsx: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 107 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":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d096c5c51dd4cfedb538a4854933462342f1714e92916ccd60ef6d6dc0c566b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/preferenceSchema.ts: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 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":"src/pages/Preference/config/preferenceSchema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd48cacc36298f91eda06fefec4a1e785973baba37d29772afee5462bf09d016"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SourceAppsTransfer.SourceAppsTransfer: FunctionTooLong \u2014 SourceAppsTransfer runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/SourceAppsTransfer.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"381ac948bd4f9aef106d1d18cb31d7b00305a3e42ae744fc3da9dce29e54b4ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/onboarding.rs: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 76 over it, 1.15\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":"src-tauri/src/commands/onboarding.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8375918e69920a3fdb73b7bf2bc878db4a1700c9f0a32c1cd3578bce99b3190"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Header.Header: FunctionTooLong \u2014 Header runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/Header.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc22a1115a156001899e206898b1fda47190a5e86837d5b2cec4b68b9cbdf69f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ClipboardCard.ClipboardCard: FunctionTooLong \u2014 ClipboardCard runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/cards/ClipboardCard.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db1e21f755786c8667bee3ec2719ff903f45772beeebf17305bfdd749af6bf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/session-start.py: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 61 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"623a3ffa5c54dc484e710b925ff43304ddcf2b3d9d112e5228ceb7471ae2d5fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/session-start.py: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 61 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/session-start.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a27aa7896d7e01f096df1747d419be76b911770c022e9844ba551a2f9615b01"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/session-start.py: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 61 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".gemini/hooks/session-start.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2e62bc03d7d9330640c4b51ce2116f5419f2dc42fd01958be503fb809c48c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/session-start.py: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 61 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".kiro/hooks/session-start.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1086c795e39f45873ac464ad90eee89cf092683cf537784a7880e7b2f8d020fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/session_context.py: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/session_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d8a03554e37d1a25f13fae66a1e0e6242c1b650a32d767a95d5bb6dc502c00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EcoPaste::clipboard::ingest::build_item_with_settings: FunctionTooLong \u2014 EcoPaste::clipboard::ingest::build_item_with_settings runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/ingest.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b33d46d142df79aaf940d1af05291151c20bad62b8c5fb8454cc2946b0762e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: window/preview.rs: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 36 free functions. The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/window/preview.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ccc95b3c394a9ba3cb517441e26c147b9f7cebfe12de527d3fd3fc37c13009"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreferenceSettingRow.PreferenceSettingRow: FunctionTooLong \u2014 PreferenceSettingRow runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/PreferenceSettingRow.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb48678dd7f9e7191610d8cdbad607d03c516ff8eaab4233df80a47a6fc7e7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): .claude/hooks/inject-subagent-context.py:83-113 | .claude/hooks/inject-workflow-state.py:96-131 | .claude/hooks/session-start.py:188-223 | .codex/hooks/inject-workflow-state.py:96-131 | .cursor/hooks/inject-subagent-context.py:83-113 | .cursor/hooks/session-start.py:188-223 | .gemini/hooks/inject-workflow-state.py:96-131 | .gemini/hooks/session-start.py:188-223 | .github/copilot/hooks/inject-workflow-state.py:96-131 | .kiro/hooks/inject-subagent-context.py:83-113 | .kiro/hooks/inject-workflow-state.py:96-131 | .kiro/hooks/session-start.py:188-223 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"909b83e41308555c388d2d2faa728e4b73b3bde5a6e26000a582cdfe057038e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): .claude/hooks/session-start.py:299-314 | .codex/hooks/session-start.py:195-210 | .cursor/hooks/session-start.py:299-314 | .gemini/hooks/session-start.py:299-314 | .github/copilot/hooks/session-start.py:200-215 | .kiro/hooks/session-start.py:299-314 | .trellis/scripts/common/active_task.py:103-119 | .trellis/scripts/common/paths.py:211-232 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb167ca1cfcaddea5a11f9a257d659710b34aaa6e1943b5b9b453254f8cfbe89"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .claude/hooks/inject-subagent-context.py:276-311 | .claude/hooks/inject-subagent-context.py:315-339 | .cursor/hooks/inject-subagent-context.py:276-311 | .cursor/hooks/inject-subagent-context.py:315-339 | .kiro/hooks/inject-subagent-context.py:276-311 | .kiro/hooks/inject-subagent-context.py:315-339 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a48f00191c3c3f0117e0ba832c6e971e6e5979a891a70f5db6004531c36289"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .claude/hooks/session-start.py:23-67 | .codex/hooks/session-start.py:45-89 | .cursor/hooks/session-start.py:23-67 | .gemini/hooks/session-start.py:23-67 | .github/copilot/hooks/session-start.py:55-99 | .kiro/hooks/session-start.py:23-67 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"441d75b019e32a1c6aa26c94c28efa4cc7bfa41b912a7f00a5867082d7b1a301"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .claude/hooks/session-start.py:100-120 | .codex/hooks/session-start.py:123-142 | .cursor/hooks/session-start.py:100-120 | .gemini/hooks/session-start.py:100-120 | .github/copilot/hooks/session-start.py:128-147 | .kiro/hooks/session-start.py:100-120 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5488d285696b10a08a8698d9094e0cac005fddf9aa440bb09d0155e4a661cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .claude/hooks/session-start.py:160-174 | .codex/hooks/session-start.py:295-309 | .cursor/hooks/session-start.py:160-174 | .gemini/hooks/session-start.py:160-174 | .github/copilot/hooks/session-start.py:300-314 | .kiro/hooks/session-start.py:160-174 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6abd8a9698103c43ba300c9c3a41bdf01fcc083d362139c6eaadfb5607c246"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .claude/hooks/session-start.py:178-184 | .codex/hooks/session-start.py:313-319 | .cursor/hooks/session-start.py:178-184 | .gemini/hooks/session-start.py:178-184 | .github/copilot/hooks/session-start.py:318-324 | .kiro/hooks/session-start.py:178-184 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb4e7c0dcbd3f33706230967d06d196eb41c977c0484f80bf86975a9e69ac65"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .claude/hooks/session-start.py:570-597 | .codex/hooks/session-start.py:330-353 | .cursor/hooks/session-start.py:570-597 | .gemini/hooks/session-start.py:570-597 | .github/copilot/hooks/session-start.py:335-358 | .kiro/hooks/session-start.py:570-597 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"612235cd1f2d960f7c42e5939650810739fab6c174213e160e64e7135b9ab825"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .claude/hooks/session-start.py:605-657 | .codex/hooks/session-start.py:361-413 | .cursor/hooks/session-start.py:605-657 | .gemini/hooks/session-start.py:605-657 | .github/copilot/hooks/session-start.py:366-418 | .kiro/hooks/session-start.py:605-657 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca5d4fb781c93141392a11d51b1c325559e1166699c3a471c40f93902dc2bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .claude/hooks/session-start.py:661-682 | .codex/hooks/session-start.py:417-433 | .cursor/hooks/session-start.py:661-682 | .gemini/hooks/session-start.py:661-682 | .github/copilot/hooks/session-start.py:422-438 | .kiro/hooks/session-start.py:661-682 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"1532ab7075ecb66dd9c4759365532f557c78b7e8dec002ed9c6fa42249066ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): .claude/hooks/session-start.py:692-703 | .codex/hooks/session-start.py:443-446 | .cursor/hooks/session-start.py:692-703 | .gemini/hooks/session-start.py:692-703 | .github/copilot/hooks/session-start.py:448-451 | .kiro/hooks/session-start.py:692-703 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb23799d1720d1ea7a8bab6a5ce4ca1deceacade9185189f106e9e14b99ffe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): .claude/hooks/inject-workflow-state.py:144-167 | .codex/hooks/inject-workflow-state.py:144-167 | .gemini/hooks/inject-workflow-state.py:144-167 | .github/copilot/hooks/inject-workflow-state.py:144-167 | .kiro/hooks/inject-workflow-state.py:144-167 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c3aee1de286f2ab2c105b18019b93cd062d2273c90257791b59f613f9ce56f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): .claude/hooks/inject-workflow-state.py:182-204 | .codex/hooks/inject-workflow-state.py:182-204 | .gemini/hooks/inject-workflow-state.py:182-204 | .github/copilot/hooks/inject-workflow-state.py:182-204 | .kiro/hooks/inject-workflow-state.py:182-204 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d4dff66c9a534420594784935bb3e5298592fc46edf2370c7a330434eef0fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): .claude/hooks/inject-workflow-state.py:227-254 | .codex/hooks/inject-workflow-state.py:227-254 | .gemini/hooks/inject-workflow-state.py:227-254 | .github/copilot/hooks/inject-workflow-state.py:227-254 | .kiro/hooks/inject-workflow-state.py:227-254 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e08e6b89974e20622e8af78097c42ff1067589cb9fac334f45fd6fc66391fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): .claude/hooks/inject-workflow-state.py:260-279 | .codex/hooks/inject-workflow-state.py:260-279 | .gemini/hooks/inject-workflow-state.py:260-279 | .github/copilot/hooks/inject-workflow-state.py:260-279 | .kiro/hooks/inject-workflow-state.py:260-279 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"236c3d0c16a71c49e8aa6ffd52ca833a57868e500b3b10efd9e9aeff5086cea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): .claude/hooks/inject-workflow-state.py:289-303 | .codex/hooks/inject-workflow-state.py:289-303 | .gemini/hooks/inject-workflow-state.py:289-303 | .github/copilot/hooks/inject-workflow-state.py:289-303 | .kiro/hooks/inject-workflow-state.py:289-303 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b70116fd351aeb1d2b8922dd124bc67a4edec64826a9e4b91991b306dce664b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): .claude/hooks/inject-workflow-state.py:311-340 | .codex/hooks/inject-workflow-state.py:311-340 | .gemini/hooks/inject-workflow-state.py:311-340 | .github/copilot/hooks/inject-workflow-state.py:311-340 | .kiro/hooks/inject-workflow-state.py:311-340 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a14a86ba0c60bb2e01a7b1ef38bff4bf7c06d72bc446b05245a8b0905432f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): .claude/hooks/inject-workflow-state.py:344-404 | .codex/hooks/inject-workflow-state.py:344-404 | .gemini/hooks/inject-workflow-state.py:344-404 | .github/copilot/hooks/inject-workflow-state.py:344-404 | .kiro/hooks/inject-workflow-state.py:344-404 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2749feddac715ebc0037c862a291e9181275872ab0f9298ad53e28f25432279"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): .claude/hooks/session-start.py:269-295 | .cursor/hooks/session-start.py:269-295 | .gemini/hooks/session-start.py:269-295 | .kiro/hooks/session-start.py:269-295 \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":".claude/hooks/session-start.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"329129dfdda350f58b2b473cb0fd52c362d72a173a5239a00be691a859262df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): .claude/hooks/session-start.py:328-417 | .cursor/hooks/session-start.py:328-417 | .gemini/hooks/session-start.py:328-417 | .kiro/hooks/session-start.py:328-417 \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":".claude/hooks/session-start.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f540aba7681d79bc1cc49efbe3b7a9de2c873ea4ff3a94b4f28ce3cf75fc9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): .claude/hooks/session-start.py:421-461 | .cursor/hooks/session-start.py:421-461 | .gemini/hooks/session-start.py:421-461 | .kiro/hooks/session-start.py:421-461 \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":".claude/hooks/session-start.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2276245940019f9ba253e34c8d493b19bd5637b352a4134fa10318b677bd24"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): .claude/hooks/session-start.py:465-507 | .cursor/hooks/session-start.py:465-507 | .gemini/hooks/session-start.py:465-507 | .kiro/hooks/session-start.py:465-507 \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":".claude/hooks/session-start.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b0cfb5c2fe708afc4b23e8980008aa5000305143d00ed550eddb12e2e4ca06"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): .claude/hooks/session-start.py:517-566 | .cursor/hooks/session-start.py:517-566 | .gemini/hooks/session-start.py:517-566 | .kiro/hooks/session-start.py:517-566 \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":".claude/hooks/session-start.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9ebeb8c6dd4a3ab5b61b01c250a313607bab0255fe0f078a4995d8a04d7c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): .claude/hooks/session-start.py:726-818 | .cursor/hooks/session-start.py:726-818 | .gemini/hooks/session-start.py:726-818 | .kiro/hooks/session-start.py:726-818 \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":".claude/hooks/session-start.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ee00f868d1480dff7f393a3e05105f3ba3feb67a570e9e519b1b7afcdd8769"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): .trellis/scripts/common/task_store.py:558-603 | .trellis/scripts/common/task_store.py:611-650 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/task_store.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"c933c8a4365ef9e2e02f2f1b16bf3600af0f80a30178136c5c695362f3c32101"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): .trellis/scripts/add_session.py:324-392 | .trellis/scripts/common/task_store.py:473-550 \u2014 These two members are one piece of code written twice and then edited apart: 69 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":".trellis/scripts/add_session.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8598bd1dbb60d230612b717ba98c04fc2a3ff85ea88748d824a859ef798c006e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): src-tauri/src/keyboard/windows.rs:71-104 | src-tauri/src/mouse/windows.rs:20-49 | src-tauri/src/shortcut/win_v.rs:46-80 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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":"src-tauri/src/keyboard/windows.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d52dd9b132e8cd4c54dd285b14ad39904f56dd5d8bf95dcca558c849f7fecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/window/position.rs:54-68 | src-tauri/src/window/position.rs:79-93 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/window/position.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"455dc430363e1c01ab848c384e0d88651afc2ff88e215dd18248fcf152fff5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): src-tauri/src/window/mod.rs:270-303 | src-tauri/src/window/mod.rs:306-339 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"src-tauri/src/window/mod.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6c66f68c91a9342613c7ff0541e5e6aed57f29a8761c6ebbf1e2de619300ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src-tauri/src/menu/context_window.rs:91-117 | src-tauri/src/window/preview.rs:240-276 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/menu/context_window.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fffeb4673cc8b82da21429b770e127512dc88700b73138d60bdfd5fa853c2eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): src-tauri/src/backup/mod.rs:1330-1360 | src-tauri/src/backup/mod.rs:1362-1390 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/backup/mod.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9617c912f6e5d88f6ef3b580ae70c7325c8672aa653c7c2603079eff50df633"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): .trellis/scripts/common/task_store.py:658-681 | .trellis/scripts/common/task_store.py:689-716 | .trellis/scripts/common/task_store.py:724-747 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":".trellis/scripts/common/task_store.py"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2110a01e7178715b03d2891c5c1ecb0c2548c09c37950c06d1f1d45aa18107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): src-tauri/src/backup/mod.rs:1062-1100 | src-tauri/src/backup/mod.rs:1102-1137 | src-tauri/src/backup/mod.rs:1142-1166 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"src-tauri/src/backup/mod.rs"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"70773371f84a0730a2d3839960c599ffdc908ed0402bf5c91556c464c8b03125"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src-tauri/src/commands/storage.rs:476-502 | src-tauri/src/commands/storage.rs:558-582 \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":"src-tauri/src/commands/storage.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a448c225a5ebe60a20527cb8520651484ba0bb89355381d58d0238a5213da90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/tray/mod.rs:83-97 | src-tauri/src/tray/mod.rs:100-116 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/tray/mod.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf632a1af3a1194af976aca164e2e9b148b159618df0dca363659054ecf5933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src-tauri/src/menu/context_window.rs:483-505 | src-tauri/src/mouse/windows.rs:103-122 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/menu/context_window.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"e573b86a6d2b2febed65b3fb33ed4451c2391d4c7a775b18c14a96997f7413ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): .trellis/scripts/common/session_context.py:90-109 | .trellis/scripts/common/session_context.py:113-140 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/session_context.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9620524c4c26aabb41828155b452fe0fd6b9daaf1ac784611b5bb33793767269"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src-tauri/src/window/lifecycle/mod.rs:481-496 | src-tauri/src/window/lifecycle/mod.rs:522-537 | src-tauri/src/window/lifecycle/mod.rs:594-609 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/window/lifecycle/mod.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f602f140bd14054f06853450e0efee18b50d0ca91ea9a19ab0f2bb13a4a1e29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/db/apps.rs:30-47 | src-tauri/src/db/items.rs:285-304 \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":"src-tauri/src/db/apps.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"753a5bbc62894f412f0e0564e14fd6785be3b640a0584a7d7c3122adf26c9dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/update.rs:94-111 | src-tauri/src/update.rs:113-137 \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":"src-tauri/src/update.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"218313b43cb50320a866a7b5bf4ba617df6759746efbd43568df84a533885e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src-tauri/src/clipboard/app_store.rs:79-89 | src-tauri/src/clipboard/file_icon_store.rs:68-78 | src-tauri/src/clipboard/storage.rs:183-193 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"src-tauri/src/clipboard/app_store.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4906634eb17413d39dea100cbd65ba4fe50bbb0c97f6a9ba37a4db2b4d6d1e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src-tauri/src/drag_out/mod.rs:44-60 | src-tauri/src/drag_out/mod.rs:75-91 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/drag_out/mod.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f707ee0a953222a7bb8644ea6fb9ea5ecc222c379e9bb6535735921278be6464"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/window/preview.rs:182-194 | src-tauri/src/window/preview.rs:197-209 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/window/preview.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d5d5f9eeb29e6f63d5886c5d066c5f5c31070d7a00dd208cc19c40f223af86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/autostart/macos.rs:12-24 | src-tauri/src/autostart/windows.rs:18-33 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/autostart/macos.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8d50b636cd1678e41949151ef16f9a8724fe79de1be21f6678b6b6ea1f5000"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src-tauri/src/window/preview.rs:358-375 | src-tauri/src/window/preview.rs:394-411 \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":"src-tauri/src/window/preview.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"340805cc7f40b32541d9d892ff26273adb00579a99f23818df46277cc0e0c0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src-tauri/src/clipboard/apps_registry.rs:349-354 | src-tauri/src/clipboard/source.rs:77-82 \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":"src-tauri/src/clipboard/apps_registry.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbc8db28aa102413cdf4f134fb81b9888a91b682eae3fe4bda1e631af3d1bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src-tauri/src/db/items.rs:89-101 | src-tauri/src/db/items.rs:161-171 | src-tauri/src/db/items.rs:180-191 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"src-tauri/src/db/items.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"607053e2d4d98b4ce2e12c694d6b4afab2a98d19ddd3b8ef5edb3b9a4fe40b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src-tauri/src/mouse/windows.rs:130-139 | src-tauri/src/shortcut/win_v.rs:183-196 \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":"src-tauri/src/mouse/windows.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ec90051eb44d475ff02779022de31ada72aa28463bcad97ca6d132ae90ed70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): src-tauri/src/window/macos.rs:182-192 | src-tauri/src/window/macos.rs:195-205 | src-tauri/src/window/preview.rs:463-475 | src-tauri/src/window/preview.rs:504-515 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/window/macos.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"254533f9a68657a40af2ce9914267e326fa41be9c59469508f2c48ed1586556f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src-tauri/src/db/file_icons.rs:37-58 | src-tauri/src/db/groups.rs:56-70 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/db/file_icons.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3320b0a0d035cb7b1f68bb969109a8b35f3943335433cd253623edfb08498ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src-tauri/src/drag_out/windows_ghost.rs:53-61 | src-tauri/src/drag_out/windows_ghost.rs:92-100 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/drag_out/windows_ghost.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6ed39706ebc9873ba4e0a4cebb30153ca751b83a67cee2213c1738301a5161"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/backup/mod.rs:606-613 | src-tauri/src/backup/mod.rs:1420-1426 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/backup/mod.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"7199461631d36262695c724cbc8b313e6cee10764ac4d0e1e159bb19fe3e4b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/autostart/windows.rs:115-126 | src-tauri/src/autostart/windows.rs:128-141 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/autostart/windows.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"060add300fc5789d59843d9fdc1072aaa1d2db2da9d1c26a68f5b6d1788cf51c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src-tauri/src/menu/context_window.rs:441-455 | src-tauri/src/menu/context_window.rs:458-469 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/menu/context_window.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"9084e57bf59c6459af24629274fd028f38ee93869d42de44b5498017ceb1df6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/mouse/windows.rs:51-63 | src-tauri/src/shortcut/win_v.rs:82-94 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/mouse/windows.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04a0c6c848746598b0e2fe783541be7f057e16769c2bffdc58bfeb6287d898b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): .trellis/scripts/common/paths.py:236-251 | .trellis/scripts/common/active_task.py:123-135 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/paths.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acf8a170126686e42af5275b3a6eb33922bff350c07f4baf2b446327ecc140d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src-tauri/src/admin.rs:194-204 | src-tauri/src/admin.rs:265-276 | src-tauri/src/admin.rs:279-289 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"src-tauri/src/admin.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f584320dc1079811b7b828265e1d2f3a750f08d673356dc877ee969b02b3e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src-tauri/src/backup/mod.rs:1037-1049 | src-tauri/src/commands/onboarding.rs:526-538 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/backup/mod.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"6296be1e2a13e76ff19cec5471ccef88e6505dcae3b2da86cd000358b2e51191"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src-tauri/src/clipboard/apps_registry.rs:190-203 | src-tauri/src/clipboard/apps_registry.rs:205-219 | src-tauri/src/clipboard/apps_registry.rs:221-236 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/apps_registry.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1145bd830fb7cc0d7e89ae95117e59f24ae8a0e3195d9f20bbb747e7bdfb37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): .trellis/scripts/common/config.py:156-163 | .trellis/scripts/common/trellis_config.py:46-52 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/config.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f426b08588b7bb0535bc7a4a51f48443c8867ccc5334b2f3d485480febbb332"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src-tauri/src/core/paths.rs:272-281 | src-tauri/src/backup/mod.rs:1315-1318 \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":"src-tauri/src/core/paths.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf4bfc609f812bf90470ffe61d3e6648b65698b1149ec38ccd93ceb20be94d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src-tauri/src/window/lifecycle/mod.rs:201-207 | src-tauri/src/window/state.rs:71-77 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/window/lifecycle/mod.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5eeff635c37ef1f542cacd4a223d062a9a516aa6dd7c260903719e99046b92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): .cursor/hooks/inject-shell-session-context.py:47-53 | .trellis/scripts/common/active_task.py:250-256 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".cursor/hooks/inject-shell-session-context.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc708f73bcf429a3f1fe154ac25d99fac27205f20fb1dad1bab82e8bc1190b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src-tauri/src/i18n/mod.rs:17-21 | src-tauri/src/window/lifecycle/mod.rs:680-684 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/i18n/mod.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c1335b38c4590ebe4e9e03734dc3c0bf1b722555d7d792a4315de395d8267c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/clipboard/apps_registry.rs:537-549 | src-tauri/src/clipboard/source.rs:130-142 \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":"src-tauri/src/clipboard/apps_registry.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"26957de25444e2245001e1cda062f60867758ef3d4edebcfcf0020b002fe3f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/backup/mod.rs:1277-1287 | src-tauri/src/commands/storage.rs:395-405 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/backup/mod.rs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abcfb580b8ecad65b7bc1ff96e3645f8de71fd881b6b611d9ff4379e620de9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/backup/mod.rs:1331-1341 | src-tauri/src/backup/mod.rs:1429-1439 \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 \u0060src-tauri/src/backup/mod.rs:1331\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/backup/mod.rs"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9019091fa568354b31b7ced55e161b5abb8ec55d81d4ec14373606eae827f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/keyboard/windows.rs:88-98 | src-tauri/src/mouse/windows.rs:37-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/keyboard/windows.rs:88\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":"src-tauri/src/keyboard/windows.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"444be9b9a5d0975e032baf639dc4e7c1e39bc805ff721a552e5878c762eeba02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/menu/context_window.rs:488-498 | src-tauri/src/mouse/windows.rs:105-116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/menu/context_window.rs:488\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":"src-tauri/src/menu/context_window.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a882a2607efcf823db2c99bff094945bc941a1ba733b41673522496e4bcc36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/update.rs:95-104 | src-tauri/src/update.rs:114-123 \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 \u0060src-tauri/src/update.rs:95\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/update.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f201fa5ef41a82bc1b3901cc6033e7bda339a10206b9d8bf025b97dfdf98c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/window/lifecycle/mod.rs:542-551 | src-tauri/src/window/lifecycle/mod.rs:613-622 \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 \u0060src-tauri/src/window/lifecycle/mod.rs:542\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/window/lifecycle/mod.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f429386508408b658115f5b531f25374fcc162daf326b6606e278fdc64a48b95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/window/state.rs:37-45 | src-tauri/src/window/state.rs:108-117 \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 \u0060src-tauri/src/window/state.rs:37\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":"src-tauri/src/window/state.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7901d5169b623df4ae1ffe1bd2f26b941c70a8cad935142a694f58a34efa0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src-tauri/src/commands/clipboard.rs:374-380 | src-tauri/src/commands/clipboard.rs:410-415 \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. 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":"src-tauri/src/commands/clipboard.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d72968931fadfece8cd6bd0c51c7f6f8c841f810e1f4f6988669b15d9d010e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/settings/store.rs:32-40 | src-tauri/src/settings/store.rs:113-118 \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 \u0060src-tauri/src/settings/store.rs:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/settings/store.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2d428d88a87c9ab738741820da5c1a1480aacc1f0de586246c3bedc37ec7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/clipboard/apps_registry.rs:350-354 | src-tauri/src/clipboard/source.rs:78-82 \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 \u0060src-tauri/src/clipboard/apps_registry.rs:350\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/apps_registry.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35bbae4571ec53a72d9b4087f3a60c64a144b39cf9acd18679b046ea646dce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/commands/clipboard.rs:835-839 | src-tauri/src/commands/clipboard.rs:928-932 \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 \u0060src-tauri/src/commands/clipboard.rs:835\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":"src-tauri/src/commands/clipboard.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ed2776dcbbafbc9aca65debfa760bb8abdd04575907fa554ea71ef86f34cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/autostart/macos.rs:26-31 | src-tauri/src/autostart/windows.rs:35-40 \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":"src-tauri/src/autostart/macos.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"afabea354baf0b66477077c161817d9e4e58851a01a1a2bd31a96681af4a850a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/clipboard/app_store.rs:54-59 | src-tauri/src/clipboard/file_icon_store.rs:43-48 \u2014 before extracting anything, compare \u0060src-tauri/src/clipboard/app_store.rs\u0060 and \u0060src-tauri/src/clipboard/file_icon_store.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/app_store.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c822f86fa597759d1a32ecfe51b9b6c0235c75764008887217baea59ea6f09cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src-tauri/src/clipboard/app_store.rs:73-77 | src-tauri/src/clipboard/file_icon_store.rs:62-66 | src-tauri/src/clipboard/storage.rs:176-180 \u2014 before extracting anything, compare \u0060src-tauri/src/clipboard/app_store.rs\u0060 and \u0060src-tauri/src/clipboard/file_icon_store.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/app_store.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4928f8162c95d3427455fdb3a70ec5aa079e1b825f442bfaf010aa25c089a1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/clipboard/app_store.rs:28-34 | src-tauri/src/clipboard/file_icon_store.rs:24-30 \u2014 before extracting anything, compare \u0060src-tauri/src/clipboard/app_store.rs\u0060 and \u0060src-tauri/src/clipboard/file_icon_store.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/app_store.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da9296e0cef23ea65b786a19fc1752f48c288baaf8bace93285edd04fb13fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/clipboard/app_store.rs:44-51 | src-tauri/src/clipboard/file_icon_store.rs:33-40 | src-tauri/src/clipboard/storage.rs:72-79 \u2014 before extracting anything, compare \u0060src-tauri/src/clipboard/app_store.rs\u0060 and \u0060src-tauri/src/clipboard/file_icon_store.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/app_store.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"70516a5ca57b0ef9b47cd8b2e03678f6463de8ed44af78b98117286159c4671e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src-tauri/src/mouse/windows.rs:21-33 | src-tauri/src/shortcut/win_v.rs:47-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/mouse/windows.rs:21\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/mouse/windows.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bb9bac37050c49fb77239b94bdf701c9dbc347bd049e1855583ae6056b838f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src-tauri/src/backup/mod.rs:1089-1100 | src-tauri/src/backup/mod.rs:1126-1137 | src-tauri/src/backup/mod.rs:1155-1166 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/backup/mod.rs:1089\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":"src-tauri/src/backup/mod.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdc18c4514b516479ece1575f87da245cbce9986cad130868840475ccfdeae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src-tauri/src/keyboard/windows.rs:88-97 | src-tauri/src/mouse/windows.rs:37-46 | src-tauri/src/shortcut/win_v.rs:63-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/keyboard/windows.rs:88\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":"src-tauri/src/keyboard/windows.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"17de099328aa93436a42850b3a6e8ccdbec473bce79054297163d1fe157ad796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src-tauri/src/window/mod.rs:291-302 | src-tauri/src/window/mod.rs:327-338 \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 \u0060src-tauri/src/window/mod.rs:291\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src-tauri/src/window/mod.rs:325\u0060 calls \u0060decorations\u0060, \u0060transparent\u0060 and \u0060src-tauri/src/window/mod.rs:290\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":"src-tauri/src/window/mod.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6672aa629211aa9bded8dc9d9003be3e71b69bdd0203229ff3c0915b4dc36c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/keyboard/windows.rs:202-212 | src-tauri/src/keyboard/windows.rs:244-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/keyboard/windows.rs:202\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"src-tauri/src/keyboard/windows.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"76930a2a6644af1dfe91e6072947af81e1066301475d337e2396e245b56eaad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/keyboard/windows.rs:76-86 | src-tauri/src/shortcut/win_v.rs:51-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/keyboard/windows.rs:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/keyboard/windows.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"97aff1f76249c9acaec9ed42be7577e83ccb4a922160e3a152c8a024d8ea33e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/admin.rs:196-204 | src-tauri/src/admin.rs:281-289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src-tauri/src/admin.rs:196\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/admin.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b4c1e8de6009cd08f6dd30579e7eacc16516835782f74bb5d7cbd92a998c61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src-tauri/src/clipboard/app_store.rs:80-86 | src-tauri/src/clipboard/file_icon_store.rs:69-75 | src-tauri/src/clipboard/storage.rs:184-190 \u2014 before extracting anything, compare \u0060src-tauri/src/clipboard/app_store.rs\u0060 and \u0060src-tauri/src/clipboard/file_icon_store.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/clipboard/app_store.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f189372508ab3531b5ea2b08ecd0089cc7d5f6b22d4b4fa5bbbbcb6e611d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/menu/context_window.rs:157-161 | src-tauri/src/menu/context_window.rs:196-200 \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":"src-tauri/src/menu/context_window.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b679621a18eddcf79fc460139af3d7fbf04482ba39bbaa3570cfd5d415bc63ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/window/position.rs:55-59 | src-tauri/src/window/position.rs:80-84 \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":"src-tauri/src/window/position.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06e357ba1dbbbee5712c218dd4f792d20446632534597f36c68ff67fb4e9c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 4): .claude/hooks/session-start.py:726-818 | .cursor/hooks/session-start.py:726-818 | .gemini/hooks/session-start.py:726-818 | .kiro/hooks/session-start.py:726-818 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.claude/hooks/session-start.py:726\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5052241314c4a4887b6e1b6ea251406d55a3a981e0a5dae87430ae060e5a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (90 lines \u00D7 4): .claude/hooks/session-start.py:328-417 | .cursor/hooks/session-start.py:328-417 | .gemini/hooks/session-start.py:328-417 | .kiro/hooks/session-start.py:328-417 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed1aa82e9393155bb4c860dd83583fa06cccf2489d039aea162f706f362dc6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:688-767 | .cursor/hooks/inject-subagent-context.py:688-767 | .kiro/hooks/inject-subagent-context.py:688-767 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"174e9cf95d9325f12f42bcd235765257cbbd3ba408f1f73d25ff6f4afbf4c516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): .codex/hooks/session-start.py:224-291 | .github/copilot/hooks/session-start.py:229-296 \u2014 before extracting anything, compare \u0060.codex/hooks/session-start.py\u0060 and \u0060.github/copilot/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 410 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".codex/hooks/session-start.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c9d44c0bcc137666ce1ac9892c29ceb12bd9cf97391de3651e5120ebd4fd7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:191-256 | .cursor/hooks/inject-subagent-context.py:191-256 | .kiro/hooks/inject-subagent-context.py:191-256 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"068c8380a3a09b53739453866eaa24a85b2de923b15354cdfa5408d2514a0319"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:344-404 | .codex/hooks/inject-workflow-state.py:344-404 | .gemini/hooks/inject-workflow-state.py:344-404 | .github/copilot/hooks/inject-workflow-state.py:344-404 | .kiro/hooks/inject-workflow-state.py:344-404 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5f16c5553822b5c0179ace5e3516bfe89e6ff5c7f908625d55d15d5e318c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59\u201361 lines \u00D7 2): .codex/hooks/session-start.py:469-529 | .github/copilot/hooks/session-start.py:474-532 \u2014 before extracting anything, compare \u0060.codex/hooks/session-start.py\u0060 and \u0060.github/copilot/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 410 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.codex/hooks/session-start.py:469\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codex/hooks/session-start.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ce23db9abe19b6aad615c0c7bc6f389e2b081daf5d4ae00fec5ef54708317e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201360 lines \u00D7 2): .trellis/scripts/common/config.py:93-152 | .trellis/scripts/common/trellis_config.py:58-108 \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":".trellis/scripts/common/config.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d7e36ebfff022847ccd55d00a8302acc5451ffb3106b7a3297a1a9886c0ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 6): .claude/hooks/session-start.py:605-657 | .codex/hooks/session-start.py:361-413 | .cursor/hooks/session-start.py:605-657 | .gemini/hooks/session-start.py:605-657 | .github/copilot/hooks/session-start.py:366-418 | .kiro/hooks/session-start.py:605-657 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76875b2c5ad7a2841aca8b92900f032fe430486dc97fc6fd88abd7fa8e1f8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:578-628 | .cursor/hooks/inject-subagent-context.py:578-628 | .kiro/hooks/inject-subagent-context.py:578-628 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"befe2fba9dbef485c1cacf7649ad7da19d0a392ee9105d8febd608cc90ce33e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 4): .claude/hooks/session-start.py:517-566 | .cursor/hooks/session-start.py:517-566 | .gemini/hooks/session-start.py:517-566 | .kiro/hooks/session-start.py:517-566 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3439fce78614269a7849486a99245e91ab27a230e2a1d2df11b4a79f40b87198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 4): .claude/hooks/session-start.py:465-507 | .cursor/hooks/session-start.py:465-507 | .gemini/hooks/session-start.py:465-507 | .kiro/hooks/session-start.py:465-507 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eba41afff5eb1fbcfb73539dcfc0256b08b9cdf3a4788486eedfc635e7112c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 4): .claude/hooks/session-start.py:421-461 | .cursor/hooks/session-start.py:421-461 | .gemini/hooks/session-start.py:421-461 | .kiro/hooks/session-start.py:421-461 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7c165b2222b7e738a50d346feb2e07f12d8fda324f49d4d1d44d906ad86250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:149-187 | .cursor/hooks/inject-subagent-context.py:149-187 | .kiro/hooks/inject-subagent-context.py:149-187 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc258899ff01f0481c152b116bdc51063b52c37b2690fdc745ca167907ca9b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:648-684 | .cursor/hooks/inject-subagent-context.py:648-684 | .kiro/hooks/inject-subagent-context.py:648-684 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9612514a21d359f87c7574d20cff969e1e791d11bce325fccb20138a81ccfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 6): .claude/hooks/session-start.py:23-67 | .codex/hooks/session-start.py:45-89 | .cursor/hooks/session-start.py:23-67 | .gemini/hooks/session-start.py:23-67 | .github/copilot/hooks/session-start.py:55-99 | .kiro/hooks/session-start.py:23-67 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba815914e319738e42ad9777571655700524462c25b87fc438bc303fb347ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 12): .claude/hooks/inject-subagent-context.py:83-112 | .claude/hooks/inject-workflow-state.py:96-126 | .claude/hooks/session-start.py:188-218 | .codex/hooks/inject-workflow-state.py:96-126 | .cursor/hooks/inject-subagent-context.py:83-112 | .cursor/hooks/session-start.py:188-218 | .gemini/hooks/inject-workflow-state.py:96-126 | .gemini/hooks/session-start.py:188-218 | .github/copilot/hooks/inject-workflow-state.py:96-126 | .kiro/hooks/inject-subagent-context.py:83-112 | .kiro/hooks/inject-workflow-state.py:96-126 | .kiro/hooks/session-start.py:188-218 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6324d4c4bcde0b5cef6e9f04244c6773231e4845bcc234dcebf4565801814b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:311-340 | .codex/hooks/inject-workflow-state.py:311-340 | .gemini/hooks/inject-workflow-state.py:311-340 | .github/copilot/hooks/inject-workflow-state.py:311-340 | .kiro/hooks/inject-workflow-state.py:311-340 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"695b40bde5e25339934ad48207ad908f344446d7e701149f4d24f25ede6d745d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:227-254 | .codex/hooks/inject-workflow-state.py:227-254 | .gemini/hooks/inject-workflow-state.py:227-254 | .github/copilot/hooks/inject-workflow-state.py:227-254 | .kiro/hooks/inject-workflow-state.py:227-254 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaa2ac59dfcf4d8198884ab33463589a25f318de222d2257c3400ff442e9b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): .claude/hooks/session-start.py:269-295 | .cursor/hooks/session-start.py:269-295 | .gemini/hooks/session-start.py:269-295 | .kiro/hooks/session-start.py:269-295 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a29a3a176caa34a7543a871a2eb8204769d01687b17390247439a439640a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:276-300 | .cursor/hooks/inject-subagent-context.py:276-300 | .kiro/hooks/inject-subagent-context.py:276-300 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.claude/hooks/inject-subagent-context.py:276\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a8556be00cbb99cb8287276f1fda8a0f30826cbe9ed5d6d14ce6935c5b2714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:144-167 | .codex/hooks/inject-workflow-state.py:144-167 | .gemini/hooks/inject-workflow-state.py:144-167 | .github/copilot/hooks/inject-workflow-state.py:144-167 | .kiro/hooks/inject-workflow-state.py:144-167 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"60071db35a0b7b243d390f0d93e4717fbb295604b9f2a5d476648beb48a89433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:182-204 | .codex/hooks/inject-workflow-state.py:182-204 | .gemini/hooks/inject-workflow-state.py:182-204 | .github/copilot/hooks/inject-workflow-state.py:182-204 | .kiro/hooks/inject-workflow-state.py:182-204 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3964c7b28130b39fe5f0c831bba8f3f5ec275c970026083bdac1865f2eeac306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): .trellis/scripts/common/task_store.py:558-580 | .trellis/scripts/common/task_store.py:611-633 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".trellis/scripts/common/task_store.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edefb31b88f4b19db715f5439b1b181e07de0d528272b7804e0ec0b579e69e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201322 lines \u00D7 2): .trellis/scripts/common/active_task.py:103-119 | .trellis/scripts/common/paths.py:211-232 \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":".trellis/scripts/common/active_task.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dd3bae9fb4869ce1a95fec56722d688dc77a576cec9ba08d46afd99140d1a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 6): .claude/hooks/session-start.py:100-120 | .codex/hooks/session-start.py:123-142 | .cursor/hooks/session-start.py:100-120 | .gemini/hooks/session-start.py:100-120 | .github/copilot/hooks/session-start.py:128-147 | .kiro/hooks/session-start.py:100-120 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c4f016fd79f8a7159800012f70f57a0f1b7ecafc2b2a78eb090119a7d79584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:260-279 | .codex/hooks/inject-workflow-state.py:260-279 | .gemini/hooks/inject-workflow-state.py:260-279 | .github/copilot/hooks/inject-workflow-state.py:260-279 | .kiro/hooks/inject-workflow-state.py:260-279 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1424aa183bff2d2c6cca1a507da70f8b0bcc43a084b546696996eb684cbc3c15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:465-493 | .cursor/hooks/inject-subagent-context.py:465-493 | .kiro/hooks/inject-subagent-context.py:465-493 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ab4619179aebe1dfc479c46106cef11986ef2b6ab00bea0677c1f4b0bd23ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): .trellis/scripts/common/config.py:40-59 | .trellis/scripts/common/trellis_config.py:26-42 \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":".trellis/scripts/common/config.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2139e2a0246a68be18458b5062e8ef02fdbb7bb5da0cf79d61b2ae137db79a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): .claude/hooks/inject-subagent-context.py:293-311 | .claude/hooks/inject-subagent-context.py:321-339 | .cursor/hooks/inject-subagent-context.py:293-311 | .cursor/hooks/inject-subagent-context.py:321-339 | .kiro/hooks/inject-subagent-context.py:293-311 | .kiro/hooks/inject-subagent-context.py:321-339 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1275deaaedb55bd470c287542579d51f55077331c3f78ff62841196e5e588b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): .codex/hooks/session-start.py:173-191 | .github/copilot/hooks/session-start.py:178-196 \u2014 before extracting anything, compare \u0060.codex/hooks/session-start.py\u0060 and \u0060.github/copilot/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 410 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".codex/hooks/session-start.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a6c6ca2b0d590cae82cdb352bd28d6be4e1533795247d3b344a931beeabe64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): .claude/hooks/session-start.py:580-597 | .cursor/hooks/session-start.py:580-597 | .gemini/hooks/session-start.py:580-597 | .kiro/hooks/session-start.py:580-597 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01418daa85c02b0cccdbb7fb82acc4d220def5cd52aafd1bf7ee2a05006d6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 6): .claude/hooks/session-start.py:570-586 | .codex/hooks/session-start.py:330-345 | .cursor/hooks/session-start.py:570-586 | .gemini/hooks/session-start.py:570-586 | .github/copilot/hooks/session-start.py:335-350 | .kiro/hooks/session-start.py:570-586 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8586e92c0360a8e5981adf21a6ba0f927d056a2fd4f53485577e60f6d7f5187b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): .claude/hooks/session-start.py:661-676 | .cursor/hooks/session-start.py:661-676 | .gemini/hooks/session-start.py:661-676 | .kiro/hooks/session-start.py:661-676 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f16e0327cd9e88cdb7a0868864fde6efc76a4227086dd5c96cfb232779cc90b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): .claude/hooks/session-start.py:160-174 | .codex/hooks/session-start.py:295-309 | .cursor/hooks/session-start.py:160-174 | .gemini/hooks/session-start.py:160-174 | .github/copilot/hooks/session-start.py:300-314 | .kiro/hooks/session-start.py:160-174 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e4a008a7ec3d7b479a413adfc90e37415365cb7fdee91d893a719bf0e39326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): .claude/hooks/session-start.py:300-314 | .codex/hooks/session-start.py:196-210 | .cursor/hooks/session-start.py:300-314 | .gemini/hooks/session-start.py:300-314 | .github/copilot/hooks/session-start.py:201-215 | .kiro/hooks/session-start.py:300-314 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0746853f880a229ec0589114f2415a7ffacc4845ec41b1bcabd3dce9ac133e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:289-303 | .codex/hooks/inject-workflow-state.py:289-303 | .gemini/hooks/inject-workflow-state.py:289-303 | .github/copilot/hooks/inject-workflow-state.py:289-303 | .kiro/hooks/inject-workflow-state.py:289-303 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44efa01f49a365e299ddb4258483ff01b9b8ba9b52d848570356f68ea26ba11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:117-131 | .cursor/hooks/inject-subagent-context.py:117-131 | .kiro/hooks/inject-subagent-context.py:117-131 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82c1cf2841f74ca268635e5d25402ccad7bb8be6b74660483789d7db2fff7bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): .claude/hooks/session-start.py:669-682 | .codex/hooks/session-start.py:420-433 | .cursor/hooks/session-start.py:669-682 | .gemini/hooks/session-start.py:669-682 | .github/copilot/hooks/session-start.py:425-438 | .kiro/hooks/session-start.py:669-682 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e3351121d644d7b2e9c1a564c26c8956057de620c5ac96f97ac0bec062e0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): .claude/hooks/session-start.py:299-309 | .codex/hooks/session-start.py:195-205 | .cursor/hooks/session-start.py:299-309 | .gemini/hooks/session-start.py:299-309 | .github/copilot/hooks/session-start.py:200-210 | .kiro/hooks/session-start.py:299-309 | .trellis/scripts/common/active_task.py:104-114 | .trellis/scripts/common/paths.py:217-227 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65c77c85feb42d7334715632b8f932b6dc6d2a986456e355a9d28a8530f30b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201311 lines \u00D7 6): .claude/hooks/session-start.py:692-702 | .codex/hooks/session-start.py:443-445 | .cursor/hooks/session-start.py:692-702 | .gemini/hooks/session-start.py:692-702 | .github/copilot/hooks/session-start.py:448-450 | .kiro/hooks/session-start.py:692-702 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/hooks/session-start.py"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9750baefa7eb100fdfe1664b5fce1e72c5ffe5cbb09a2ad0d815b49e8baf0861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:135-143 | .cursor/hooks/inject-subagent-context.py:135-143 | .kiro/hooks/inject-subagent-context.py:135-143 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"176c233b72a116cb1f3a83d57ce9bcfacc011aafa7f3efc33eb6688d8ff10067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): .claude/hooks/session-start.py:178-184 | .codex/hooks/session-start.py:313-319 | .cursor/hooks/session-start.py:178-184 | .gemini/hooks/session-start.py:178-184 | .github/copilot/hooks/session-start.py:318-324 | .kiro/hooks/session-start.py:178-184 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cbfe0382d487ed2a67013a84d5386ecf4895cab4131f2c5a54bdef680a3524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:68-79 | .cursor/hooks/inject-subagent-context.py:68-79 | .kiro/hooks/inject-subagent-context.py:68-79 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe6b6455a0cf398e9d5155a9c62773906780dae8075c28c5f3511a1df5f0816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:262-272 | .cursor/hooks/inject-subagent-context.py:262-272 | .kiro/hooks/inject-subagent-context.py:262-272 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ba63028ac6fda1c656bc413af392f94d926cc89571c445d858552f6ca64062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): .claude/hooks/inject-subagent-context.py:632-644 | .cursor/hooks/inject-subagent-context.py:632-644 | .kiro/hooks/inject-subagent-context.py:632-644 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-subagent-context.py\u0060 and \u0060.cursor/hooks/inject-subagent-context.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 437 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"99be7d3a19bf4eca7c14a20110cc585cbbceb0991660c4fb36d1ed760e976909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:78-88 | .codex/hooks/inject-workflow-state.py:78-88 | .gemini/hooks/inject-workflow-state.py:78-88 | .github/copilot/hooks/inject-workflow-state.py:78-88 | .kiro/hooks/inject-workflow-state.py:78-88 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91e8476fef8dae3a52853a37cdba4821c74aa688d6cee7193250291a991d553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:135-140 | .codex/hooks/inject-workflow-state.py:135-140 | .gemini/hooks/inject-workflow-state.py:135-140 | .github/copilot/hooks/inject-workflow-state.py:135-140 | .kiro/hooks/inject-workflow-state.py:135-140 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e92d892daa35c7ecc40b3a28a00fb981f2cfed4d2834085d0edf60b3125b113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): .claude/hooks/inject-workflow-state.py:208-223 | .codex/hooks/inject-workflow-state.py:208-223 | .gemini/hooks/inject-workflow-state.py:208-223 | .github/copilot/hooks/inject-workflow-state.py:208-223 | .kiro/hooks/inject-workflow-state.py:208-223 \u2014 before extracting anything, compare \u0060.claude/hooks/inject-workflow-state.py\u0060 and \u0060.codex/hooks/inject-workflow-state.py\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 265 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"345d870862661b2bf287323c757911da0491151587c5e0ebc9cac289416f0fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): .claude/hooks/session-start.py:124-142 | .cursor/hooks/session-start.py:124-142 | .gemini/hooks/session-start.py:124-142 | .kiro/hooks/session-start.py:124-142 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"499664359f36c67e391acea6d7de829f609fe38bce08b644466764a986bbcf90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): .claude/hooks/session-start.py:227-232 | .cursor/hooks/session-start.py:227-232 | .gemini/hooks/session-start.py:227-232 | .kiro/hooks/session-start.py:227-232 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe3e6558ad82cb756ebd26b1f732eaed75479aaa0e3ba62ad99a5fa981f4981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): .claude/hooks/session-start.py:236-252 | .cursor/hooks/session-start.py:236-252 | .gemini/hooks/session-start.py:236-252 | .kiro/hooks/session-start.py:236-252 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"931812955569e0b20599cff1dfa0c45718fa3e9a50a6961c35631c84041989db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): .claude/hooks/session-start.py:256-265 | .cursor/hooks/session-start.py:256-265 | .gemini/hooks/session-start.py:256-265 | .kiro/hooks/session-start.py:256-265 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.cursor/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 693 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"931f7149298fb936c37526de4bd2219c0244b438a911a4f3870f3a0a59721245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): .claude/hooks/session-start.py:318-324 | .codex/hooks/session-start.py:214-220 | .cursor/hooks/session-start.py:318-324 | .gemini/hooks/session-start.py:318-324 | .github/copilot/hooks/session-start.py:219-225 | .kiro/hooks/session-start.py:318-324 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4421c46b3412348ae713b89b048a941a8124abe158be743d7a93e204002f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): .claude/hooks/session-start.py:707-722 | .codex/hooks/session-start.py:450-465 | .cursor/hooks/session-start.py:707-722 | .gemini/hooks/session-start.py:707-722 | .github/copilot/hooks/session-start.py:455-470 | .kiro/hooks/session-start.py:707-722 \u2014 before extracting anything, compare \u0060.claude/hooks/session-start.py\u0060 and \u0060.codex/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 232 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".claude/hooks/session-start.py"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aac92d45893548a179f01c9249d9ca58f13c9ef06f5fb4f1a9d5a64e08b88ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): .codex/hooks/session-start.py:101-105 | .github/copilot/hooks/session-start.py:106-110 \u2014 before extracting anything, compare \u0060.codex/hooks/session-start.py\u0060 and \u0060.github/copilot/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 410 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".codex/hooks/session-start.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a669cd6ad9ef3244ebf427f268d7220d9ce92966cee3070a22c49353b52e862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): .codex/hooks/session-start.py:109-119 | .github/copilot/hooks/session-start.py:114-124 \u2014 before extracting anything, compare \u0060.codex/hooks/session-start.py\u0060 and \u0060.github/copilot/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 410 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".codex/hooks/session-start.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbcb437f3b004a3ddd9922ebec54f1d9082d81afc5a919a0611c71a649ab64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): .codex/hooks/session-start.py:153-160 | .github/copilot/hooks/session-start.py:158-165 \u2014 before extracting anything, compare \u0060.codex/hooks/session-start.py\u0060 and \u0060.github/copilot/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 410 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".codex/hooks/session-start.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca32052c3a77672c396c38e70ee0ba02fc80781f9caeb4d9f8780b2465ba1e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): .codex/hooks/session-start.py:164-169 | .github/copilot/hooks/session-start.py:169-174 \u2014 before extracting anything, compare \u0060.codex/hooks/session-start.py\u0060 and \u0060.github/copilot/hooks/session-start.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 410 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":".codex/hooks/session-start.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"409b57f1e97c96c41d806263e4147026f3b2d61934fc538b420750cc40bd7bea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/pages/Clipboard/components/List.tsx: src/pages/Clipboard/components/List.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 150 in List.List at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-05-14..2026-08-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-14 12:05:51 \u002B08:00\u0027 --until=\u00272026-08-12 12:05:51 \u002B08:00\u0027 --full-history --no-merges -- src/pages/Clipboard/components/List.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4eb8cd4697bc4aea4668d3320960fd560ef71def525eedd2efc4be91b714e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/lib.rs: src-tauri/src/lib.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in EcoPaste::run at line 25. 4 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-05-14..2026-08-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-14 12:05:51 \u002B08:00\u0027 --until=\u00272026-08-12 12:05:51 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc01a92e9c28ff2741665d9c22411065b9cf3c3a5a084f03d419d809f2a5eb5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/pages/Preference/components/settingControls/ActionControl.tsx: src/pages/Preference/components/settingControls/ActionControl.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ActionControl.ActionControl at line 100. 3 of those changes were fix/bug commits, and the other 3 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-05-14..2026-08-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-14 12:05:51 \u002B08:00\u0027 --until=\u00272026-08-12 12:05:51 \u002B08:00\u0027 --full-history --no-merges -- src/pages/Preference/components/settingControls/ActionControl.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":"src/pages/Preference/components/settingControls/ActionControl.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c99e86a65b502a2ff19fa2ad838e73173b011e7ed684c18755a0d545659df72"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/onboarding.rs: src-tauri/src/commands/onboarding.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is EcoPaste::commands::onboarding::import_legacy_data at line 139), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: correct timezone offset for legacy data import (#1338)\u201D; \u201Cfix: skip invalid legacy import rows (#1326)\u201D; \u201Cfix: improve legacy import detection (#1289)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-05-14..2026-08-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-05-14 12:05:51 \u002B08:00\u0027 --until=\u00272026-08-12 12:05:51 \u002B08:00\u0027 --full-history --no-merges -- src-tauri/src/commands/onboarding.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/onboarding.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7696f09234841d4ce0403956ae2c468fb2dcfc2abf4a17667a4b06f5b69b98d"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060package.json\u0060 makes this repository a deployable product (line 23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (18262 LoC, 284 module-visible types across 48 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1ed692478f7a18a4ac305ebe713dea3d994030baa4f36a89e96834ea8ed5936"}},{"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":"ff452b5b7d17e833c0124a81575840d0a0fba53b39ad2120686e62be9fe5e475"},"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":"63c43a1cefd651b911865f29380ee8d61baf4d49df6ed960fd950d210d6b3467"},"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":"00e9d89739d4291ec78f90dfffe6ffbd7fb5161a247de265f493f6422b3bf3f5"},"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":"cf3a7772b3db232f05642b38ed7880ca503e578f915d2985636cca75ffe02aed"},"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":"e456701a7b125239a15e0aed922ddd4c8ddd84b7d8a6ada12ece60378da76a78"},"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":"b19fffc85a35372a76ee7d07e37a7fdf3a66cd6b960e29f8027daf086e72a22d"},"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":"2b801fbb4916357188969eca55695c46588db0e435dc9b2881dcf030c15ba1cd"},"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":"0666656fa575edb487d3e807c86b09a68277cc1117004dd2078b681356ecf0b8"},"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":"401691c456419a064128076d393725df44282344c049ccffb5d411398d868697"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3befcadd7374692e217438884b021308e66b21455947c6d60e1eb37bebefa91"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e1e5ac1b50275b86507fd252358398ba3ae1ea6010a4a4031f83997113059e3"},"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":"c7d1a5a9c88e1af505d28cf86f3a21e9c3be27161e8493a41d3b597553bacdb0"},"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":"a1394cc11c215fb4c291d98a8d9b902e78fb72bf8bb4cedc97b96794fd71bd62"},"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":"4cd8cace33e40a5f475a332544a7606427bee8ac2748139d8c9ae2f37a121e90"},"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":"dcd95da61961e8499cdd7066bb13fc7ae51e59af2ef618f164b5f98fe3e901ca"},"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":"b9513059dc6b5941eb1e8ad4de734a9f2098b521adfef4b1c858132a2ca199a1"},"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":"c8db6f39238ac89060ca4e2b8e8407fa7a1f7dd07407dddec35a7040db48629c"},"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":"5a9013cba73388a301d114d4c96d47b8d1f7c74f8ec76c0e5f510ecf3869af5e"},"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":"6552da9741ca5c261f43cb66f9ee2461fc25dff14ed287c44d85e9c4a2a49dfa"},"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":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"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":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"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":"82561501977fec0b46655a8368d81e78746b8ad586ca9a50ed529ed4d66c8b14"},"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":"6bc482d74d080ad4398df4dc142e4bba74e32debea7408c58d74d3e7b5d07d8e"},"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":"a4fa3a3025b7a9052cbd7b0d8a17b7d24287898600c95850a4b97997b4072afa"},"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":"5a3785f7900b67512b8c4737e8fb5418bda1bbc7a88dcc71d61802984b33a7cd"},"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":"8f49035fd421c7e4f8710c196e0860be3fdb3bfc2172a0ac216ab01d07c7c08e"},"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":"428265af1f01021cc8b5f639a34cd657843f8d845cc261d9ca94a393d0145e47"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5199b40473c2e6049b809781f3fbbdb6c92d1f89ad0ccdca0473657732f0567a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb09b1305160c02ecb0571b1c0ec4ebef7c0dc723f6181413d1cc4f02da79f53"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"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":"63778fa624412affc09bbae17ed4e235deee47c1e8fbbd49594e08c2f223c987"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7728024d22a2bc9abfd49562e853d3c325716f25c3348b695c6f43836d8df4b"},"properties":{"dependency":{"package":"zip","version":"4.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"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":"53c3d4d7d63f401b6b9ffae3fc9501419bd021acdfb6259e01e8a98944ef33b7"},"properties":{"dependency":{"package":"dompurify","version":"3.4.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"src/components/ClipboardGroupIcon/index.tsx","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c121aed0fdd9c8edaea4f7b45c2a2b359d48bddf2d4dcca7a065482037b182b5"},"properties":{"dependency":{"package":"handlebars","version":"4.7.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48c164841f6224291df5678c144907aac1140444045df8422910ba31d14b1f68"},"properties":{"dependency":{"package":"shell-quote","version":"1.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85fe4c90c629c087da41d26f2b686efcc2e5a210d7f5e7ef803b0e4e2d09c164"},"properties":{"dependency":{"package":"basic-ftp","version":"5.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"523ba84dc3249fe07f4fe67869df9a5033d9faea9f74a6a5ce818cbb8c8aa502"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.18","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8cebd965383fbf6ec5aa075ac5961d71615ca803fb60541206693fa7a1c8ca18"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.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]","[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":"685cba4514570b53bf9bc85812fa54c07fec7b3f62fc67d4712c038e9ec2e605"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bf997523edcbfd004b0e48079d2d03fc36b5b8058c165442d7b3299bf52fe16"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5323a3eddf86af0ed7020a3528d168dd52705017a5ed51fb38b0ae380541fa1"},"properties":{"dependency":{"package":"undici","version":"7.28.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f23f0ca852b83adfa5e9f945e284d2e2eb4056773461d01e0588bb9a93c20bf"},"properties":{"dependency":{"package":"undici","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7713653c1cd2e524df06e4e81d883565ceb6482ea97f6eea94f00d39b4a4d989"},"properties":{"dependency":{"package":"vite","version":"7.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"vite.config.ts","line":4}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92791cd29600c231125f102e2d9d5077a98c16e2835cfec37eac674a71007b8b"},"properties":{"dependency":{"package":"ctutils","version":"0.4.2","advisory":"RUSTSEC-2026-0385","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":"178a00c6c350113153d2347e49d088d7521918be733d1e48af0c286948b18f0f"},"properties":{"dependency":{"package":"glib","version":"0.18.5","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2024-0429"],"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":"b8470d70bebc1d76d706d4345d4dc0223d2edaf5936c81cd6624c7f247ee7efa"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.37.0","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"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":"a480367025272469acdc05c0efeea27e564b6d640cec55746a2ab403b6da8691"},"properties":{"dependency":{"package":"proc-macro-error","version":"1.0.4","advisory":"RUSTSEC-2024-0370","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":"be4a7edbfc020620bb9cdc132f5744189ee7ba2c9cc1cee23332c6e28219cbe4"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[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":"5b2ef2cf3c8eabf225138bc21001811e8a7225843389975153af4efe45c215bd"},"properties":{"dependency":{"package":"rustls","version":"0.23.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"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":"a2d7c7401706180a51983228e8bb877bc2047df90e9411a3acfe0b4c40675196"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.14","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"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":"46a9a2b1fca1f48d4cb1ae80513408cd7eb1e83ad54d0c7c248276e619e88bcd"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","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":"569c2f035842becb9ea9cb57ad1f7635d5d041c83bd2460920e6e284e05f727d"},"properties":{"dependency":{"package":"unic-char-property","version":"0.9.0","advisory":"RUSTSEC-2025-0081","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":"3a449081d1361349444539d82b9e2924a1cf0768d2cad54b07494d086b714e79"},"properties":{"dependency":{"package":"unic-char-range","version":"0.9.0","advisory":"RUSTSEC-2025-0075","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":"714ed351af71a3520ae739001b7a8cdee327d0fd0f7f84732c3c692bf4f677b0"},"properties":{"dependency":{"package":"unic-common","version":"0.9.0","advisory":"RUSTSEC-2025-0080","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":"a70cc7c05c1bfe85d82c6cea50e2042ace91f9f86ff15d52a2226afd97fcc872"},"properties":{"dependency":{"package":"unic-ucd-ident","version":"0.9.0","advisory":"RUSTSEC-2025-0100","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":"e780dbfd22a09fe81e062c4169c62087872f0be0ea02ed0b69ce8775599c8190"},"properties":{"dependency":{"package":"unic-ucd-version","version":"0.9.0","advisory":"RUSTSEC-2025-0098","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":"db88ca3768c62a6a2bd1c939467e42a85ba6e3f284d3ea4ecc48c2d9b2f062dc"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.9","advisory":"RUSTSEC-2026-0383","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382"],"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":"9567bff849cf836b7115700e3a3dddea664a56c67cb0464f9f9ee20baf8e27a8"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.4","advisory":"RUSTSEC-2026-0371","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":"1c973a2a1e2def2baa74c34b1214fa43f0b4c321572ef9d3ca9744c9c37554e7"},"properties":{"dependency":{"package":"zvariant","version":"5.14.0","advisory":"RUSTSEC-2026-0370","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":"7332388d8ca187d371348448c920981c6e045ed3bc3c84ab8d48300e4fab2d1e"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.14.0","advisory":"RUSTSEC-2026-0372","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":"d10c79b7ba192f2bf3e9d396706548fd35619089ac0c9053c2f32644873e24c7"},"properties":{"dependency":{"package":"ip-address","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: index.tsx \u2194 index.ts: \u0060src/pages/Preference/index.tsx\u0060 (context pages) and \u0060src/router/index.ts\u0060 (context router) sit in DIFFERENT parts of the tree yet change together 74% of the time (14 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060b9afe513\u0060 feat: \u5728\u504F\u597D\u8BBE\u7F6E\u7A97\u53E3\u4E2D\u5207\u6362\u9875\u9762\u65F6\uFF0C\u65B0\u589E\u4E86\u8FC7\u6E21\u52A8\u753B (#748) (at that commit the file was still \u0060src/layouts/Preference/index.tsx\u0060); \u006062aa9809\u0060 refactor: \u53CC\u7A97\u53E3\u6A21\u5F0F\u002B\u54C8\u5E0C\u8DEF\u7531 (#357) (at that commit the file was still \u0060src/layouts/Preference/index.tsx\u0060); \u00602f74cb00\u0060 fix: \u4FEE\u590D\u5728 Windows \u4E0A app \u65E0\u9650\u91CD\u542F\u7684 bug (#327) (at that commit the file was still \u0060src/layouts/Preference/index.tsx\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98f58b9c85dd42720af355ec89a581f92368a029298c112346d5d6d3eeffd14"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14a318f4ed6aa8de4aff6cb44c44a6afd22fb7a5ff289f7b968a61eb3fd98e9c"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Rust 1.96: rust-toolchain.toml declares Rust 1.96 as this project\u0027s toolchain file, and Rust 1.96, superseded by 1.97 on 2026-07-09 (the Rust project patches only the current stable). An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2026-07-09 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust-toolchain.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d8e9b51cd4b2493b326110bfe409c9598039c510d25150fcc40f653a675ac1"}},{"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":"src/components/ClipboardGroupModal/index.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06a07514d12b1a3d7c8a2aa830d8c6c41616e3fe650371e81234851211c00cf"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LanguageSwitcher/index.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b6d29d38f73cac96de5435def654840ff09c9f97f432cf34743ba4f8980f14"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ShortcutRecorder/index.tsx"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4802f8023b54051e0b33023588851ff2df1b9db4c9ea81d2a7a3725039e7970c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ShortcutRecorder/index.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaac20286c3af0abf19853a8708a5014ae2d6ade71a70998955226d1991eee3c"}},{"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":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c795a662046d9c576e62a50d23384e3a5be5801e8e934f68114bcdfe8a8d30"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSearchInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/Header.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428052266f25594c2c8c1252537b9c2691c777b35e4019d2fe94867c8de27ae"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSegmented\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/BackupExportModal.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"302283a211fd73c85faaf7019cd0e35ec9c1b84f23e6de89f2735b414062aebd"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/PreferenceHeader.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfa8602da2befa0801400f7bd45da552b106ce7ba441324df5d7acd28a35249"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/ClipboardGroupSelectControl.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3decb7d402080abdb4d318324875262864660b5585c6b450cb25efff463454"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/SelectControls.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4dc3ee1d77c10b2531cf913cc584d8badd21428f8e1fe547f64a77914e7f74"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/SelectControls.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab54b8fe200547f4a2348ed30408843db3871bf4fff9b797f638dc9fd24582ae"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/TextControl.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9df12479680194901076d32a353a1c05cac095f93df1717a9b9970e67b7c79a"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds mousedown, pointermove, dragstart and double-click \u2014 pointer gestures with no keyboard form, a double-click among them. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/cards/ClipboardCard.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32898ac7be21dd1ef803a8a56fd66c71e51bd30475d8591a012b8693983b228"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060html body *\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/styles/global.scss"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4c821c163771559aaadb5a8b21e9dc301bdc90d1836d5c3c69a473965f421a"}},{"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":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (7 clone groups): 7 duplicated blocks under src/pages/ have copies in at least two of the sibling directories Clipboard, ContextMenu, Preference, Preview, Update \u2014 5 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fb6e6a66645e0ca746206ac25e91d9c5ef1544ea379aa37e14b07cc645f3e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (124 matched lines \u00D7 2 locations): src/pages/Preference/components/BackupExportModal.tsx:55 \u00B7 src/pages/Preference/components/BackupImportModal.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 561 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":"src/pages/Preference/components/BackupExportModal.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e0378eb312fa3ac7c6c55c933139caf174cc9589984633d83a91524057fdb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/pages/Onboarding/components/DoneStep.tsx:14 \u00B7 src/pages/Onboarding/components/WelcomeStep.tsx:14 \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":"src/pages/Onboarding/components/DoneStep.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b173171a86ba8dffdeb650ec0ca0d7a475ca28691beed6d90182d6a81b1ce8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/pages/Preference/components/settingControls/CaptureOrderControl.tsx:54 \u00B7 src/pages/Preference/components/settingControls/SortableCheckboxTreeControl.tsx:76 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/CaptureOrderControl.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"751e8fd233b6a49c347d538658e6544173ae55c1359c68a440ae19b2ef7713e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/pages/Clipboard/components/Group.tsx:427 \u00B7 src/pages/Preference/components/ClipboardGroupManagerModal.tsx:124 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6687c0710120dbb85d3e08ad2d0761874ec4867ec03a352141affd9ccd32c1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/hooks/useClipboardItems.ts:159 \u00B7 src/hooks/useClipboardItems.ts:185 \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":"src/hooks/useClipboardItems.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a253615f9b18becd6fcc006fb2cb194d40d97cac4f4fc8b2b94b6aa5292c9715"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/LanguageSwitcher/index.tsx:43 \u00B7 src/components/LanguageSwitcher/index.tsx:82 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LanguageSwitcher/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2947f0701851f354b3364794d912e76b2f56044dc431970a06996db61148161"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/pages/Clipboard/components/Group.tsx:322 \u00B7 src/pages/Preference/components/ClipboardGroupManagerModal.tsx:74 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b462041618997b07d2578490f78b012b348b85837600a2518d1a28b9cc502c7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/Dropdown/index.tsx:83 \u00B7 src/components/Popover/index.tsx:20 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Dropdown/index.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf81fe48bf60dd79d10489f1ff594ff23c392084c780854fc5dd04563429d3c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/pages/Preference/utils/preferenceI18n.ts:98 \u00B7 src/pages/Preference/utils/preferenceI18n.ts:116 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/utils/preferenceI18n.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b82e74b9f88619848780cddea42570a9c63e59be8986c39fc241338775ceea5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/pages/Preview/components/PreviewContent.tsx:107 \u00B7 src/pages/Preview/components/PreviewContent.tsx:190 \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":"src/pages/Preview/components/PreviewContent.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4323c61b5b4850745c6dbf9cdb1a986cb090af9109771e99b6ce04c7620362"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/components/ShortcutRecorder/index.tsx:220 \u00B7 src/components/ShortcutRecorder/index.tsx:270 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ShortcutRecorder/index.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"61961f00dddf4696e09dbdcec07ab8fbd707792f83ff8f6f80c264ee2e3823d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/pages/Clipboard/components/Group.tsx:136 \u00B7 src/pages/Clipboard/components/List.tsx:183 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c02273a534d02f1b3b17f4561a042080ac42d6daf12ea978172a1c530bfa85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/pages/Preference/config/preferenceSchema.ts:908 \u00B7 src/pages/Preference/index.tsx:422 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/config/preferenceSchema.ts"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc894ed837b5c71301021b0b62fce15237c3020d84ad6b81efc2c849c9df8be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/pages/ContextMenu/index.tsx:242 \u00B7 src/pages/Preview/index.tsx:109 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/ContextMenu/index.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"247d2e82eefd9847585dd708b73c2c1ee87a9c501b2f65f7eeaa2c25d4453d84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/pages/Preference/utils/storageUsage.ts:11 \u00B7 src/pages/Preview/components/PreviewContent.tsx:380 \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":"src/pages/Preference/utils/storageUsage.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"977d898562d727fb23b64d605cafa6440ec9497d340aa2fe987dfde93ea45519"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/pages/Update/index.tsx:117 \u00B7 src/pages/Update/index.tsx:130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Update/index.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc38c9540597f49bb1bf8c14ca5f227cd4138ba62ec85cd6715b4fe791e632f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/utils/shortcut.ts:207 \u00B7 src/utils/shortcut.ts:233 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/shortcut.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ffaad1db334beaf86040a6c589f01b669df3543a7b6b0524829c6f4e517686"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/pages/Preference/components/SourceAppsTransfer.tsx:129 \u00B7 src/pages/Preference/components/SourceAppsTransfer.tsx:151 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/SourceAppsTransfer.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acfbbeffbe1b0d7f1f461b388f454132c7514a2e84160c497bebe030f180e75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/pages/Preference/components/settingControls/NumberControl.tsx:11 \u00B7 src/pages/Preference/components/settingControls/TextControl.tsx:9 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/NumberControl.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f79278bfa4e740019b0d8eb808cccc3bf44c66a6c041c2ed1cae1d99d0ffd19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/pages/Preference/components/settingControls/SelectControls.tsx:18 \u00B7 src/pages/Preference/components/settingControls/SelectControls.tsx:50 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/SelectControls.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc19fc7c91ea5f1a61e046814a6d0bbecc04eb178c2030f051c9e2015191a4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/pages/Preference/components/settingControls/NumberControl.tsx:13 \u00B7 src/pages/Preference/components/settingControls/RetentionControl.tsx:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/NumberControl.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"06287641a0d4ef4931d737c9511070a980ce0a0874921b392d8caf20688bbb18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/pages/Clipboard/components/Group.tsx:111 \u00B7 src/pages/Preference/components/ClipboardGroupManagerModal.tsx:54 \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":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb3305f65c451fdc8c4ea26e498e429703399618cb420a5377b2997217a4e98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 32, cognitive 39): handleKeyDown has cyclomatic complexity 32 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":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"359d619c6798b9c25afe5c066bde90d3d8e2b659db629596a69ffad176a1df27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreferenceSettingControl (cyclomatic 26, cognitive 15): PreferenceSettingControl has cyclomatic complexity 26 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":"src/pages/Preference/components/settingControls/PreferenceSettingControl.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"644550256dd50a83e40196635cda19418f5b889a8bc4764876267ac2185325fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function current (cyclomatic 23, cognitive 16): current has cyclomatic complexity 23 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8925250ec16563031b39667e9ac4f693ec03efe7c7ce0eae8d2740e59c7d757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSectionVisual (cyclomatic 22, cognitive 20): resolveSectionVisual has cyclomatic complexity 22 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":"src/pages/Preference/components/PreferenceSection.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dc70529ee180c695e3c66b149e84650f3df0fa63f6723db00e5355baef1563"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Update (cyclomatic 20, cognitive 19): Update 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":"src/pages/Update/index.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"362954f5fabecea80d3b1787cba0b3a3f9f81b4fb64f3a9c6d3c8c86b05242b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleQuickAction (cyclomatic 20, cognitive 13): handleQuickAction has cyclomatic complexity 20 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7df3ed96edcd2d813d4ca9a875adba88d87a1ba2c8ff6a0ba8b5349b4101a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/index.ts"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e20b4958eef1f3628eb82a9479e60f662632ee5815ad5cca7d01220d088a6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreferenceSettingRow (cyclomatic 18, cognitive 17): PreferenceSettingRow 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":"src/pages/Preference/components/PreferenceSettingRow.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc92c4c622000327385fa35924e26f1512813d06aa95d94eb543e55d2136e7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BackupImportModal (cyclomatic 15, cognitive 12): BackupImportModal has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/BackupImportModal.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9640f0f5e98a55278f13ee481a8d6ab46b29cb6794b3faf6c456355217e72be6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Preview (cyclomatic 14, cognitive 13): Preview has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preview/index.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71fd34cfe6286e026c5fcd16b5ccd2bead8d720b862f3058bfa6c27f92bfca1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEmptyDescription (cyclomatic 13, cognitive 15): getEmptyDescription has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"248065e6a666a964b12dc73b5235e78f74d173f840e52bfc1e8c2118d25ff4cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWindowVisibility (cyclomatic 13, cognitive 11): handleWindowVisibility has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c032c7d190ceb7e0858d3d21f08e6aebc78b1f5e6f535c87ea6171465aaf742"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settingValuesEqual (cyclomatic 12, cognitive 15): settingValuesEqual has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/services/preferenceSettings.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81fd9ad4e62fc8fbb63592ede11490a2a26feec19f5b4826b17f6752b81ca82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleClick (cyclomatic 12, cognitive 11): handleClick 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":"src/pages/Preference/components/settingControls/ActionControl.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c48a443234f80a2c70563c308525e2210fb147219f50a108c260ac37b73def"}},{"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":"src/hooks/useClipboardItems.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce3ac24c45dd151c7967d6b67e093de24751b1db180b19c85fa3049cdd7d8cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ClipboardCard (cyclomatic 11, cognitive 10): ClipboardCard 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":"src/pages/Clipboard/components/cards/ClipboardCard.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c425b36fdfe34f30fd669cf66329c92209720bd401809d7c32f70e9cb53007"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openPreviewForItem (cyclomatic 11, cognitive 10): openPreviewForItem 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":"src/pages/Clipboard/hooks/useClipboardPreviewController.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42444653ae0f4725feec4953e19559d1a86aab7d679a578971ffa6806a44e90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreferenceStorageUsagePanel (cyclomatic 11, cognitive 10): PreferenceStorageUsagePanel 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":"src/pages/Preference/components/PreferenceStorageUsagePanel.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3710171ec2a37a0979eb1ed7ace4ffbe498e95e891d2e06fcc2842b64a9a56b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Preference (cyclomatic 11, cognitive 10): Preference 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":"src/pages/Preference/index.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a7ff0826b6175c22a32022b359fd7a3b05aba4a6d5019ca8dcc6f579187102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActionControl (cyclomatic 11, cognitive 9): ActionControl has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/ActionControl.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae35e38ee93753e7d505f09fb8c6dde2a45c2ab558f68b8d7978f8621eb7f74"}},{"ruleId":"R3","level":"warning","message":{"text":"src/commands/index.ts: 1311 lines of code: src/commands/index.ts has 1311 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4d75c9cafc9a15e5bef155414447f6c3b3ad25a090a3a54bd32e8d3f425895"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/Clipboard/components/List.tsx: 1180 lines of code: src/pages/Clipboard/components/List.tsx has 1180 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/List.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"124c8440a1271102e992503e016b8bf8ea8afd3b22eed16e15b04bd95a22d3fe"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/Preference/config/preferenceSchema.ts: 947 lines of code: src/pages/Preference/config/preferenceSchema.ts has 947 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/config/preferenceSchema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"625a7ce67252aeaad2eca5d47738c3002007555dccf52dbc68b8666e6f9c09a5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/Clipboard/components/Group.tsx: 891 lines of code: src/pages/Clipboard/components/Group.tsx has 891 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/components/Group.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3877c44840bf60c4ca3dde3bc3a3688525bfd9631a2be9d17f1a0c656c150b79"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/Preference/components/settingControls/ActionControl.tsx: 597 lines of code: src/pages/Preference/components/settingControls/ActionControl.tsx has 597 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/components/settingControls/ActionControl.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44e9b808ee76606f8faf7768a61d27a924f3afa158b9ac280ff459d28c520d7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/pages/Clipboard/hooks/useClipboardPreviewController.ts: 483 lines of code: src/pages/Clipboard/hooks/useClipboardPreviewController.ts has 483 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Clipboard/hooks/useClipboardPreviewController.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"025fc4a474eec16afcecf5a41728c6ae82e5b1089c218a706e465547b35af8f9"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 124 production file(s) reachable from 0 test file(s) via the import graph \u2014 \u0027production\u0027 here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace\u0027s file count"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64e0e3511eb969fb4720b196e7d3799e1714077217351c3c56a27b50e3e21220"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~11 LoC): no import path from any entry point (5 application, 5 tooling, 0 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":"src/hooks/useWindowLifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75b251a423ef0bb6af23499d1cdc228db1be40e776d2de626e7f937dfe956fd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TauriCommand\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/constants/commands.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cef713e915054d3508de098c4c1a426c6fb11da32586f300e9532efb1fff051"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TauriEvent\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/constants/events.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8685d2bc155e6b6fa7455da47406a81f89c35418e80996510699679ad1ca1583"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SVG_ICON_HELP_URL\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/constants/urls.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d494c25468cfd1c4bd10f0ffe7820658e9dd807130639c3e65d10723afe6b3e1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027windowLifecycleReady\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stores/windowLifecycle.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbf68840b2dea082d0d080b186152c656fdbc5370d44471927fea285bead63e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/unocss/presetAntdColors.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdaa62359b8befa49ee41da42d15d63a2e7ffcd1c94711c1242461254ffac49"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isImage\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/is.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f5d948fd9e8851d12f70c182ce335c2e794186748d9e9b1df9fa847a7d4074"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@iconify-json/lets-icons\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"975ad6d8db565ba0922ad6cde2573bfe43ad71e1d309f191d153338e012d3f53"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@iconify-json/lucide\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f1c5e6c653cdbe56fb13cfb119c746e145c2c6b16c1960fe17190ad90b6fe418"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@iconify-json/ph\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"24417318606c76be81bd55bc6693fcec599c4d166636f907ec2790e7448e4fa2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@release-it/bumper\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd861f14469c1cac3647492a5f6a0cc31b1298bb90c6c80e6d8be914a03cd43f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@release-it/conventional-changelog\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d9939c2ee1e47efd8da708ae8a05e368408248e5100ed09a006842462b040fa3"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/commands/index.ts \u2192 src/stores/settings.ts \u2192 src/commands/index.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/commands/index.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f1e440cb3215296fc279bb1cabeca4c582f86eb14d79cdbe2e6e0b74ea5478"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: .opencode/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/package.json"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"45245c69a41c13edaad3016e41fe41cd46dd9f17358a0ce303eb4a5cab262728"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!(\u0022selected\u0022 in value) || !(\u0022order\u0022 in value)\u0060 appears character-identically in 2 files \u2014 src/pages/Preference/components/settingControls/SortableCheckboxTreeControl.tsx, src/pages/Preference/services/preferenceSettings.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":"src/pages/Preference/components/settingControls/SortableCheckboxTreeControl.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f80298f2db6c3592305bda9ce3a7c9de90917efc5bbf42a31cf40f2ec6a2f50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060active.stale || !taskDir || !existsSync(taskDir)\u0060 appears character-identically in 2 files \u2014 .opencode/lib/session-utils.js, .opencode/plugins/inject-workflow-state.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/lib/session-utils.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69e45d0a11ec5691ff54acfa44166d83c58019f7ceb130d3e5a1af5bf24b4e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.type === \u0022text\u0022 \u0026\u0026 p.text !== undefined\u0060 appears character-identically in 2 files \u2014 .opencode/plugins/inject-workflow-state.js, .opencode/plugins/session-start.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/plugins/inject-workflow-state.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13a8e829060cbd14d6ede54cc62cf3ff0e8a29d57f4cf9a5486db54fc53c839"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.TRELLIS_HOOKS === \u00220\u0022 || process.env.TRELLIS_DISABLE_HOOKS === \u00221\u0022\u0060 appears character-identically in 3 files \u2014 .opencode/plugins/inject-subagent-context.js, .opencode/plugins/inject-workflow-state.js, .opencode/plugins/session-start.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/plugins/inject-subagent-context.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ac96061a3392c5148978521f556ad581ba1c52c506ca78ec06107ae05f93d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060size \u003E= 1024 \u0026\u0026 unitIndex \u003C units.length - 1\u0060 appears character-identically in 2 files \u2014 src/pages/Preference/utils/storageUsage.ts, src/pages/Preview/components/PreviewContent.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/Preference/utils/storageUsage.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f70cc8244d52cf26e7d3f155479c67ea9e15813dba430b946a1b626f52a8fc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tagName === \u0022input\u0022 || tagName === \u0022textarea\u0022\u0060 appears character-identically in 4 files \u2014 src/hooks/useClipboardWindowEditableFocus.ts, src/hooks/useKeyboardEvent.ts, src/pages/Clipboard/components/Group.tsx, src/pages/Clipboard/components/List.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/useClipboardWindowEditableFocus.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a92a1872c05d97fb7af8c20e3caf666b5e2ea7bd70764160ac013a662447e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tooltip === false || tooltip === null || tooltip === void 0\u0060 appears character-identically in 2 files \u2014 src/components/Dropdown/index.tsx, src/components/Popover/index.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Dropdown/index.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4418b4aa4b85072d2b91591ac859d8640cd0fec2fa0c5c6067038a3bd7e41bf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022object\u0022 || value === null\u0060 appears character-identically in 2 files \u2014 src/pages/Preference/components/settingControls/SortableCheckboxTreeControl.tsx, src/pages/Preference/services/preferenceSettings.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":"src/pages/Preference/components/settingControls/SortableCheckboxTreeControl.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf79189d1af127e6b4bd1b75a82da5f356424a8f4240d5970e61bce854d0983"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022string\u0022 \u0026\u0026 value.trim()\u0060 appears character-identically in 2 files \u2014 .opencode/lib/trellis-context.js, .opencode/plugins/inject-subagent-context.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/lib/trellis-context.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f7e5d87f11987e43f6613e0a87269c8e5622e99698917cde8536bfffd253c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_run_git(repo_root, [\u0022branch\u0022, \u0022--show-current\u0022]) or \u0022(detached)\u0022\u0060 appears character-identically in 6 files \u2014 .claude/hooks/session-start.py, .codex/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cadbae586047b08ec0828bb6d22fa4381dcfc69b2f18509c236f888c6d50c17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allowed_pkgs is not None and sub.name not in allowed_pkgs\u0060 appears character-identically in 4 files \u2014 .claude/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.py, .kiro/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac372a67e9d98ab0d7b8b11ff2504e0c175c0f22ae2ab612bfe710aaf470bebf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.endswith(\u0022.md\u0022) and os.path.isfile(os.path.join(full_path, f))\u0060 appears character-identically in 3 files \u2014 .claude/hooks/inject-subagent-context.py, .cursor/hooks/inject-subagent-context.py, .kiro/hooks/inject-subagent-context.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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac99d91b1b74fd8b9864138657e374a9245d97b02b4a351088afe78c7c8109a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter_status and t.status != filter_status\u0060 appears character-identically in 2 files \u2014 .trellis/scripts/common/task_queue.py, .trellis/scripts/task.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":".trellis/scripts/common/task_queue.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24e41681756f9ff36136a108fcd331b2b97e58e30c6f5eebb86e52fd646be48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input_data.get(\u0022tool_name\u0022, \u0022\u0022) or input_data.get(\u0022toolName\u0022, \u0022\u0022)\u0060 appears character-identically in 3 files \u2014 .claude/hooks/inject-subagent-context.py, .cursor/hooks/inject-subagent-context.py, .kiro/hooks/inject-subagent-context.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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cc3a4d339da15ba8e4694332afa59010bc643309ef704a9da22e2cd4afaa75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(expires_at, (int, float)) and expires_at \u003C now\u0060 appears character-identically in 2 files \u2014 .cursor/hooks/inject-shell-session-context.py, .trellis/scripts/common/active_task.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":".cursor/hooks/inject-shell-session-context.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a79c1cd2b29381fc563a24b68a728bca359a1bc9d7985fdb644a673e1de51f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(row, dict) and row.get(\u0022file\u0022)\u0060 appears character-identically in 6 files \u2014 .claude/hooks/session-start.py, .codex/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e5bfa322fc2628fb052b18476af5866b6d8ba42476d984f661541bf0de0bea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(scope, str) and scope == \u0022active_task\u0022\u0060 appears character-identically in 4 files \u2014 .claude/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.py, .kiro/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"daef4064760c72f803ce7264a970aea06af22a08de21e9634452f573a389d752"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060legacy_dir.is_dir() and (legacy_dir / \u0022index.md\u0022).is_file()\u0060 appears character-identically in 4 files \u2014 .claude/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.py, .kiro/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bdf058ca29358d33a9a846b5c01c5d25782b7660ebf16385113a122907e040"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not check_jsonl.is_file() or _has_curated_jsonl_entry(check_jsonl)\u0060 appears character-identically in 4 files \u2014 .claude/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.py, .kiro/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff0a700f6e5c5e8bd4508e5c22305586df35a7f57b7fabc70ef39ad60946dfe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not implement_jsonl.is_file() or _has_curated_jsonl_entry(implement_jsonl)\u0060 appears character-identically in 4 files \u2014 .claude/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.py, .kiro/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a71052f0fe6277f11386912f1926876554b4b71cfbe8b9cb8ee4f62b3bf88b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(path_str, str) or not path_str\u0060 appears character-identically in 6 files \u2014 .claude/hooks/session-start.py, .codex/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb96d716d18f5680f0453bbfc73a7f94978c3cdf0b74bd3b0d6d2fa3c09515b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(status, str) or not status\u0060 appears character-identically in 5 files \u2014 .claude/hooks/inject-workflow-state.py, .codex/hooks/inject-workflow-state.py, .gemini/hooks/inject-workflow-state.py, .github/copilot/hooks/inject-workflow-state.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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcac3e4534edfe4ea491dac47ca0b4756ebd1d04d194e7352b39c1a756b3ee27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not os.path.exists(full_path) or not os.path.isdir(full_path)\u0060 appears character-identically in 3 files \u2014 .claude/hooks/inject-subagent-context.py, .cursor/hooks/inject-subagent-context.py, .kiro/hooks/inject-subagent-context.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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"799bb683cb620afa9c193fd2d7e4d5835c6fd0a7b3a22ebc3ab93ebaba721e98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not stripped or stripped.startswith(\u0022#\u0022)\u0060 appears character-identically in 2 files \u2014 .trellis/scripts/common/config.py, .trellis/scripts/common/trellis_config.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":".trellis/scripts/common/config.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"965f99994ca34f77189076a6121bc09ca18193264c132ed95af4cab652667ce2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not sub.is_dir() or sub.name.startswith(\u0022.\u0022) or sub.name == \u0022guides\u0022\u0060 appears character-identically in 6 files \u2014 .claude/hooks/session-start.py, .codex/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df2cbbd888f6a084d82fdb25e1cd349760984421f5f162593a16c4d208bfabc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022TRELLIS_HOOKS\u0022) == \u00220\u0022 or os.environ.get(\u0022TRELLIS_DISABLE_HOOKS\u0022) == \u00221\u0022\u0060 appears character-identically in 9 files \u2014 .claude/hooks/inject-subagent-context.py, .claude/hooks/inject-workflow-state.py, .codex/hooks/inject-workflow-state.py, .cursor/hooks/inject-shell-session-context.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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c63b4a6bedcea15c47ff0c8eb1df0309334b329e92a02f75935828af00cda9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.path.exists(full_path) and os.path.isfile(full_path)\u0060 appears character-identically in 3 files \u2014 .claude/hooks/inject-subagent-context.py, .cursor/hooks/inject-subagent-context.py, .kiro/hooks/inject-subagent-context.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":".claude/hooks/inject-subagent-context.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f290b74c32589883abe30d35923773517c3e71b1e143ccbe10cbbc3d8c314ace"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start is None and stripped == start_match\u0060 appears character-identically in 6 files \u2014 .claude/hooks/session-start.py, .codex/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdb3d2c929be239f8b0e343e22ae9c916a35e85d41c2cfe70f2239befa89ad1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start is not None and stripped == end_match\u0060 appears character-identically in 6 files \u2014 .claude/hooks/session-start.py, .codex/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aa28a35fbc6e4ba7ec24f9d93302717308c03c835d92a302a5060bf3f36831"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stripped and not stripped.startswith(\u0022#\u0022)\u0060 appears character-identically in 2 files \u2014 .trellis/scripts/common/config.py, .trellis/scripts/common/trellis_config.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":".trellis/scripts/common/config.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9a3e712d3ac1e6c615ebafb36f69fa49d601d05a69d34b184f1ffcb0952a6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060task_status == \u0022planning\u0022 and not has_prd\u0060 appears character-identically in 4 files \u2014 .claude/hooks/session-start.py, .cursor/hooks/session-start.py, .gemini/hooks/session-start.py, .kiro/hooks/session-start.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":".claude/hooks/session-start.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f3f65ad9684ddd145b43ace2d10c51d6f5372850957b2ce7076a470a090908"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code \u003C 0 || !ENABLED.load(Ordering::Relaxed)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/mouse/windows.rs, src-tauri/src/shortcut/win_v.rs. 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":"src-tauri/src/mouse/windows.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a4c15d2fc00664889bd82dca33e2be38715168205dd91de57747fc593b3492"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg == WM_KEYDOWN || msg == WM_SYSKEYDOWN\u0060 appears character-identically in 2 files \u2014 src-tauri/src/keyboard/windows.rs, src-tauri/src/shortcut/win_v.rs. 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":"src-tauri/src/keyboard/windows.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bae324991864abef9be7ea4e8d3ec0fd3436a5c6a27120e03d643fb6e60ef9"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 1/2 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_trellis_config\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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3182d1554fd53fbbd800703deecd97882843338cd932cd88e1649220bd41ffef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_hook_input\u0060 returns \u0060{}\u0060 when \u0060(json.JSONDecodeError, 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":".claude/hooks/inject-workflow-state.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9d3a10faaa313966c1458d7ec25916254b4ab80252700030396a27f2a28b6f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_trellis_config\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":".codex/hooks/inject-workflow-state.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f7a6a34ae3dc2fed18acb2b577a3e4b7daf64aa7b1cb83a9c0f72ec8059ba3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_hook_input\u0060 returns \u0060{}\u0060 when \u0060(json.JSONDecodeError, 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":".codex/hooks/inject-workflow-state.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b867ed15e90f604d51b7ddb0b9baeec2a86b603f021645d36b4b52161ed016"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_extract_task_subcommands\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":".cursor/hooks/inject-shell-session-context.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a92fb2ab960bf9aefa5aec9bc153efb5fea1d9bdee9b1758fba5f450abaa2d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_trellis_config\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":".gemini/hooks/inject-workflow-state.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1908194b04880cca9e86c28e9ebf8e09e4a966849a130b1f1335439966fac074"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_hook_input\u0060 returns \u0060{}\u0060 when \u0060(json.JSONDecodeError, 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":".gemini/hooks/inject-workflow-state.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"426a6ea3cfa7b29300d4430106cd2e4ae61d9930489ef3958c9aeb64dfa13b26"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_trellis_config\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":".github/copilot/hooks/inject-workflow-state.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"52532d77713ca88aa7f0d97a8a648c770052959062f19c27e9ef0397e5c98dcf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_hook_input\u0060 returns \u0060{}\u0060 when \u0060(json.JSONDecodeError, 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":".github/copilot/hooks/inject-workflow-state.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"0932297717c8d46f4f25cad6eb700b7442a93cf8c06294761afef20efeaa5206"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_read_trellis_config\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":".kiro/hooks/inject-workflow-state.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8da90f752e673ec903df70bab84b7a1607f6a8cdbc9ddbdfe51da17c9a21cd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_hook_input\u0060 returns \u0060{}\u0060 when \u0060(json.JSONDecodeError, 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":".kiro/hooks/inject-workflow-state.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f957fd0fb9703d7d025fafcb7e5d8b631326860c0f8ebe0690074bebb9f5bb0b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_config\u0060 returns \u0060{}\u0060 when \u0060(OSError, json.JSONDecodeError)\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":".trellis/scripts/hooks/linear_sync.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1e967e69a033910e5d941fb5d5dde99a30fe566aaa3b874a3938ffe2117507"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":67,"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."]}]}