{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"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"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"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":"MySkills.MySkills (cyclomatic 281): MySkills.MySkills has cyclomatic complexity 281 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 250 belong to 74 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":"src/views/MySkills.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dddbcd11f3e17186d663dc389eb0687e75112d02731ddc7723417522c8b7a8"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectDetail.ProjectDetail (cyclomatic 226): ProjectDetail.ProjectDetail has cyclomatic complexity 226 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 192 belong to 46 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":"src/views/ProjectDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"141a164c4d1b52fdba5f56ec2f075c1a9ae1ff4b6494de68d420208b1b000db3"}},{"ruleId":"D1","level":"warning","message":{"text":"InstallSkills.InstallSkills (cyclomatic 191): InstallSkills.InstallSkills has cyclomatic complexity 191 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 136 belong to 51 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/InstallSkills.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd585174ad642c219bd3e6ce8dcebe4eccc3e2a17200bd765899345b4d1ba00"}},{"ruleId":"D1","level":"warning","message":{"text":"Backup.Backup (cyclomatic 176): Backup.Backup has cyclomatic complexity 176 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 120 belong to 33 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":"src/views/Backup.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2699ae09e72b222870a8362e686fccc880a0690039f407279a727f3f777182b9"}},{"ruleId":"D1","level":"warning","message":{"text":"Settings.Settings (cyclomatic 170): Settings.Settings has cyclomatic complexity 170 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 128 belong to 47 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Settings.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48953b9c1e39cda73c54743794723b2f7ce4ccea9419d3802471560a21732aa"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceView.WorkspaceView (cyclomatic 143): WorkspaceView.WorkspaceView has cyclomatic complexity 143 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 101 belong to 45 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":"src/views/WorkspaceView.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7445a9ffc2809c3ea588d80746ddee29229fa56fe3bbcba7228d74ff826fd341"}},{"ruleId":"D1","level":"warning","message":{"text":"AddSkillsSheet.AddSkillsSheetBody (cyclomatic 105): AddSkillsSheet.AddSkillsSheetBody has cyclomatic complexity 105 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 82 belong to 29 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":"src/components/AddSkillsSheet.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5b9077dd3d23a9efdfcc3dac5d47b049d490e0362c72310722153fc316dd11"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar (cyclomatic 69): Sidebar.Sidebar has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 15 of the 69 points are its own statements and the rest belongs to 22 function literals inside it that branch (lines 610, 242, 190, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Sidebar.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"61656b23a1e7e2a33f1a6796c9a29a59f55b06b4842ea3d323d1644973daf0c8"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillDetailPanel.SkillDetailPanelContent (cyclomatic 57): SkillDetailPanel.SkillDetailPanelContent has cyclomatic complexity 57 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 22 belong to 12 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":"src/components/SkillDetailPanel.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9444d422221545d682739f19973e7fd144fe21642649170333151c2dfeb9ca"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillProjectsSection.SkillProjectsSection (cyclomatic 53): SkillProjectsSection.SkillProjectsSection has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 5 of the 53 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 224, 108, 256, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillProjectsSection.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa79b08d2fb657c27310c136a44e436f757ac230026c513606a639cf0c308a7e"}},{"ruleId":"D1","level":"warning","message":{"text":"AppContext.AppProvider (cyclomatic 43): AppContext.AppProvider has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to 23 function literals inside it that branch (lines 356, 75, 346, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context/AppContext.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"580e265c5a435d242bb0f6ac13a03b67093b11ce327e87bac64d486b2521c37a"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandPalette.CommandPalette (cyclomatic 38): CommandPalette.CommandPalette has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 3 of the 38 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 55, 249, 221, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CommandPalette.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b1e3d890402aec79381a4bb56499ea894daff5ac9507c446f505adbd58c05b"}},{"ruleId":"D1","level":"warning","message":{"text":"AddProjectDialog.AddProjectDialog (cyclomatic 37): AddProjectDialog.AddProjectDialog has cyclomatic complexity 37 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 20 belong to 12 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":"src/components/AddProjectDialog.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47a0983682e96a82cbd10a429ec109c2e941e5b7fed9efe32cfba8a89150bb1"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::tool_service::migrate_legacy_tool_keys (cyclomatic 30): skills_manager::core::tool_service::migrate_legacy_tool_keys has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/tool_service.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7dad904b765ff68c7e8a9c990fc685d134939efd2d994c0410903740161e10"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::git_fetcher::clone_repo_full (cyclomatic 30): skills_manager::core::git_fetcher::clone_repo_full has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_fetcher.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"a182f87bdd849e589f0883238a7c9e633f3ea7e876f3598f50c10c4997a6bb62"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::merge::validate::validate_tree (cyclomatic 29): skills_manager::core::merge::validate::validate_tree has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/validate.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f9d166e3d034fdd6719665b8e0f7167930ad8cfc5a71661156bb47a534e158"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchTagDialog.BatchTagDialog (cyclomatic 29): BatchTagDialog.BatchTagDialog has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 9 of the 29 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 48, 61, 37, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BatchTagDialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be0dee14bea820cec300dbf3d714c03d986410542bf65c15421999869d69dd9"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::bin::skills-manager-cli::run_presets (cyclomatic 28): skills_manager::bin::skills-manager-cli::run_presets has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f0b2215946bb08bf5a25c82eac9c093341ce473b580d24e15b870f80b681a1"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::auto_backup::run_round_blocking (cyclomatic 27): skills_manager::core::auto_backup::run_round_blocking has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/auto_backup.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"66258545a07617baafecb8dca68c3eb568f022f96b8af704c8d5d8430464f2db"}},{"ruleId":"D1","level":"warning","message":{"text":"PresetBar.PresetBar (cyclomatic 26): PresetBar.PresetBar has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 52, 85, 126, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/PresetBar.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4388ac79c3c3d766b026368e12648aa1017ff90874a0f7b417e89a86a06664a3"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectDetail.ProjectSkillDetailPanel (cyclomatic 26): ProjectDetail.ProjectSkillDetailPanel has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 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":"src/views/ProjectDetail.tsx"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98481921218d26410f4cf33a19f0dcd759c84086909abf346c77e995d6f6a39"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::scenario_service::apply_add (cyclomatic 25): skills_manager::core::scenario_service::apply_add has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/scenario_service.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c9d855fa3ecee353c7a5d99df81d62c5c436bacd5ee759f0c4da378939038d"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::bin::skills-manager-cli::run_adopt (cyclomatic 25): skills_manager::bin::skills-manager-cli::run_adopt has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":2038}}}],"partialFingerprints":{"codehealthFindingId/v1":"d231da576472913a517cb0c6972965df0c504689241de6d6d62f87b88d1619ac"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::app_state::repoint_after_move (cyclomatic 24): skills_manager::core::app_state::repoint_after_move has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/app_state.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0564374cc15e0f6d4e0280886c41bf1dd8fbec82c962e6ff63606ba81fd70ca3"}},{"ruleId":"D1","level":"warning","message":{"text":"gitErrors.mapGitErrorMessage (cyclomatic 22): gitErrors.mapGitErrorMessage has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/gitErrors.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e968917b6ff1a39a945db500a39d19e6892e91dc560c6f6e6e12b20afc7e33da"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillPickerRow.SkillPickerRow (cyclomatic 22): SkillPickerRow.SkillPickerRow has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillPickerRow.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4db4be8b2a8f759d41f17612b8955946d3da672ccc5c251bac793c97d510c1"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectAgentDots.ProjectAgentDots (cyclomatic 21): ProjectAgentDots.ProjectAgentDots has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ProjectAgentDots.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c3d6bf9a916852e73e7bf5c2d2e7dcb70aa779eb5b643bb774b6c7a3ddd26c"}},{"ruleId":"D1","level":"warning","message":{"text":"useMultiSelect.useMultiSelect (cyclomatic 19): useMultiSelect.useMultiSelect has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 109, 63, 107, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/hooks/useMultiSelect.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7534dca1f93fa491caa4782f15a0a523328917d8fdbfc0acd0533534667149"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::merge::decision::decide (cyclomatic 18): skills_manager::core::merge::decision::decide 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":"src-tauri/src/core/merge/decision.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccc6a0c05615e55be55ed5f46ab6e9ac1bf9dbf37ab2118044200dd8f1bea7e"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::commands::agent_workspace::backfill_stranded_agent_targets (cyclomatic 18): skills_manager::commands::agent_workspace::backfill_stranded_agent_targets 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":"src-tauri/src/commands/agent_workspace.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"f642e5af7199163cd11766a72c80dacc5b5f13f3dad7289e8482710443bbf9c9"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::merge::apply::object_merge_pull_unlocked (cyclomatic 18): skills_manager::core::merge::apply::object_merge_pull_unlocked 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-tauri/src/core/merge/apply.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6702d213d294536a8337bbb91ed142db971e4d22bcf51daef302afbdb219a2d2"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::scenario_service::sync_desired_targets (cyclomatic 18): skills_manager::core::scenario_service::sync_desired_targets 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":"src-tauri/src/core/scenario_service.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7f8d51c6986a5031b07068d072bece4c24ec32824fe16db86959ecbd060ec5"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentControlSetupCard.AgentControlSetupCard (cyclomatic 18): AgentControlSetupCard.AgentControlSetupCard has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AgentControlSetupCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1826c6c274a99263dd3c52f054f3421129db9ffc5c926e90a6000320770551"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncDots.SyncDots (cyclomatic 18): SyncDots.SyncDots has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 112, 58, 61). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SyncDots.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70bbb8237a6c5c82f8be17e48016c41f0ff6ddb9799746c8265509872fa00cb"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceView.WorkspaceSkillCard (cyclomatic 18): WorkspaceView.WorkspaceSkillCard has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deee1b5d6007799e09b4245c30a0aa14d07e9d987e1007fb0a99dfbd4391394"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::merge::snapshot::read_snapshot (cyclomatic 17): skills_manager::core::merge::snapshot::read_snapshot has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/snapshot.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef97b79dcae5fa8c4044ebcd40dd6d9e9f58f68c66dc7e7a70f12f4f3de5b2dc"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::git_fetcher::try_update_cached_repo (cyclomatic 17): skills_manager::core::git_fetcher::try_update_cached_repo 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":"src-tauri/src/core/git_fetcher.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6070ef84f72277ee3c6bfebaad647d50a27ae52438eb6909ea70bfa1f2c6610d"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::bin::skills-manager-cli::run_preset_deployment (cyclomatic 17): skills_manager::bin::skills-manager-cli::run_preset_deployment has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: skills_manager::bin::skills-manager-cli::run_skills (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":2766}}}],"partialFingerprints":{"codehealthFindingId/v1":"4835025aa3e0b9b8ee839bef64758a27bd7accb9828c8ddb6059f2e4d9ad127a"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::merge::treebuild::build_level (cyclomatic 16): skills_manager::core::merge::treebuild::build_level 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":"src-tauri/src/core/merge/treebuild.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3c8bc7c32128e3c559de9faf517a41541c9ae18270d5c4615d8ebf56a66816"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::central_repo::ensure_central_repo (cyclomatic 16): skills_manager::core::central_repo::ensure_central_repo 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":"src-tauri/src/core/central_repo.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e35ebe26a1e53a601d64a9d8a3b90af259b2e2af5b2abc721703008f0ee8c19"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::core::merge::pending::effective_pending (cyclomatic 16): skills_manager::core::merge::pending::effective_pending 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":"src-tauri/src/core/merge/pending.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5103087879ff9f999360a5d1c28b875a7875b2e5df73a7ecf88b7525f3b8e081"}},{"ruleId":"D1","level":"warning","message":{"text":"skills_manager::bin::skills-manager-cli::run_skill_deployment (cyclomatic 16): skills_manager::bin::skills-manager-cli::run_skill_deployment has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: skills_manager::bin::skills-manager-cli::run_skills (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e598be0d07f1f296564c6b8d30d7fd35bc5b7661343838dd4e4e8679089f38"}},{"ruleId":"D1","level":"warning","message":{"text":"FirstRunRestoreDialog.FirstRunRestoreDialog (cyclomatic 16): FirstRunRestoreDialog.FirstRunRestoreDialog has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 30, 26, 49, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FirstRunRestoreDialog.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c4e4612f44854d77b690145f4f52980aedb328254d4d647ecc583349bd3120"}},{"ruleId":"D1","level":"warning","message":{"text":"RenamePresetDialog.RenamePresetDialog (cyclomatic 16): RenamePresetDialog.RenamePresetDialog has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/RenamePresetDialog.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a887c4340e01d01310448553edc06ea846efbbad3abfa627ef77828379d6115"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchSyncAgentDialog.BatchSyncAgentDialog (cyclomatic 16): BatchSyncAgentDialog.BatchSyncAgentDialog 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 7 function literals inside it that branch (lines 108, 31, 27, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BatchSyncAgentDialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60ae08334f1d62860960b18c408591c6292b57889122c2ea2bbdd9981d3ceac"}},{"ruleId":"D2","level":"warning","message":{"text":"MySkills.MySkills (cognitive 331): MySkills.MySkills has cognitive complexity 331 (threshold 15). Drivers by points: if/else 102 (127 pts), boolean chains 89, ternaries 37 (78 pts), error handling 23 (27 pts), loops 7 (9 pts), match/switch 1 (nesting depth added 72). Of this number, 26 points are the body\u0027s own statements and 305 belong to 74 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":"src/views/MySkills.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b31b77c30658d03570340f72cd5eecc49d0b163b4b5e066001d49de5dfd0f0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectDetail.ProjectDetail (cognitive 273): ProjectDetail.ProjectDetail has cognitive complexity 273 (threshold 15). Drivers by points: if/else 83 (108 pts), ternaries 26 (73 pts), boolean chains 54, error handling 17 (23 pts), loops 13 (15 pts) (nesting depth added 80). Of this number, 29 points are the body\u0027s own statements and 244 belong to 46 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":"src/views/ProjectDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b281975ed686a9de91006176bbe5b24949873aba6f9215e14be83a758bda0aa3"}},{"ruleId":"D2","level":"warning","message":{"text":"Backup.Backup (cognitive 200): Backup.Backup has cognitive complexity 200 (threshold 15). Drivers by points: if/else 59 (69 pts), ternaries 29 (61 pts), boolean chains 53, error handling 15, loops 1, match/switch 1 (nesting depth added 42). Of this number, 62 points are the body\u0027s own statements and 138 belong to 33 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":"src/views/Backup.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c71519e83b6fea2e3af5a8a26836ede18b6f45b9ccf8162a4120b2051c5d37"}},{"ruleId":"D2","level":"warning","message":{"text":"Settings.Settings (cognitive 185): Settings.Settings has cognitive complexity 185 (threshold 15). Drivers by points: ternaries 48 (64 pts), boolean chains 46, if/else 36 (44 pts), error handling 27 (30 pts), loops 1 (nesting depth added 27). Of this number, 44 points are the body\u0027s own statements and 141 belong to 47 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Settings.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bc3ad250a674f4c7fb0b714dfc6a67ad65ab07148838b616c98ac374f97ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceView.WorkspaceView (cognitive 167): WorkspaceView.WorkspaceView has cognitive complexity 167 (threshold 15). Drivers by points: ternaries 33 (65 pts), if/else 39 (49 pts), boolean chains 36, error handling 8 (10 pts), loops 6 (7 pts) (nesting depth added 45). Of this number, 61 points are the body\u0027s own statements and 106 belong to 45 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":"src/views/WorkspaceView.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c873c0ec4a25425169961677eae7be8a32777be28b09f202eded78e607e365bc"}},{"ruleId":"D2","level":"warning","message":{"text":"AddSkillsSheet.AddSkillsSheetBody (cognitive 139): AddSkillsSheet.AddSkillsSheetBody has cognitive complexity 139 (threshold 15). Drivers by points: if/else 48 (67 pts), boolean chains 27, ternaries 16 (22 pts), loops 7 (15 pts), error handling 4 (8 pts) (nesting depth added 37). Of this number, 18 points are the body\u0027s own statements and 121 belong to 29 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":"src/components/AddSkillsSheet.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7793128d8bb3347c7b79ffa90ae7c51cd176bc6210f7c6349bf0dbe7503866"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallSkills.InstallSkills (cognitive 127): InstallSkills.InstallSkills has cognitive complexity 127 (threshold 15). Drivers by points: if/else 49 (57 pts), boolean chains 48, error handling 11, ternaries 5 (6 pts), loops 5 (nesting depth added 9). Of this number, 31 points are the body\u0027s own statements and 96 belong to 51 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/InstallSkills.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c5061cd2e21d7b4eba44d1658f67f52ee71c215f85ec6fc85a1e9a638007b7"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillDetailPanel.SkillDetailPanelContent (cognitive 66): SkillDetailPanel.SkillDetailPanelContent has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 16 (39 pts), boolean chains 17, if/else 9, match/switch 1 (nesting depth added 23). Of this number, 49 points are the body\u0027s own statements and 17 belong to 12 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":"src/components/SkillDetailPanel.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f828735b4191868f405e533390a4e0d0f8af3f415a594701dcbfcbda7575694"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::validate::validate_tree (cognitive 59): skills_manager::core::merge::validate::validate_tree has cognitive complexity 59 (threshold 15). Drivers by points: if/else 18 (43 pts), loops 7 (13 pts), boolean chains 3 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/validate.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92f34a7c6d0b86c47812b659185c884bc48a22a236d507f2d815b53ec9bfe9d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppContext.AppProvider (cognitive 56): AppContext.AppProvider has cognitive complexity 56 (threshold 15). Drivers by points: if/else 24 (35 pts), error handling 10 (13 pts), boolean chains 8 (nesting depth added 14). Most of this is not in the body itself: 0 of the 56 points are its own statements and the rest belongs to 23 function literals inside it that branch (lines 356, 75, 177, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context/AppContext.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b48123b2504a368a5eac9bdbca3d732ca37d765ea6b6d8dcd7f18ffe13d3a99"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::git_fetcher::clone_repo_full (cognitive 55): skills_manager::core::git_fetcher::clone_repo_full has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (41 pts), loops 2 (6 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_fetcher.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3acd6a06d99344c39b8f6afe79f6c6c9f78fce1df92210929cda9b89b60289e"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::tool_service::migrate_legacy_tool_keys (cognitive 52): skills_manager::core::tool_service::migrate_legacy_tool_keys has cognitive complexity 52 (threshold 15). Drivers by points: if/else 24 (45 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/tool_service.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47d5528c940085bd2214ec86ca757d05aded908b5bc0ad694698757b767cbbe"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::snapshot::read_snapshot (cognitive 49): skills_manager::core::merge::snapshot::read_snapshot has cognitive complexity 49 (threshold 15). Drivers by points: loops 5 (19 pts), if/else 4 (16 pts), match/switch 3 (14 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/snapshot.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d6e5e73dcc8eea9c7c14b24b146e411db03c811474c5f288ed9072e5ba135c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::scenario_service::sync_desired_targets (cognitive 49): skills_manager::core::scenario_service::sync_desired_targets has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (39 pts), match/switch 2 (7 pts), boolean chains 2, loops 1 (nesting depth added 32). 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/core/scenario_service.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56eb0e5ef4124d7c3b42df41fbf8ad4e4c253450e04fd8c2737f3ba812b22ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar (cognitive 46): Sidebar.Sidebar has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 19, if/else 14, ternaries 12, loops 1. Most of this is not in the body itself: 14 of the 46 points are its own statements and the rest belongs to 22 function literals inside it that branch (lines 152, 242, 190, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Sidebar.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dd381fa6a5b4197cb33eb0489bd82f9ed95c8417e635bb72f6bc2c2faac69a"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::bin::skills-manager-cli::verify_deployment_state (cognitive 43): skills_manager::bin::skills-manager-cli::verify_deployment_state has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (26 pts), match/switch 2 (9 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd1398fd9a31da1c28b35195bcd442bd38e840bf4f68be4a3b14c506d388db1"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillProjectsSection.SkillProjectsSection (cognitive 43): SkillProjectsSection.SkillProjectsSection has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 17, if/else 12 (14 pts), ternaries 5 (6 pts), error handling 3, loops 3 (nesting depth added 3). Most of this is not in the body itself: 3 of the 43 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 224, 53, 108, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillProjectsSection.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"88800607a1ee61b44b32ca9247e7de6e51d2f376ae4462a985369a67433f276e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectDetail.ProjectSkillDetailPanel (cognitive 43): ProjectDetail.ProjectSkillDetailPanel has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 12 (33 pts), boolean chains 10 (nesting depth added 21). Of this number, 33 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4776740d395d020a5088a64545efe6cd518e002955bc03fbd98f54ce4233c64"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::scenario_service::apply_add (cognitive 41): skills_manager::core::scenario_service::apply_add has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (27 pts), loops 7 (8 pts), match/switch 3 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/scenario_service.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c95a120cfcffc24868468603b364c08bbe8a5758212ef1ae9289a33aa5d60b1"}},{"ruleId":"D2","level":"warning","message":{"text":"AddProjectDialog.AddProjectDialog (cognitive 40): AddProjectDialog.AddProjectDialog has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 10 (12 pts), boolean chains 8, error handling 3 (4 pts), loops 1 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 22 belong to 12 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":"src/components/AddProjectDialog.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"38511307173525d2397cba3b0bdb8a9b5e19e0ab5be0335b3f8edfbf4551e8b8"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::bin::skills-manager-cli::run_adopt (cognitive 39): skills_manager::bin::skills-manager-cli::run_adopt has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 5 (6 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":2038}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dd339a360598e3796c5250d6b644a7ad4a134a1dfa6ea6a54fa582f257cd2f"}},{"ruleId":"D2","level":"warning","message":{"text":"PresetBar.PresetBar (cognitive 37): PresetBar.PresetBar has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (16 pts), error handling 4 (8 pts), loops 5 (7 pts), ternaries 3 (4 pts), boolean chains 2 (nesting depth added 11). Most of this is not in the body itself: 1 of the 37 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 52, 85, 126, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/PresetBar.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df94ded8133d9ec12308832cd13d7103361697027f5274431e1b21ea68a3a62"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandPalette.CommandPalette (cognitive 36): CommandPalette.CommandPalette has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 16, if/else 14 (16 pts), ternaries 4 (nesting depth added 2). Most of this is not in the body itself: 2 of the 36 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 55, 249, 221, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CommandPalette.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46493556f2737f0f87a4bc9af23db5ccb86f0a24f343ed6283d316f9008c367"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::app_state::repoint_after_move (cognitive 35): skills_manager::core::app_state::repoint_after_move has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 7 (10 pts), match/switch 4 (9 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/app_state.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd0cdea3ca6e077f578f599ca7989056b264e96e2072b7eefb24f4ea1e051b0"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::sync_metadata::remove_stale_metadata_files (cognitive 35): skills_manager::core::sync_metadata::remove_stale_metadata_files has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/sync_metadata.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0191533252e37f54944094374151e3a79d46686ceb7f913ad685b2bc1d32c1a2"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::scenario_service::sync_skill_to_active_scenario (cognitive 34): skills_manager::core::scenario_service::sync_skill_to_active_scenario has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 2 (10 pts), loops 1 (3 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/scenario_service.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa8958400ba87b3a14e5499ad94d4d5a263bcc1fdcaf8400a3dd69401c3f08c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::bin::skills-manager-cli::run_preset_deployment (cognitive 33): skills_manager::bin::skills-manager-cli::run_preset_deployment has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (24 pts), loops 2 (5 pts), boolean chains 4 (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/bin/skills-manager-cli.rs"},"region":{"startLine":2766}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd5bd1030a6a8c77839392fa9b0d57fa84f8c91904a3e4060aa5686ab89f154"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::auto_backup::run_round_blocking (cognitive 32): skills_manager::core::auto_backup::run_round_blocking has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (21 pts), match/switch 6 (8 pts), boolean chains 3 (nesting depth added 7). 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":"src-tauri/src/core/auto_backup.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"296e799977af7da77f97f8181f8e28646065b86b6cb4ab23f97c6c2965d1eeba"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::bin::skills-manager-cli::run_skill_deployment (cognitive 32): skills_manager::bin::skills-manager-cli::run_skill_deployment has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (24 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04a2384197c71f780c221485d3df42fe03c19547d3f05e1128caf14d18fd664"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::agent_workspace::backfill_stranded_agent_targets (cognitive 31): skills_manager::commands::agent_workspace::backfill_stranded_agent_targets has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 3 (7 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/agent_workspace.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb95a92253253356dc8c09582548efac8aeff57103ed2cff07b22a10c60310cb"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::git_fetcher::find_skill_dir (cognitive 31): skills_manager::core::git_fetcher::find_skill_dir has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (28 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 17). 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/core/git_fetcher.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3db3fc206ecb7cb89c5cab1ac3bf72a51f7430a373e034409683515c00f52c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::bin::skills-manager-cli::run_presets (cognitive 31): skills_manager::bin::skills-manager-cli::run_presets has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (8 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be7c66d832d18a067d6ef648581084719660cf29690d09c1ee289140d0a440f"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::decision::decide (cognitive 30): skills_manager::core::merge::decision::decide has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 4 (9 pts), loops 2, boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/decision.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5974254d1b0789b5cac885e2cb0a12832078665d4538b8087105cb920a5ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::file_watcher::collect_watch_paths (cognitive 30): skills_manager::core::file_watcher::collect_watch_paths has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (24 pts), loops 3 (6 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/file_watcher.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fead19afaa38de7cb4e71dc58d8f95574c61cda85e594257a12a664365a2f25"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::central_repo::ensure_central_repo (cognitive 30): skills_manager::core::central_repo::ensure_central_repo has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (5 pts), boolean chains 2, match/switch 1 (nesting depth added 16). 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/core/central_repo.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5f74ffae92298056ff4b060f9c45c25a2b42f7ac9dbc10e04096f2a6e815a7"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchTagDialog.BatchTagDialog (cognitive 30): BatchTagDialog.BatchTagDialog has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13, boolean chains 7, ternaries 5 (7 pts), loops 2 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 7 of the 30 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 48, 61, 37, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BatchTagDialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccfc953e3e9b69e10e0d69693bde6ab8415dcb4867f4c32bd060ad5379a7e0b"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::resolve::free_path_for (cognitive 29): skills_manager::core::merge::resolve::free_path_for has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 17). 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/core/merge/resolve.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e841cd73d3fe17066ddef1f5372e85a4fcb2c637599f548b33ce7c8f9e7620"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::treebuild::build_level (cognitive 28): skills_manager::core::merge::treebuild::build_level has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/treebuild.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8173dd5b793a55593fbf4a2a6c4eaf219f07adc83cc7829edb43589814b0fd8b"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::git_fetcher::try_update_cached_repo (cognitive 27): skills_manager::core::git_fetcher::try_update_cached_repo has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 4 (6 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_fetcher.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b80d94c89728c92fd85b9ab05d8ba0398f15d1ec8b4696260ad13982e6de51c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::pending::effective_pending (cognitive 26): skills_manager::core::merge::pending::effective_pending has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/pending.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfbb227f4f7e73155402aedf632e9a807ec2d00456aa08b9ad5f47ac5f83d72"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::projects::get_project_skill_document (cognitive 26): skills_manager::commands::projects::get_project_skill_document has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/projects.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0d1492407cde6feba34638c3533bcc1811c3769b19a485c7868ec0a80be736"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::settings::get_recent_log_excerpt (cognitive 25): skills_manager::commands::settings::get_recent_log_excerpt has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/settings.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a31a4cc5477397d6ccfceae59cf0ed1d480339833fc6d1477c541aecb40837b"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::resolve::apply_use_remote (cognitive 25): skills_manager::core::merge::resolve::apply_use_remote has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/resolve.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b78d9d42f51eff80319f5580e8e98bd75dae7d5734f46d728384c636725d5f1"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::projects::set_project_skill_enabled_state (cognitive 24): skills_manager::commands::projects::set_project_skill_enabled_state has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (24 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/projects.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"784506bc9d344a52674fc85a3f02ea5298738ac961f94c8e68c40c83e5a855e9"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillPickerRow.SkillPickerRow (cognitive 24): SkillPickerRow.SkillPickerRow has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 11 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillPickerRow.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e26005320c22c1720a23f2194a8c54ed11a97baa13a640ad396422a464b3ee5"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::git_backup::apply_oversized_exclusions (cognitive 23): skills_manager::core::git_backup::apply_oversized_exclusions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (5 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_backup.rs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef416f0a453cfd74e3f15356c4da362b3ee118b69506a9c0cec8b97782c1c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"useMultiSelect.useMultiSelect (cognitive 23): useMultiSelect.useMultiSelect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, ternaries 2 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"src/hooks/useMultiSelect.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1d2d33d03381fd213651bce5a30375709d454bcc345b4ec06f3d26960af873"}},{"ruleId":"D2","level":"warning","message":{"text":"presetStatus.computePresetStatus (cognitive 23): presetStatus.computePresetStatus has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/presetStatus.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaadfa4397a5a5690c79f9d9b8163f6989f124315567d198124751e62bed587e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectAgentDots.ProjectAgentDots (cognitive 23): ProjectAgentDots.ProjectAgentDots has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 7, if/else 3 (5 pts), loops 2 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ProjectAgentDots.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcd059a117f1a1d8e1627598c60de366548b90a6003939d17d2633aa2b7f38c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::skills::check_skill_update_internal_with_remote (cognitive 22): skills_manager::commands::skills::check_skill_update_internal_with_remote has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 5 (9 pts), boolean chains 1 (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/skills.rs"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ebd2204c8286527de7f09104c5c8109d4d38b5d962d476e12ef3acaa98f434"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::git_backup::oversized_skill_dirs (cognitive 22): skills_manager::core::git_backup::oversized_skill_dirs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 1 (2 pts), boolean chains 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":"src-tauri/src/core/git_backup.rs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9739bb45171d417df29ae11c1d55647231ba72f6367a7415991b7a5c56b042"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::git_fetcher::materialize_cached_repo (cognitive 22): skills_manager::core::git_fetcher::materialize_cached_repo has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_fetcher.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"19806d7ab8fc1ba064225838d917ce99bbaf78bfcb0e8e6c530116480e4f52e8"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::git_fetcher::run_git_watched (cognitive 21): skills_manager::core::git_fetcher::run_git_watched has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_fetcher.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e3ed8abf00c1c1b437035534be62bb57336b09a9650ae4fbbf5bbc9c86d97f"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::scenario_service::apply_remove (cognitive 21): skills_manager::core::scenario_service::apply_remove has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 4 (7 pts), loops 5 (6 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":"src-tauri/src/core/scenario_service.rs"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafac51933e0b0cea7e158b86fe27afec84dfca22e59ca3f03e4a69574e96b99"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::validate::unclaimed_skill_dirs (cognitive 21): skills_manager::core::merge::validate::unclaimed_skill_dirs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 1 (4 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/validate.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65e3df11d11fa650eab5b716317f4f4f3795a1b4740000dfc932705902baf52"}},{"ruleId":"D2","level":"warning","message":{"text":"SyncDots.SyncDots (cognitive 21): SyncDots.SyncDots has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 6, if/else 3 (5 pts), loops 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 112, 58, 61). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SyncDots.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e13b0d53f956c11380a1e406ec4ef6f8d2a838a34d985896ff786d2b1b456d"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::decision::merge_whole_files (cognitive 20): skills_manager::core::merge::decision::merge_whole_files has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/decision.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea991a5ef21d991f2c8a5dbff4785265c6a8802b077764c12d6eeebea647ad7c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::git_backup::clone_into_unlocked (cognitive 20): skills_manager::core::git_backup::clone_into_unlocked has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_backup.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45ba84a1cb8fd96739e54e2937b54b0fec864607e5e3cc46e0afd0adfb08a2b"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::file_watcher::start_file_watcher (cognitive 20): skills_manager::core::file_watcher::start_file_watcher has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 4 (9 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/file_watcher.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa71dbcf32ca65fe492b44528f49e448072170501b68875fe3618c4ce237459"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::git_credentials::install_git2_credentials (cognitive 20): skills_manager::core::git_credentials::install_git2_credentials has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_credentials.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fc8a5951c4b96aec25adcaabe4ae12fb27245e988cff03a66dc3d1bcef10cf"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::sync_metadata::reindex_from_metadata_unlocked (cognitive 20): skills_manager::core::sync_metadata::reindex_from_metadata_unlocked has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/sync_metadata.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c54a31880c57ac5de0ff23db7a7514b2dcd1b832542354da386a85c8939562"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchSyncAgentDialog.BatchSyncAgentDialog (cognitive 20): BatchSyncAgentDialog.BatchSyncAgentDialog has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 7, boolean chains 3 (nesting depth added 4). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 108, 31, 64, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BatchSyncAgentDialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e30ab02bb47c9a0aafd8ea2114f03650e41f4449d61a20a5b84f275d1b77f5"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::settings::export_logs_zip (cognitive 19): skills_manager::commands::settings::export_logs_zip has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/settings.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4ee246f32f8cf3aed2d607470939149f58c42c5214a0fe43bc32ba96713694"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::skills::check_all_skill_updates (cognitive 19): skills_manager::commands::skills::check_all_skill_updates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2 (4 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/skills.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"347e46d38cef5aea905b0a67c9f930094031a5b143d479ba90970d3c3b2c4c3c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::path_guard::sanitize_name (cognitive 19): skills_manager::core::path_guard::sanitize_name has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/path_guard.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a887a17825dfa69e1994d0fe6c469162184af1af629b61bb13a7e5f766a12b"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::apply::object_merge_pull_unlocked (cognitive 19): skills_manager::core::merge::apply::object_merge_pull_unlocked has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/apply.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0875471d5136bf300970cb2dae769d6d0a91861f3da9f1ed1eeec35b932380f"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::decision::resolve_path_collisions (cognitive 18): skills_manager::core::merge::decision::resolve_path_collisions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 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":"src-tauri/src/core/merge/decision.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ac62d08abc52caa1959dfa19b76efb67e56370599892e9afd3f91ab1643e0f"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::skills::build_source_diff_entries (cognitive 18): skills_manager::commands::skills::build_source_diff_entries has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/skills.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c1c07c2f5fbc0eccc37ceacb4429b6a2de34d66f29d9c0833df7760e5b1a13"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::agent_workspace::get_global_local_skill_document (cognitive 18): skills_manager::commands::agent_workspace::get_global_local_skill_document has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/agent_workspace.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f866f7d0c4ba2356bf6f896931d7b573b8f2fb4d8cddd12fafabccf57d64fa71"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::apply::scan_conflict_markers (cognitive 18): skills_manager::core::merge::apply::scan_conflict_markers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/apply.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f521a5fbbf587f692738e04ae589a70ac594f662c36d92cf0e54273c84d4f11"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::tool_service::merge_order (cognitive 18): skills_manager::core::tool_service::merge_order has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/tool_service.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d529e423b4652cc6ce20c38050cc045c398d5a34518fe57eca050ce6c2c60f"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::apply::plan_to_edits (cognitive 17): skills_manager::core::merge::apply::plan_to_edits has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2, boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/apply.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0c9199d1d2240b429ea5d769a46190029c7baf866718e7099648b9b32aa4e3"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::app_state::initialize_store_inner (cognitive 17): skills_manager::core::app_state::initialize_store_inner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/app_state.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ff0deb3bf7654d288618c6bd9f242102ce133b0685b270edc26b7e7d65dcd8"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::git_backup::run_sync_blocking (cognitive 17): skills_manager::commands::git_backup::run_sync_blocking has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/git_backup.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"823c887e3568db263cdf5dd3b7a9ce689aa81c59e10753ea2e1a15e84b8488af"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::central_repo::migrate_repo_if_needed (cognitive 17): skills_manager::core::central_repo::migrate_repo_if_needed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/central_repo.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8d71426794ed12ee1226fa7d64394220f1449c8a1c3c5f43d74e5ef178f2d4"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceView.WorkspaceSkillCard (cognitive 17): WorkspaceView.WorkspaceSkillCard has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, ternaries 3 (5 pts), if/else 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb304a0ad2cde52f351a726291a1fb08a34289bb265325778f67f7caa9d170af"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::log_sanitize::home_replacement (cognitive 16): skills_manager::core::log_sanitize::home_replacement has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (nesting depth added 9). 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/core/log_sanitize.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca9e1f223fd6cb63b538f40c6fccb26d099507f93af79d8b383d33f2c0088d0"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::skills::batch_update_skills (cognitive 16): skills_manager::commands::skills::batch_update_skills has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 2 (5 pts), loops 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/skills.rs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04b31bb82a1ffebe3bb9f7090c5da1e3fff30335d99e0049efa0774276033a"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::scanner::scan_local_skills_with_adapters (cognitive 16): skills_manager::core::scanner::scan_local_skills_with_adapters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/scanner.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0095b342e29a326c4541526dbd0189b619868624e102ca4fbb0f8a97bc0d847"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::core::merge::apply::recover_locked (cognitive 16): skills_manager::core::merge::apply::recover_locked has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 9). 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/core/merge/apply.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"344e26477dc3480772fb0c780d9908cb658b03eafef009cfed61dc844ae138a6"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::git_backup::migrate_embedded_credentials_unlocked (cognitive 16): skills_manager::commands::git_backup::migrate_embedded_credentials_unlocked has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/git_backup.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda1c8aab97429f996e3598b7e6834b45c1599cc9d92b82bcf3ecf292f69eeb8"}},{"ruleId":"D2","level":"warning","message":{"text":"skills_manager::commands::projects::export_skill_to_project (cognitive 16): skills_manager::commands::projects::export_skill_to_project has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/projects.rs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7aef728118376905356a06804c14afdcc33367d0f879d48533fe42007ba24e2"}},{"ruleId":"D2","level":"warning","message":{"text":"gitErrors.mapGitErrorMessage (cognitive 16): gitErrors.mapGitErrorMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/gitErrors.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0426addc0c8c2ffdc3d8b6607f167745acd1d6f1624ecdba074d23c8edaa6de0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Settings.Settings: FunctionTooLong \u2014 Settings runs 1454 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1354 over it, 14.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/views/Settings.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ea2fd56b2ebfcfc4c4f8bf50e175275eb67bb5296585a947bef37c07e0578b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MySkills.MySkills: FunctionTooLong \u2014 MySkills runs 1451 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1351 over it, 14.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c482d328e3dc53af5579dd4ad828b10df667e52d2b96ec25dea1f33445931c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InstallSkills.InstallSkills: FunctionTooLong \u2014 InstallSkills runs 1310 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1210 over it, 13.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/InstallSkills.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6989d86b461c6da7e0240274c57e73657c149780736998e818c8e4af27d454d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectDetail.ProjectDetail: FunctionTooLong \u2014 ProjectDetail runs 1147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1047 over it, 11.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0548be4385c883adafba9714302915d8db2b677dd91b438d9f24692451cd4af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Backup.Backup: FunctionTooLong \u2014 Backup runs 1062 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 962 over it, 10.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Backup.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46ed7c5cbdf13118156e09ae792b7acb4cfb5eada0f07788f03f5b3757d465a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceView.WorkspaceView: FunctionTooLong \u2014 WorkspaceView runs 839 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 739 over it, 8.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2361dd07cb46dc0662194fe16770317493ec232ad6721d693806b9fe6f4328c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Sidebar.Sidebar: FunctionTooLong \u2014 Sidebar runs 612 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 512 over it, 6.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Sidebar.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"875c4eb18addd98d50351f0474db12e0a40f5edc2bb6d279e109ec211c7c6eef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::core::tool_adapters::default_tool_adapters: FunctionTooLong \u2014 skills_manager::core::tool_adapters::default_tool_adapters runs 596 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 496 over it, 5.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/tool_adapters.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b66727721e48b141ca063c77f568b252031c484f2e622fdae28fdf975828cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AddSkillsSheet.AddSkillsSheetBody: FunctionTooLong \u2014 AddSkillsSheetBody runs 526 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 426 over it, 5.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AddSkillsSheet.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"872b88c167afd6a58b1a1298ed37ad0fcc5d6944c607b10c2c327c0a129947c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bin/skills-manager-cli.rs: FileTooLong \u2014 2318 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 53 free functions. The bar is 500 significant lines; this is 1818 over it, 4.64\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/bin/skills-manager-cli.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6660878c4081a15959ba0f9fa0f066440c634ffdac2c4e8caacbacaa286827ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/skills.rs: FileTooLong \u2014 2158 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 65 free functions. The bar is 500 significant lines; this is 1658 over it, 4.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/skills.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce5432877904b7eec1f39ba2e68a7fb0b85dcfdeb539817a36e686b02d2e090"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Settings: ClassTooLong \u2014 1454 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 1054 over it, 3.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/views/Settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0f6eaf057d84b1f23d0d55c0ec27b76e08c2f675a4d9e15c4485a4ab31f9ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MySkills: ClassTooLong \u2014 1451 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 1051 over it, 3.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa9c0cca1961bfd55e93b9023140840d921b192770272cf1ffe748584d91f2a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InstallSkills: ClassTooLong \u2014 1310 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 910 over it, 3.28\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/views/InstallSkills.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3b344c20ce883cc02fbdffea90f4fdda398a9c024f294bde717d310884cad6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/Settings.tsx: FileTooLong \u2014 1584 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: Settings (158-1887). The bar is 500 significant lines; this is 1084 over it, 3.17\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/views/Settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5316aa543bc7909170f23e1f5a451aa0c61cf80988dd022cd3971bfa8fc1696c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/MySkills.tsx: FileTooLong \u2014 1570 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: MySkills (136-1987). The bar is 500 significant lines; this is 1070 over it, 3.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47136e2fc894cb048da894a28a4715a4e234b3050a45cf69b15befdc6f084022"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProjectDetail: ClassTooLong \u2014 1147 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 747 over it, 2.87\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/views/ProjectDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b7133d936f665cac9343f53ba896079c89587f0298ec36a92968582e1df80a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AppContext.AppProvider: FunctionTooLong \u2014 AppProvider runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context/AppContext.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"de49f080e28aa1714a8772f22a40ba3f1348a76b5604a0e72386be11bb52be76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/ProjectDetail.tsx: FileTooLong \u2014 1381 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: ProjectDetail (127-1595). The bar is 500 significant lines; this is 881 over it, 2.76\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/views/ProjectDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93b2216d2b14a99c65fd64ae3ac6eca1a7bb28185d23ef1a9c7ffd4376fe6fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/InstallSkills.tsx: FileTooLong \u2014 1352 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: InstallSkills (45-1629). The bar is 500 significant lines; this is 852 over it, 2.70\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/views/InstallSkills.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ed34ce10c00fb967eb2c559b9ab4564ccdb6e204552ddccdcc821b2dd943c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CommandPalette.CommandPalette: FunctionTooLong \u2014 CommandPalette runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CommandPalette.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7291bdfe96466fc37a651e1c3b68d4dc7e7ff07a7637728842cc382bcdbc5fbf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Backup: ClassTooLong \u2014 1062 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 662 over it, 2.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Backup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"892987aae37fcc909e7454490605bf258fc05d691978bba4be6efeb235ec507b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AddProjectDialog.AddProjectDialog: FunctionTooLong \u2014 AddProjectDialog runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AddProjectDialog.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f319ce91c3bdba04bd10d9c6b77f4a914383d128aa02702dc14614073a6f972"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillDetailPanel.SkillDetailPanelContent: FunctionTooLong \u2014 SkillDetailPanelContent runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPanel.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbc7920575132a528a544ab016a83769c0eed6f8afbbb2a633b178b377893b8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SkillStore: ClassTooLong \u2014 1004 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), 65 methods, 2 blocks, lines 13-1383. The bar is 400 significant lines; this is 604 over it, 2.51\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-tauri/src/core/skill_store.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3f8356826f6ff5094ad99c585053178f7941fe6bde4c7ad8f67cbf095ab75b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::run: FunctionTooLong \u2014 skills_manager::run runs 242 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 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c6c8cd3641ef6312ab67aa683e72c283207b82bed2f0ccaa5cc5ea22b0b4c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillProjectsSection.SkillProjectsSection: FunctionTooLong \u2014 SkillProjectsSection runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillProjectsSection.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ea9799bad5da64d1f30072324bb61986d99ae979107b305b4e125b79cdd4de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/Backup.tsx: FileTooLong \u2014 1135 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: Backup (86-1371). The bar is 500 significant lines; this is 635 over it, 2.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Backup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"060d05617ff3d3b5328083033e9d74de391ee972ae20df558a4ac0ddbd417717"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/skill_store.rs: FileTooLong \u2014 1108 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), about 91% of them inside a single declaration: SkillStore (2 blocks, 13-1383). The bar is 500 significant lines; this is 608 over it, 2.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/skill_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a13a57da329a0d2b8f660f17c3b530479dc71de3587a53c7e457656ea366030"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SkillStore: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/skill_store.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"25769b3dec015a14d6ccecf71f165cd59952e9a0c500cad5dc9de9ec8d0301dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkspaceView: ClassTooLong \u2014 839 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 439 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8abae7003fc50f9adbc0eda20f266850ddfe0473578d841748031719ea7f47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: views/WorkspaceView.tsx: FileTooLong \u2014 1043 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: WorkspaceView (242-1307). The bar is 500 significant lines; this is 543 over it, 2.09\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/views/WorkspaceView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4e9d55dc664ac605c5fa44fa0f27f79c5e54c6a435ba6a8d7e76da5dca2748"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/git_backup.rs: FileTooLong \u2014 1011 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 66 free functions. The bar is 500 significant lines; this is 511 over it, 2.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_backup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1863b7fc7523c8a21299c8dcc13466c91243bde2df2d96e4b11a4cc6a9b791"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/git_fetcher.rs: FileTooLong \u2014 942 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 49 free functions. The bar is 500 significant lines; this is 442 over it, 1.88\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/core/git_fetcher.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a89b9baeb45ead7ede287127944fbe4b6f35414b84f0d0c1642077b4501bff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BatchTagDialog.BatchTagDialog: FunctionTooLong \u2014 BatchTagDialog runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BatchTagDialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b7ba80ce8cf44eecf6478e8833ca7939dbbbbf61ee611f52ef6b86291a83b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/projects.rs: FileTooLong \u2014 900 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 400 over it, 1.80\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/projects.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76da29c32e78f0ac5ead075833f838bfb51a0db0381ce1073d33305095c9a378"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/scenario_service.rs: FileTooLong \u2014 864 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 364 over it, 1.73\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/core/scenario_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"069021b72723ca4113c02f2450b18c468fdc5fdb9e571b52215a665358e1e44a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::core::scenario_service::apply_add: FunctionTooLong \u2014 skills_manager::core::scenario_service::apply_add runs 163 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 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/scenario_service.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2df82062ab58b0a70f174ca32ca0318375b554f06731fbd494c66310fef5af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/tool_adapters.rs: FileTooLong \u2014 768 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 268 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-tauri/src/core/tool_adapters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60467c7be51934e822da8aaf248017007cab6b699e69f3b06d277c821498be0c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Sidebar: ClassTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 212 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98332412ec9155a628b6e7ebeec840ca77c823d29c8636fb1b1ef43cd6215217"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::bin::skills-manager-cli::run_presets: FunctionTooLong \u2014 skills_manager::bin::skills-manager-cli::run_presets runs 153 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 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cee6c6b55d13918250be99850485b9696cd7aaf65f3e81d23d7fe662374749"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 760 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 260 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc618d6d48930087fd472acc702a72046af3d68fbc5c3c9784faee4fa914c960"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::core::merge::apply::object_merge_pull_unlocked: FunctionTooLong \u2014 skills_manager::core::merge::apply::object_merge_pull_unlocked runs 152 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 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/core/merge/apply.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91028f5bb12f1e55a035f907eea1c2d6b9d0f6c9df4dea8d259859aaf80c25a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: skills_manager::core::central_repo: TooManyFunctions \u2014 43 free functions. The bar is 30 free functions; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/central_repo.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"834246edfe02bc8a2269a0d3af709e5beb7925eceee6dbcab859066bdb7cbe17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: merge/apply.rs: FileTooLong \u2014 711 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 211 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/apply.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1973d043a4fb36c715a5b268ada3aa7779fea51954e5af0469b54588821dd3b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::bin::skills-manager-cli::run_adopt: FunctionTooLong \u2014 skills_manager::bin::skills-manager-cli::run_adopt runs 137 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 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":2038}}}],"partialFingerprints":{"codehealthFindingId/v1":"572b41ee32791ba6ec1efbe86e078a08b146e85a9cd92a1c0e3d1990fcaf950f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceView.WorkspaceSkillCard: FunctionTooLong \u2014 WorkspaceSkillCard runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e342af32d15b0af1528e44ac5db9f2767755ceddb209f2cc0578b58e61bb0404"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::bin::skills-manager-cli::run_skills: FunctionTooLong \u2014 skills_manager::bin::skills-manager-cli::run_skills runs 135 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 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-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d29b1ba6f3c8c32d325bc8f1982f0c408aeca6630825267127b1877dcf93d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/Sidebar.tsx: FileTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: Sidebar (47-774). The bar is 500 significant lines; this is 154 over it, 1.31\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/components/Sidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90280e3b65ddb5cdd816624bfa06584a3aed0d4e5e763b9aa1456e0a42ff55cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::commands::skills::update_git_skill_internal: FunctionTooLong \u2014 skills_manager::commands::skills::update_git_skill_internal runs 130 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 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/skills.rs"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf9572387b59f9d872beef866565b319d2ca5cd3c34cdbeaf1dedaf9b05ac60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectDetail.ProjectSkillDetailPanel: FunctionTooLong \u2014 ProjectSkillDetailPanel runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"d584d35668fa045db702b981b4e44cc83d2627c189cb12977507715a02d6eb6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Dashboard.Dashboard: FunctionTooLong \u2014 Dashboard runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Dashboard.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"750edc3a298069dae6fd65f65f2dd9ae4419a3f6cb525c52ed1e3b95d3b9d022"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BatchSyncAgentDialog.BatchSyncAgentDialog: FunctionTooLong \u2014 BatchSyncAgentDialog runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values 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/BatchSyncAgentDialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4165306690b3b89eaf0d3bfe80f23ce47013e5f6f53fe1e024938eca9483c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::commands::skills::set_git_source_internal: FunctionTooLong \u2014 skills_manager::commands::skills::set_git_source_internal runs 117 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 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-tauri/src/commands/skills.rs"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44383220b76ba8837b4152bf9238e8ce9337b392c964455ccf0e390eb5363bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/AddSkillsSheet.tsx: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: AddSkillsSheetBody (71-736). The bar is 500 significant lines; this is 81 over it, 1.16\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/components/AddSkillsSheet.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07469f91575b433b1fa59cf0aed2e47d81c650b3f23a434110c37b2538b521b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/git_backup.rs: FileTooLong \u2014 575 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 35 free functions. The bar is 500 significant lines; this is 75 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/git_backup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d1578b3e5b363145898d525301d5f462f235dc826ebc81ebf7093d95b4e1b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::core::git_fetcher::clone_repo_full: FunctionTooLong \u2014 skills_manager::core::git_fetcher::clone_repo_full runs 115 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 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_fetcher.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ee3a051ccdd1127ca4f2aa57c51dbaefeed2d1fc41e4ef93e51c852415cf61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::core::scenario_service::sync_desired_targets: FunctionTooLong \u2014 skills_manager::core::scenario_service::sync_desired_targets runs 115 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 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/scenario_service.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a46645817c40561e092a3ae72c20e7aef8ff3ae3ae9d8a15455a3b42aa17e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PresetBar.PresetBar: FunctionTooLong \u2014 PresetBar runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/PresetBar.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfaf6fe1fe58cd35a9c3d7020121aaab0f175a87138acc6ebaeac5c5e59c4a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentControlSetupCard.AgentControlSetupCard: FunctionTooLong \u2014 AgentControlSetupCard runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AgentControlSetupCard.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff785d68b84a707e7799507050c4caa44741adfd7a57ae0bcc0147ed18d18a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/tauri.ts: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 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":"src/lib/tauri.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"060efe3756429634814c9dece5ffdea833d19826a36a4240ebe0472f7629a5f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: skills_manager::core::sync_metadata: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/sync_metadata.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"77982d9eddd62adc691db3db45bb93f8c177fdef999025961b757aed38f00e3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::core::merge::validate::validate_tree: FunctionTooLong \u2014 skills_manager::core::merge::validate::validate_tree runs 110 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 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/merge/validate.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d1be150d9fbc7cbcf682d2914a7c6f46f9015751e8df3e084f21714c7e9772"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::core::merge::decision::decide: FunctionTooLong \u2014 skills_manager::core::merge::decision::decide runs 104 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 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-tauri/src/core/merge/decision.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1394bb082e2dae2a504507eb3b264715f499c3e6af876e4ac8ea6f5a51647e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/settings.rs: FileTooLong \u2014 515 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 15 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"354bcee3145f4f75fb74772f9684a7973691b8b81973c19eea574aa6f8b4b79a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills_manager::commands::settings::export_logs_zip: FunctionTooLong \u2014 skills_manager::commands::settings::export_logs_zip runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/settings.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20d3e724e380913d036aba6ce37060b3274ae3e616a3b54283e6aa9b0463d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): src-tauri/src/bin/skills-manager-cli.rs:1176-1271 | src-tauri/src/bin/skills-manager-cli.rs:2772-2876 \u2014 These two members are variants of one another: 58 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/bin/skills-manager-cli.rs"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18da764ca47caa6756c6ba6fa0fe68f3b30a20f0aea9989afc7e0add8524969"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src-tauri/src/commands/projects.rs:833-910 | src-tauri/src/commands/projects.rs:918-1007 | src-tauri/src/commands/projects.rs:1134-1196 | src-tauri/src/commands/projects.rs:1205-1224 | src-tauri/src/commands/projects.rs:1232-1265 \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":"src-tauri/src/commands/projects.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"237c8b7155018ce55e6ec66f593e2dd868bf644cdb88d78ab799d3ca68cdf52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src-tauri/src/bin/skills-manager-cli.rs:1203-1233 | src-tauri/src/bin/skills-manager-cli.rs:2799-2829 \u2014 both copies are in the same file, so extract the block 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/bin/skills-manager-cli.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7343fd0aa7ccb547ca7edd9a553b150ad73bb562a069862c79ea2e5b0739ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201321 lines \u00D7 2): src-tauri/src/core/git_backup.rs:446-466 | src-tauri/src/core/git_backup.rs:533-545 \u2014 both copies are in the same file, so extract the block 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/core/git_backup.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fbfab927af34e82ef7c2dc3d1afb975ddffcb528d7cc80fd875d7689ddede7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): src-tauri/src/core/scenario_service.rs:672-690 | src-tauri/src/core/scenario_service.rs:717-733 \u2014 both copies are in the same file, so extract the block 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/core/scenario_service.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc06979a8b211a380473a68506c768f0f917bff400fb8e32865aa49dba5733d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src-tauri/src/core/skill_store.rs:153-170 | src-tauri/src/core/skill_store.rs:205-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/skill_store.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac97faa93a2ba3a0e6a9151dea2198c17ab543ecb746953e528f57dca6d01496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src-tauri/src/bin/skills-manager-cli.rs:1715-1730 | src-tauri/src/bin/skills-manager-cli.rs:1738-1752 \u2014 both copies are in the same file, so extract the block 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/bin/skills-manager-cli.rs"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ef5eb4f611d1ac189d3a4b4090b13b423a905848d857a14db6448268a3eb8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src-tauri/src/commands/agent_workspace.rs:201-216 | src-tauri/src/commands/projects.rs:895-910 \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/commands/agent_workspace.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c95925d6f888402d84a553dec38b5bd0b84afb523ad70ce24ec41d75a1f67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): src-tauri/src/core/git_fetcher.rs:909-923 | src-tauri/src/core/git_fetcher.rs:1009-1020 \u2014 both copies are in the same file, so extract the block 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/core/git_fetcher.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"510e45755a0b31fa7da682f06ef2204c694cb7ea2f552f26f345fc11b72906ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/bin/skills-manager-cli.rs:1245-1258 | src-tauri/src/bin/skills-manager-cli.rs:2849-2862 \u2014 both copies are in the same file, so extract the block 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/bin/skills-manager-cli.rs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4c4644365fd5d856f810db1e44de330a6cd22786c46725e6741338f7361641"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/commands/skills.rs:835-848 | src-tauri/src/commands/skills.rs:869-882 \u2014 both copies are in the same file, so extract the block 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/commands/skills.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21bb85cd515d91c211b235e6a0f5394c30e3b1716f278d192909153261bdfe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/core/git_fetcher.rs:1087-1097 | src-tauri/src/core/git_fetcher.rs:1151-1161 \u2014 both copies are in the same file, so extract the block 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/core/git_fetcher.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4c92937506948df74351b5ac5fe2a0ac8260f96cdb0a7a2568bf1f08257b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src-tauri/src/core/scanner.rs:63-71 | src-tauri/src/core/scanner.rs:125-134 \u2014 both copies are in the same file, so extract the block 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/core/scanner.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdf91190b1e110fc5ee0733982028ee3db52862cc785e9160b7b93579f72404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/core/sync_metadata.rs:350-359 | src-tauri/src/core/sync_metadata.rs:381-390 \u2014 both copies are in the same file, so extract the block 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/core/sync_metadata.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e83bd6b18e0ca61ed97c6f1e3cfb1590099c646cf772dbc3697b88de439ac21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/projects.rs:920-928 | src-tauri/src/commands/projects.rs:1136-1144 \u2014 both copies are in the same file, so extract the block 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/commands/projects.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eaaeeb018f0ead209815e57452c88e55f11cfdd6b056c610943dc9c1e58362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/core/installer.rs:83-91 | src-tauri/src/core/installer.rs:108-116 \u2014 both copies are in the same file, so extract the block 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/core/installer.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0be0c5f1c1975d1030eb2d5c13a4b50e379cefac1042d90a0f9b751f6409930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/core/skill_store.rs:478-486 | src-tauri/src/core/skill_store.rs:499-507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/skill_store.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7006c9013e166acabbe45d938ea877b4d3a36ca277115604489360f84cb12a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): src-tauri/src/commands/projects.rs:834-841 | src-tauri/src/commands/projects.rs:919-926 | src-tauri/src/commands/projects.rs:1135-1142 | src-tauri/src/commands/projects.rs:1206-1213 | src-tauri/src/commands/projects.rs:1233-1240 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/projects.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"236399673f30e1f3c2ab229668726292227e59b2917b1082c7179f67641f598f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src-tauri/src/bin/skills-manager-cli.rs:1234-1240 | src-tauri/src/bin/skills-manager-cli.rs:2833-2840 \u2014 both copies are in the same file, so extract the block 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/bin/skills-manager-cli.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdd32971dd3fda5a5d54f598ff034152d070fdb2b94aa46c3c5a86628e24f4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/git_backup.rs:1099-1106 | src-tauri/src/core/sync_metadata.rs:171-178 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/git_backup.rs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b8bea7dac717b0e2a86f9cf9c80a7537ca844655ba6ff48d39586a909d7760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/commands/settings.rs:236-243 | src-tauri/src/commands/settings.rs:254-261 \u2014 both copies are in the same file, so extract the block 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/commands/settings.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dcc30ac1ed94a40aa547779820e12d6c61fb5dcce4d15b77435b72ff8db7d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/core/git_backup.rs:578-585 | src-tauri/src/core/git_backup.rs:649-656 \u2014 both copies are in the same file, so extract the block 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/core/git_backup.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4320c81f78e0488a371bf57f68d0310c2a7af5e22fceb470ebcb5d46fd2160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/core/git_credentials.rs:33-40 | src-tauri/src/core/git_credentials.rs:75-82 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_credentials.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00b50cbe1664f96eeb267df7a3167495662f251222f7183663de054f25a569c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src-tauri/src/core/merge/decision.rs:135-142 | src-tauri/src/core/merge/decision.rs:177-183 \u2014 both copies are in the same file, so extract the block 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/core/merge/decision.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12875946ac0e933b365a3266bcd62926966fc9071925df9e296d009e66c5972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/bin/skills-manager-cli.rs:1608-1614 | src-tauri/src/bin/skills-manager-cli.rs:1651-1657 \u2014 both copies are in the same file, so extract the block 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/bin/skills-manager-cli.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eccdd5b8b85ee24f7d990f38317af3111ba9d41c0dc348faa27411004f8cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/projects.rs:657-663 | src-tauri/src/commands/projects.rs:733-739 \u2014 both copies are in the same file, so extract the block 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/commands/projects.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7b7dac6f1f4667dbbd01f7c6e70afc6aae4a875c4b5f57f97a174c8f628f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/skills.rs:406-412 | src-tauri/src/commands/skills.rs:603-609 \u2014 both copies are in the same file, so extract the block 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/commands/skills.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2341a57cc638f8ea33c3477c04aadb5274eb2a8f8d7cf0ab3faeaab1901ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/commands/skills.rs:930-936 | src-tauri/src/commands/skills.rs:1123-1129 \u2014 both copies are in the same file, so extract the block 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/commands/skills.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacc695a5bb60de5b27a79766167232d486f75744a9a15c3e36ab3a2bb5880c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/core/git_fetcher.rs:291-297 | src-tauri/src/core/git_fetcher.rs:1000-1006 \u2014 both copies are in the same file, so extract the block 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/core/git_fetcher.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0b7e7a245431b5d86a873ca48d5d316708d06a7a2fbc3197d8929849d84d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/core/skill_store.rs:772-778 | src-tauri/src/core/skill_store.rs:1187-1193 \u2014 both copies are in the same file, so extract the block 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/core/skill_store.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dd11cf20e46adba5379f801a5d3352a7c2b3f89470bfb23078838bd1785c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/core/skill_store.rs:1185-1191 | src-tauri/src/core/skill_store.rs:1210-1216 \u2014 both copies are in the same file, so extract the block 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/core/skill_store.rs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88907acd516d5510f075bda178475c0564922f9497e0ba4e817ade1f95f3f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/bin/skills-manager-cli.rs:1196-1201 | src-tauri/src/bin/skills-manager-cli.rs:2792-2797 \u2014 both copies are in the same file, so extract the block 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/bin/skills-manager-cli.rs"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc11dd871dc83474ba4d47a7bd94ab6c2a94071d59e27b470007ee6d552cc739"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/git_backup.rs:584-589 | src-tauri/src/commands/git_backup.rs:608-613 \u2014 both copies are in the same file, so extract the block 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/commands/git_backup.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e07842032b7003e9be15440c38c6f0170b32bc69c3532420b9a4dcf74abf008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/skills.rs:1656-1661 | src-tauri/src/commands/skills.rs:1757-1762 \u2014 both copies are in the same file, so extract the block 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/commands/skills.rs"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"322c4fabbffd3167f8e4d4d811f179c2665a248871b6d55289d50a07a2b0e9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/core/git_fetcher.rs:289-294 | src-tauri/src/core/git_fetcher.rs:408-413 \u2014 both copies are in the same file, so extract the block 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/core/git_fetcher.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d65369acdeebf2c6f5cbc2e1615d90e8b9cba2cedc733ca5f8ed33527ff4342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/core/git_fetcher.rs:721-726 | src-tauri/src/core/git_fetcher.rs:981-986 \u2014 both copies are in the same file, so extract the block 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/core/git_fetcher.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"03327cd6586be6ae15a036e6a39385d5398513bc416c303164a512410f9146e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/core/git_fetcher.rs:337-341 | src-tauri/src/core/git_fetcher.rs:1110-1115 \u2014 both copies are in the same file, so extract the block 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/core/git_fetcher.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"965e3c6bc34a12dd92bf9381f9c06149eaaa2a853a1d8e7d0fa3ea5ddd8b142a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/core/git_backup.rs:12-21 | src-tauri/src/core/git_fetcher.rs:26-35 \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/core/git_backup.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf8c8fbe9e5b4a4516345f2089440246452841ef52c6b8ab7f18d9b6f0651bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src-tauri/src/commands/skills.rs:997-1011 | src-tauri/src/commands/skills.rs:1096-1110 \u2014 both copies are in the same file, so extract the block 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/commands/skills.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c99162306328fa17315f969f42dbfbc5efaf5b7a47b7c99f8c170d4bff94df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src-tauri/src/core/git_fetcher.rs:316-329 | src-tauri/src/core/git_fetcher.rs:1033-1046 \u2014 both copies are in the same file, so extract the block 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/core/git_fetcher.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3352f7b423e75c5e6865afbebf6afab75c9a6b3c95f8cb5f4030a7ea61582d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src-tauri/src/core/skill_store.rs:310-319 | src-tauri/src/core/skill_store.rs:787-794 | src-tauri/src/core/skill_store.rs:958-968 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/skill_store.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ecbcde35f8535ac8e5dffbcb65f6a19577f25031d73e4a8c34e4ae33a4e874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src-tauri/src/commands/sync.rs:107-117 | src-tauri/src/commands/sync.rs:196-206 \u2014 both copies are in the same file, so extract the block 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/commands/sync.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0066369bfa417f40309f7f59ece16af540c82907db609b308e0eaebf9895a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/commands/projects.rs:353-363 | src-tauri/src/commands/projects.rs:383-391 \u2014 both copies are in the same file, so extract the block 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/commands/projects.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ddaa235c3d1780ede87c5fb7a6efeb3c2514592f3e4c0cac2a1fdf8f313027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/commands/skills.rs:819-828 | src-tauri/src/commands/skills.rs:858-867 \u2014 both copies are in the same file, so extract the block 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/commands/skills.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23604a7c68ed7099a888388cd0c638fe76adcbb95aef67434bdd192d07b40f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src-tauri/src/core/skill_store.rs:804-813 | src-tauri/src/core/skill_store.rs:817-826 \u2014 both copies are in the same file, so extract the block 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/core/skill_store.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e7879b950169e64d3307b19c24c093b7070d109dbf5642ed9b839a536beed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/core/skill_store.rs:238-246 | src-tauri/src/core/skill_store.rs:250-258 \u2014 both copies are in the same file, so extract the block 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/core/skill_store.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"589fa45dd407a7fa2c94950e8b5f81fa89c91115912e7a359fb85de415e306e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src-tauri/src/core/git_backup.rs:598-606 | src-tauri/src/core/git_backup.rs:663-671 \u2014 both copies are in the same file, so extract the block 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/core/git_backup.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"c153f868eb71fce624d1712939e9a0ee976b504df109fc689aa323f186e70103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src-tauri/src/core/skill_store.rs:914-921 | src-tauri/src/core/skill_store.rs:1107-1114 \u2014 both copies are in the same file, so extract the block 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/core/skill_store.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"9215f5c9d9eaa428bd01f87124e596d054385fd5f33d1321d07fda3c0183d2a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/commands/skills.rs:527-532 | src-tauri/src/commands/skills.rs:539-544 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/commands/skills.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"248571256d241555872caae01f640ded027eec11890d471c6125f04034455f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src-tauri/src/core/git_fetcher.rs:394-399 | src-tauri/src/core/git_fetcher.rs:874-879 \u2014 both copies are in the same file, so extract the block 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/core/git_fetcher.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcef28dcc11aa85ef601da2e916250f24e3e47436fa8631260f74be8fe90ae84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/core/git_fetcher.rs:1511-1515 | src-tauri/src/core/git_fetcher.rs:1594-1598 \u2014 both copies are in the same file, so extract the block 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/core/git_fetcher.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba0008134c732d5d5f82a9b1226e540336ea1044489401c0defd2f41ecfad48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/core/merge/snapshot.rs:108-112 | src-tauri/src/core/merge/snapshot.rs:138-142 \u2014 both copies are in the same file, so extract the block 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/core/merge/snapshot.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ff5206d3366441374880e65fcc337a34d28adb1c96cd377a2d873171f630b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src-tauri/src/core/skill_store.rs:1272-1278 | src-tauri/src/core/skill_store.rs:1299-1305 \u2014 both copies are in the same file, so extract the block 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/core/skill_store.rs"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"228374eadaab626164cbfe5a12f30f1648f901705e5327b6d9205da96fd5e3d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src-tauri/src/core/sync_engine.rs:543-547 | src-tauri/src/core/sync_engine.rs:581-585 \u2014 both copies are in the same file, so extract the block 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/core/sync_engine.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e242dd22f57958d06ef501db49b9b28dbe1d44a4640bc72621015667825d38"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/views/MySkills.tsx: src/views/MySkills.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 281 in MySkills.MySkills at line 136. 12 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/views/MySkills.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/views/MySkills.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6894bc028854a31c2e38d7c3dfbb491691e9cb262b1105ecec8fb6433f2add"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/views/ProjectDetail.tsx: src/views/ProjectDetail.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 226 in ProjectDetail.ProjectDetail at line 127. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/views/ProjectDetail.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/views/ProjectDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7eed14b4ee4b7274bb3685b54f0a118d36340c45354aa1ed83c35e048279417"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/views/Backup.tsx: src/views/Backup.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 176 in Backup.Backup at line 86. 3 of those changes were fix/bug commits, and the other 12 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/views/Backup.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/views/Backup.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"240b12f3bb566550caebd233c3845ec95c3ddf4fc50019e48d0e554a6375f0d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/views/Settings.tsx: src/views/Settings.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 170 in Settings.Settings at line 158. 5 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/views/Settings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Settings.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f196d568b61272cb1d6af071fa1ee1f14948b5531d20229d75689986274372"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/views/WorkspaceView.tsx: src/views/WorkspaceView.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 143 in WorkspaceView.WorkspaceView at line 242. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/views/WorkspaceView.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/views/WorkspaceView.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cc7bc42fde45f5687f01fc2968d0128aa249d6426864a3234354ac085add23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/bin/skills-manager-cli.rs: src-tauri/src/bin/skills-manager-cli.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in skills_manager::bin::skills-manager-cli::run_presets at line 2405. 6 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/bin/skills-manager-cli.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/bin/skills-manager-cli.rs"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0991f11c30b1a36aafb685acb89fb315b74af9e5f93d70eed6ed2a9688ea3450"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/core/git_fetcher.rs: src-tauri/src/core/git_fetcher.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in skills_manager::core::git_fetcher::clone_repo_full at line 945. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/core/git_fetcher.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/core/git_fetcher.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef26f0e77d1563bbbe0d2e7300999959f80f0b82695eb25c335690dfb0f9db0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/AddSkillsSheet.tsx: src/components/AddSkillsSheet.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 105 in AddSkillsSheet.AddSkillsSheetBody at line 71. 1 of those changes was a fix/bug commit, and the other 2 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/components/AddSkillsSheet.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/components/AddSkillsSheet.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc82d1643e9faf306a9480ffb6c3b1c2ce9b8dcae75f79142e0099723ab35a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/Sidebar.tsx: src/components/Sidebar.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in Sidebar.Sidebar at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/components/Sidebar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Sidebar.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4797c92fefa342c6109ea958aef01e547415194b1e1b59baa6d9ebff2fefcb68"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/core/scenario_service.rs: src-tauri/src/core/scenario_service.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in skills_manager::core::scenario_service::apply_add at line 987. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/core/scenario_service.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/core/scenario_service.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"b541280b313ea7bb942123f4e15b65cde28471c29e8f8bb58142282c4cc1fd99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/commands/agent_workspace.rs: src-tauri/src/commands/agent_workspace.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in skills_manager::commands::agent_workspace::backfill_stranded_agent_targets at line 436. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/commands/agent_workspace.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/agent_workspace.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba8cb86048ac32f7334ed5a87e52039caa9decb496d1d5f719e97835461bcc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/core/central_repo.rs: src-tauri/src/core/central_repo.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in skills_manager::core::central_repo::ensure_central_repo at line 798. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/core/central_repo.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/core/central_repo.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"493221c5251bd538890999d56e1a5673624605e4ca14b76a492ebe2e172c9d7e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/PresetBar.tsx: src/components/PresetBar.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in PresetBar.PresetBar at line 23. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/components/PresetBar.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/components/PresetBar.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bba03966b01ac63920ca59c5771d4431d23b06f0eaec1cdaa5bbf7e973867c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/core/app_state.rs: src-tauri/src/core/app_state.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in skills_manager::core::app_state::repoint_after_move at line 204. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/core/app_state.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/core/app_state.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2a9dfe2215e2fafe5d68fc0df3b251ec687d8d976ae49a89d987884e262fc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/core/merge/validate.rs: src-tauri/src/core/merge/validate.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in skills_manager::core::merge::validate::validate_tree at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/core/merge/validate.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/core/merge/validate.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d840cb723561748a1e0820c24cafd48181645c747f803be291bf5796d3c959"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/context/AppContext.tsx: src/context/AppContext.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in AppContext.AppProvider at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/context/AppContext.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/context/AppContext.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83bf39498352be7e6c54587d02b8d74e26381f7c4240c69da8da242f0678822"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/core/file_watcher.rs: src-tauri/src/core/file_watcher.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in skills_manager::core::file_watcher::start_file_watcher at line 286. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/core/file_watcher.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/core/file_watcher.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6f56400c1d2997b4c01fd898583e679f036621c0507480631b6cdf97cf1de7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/BatchTagDialog.tsx: src/components/BatchTagDialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in BatchTagDialog.BatchTagDialog at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/components/BatchTagDialog.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/components/BatchTagDialog.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6310c2d506b4c51f1ff577c6890c1625d64538a58ac11901b9762de5bd427731"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src-tauri/src/core/auto_backup.rs: src-tauri/src/core/auto_backup.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in skills_manager::core::auto_backup::run_round_blocking at line 200. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/core/auto_backup.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/core/auto_backup.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17b31797abc284f7f56502f1783b920bf6a9bcb9162490efb2b04fae1d6e63b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/FirstRunRestoreDialog.tsx: src/components/FirstRunRestoreDialog.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in FirstRunRestoreDialog.FirstRunRestoreDialog at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src/components/FirstRunRestoreDialog.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/components/FirstRunRestoreDialog.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"21487c9c00b90b7484c3579d22ecbaf8c52f5e2571193cc3f6e9d3c5e82d6f22"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/skills.rs: src-tauri/src/commands/skills.rs changed 18 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is skills_manager::commands::skills::check_skill_update_internal_with_remote at line 2530), 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(sync): gate every row-driven removal behind the ownership preflight\u201D; \u201Cfix(hash): stop line endings alone from reading as an update\u201D; \u201Cfix(update): stop a declined relink from erasing the state it was reached from\u201D; \u201Cfix(update): guard relink, the last replacement a user can reach from the UI\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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/commands/skills.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/skills.rs"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e9caa06585de0fe6eed9a9db1b3682004ce41a37609727ab627b5c9f5ffddc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/core/sync_engine.rs: src-tauri/src/core/sync_engine.rs changed 6 times in last 90 days and 6 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 skills_manager::core::sync_engine::ensure_dst_not_inside_src at line 20), 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(sync): gate every row-driven removal behind the ownership preflight\u201D; \u201Cfix(cli): report a deployment refusal\u0027s paths as data, not prose\u201D; \u201Cfix(sync): never delete a deployment target we cannot prove is ours (#363)\u201D; \u201Cfix(perf): address codex round-2 review of 736e760\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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/core/sync_engine.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/core/sync_engine.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d878c62fd42d2587eb054dd7f426827b42ba559a650aca07074235df504a9e97"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/projects.rs: src-tauri/src/commands/projects.rs changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is skills_manager::commands::projects::set_project_skill_enabled_state at line 326), 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(projects): let a unique content hash outrank another skill\u0027s directory\u201D; \u201Cfix(projects): count one logical skill once and stop guessing its library match (#267)\u201D; \u201Cfix(projects): judge the center\u0027s freshness by its files, not by a database column\u201D; \u201Cfix(sync): never delete a deployment target we cannot prove is ours (#363)\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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/commands/projects.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/projects.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a9b3a42603aee35d3b122a07f147ed8a77dd81738554b470d1f7ddd65059c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/tools.rs: src-tauri/src/commands/tools.rs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is skills_manager::commands::tools::set_all_tools_enabled at line 154), 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(sync): keep a deployment another tool shares when disabling or unchecking one\u201D; \u201Cfix(sync): gate every row-driven removal behind the ownership preflight\u201D; \u201Cfix(agents): let a path edit stick when a built-in shadows a custom agent of the same key (#378)\u201D; \u201Cfix(sync): never delete a deployment target we cannot prove is ours (#363)\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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/commands/tools.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/tools.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd997cc57520fceb2597221a49e35efe1006a2c98719d12f47a221adb3a76bf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/commands/sync.rs: src-tauri/src/commands/sync.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is skills_manager::commands::sync::unsync_skill_from_tool at line 120), 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(sync): keep a deployment another tool shares when disabling or unchecking one\u201D; \u201Cfix(sync): gate every row-driven removal behind the ownership preflight\u201D; \u201Cfix(sync): never delete a deployment target we cannot prove is ours (#363)\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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/commands/sync.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/sync.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6061608aa200997c6ae3b568f8bfc7e7153865057ec2755ec0d62605774b33a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src-tauri/src/core/content_hash.rs: src-tauri/src/core/content_hash.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is skills_manager::core::content_hash::fold_crlf at line 190), 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(hash): stop line endings alone from reading as an update\u201D; \u201Cfix(perf): move stranded-target backfill off setup, single-pass scan, watcher self-write mute (#248) (#285)\u201D; \u201Cfix(sync): honor sync_mode in project workspace and local-skill updates (#225, #202) (#276)\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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 02:59:45 \u002B10:00\u0027 --until=\u00272026-09-27 02:59:45 \u002B10:00\u0027 --full-history --no-merges -- src-tauri/src/core/content_hash.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/core/content_hash.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e521a57940b32f0723a3e598f001605fa13b1c0299e8f405dbfeaab01a607e"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate DTOs for GitHub connection state. Both types expose \u0060url\u0060, \u0060login\u0060, \u0060repo_created\u0060, and \u0060repo_private\u0060. \u0060GithubBackupConnectResult\u0060 adds \u0060remote_has_content\u0060 while \u0060GithubConnectInfo\u0060 adds \u0060repo_full_name\u0060. This suggests two different layers (commands vs core API) are returning nearly identical data structures without sharing a common type.: Extract a shared \u0060GithubConnectionInfo\u0060 type in the core module and use it in both the command result and the API response. Remove the duplication. (signatures: skills_manager.commands.git_backup.GithubBackupConnectResult | skills_manager.core.github_api.GithubConnectInfo)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e5f2e2bb3ace3e1646d722d81493dfa0f0994ef1e34c0f253141d8693475cacf"}},{"ruleId":"D22","level":"warning","message":{"text":"Nearly identical result types for distinct operations. \u0060UpdateSkillResult\u0060 and \u0060ReimportSkillResult\u0060 share \u0060skill\u0060, \u0060pending_removals\u0060, and \u0060removal_approval\u0060. The only difference is the type name, implying the operations are handled separately despite having identical output contracts. This forces callers to handle two different types for effectively the same outcome.: Unify into a single \u0060SkillModificationResult\u0060 (or similar) used by both update and reimport commands, or ensure the command layer returns a generic result that wraps the specific operation context if needed. (signatures: skills_manager.commands.skills.UpdateSkillResult | skills_manager.commands.skills.ReimportSkillResult)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2c40100bb04addece04da0c54f8729d3dbaef2e6fbb7a20ca61b9d56288dd8c3"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate scanning result structures. Both \u0060ScanResultDto\u0060 and \u0060ScanPlan\u0060 contain \u0060tools_scanned\u0060, \u0060skills_found\u0060, and a group/collection of discovered items (\u0060groups\u0060 vs \u0060discovered\u0060). \u0060ScanResultDto\u0060 is a DTO (likely for API/IPC) while \u0060ScanPlan\u0060 is an internal core type, but they represent the same semantic state of a scan operation.: If \u0060ScanPlan\u0060 is an internal representation, ensure it is not exposed as a public API surface if it duplicates the DTO. If both are public, consider if \u0060ScanPlan\u0060 is necessary or if the DTO should be derived from a single source of truth. (signatures: skills_manager.commands.scan.ScanResultDto | skills_manager.core.scanner.ScanPlan)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8d0f17a3afacb7dbaf3119ba67819497382a2042a1be8d9bcc9e239c8f8c4e55"}},{"ruleId":"D22","level":"warning","message":{"text":"Overlapping document types. \u0060SkillDocumentDto\u0060 and \u0060SourceSkillDocumentDto\u0060 both contain \u0060skill_id\u0060, \u0060filename\u0060, and \u0060content\u0060. \u0060SourceSkillDocumentDto\u0060 adds \u0060source_label\u0060 and \u0060revision\u0060. This suggests a hierarchy or distinction between \u0027current\u0027 and \u0027source\u0027 documents that is not clearly reflected in the naming or structure, potentially confusing consumers about which to use.: Clarify the distinction. If \u0060SourceSkillDocumentDto\u0060 is a superset, consider if \u0060SkillDocumentDto\u0060 can be a view or if they should be unified with an optional \u0060source_label\u0060 field. Ensure the naming clearly indicates \u0027current\u0027 vs \u0027source\u0027. (signatures: skills_manager.commands.skills.SkillDocumentDto | skills_manager.commands.skills.SourceSkillDocumentDto)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"61948bef404c62f8301a5a836e1f421b1dac6df2e1e96611dc18367f9ad2b91a"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent naming for audit record vs builder. \u0060AuditEntry\u0060 is the final record, while \u0060AuditDraft\u0060 is the builder. This is generally acceptable, but \u0060AuditEntry\u0060 properties like \u0060skill_id\u0060 are \u0060PathBuf\u0060 while \u0060AuditDraft\u0060 methods take \u0060impl Into\u003CString\u003E\u0060. The internal representation (\u0060PathBuf\u0060) vs input interface (\u0060String\u0060) mismatch is inconsistent with other parts of the API where \u0060String\u0060 is often used for IDs.: Standardize ID types. If IDs are paths, use \u0060PathBuf\u0060 consistently. If they are strings, use \u0060String\u0060. The mix of \u0060PathBuf\u0060 and \u0060String\u0060 for IDs across the API (e.g., \u0060ProjectDto.path\u0060 is String, \u0060AuditEntry.skill_id\u0060 is PathBuf) is a broader inconsistency. (signatures: skills_manager.core.audit_log.AuditEntry | skills_manager.core.audit_log.AuditDraft)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"266bdd5d6d2233103d41ccebc76b5fff70a77046edb0055ade95d25c9f88e6ab"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060src-tauri\u0060 (39153 LoC, 158 public types across 5 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49e9df15abb5f92add0830591936c7eef68c563b22208cadcbe80ba32728ab96"},"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"}}]},{"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":"d2bbf4db0c0e09606afc98b04e17df3bfe887cdfdd807d54822b0c9b8316e441"},"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"}}]},{"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":"0957cc7f47d1931c56662464cd3ce406765637560a7f96e94ab37853c0558962"},"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"}}]},{"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":"1a16047de4bda85a2a3405317d207d0f41cc9878c50a9de2ef33ab42e8d7bad2"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a31a0b5364830f542d37385755d27dd90f97746286a80cb6c17836bc6e14179"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE 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":"a2e781aeeb54d3ae845ae518d9f9b4fabc9ce4afb31ec2d5eceab2c30473e850"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","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":"5d7f0bb00074c33d6c50fbaea001b274270ebbaf12f378275e708fa63e4adfef"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70c526801a506b16b6337cf7bb99beea8a5ee258e856d691de805d8da9bc1ff7"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71861f8ddc5247a83bbc9caad9a0e15b35b60bcbf990aac17150a84e73cba9b7"},"properties":{"dependency":{"package":"react-router","version":"7.13.1","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]","[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":"a1e03b14734319d875bd0dac1f97ef300c97b23c9a470ff6af28213112e543c4"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"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":"384a0892f51a77ce6e1097a5154e203805ee2ad75d30693634ca5b796c0008c6"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32c58f49b522997c253890b2c7dd81a022a158f2dfd0b9480d12c019202c2dab"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e60e6727fd57947342e45494a3af4de9ac11ce94ab46fb620fe6ea9de0a9a27"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6938b174663ea9622818abd4e2c439d5ee9201adfe9f888506c6daf0e8ecae62"},"properties":{"dependency":{"package":"vite","version":"7.3.1","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":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":"2482c67acaa16e8d2ececd30a6b398ac640494fd6727529010870d9140cf8d59"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0049","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104"],"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":"c175a98fa00a946cd78c8d8875b0fe68a17c1bb8d3df0720efdd70e0220260e5"},"properties":{"dependency":{"package":"openssl","version":"0.10.75","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"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":"43427bab5dea8e4a9974d0d31081f6cee7984ed96dc960bd2c33af06bc12237b"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa571a47ecd9af55f36a3364edd0ddcf29c643ee1a3b19589e5f86cf9b2dd947"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0fe4e7aad31a24f1aa5fb78590da48acdb4e699a9171df7e7a27e49917547d7a"},"properties":{"dependency":{"package":"tauri","version":"2.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"0230707977ef3cb16171aaf84582740a8a2b166fe235f0c0ce7c3d3c8b5a010e"},"properties":{"dependency":{"package":"fxhash","version":"0.2.1","advisory":"RUSTSEC-2025-0057","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":"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":"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":"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":"16197112db4dc45c62a65a62001d3a66f0009191a13df58432b0ae1ee6d7687f"},"properties":{"dependency":{"package":"git2","version":"0.19.0","advisory":"RUSTSEC-2026-0008","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":"86852cc1ade41c3e89b1143e0bd2ac1aba3be4bb72e857ed6adb9bb4bec9af9b"},"properties":{"dependency":{"package":"rand","version":"0.7.3","advisory":"RUSTSEC-2026-0097","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":"b85dd00d15b23db4351ecb17ebce749fb6c323137675ee0deadec12e7b681748"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","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":"623021bbbf63f04517a27df47a34fb156d67c6cb0915cd74289d8790f3ce75e4"},"properties":{"dependency":{"package":"git2","version":"0.19.0","advisory":"RUSTSEC-2026-0183","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":"93ccf7f95510f223ef533e3398ded04dd8e42bbac23624a9d149dfcdc242612c"},"properties":{"dependency":{"package":"git2","version":"0.19.0","advisory":"RUSTSEC-2026-0184","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":"aa92114692fa14a8856610f437bb4e3185c169f30a6c12b83b2e7887a75fed16"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","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":"95d011b57d1e3acb9049abc1cb9c149ef21609277992fa8ac28493d28f2c6847"},"properties":{"dependency":{"package":"event-listener","version":"5.4.1","advisory":"RUSTSEC-2026-0221","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":"bc49677326840d5a66474ad6b84f78ba31d49dc5078cde4e429c5961ff23ae71"},"properties":{"dependency":{"package":"tar","version":"0.4.44","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0067","RUSTSEC-2026-0068"],"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":"bf6b7e6cc4cf06b690c81012c0091a404d1364827177d744b4684c007959ef5a"},"properties":{"dependency":{"package":"serde_with","version":"3.17.0","advisory":"[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":"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":"85a91e0644529255e374ba26e4924081c09bea1b84a1b4959bb5940e4923f8ff"},"properties":{"dependency":{"package":"quick-xml","version":"0.38.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"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":"4a3f362858e4031509853090f6c067c90a9fb98c152c35712d9e8bf431235f8f"},"properties":{"dependency":{"package":"quick-xml","version":"0.39.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"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":"09268fa64b4b651a07a938d4049303ea65f00f13fd20fbc3891fbbccf9a59fee"},"properties":{"dependency":{"package":"rkyv","version":"0.7.46","advisory":"RUSTSEC-2026-0235","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":"f517f532eee860192185b6ef21517080594282777732dc0adc79370bbd7575e7"},"properties":{"dependency":{"package":"h2","version":"0.4.13","advisory":"RUSTSEC-2026-0258","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":"cf06661008305752bba5e57d5f848334135a19486d482275609c827f861a52d0"},"properties":{"dependency":{"package":"rustls","version":"0.23.37","advisory":"RUSTSEC-2026-0285","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d7c8846e5c2786ac6f200262a5ae377f0a0f36f03fcc336f877638db9b57f15"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0df10a568bdcf287f44763f17825c609c8adb2ccf30c98e3ba046c939c654e02"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3681e0b0dced2dca00be692922bda4012adb5a0234c1d22c53a13969ab5dd823"},"properties":{"dependency":{"package":"esbuild","version":"0.27.3","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: Layout.tsx \u2194 MySkills.tsx: \u0060src/components/Layout.tsx\u0060 (context components) and \u0060src/views/MySkills.tsx\u0060 (context views) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00608b204c29\u0060 feat: add command palette and per-agent sync indicators; \u0060e9a71f48\u0060 refactor: extract SkillMarkdown component and improve tag UX; \u0060eda7bbd1\u0060 refactor: introduce shared app-page utility classes and standardize U\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d76fb8bddad2c70f32f5715755c16341b6ee42bb8c440fcdeb924b1d6932e8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: project_scanner.rs \u2194 tauri.ts: \u0060src-tauri/src/core/project_scanner.rs\u0060 and \u0060src/lib/tauri.ts\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00601d882f30\u0060 feat: surface agent local skills; \u0060e27ba2d3\u0060 feat: add bulk skill update actions; \u006064244aed\u0060 feat: add linked workspaces for external skill roots \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/project_scanner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2a1ca4d3521a6ec1743b8ef2d4e0f4794bf35f82e1f8a85218ad0a7cfd81af"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ProjectDetail.tsx \u2194 WorkspaceView.tsx: \u0060src/views/ProjectDetail.tsx\u0060 and \u0060src/views/WorkspaceView.tsx\u0060 change together 61% of the time (17 of the 28 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u0060a1d9e87c\u0060 fix(ui): integrate multi-select into the workspace toolbars; \u0060834644b4\u0060 fix(ui): align the toolbar control heights across library and workspaces; \u00608e84998a\u0060 feat(bulk): rework batch operations across the library and workspaces \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68760a5ab654b8acd74e4941a74d7981b4d82491c2aace6238f8ce5a8ba70202"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: project_scanner.rs \u2194 ProjectDetail.tsx: \u0060src-tauri/src/core/project_scanner.rs\u0060 and \u0060src/views/ProjectDetail.tsx\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060f364d352\u0060 fix: handle linked workspace skill duplicates safely (#67); \u006064244aed\u0060 feat: add linked workspaces for external skill roots; \u0060eb9502d4\u0060 feat: support nested project skills and refine skill markers \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/project_scanner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f71d346ff605570ace0ba0707c2f6f1820f10b237ee84dec3e30a900c155b47"}},{"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"}},{"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"}},{"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"}},{"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"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"}},{"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/AddProjectDialog.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab72d6b7689910a5ba04ecb61af2b2ea8ad10810c1451ad144c6dca4093aa99"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AddProjectDialog.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7921ad6ebbcce50c0632fa36df1be6437fd9d40fb24ccf81922002424ce3168"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AddProjectDialog.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ec12c79231555b41cd814ff5edbdfb923b0e101638e80ff773f3294cf4b4ba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AddProjectDialog.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"471d759e0324d09904e1cd0a4141e0d4cb0eccaa0b451dc6427ed1a67a376b58"}},{"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/AddSkillsSheet.tsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8037077ddb79c445f3ba09c3ed5bbaf21739fe78237d0dc7746a3c11622553"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AddSkillsSheet.tsx"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c87ec612c1cc8b3dfe873ef34a089274b78364978b49b0247dabfc3c5a493e"}},{"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/BatchSyncAgentDialog.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbeb7fca8489afa612559e9a75020ddc265efe1764a2a6ee49f1d99e85f123b5"}},{"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/BatchTagDialog.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f89b7711da772dc63f84f4bf4fc5edaa0771933558e1eaa805fea8a89b7625"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BatchTagDialog.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"375a2cd3bfe3f69d602d9a7508a2d0d10ee29f3cb0e44d04c3856bbf6669abf0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BatchTagDialog.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"143d05abf6ae036f47fcd51f2f89b810ce8ba5fbe81e16e119cbab930c8455b5"}},{"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/BatchTagDialog.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ac172393b916a2296c76342bfa45cdf2a830faaf737dc81c3949c4e3d1d6ad"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/BatchTagDialog.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7732ab1a6ad9763cc897a9ca741bcb039e262c006d45e659bc58b33c1d379616"}},{"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/CloseActionDialog.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5dfa87cf51377ca77383a3501ce82a0f55e6d4c25d20b12c0eac82bde59ec3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CommandPalette.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db12ab75c59285bc62f5dafbf724efdb0ca29342d3285507ac0a9d63a7ecc0c"}},{"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/ConfirmDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"299d0d441581b007996a1a70146bc6810c40c0836f8c9fb38e9521c703747497"}},{"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/CreatePresetDialog.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d25c3d27a3f95511646c9d810e7576e345584b2992515c9fde660a69ce1d63"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CreatePresetDialog.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae1d4dba339ac8ff0a018a3a39ae46dc74f3435e81884d10b88c029aced20a0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CreatePresetDialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9b3f3645e2ba3aa4b06862ff18eaff786b6dc70a2e8b1a09a2bb02dd64429a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CreatePresetDialog.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1744276ac4ab0711127212f95024662cc87e72db9a50d39ce75f04e40ec21537"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CreatePresetDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c48fd8ab8b6ce8e4269c3acef21fe22ccb7d32861a0547562ed0c6f970d615"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CreatePresetDialog.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf0495c80e17f6177b985d6e864ac2d9fb9c455c45250971e1d65df77c05fc8"}},{"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/DetailSheet.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8647bee1e3387c2843649826f8e657e6097ac3780abb71d1abf9e94598925dc5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FirstRunRestoreDialog.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44d2e1c5d3f275f05bf09201f04b75ea925ca8e18d90339369136f4f5f32317"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FirstRunRestoreDialog.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90ef88d49658d8f67c9e74688f476a5bee40f3ed7bbf44ccd5c8dc8b0d0af8d"}},{"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/GitRecoveryDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ed3ce4adb7dc64a58759441623c2f1a837f28dded797bc70bbdfc48a1dd80c"}},{"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/GitSetupDialog.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e0532427143df685786e4c938e5ed9461ac29291630bfd1e242ab280693825"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/HelpDialog.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ffd440329ea468718570cfc5fadc965600bd4438c520dc32fff045e3d3f2a4"}},{"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/HelpDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d189143d92bb0a458b0c117854feccbe0d689dbb2169272867b46db2e4754b"}},{"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/RenamePresetDialog.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c087676b51a0e27ae6af50a6c81447d9006199400f86df57df7d6f9cfa96239"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/RenamePresetDialog.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b11a3a9b761b47e8964d5418727f284ef889e660b84dab6eef4ff1f2628de9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/RenamePresetDialog.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"958620d2ce2d900df8cbec721b36ac264c1cf5880385143b4cc34abbb821d997"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/RenamePresetDialog.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f56c3514b1fd4d5a969b561c084f8646d51125296b16792823ce301f99fb0a2"}},{"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/TagRenameDialog.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"769d81303cb50df9a62381aeaefd2f544f725ebfebdeb8145ed63f8e4726e7ff"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/TagRenameDialog.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"74397053602b7ab66d366325df47afc1e9744159f7eb4ccf0e1ab4f26b463f12"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/TagRenameDialog.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"242dc18ac7e26c01432562b57f5bcd40475ac29dc8056ec805619e418b3050fe"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Backup.tsx"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa9e67bb4abb8cf1d7fabc393b9ff4f6299ed567688f660f275794aff0aa518"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Backup.tsx"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcecc1699946b9398990e89a7c26cbcd629dc7f161d0d7ce4f9f2bb484688fc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Backup.tsx"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0290f57f1f3e34fdbd35f0b40936cf0744c70fbf0211d051a76717bdab81f895"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/InstallSkills.tsx"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cf1d10c1eeba30c10f1ec6ffa3c05f2e7a24240fb7fee5e2bf8ab625ba87ab"}},{"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/views/InstallSkills.tsx"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"72224ba9167ab2a9b8184d7bacf6bd369017dd607c2e1c900aca1b611997b22c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022root\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"732c4587b5831e9d9da4b05f6bb12d9a8a817ddcc0ff07809f91bca0b3a52697"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Dashboard.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acbe832d73fc64f0f6da3d96312797d5543f0a7c7c82118b5413c1b97f79be7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h2 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Dashboard.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fddec0252aad42ccc6dad0865dadecc1b5645de9321bb208d11c0581993509"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/InstallSkills.tsx"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba4bd3b1540c3764b69ea24256f80d8508f5295d1e328d2c5e40d0557ab6e23"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1910bdac0aed5b6c51c62ccebc810e81c087a6b458af2cd2f63603f0b02229"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"559b601e959aab87c9846ccf7e3f19028c28625ce6e2f73344e3741b8abc64c2"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8cd288c2a5e857b96c4018fd9b08c382df3226e2ba3c670f74eeb98c3f8523"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/HelpDialog.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"586de89e9f4d0e91e88b9a5db09f7ac95555038c3a398bf6de573c48d4f5508b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillPickerRow.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf99d3fd7b14ca98b520e71e27230ee50a4db294cf5edb24beaa2e139775b9c2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec5d05abf6e74672802ed6fe6da6fc1616868685774c5641b9d9f9dd9cd2c22"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af9847633c5d07e98c2220f1a5a90b5291666cfa624c8e7d8959eb9a7dbc85e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa6de6f30aaaf936aa37108f1495949c7560ff353cd7e29830ca92f9bc70717"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"27438eeb5c246047b4e3a3c70c9edc6ee6135de9db198fb1d3b80bda3c8dfd2c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c15ddf0eb3e1b7c8d2a80995e1109488aed2b29e9ffada3c94176b14757a49"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"28076483fd94928881a2765775b31926ef52f3444dae027e7aef22068b20c00c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9a41c8426353a53d098345a4ca966360c017fba545a3a3cf5e4427e38b48eb"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 47 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add cargo-audit / cargo-deny (or clippy) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 29791 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (19 clone groups): 19 duplicated blocks under src/ have copies in at least two of the sibling directories components, context, hooks, views \u2014 13 of them are reported below, and 6 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 19 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 19 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 19 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/components/SkillDetailPanel.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2b588bbab0fd83e7e9c977d6c22f49b416054df5e238be6c79f27b6d3aa876"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (135 matched lines \u00D7 2 locations): src/components/ProjectAgentDots.tsx:8 \u00B7 src/components/SyncDots.tsx:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 797 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/components/ProjectAgentDots.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e2594a16b514744d23572f0c778f97cd17c79dc9a0a637ab2b6d2340881fa7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (77 matched lines \u00D7 2 locations): src/views/ProjectDetail.tsx:1285 \u00B7 src/views/ProjectDetail.tsx:1427 \u2014 the two spans are one implementation copied and then locally edited \u2014 404 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/views/ProjectDetail.tsx"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9780895dea2a4058d62250a183267fb4a32b545ad6d4cb99555eeeac73e6be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2 locations): src/views/ProjectDetail.tsx:1012 \u00B7 src/views/WorkspaceView.tsx:980 \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/views/ProjectDetail.tsx"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"36090d460f89c5200db259e888e185928f7f944f71134de08d649ac3e1456fd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): src/views/ProjectDetail.tsx:1695 \u00B7 src/views/WorkspaceView.tsx:1193 \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/views/ProjectDetail.tsx"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9f6890945dca45c681a9983f6cc59b3e1387eb50d2e2570c49bad7e427b0ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): src/views/MySkills.tsx:1469 \u00B7 src/views/MySkills.tsx:1809 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87e78f51cea70fb8b243a57d8578b4b3cb22841b7459f8e05f2e4d5c75fadde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): src/views/ProjectDetail.tsx:949 \u00B7 src/views/WorkspaceView.tsx:934 \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/views/ProjectDetail.tsx"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"032fdc832817502ac112854797b0da2d34361060e28fb4347b5e8259d1edc3bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): src/components/CreatePresetDialog.tsx:69 \u00B7 src/components/RenamePresetDialog.tsx:72 \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/components/CreatePresetDialog.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ec5c340c85868b0e89e003a6adf7420f08ead563fe2e6242d0343264d16b80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3 locations): src/views/MySkills.tsx:1191 \u00B7 src/views/ProjectDetail.tsx:954 \u00B7 src/views/WorkspaceView.tsx:939 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4f287d2501fc10658ec58c6127b534bc8b7a5982c59505a30f8888813d4205"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): src/components/SkillDetailPanel.tsx:234 \u00B7 src/views/ProjectDetail.tsx:1654 \u2014 the two spans are one implementation copied and then locally edited \u2014 156 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/components/SkillDetailPanel.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efc9a767dff6086aa91396f18dc70a4de8662ac7dd7a48031b151918a6d9a4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/components/CreatePresetDialog.tsx:31 \u00B7 src/components/RenamePresetDialog.tsx:44 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CreatePresetDialog.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e765009120e3764c92c6952a5f38ba63e5d07f984d05437b7031e561b5c5bb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/views/MySkills.tsx:683 \u00B7 src/views/MySkills.tsx:726 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/views/MySkills.tsx"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d6d0b393316369728aed4bab96a4de1948610de0954dc54c5cd83ed7e11221"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/views/MySkills.tsx:1121 \u00B7 src/views/ProjectDetail.tsx:918 \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/views/MySkills.tsx"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e362b1967dbfe36a1980edd05cd57d15e34776fd8f0df40f2bf3691d386f199"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/views/ProjectDetail.tsx:65 \u00B7 src/views/WorkspaceView.tsx:212 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6401168abd42ec07dca17312dd7b302e9540b0d98c347996eeef286295aea1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/views/MySkills.tsx:1429 \u00B7 src/views/MySkills.tsx:1688 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"67776f6de3db2ad9590100fa243817b64cd88e79a1fbcc96a79932ef07ea8143"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/components/Sidebar.tsx:421 \u00B7 src/components/Sidebar.tsx:579 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Sidebar.tsx"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbce606df1f34d87df383212aa0c44d9cab3614fd6f8a79c6fb326f3f952535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/components/Sidebar.tsx:481 \u00B7 src/components/Sidebar.tsx:648 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Sidebar.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"444333bad6b8e6cac60330157a272a2350f08a718257ddebb91d4550d20bfac9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/components/Sidebar.tsx:513 \u00B7 src/components/Sidebar.tsx:677 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/Sidebar.tsx"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ba81e155fa59db45ef3a11805e032ba64265b7ad0d82938ea79003fa2ca05d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/views/ProjectDetail.tsx:1230 \u00B7 src/views/ProjectDetail.tsx:1381 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff486b128503e9737f2c5e54e713804628fd81909c13d23affc1350e5a3ab6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/PresetBar.tsx:61 \u00B7 src/components/PresetBar.tsx:94 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/PresetBar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"806b8bf0e772e24756538e15758cdc62139c6077541f1f63aa9ddf42a6f06cac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/views/Settings.tsx:1569 \u00B7 src/views/Settings.tsx:1597 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/views/Settings.tsx"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"2092d86a9ce935a144289e4621c9c6bc125e9c6087c50593e5b0667f5cc5fdd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/components/AddProjectDialog.tsx:109 \u00B7 src/components/TagRenameDialog.tsx:29 \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/AddProjectDialog.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c806047ae56287699123bf59a3e4831285ebd7e89c7e46dd7df000da02b5de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/views/Settings.tsx:960 \u00B7 src/views/Settings.tsx:1026 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Settings.tsx"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"4365c1cff7b4b616589d65ead8c18ec7e14f77cd5ebf1b2912a667bdaed63299"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/views/Settings.tsx:1677 \u00B7 src/views/Settings.tsx:1699 \u2014 both copies are in the same file, so extract the block 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/views/Settings.tsx"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fa6330dc6c0f51f27c8ff788abe4ffb79fa43972741c357d1514cc9c9b8570"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/views/MySkills.tsx:599 \u00B7 src/views/ProjectDetail.tsx:845 \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/views/MySkills.tsx"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c514553e0d3268aa51740a3658a321c79f548ec6eb2fbbdb1604ec40eedd190"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): src/views/MySkills.tsx:1251 \u00B7 src/views/ProjectDetail.tsx:1042 \u00B7 src/views/WorkspaceView.tsx:1010 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde49f4e9788603c1a2f54da2415ca4fabd1e44f1893450f3f21374e0257e482"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/views/ProjectDetail.tsx:1263 \u00B7 src/views/ProjectDetail.tsx:1405 \u2014 both copies are in the same file, so extract the block 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/views/ProjectDetail.tsx"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bb3c7090aaa2ddad214729a4620f538ad1f736e5850e1f310fb27c00dc5319"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/views/WorkspaceView.tsx:113 \u00B7 src/views/WorkspaceView.tsx:182 \u2014 both copies are in the same file, so extract the block 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/views/WorkspaceView.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7260978d99089826b0de18d6085cccf73675d1411f57913a712356de7d1634f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/SkillDetailPanel.tsx:125 \u00B7 src/components/SkillDetailPanel.tsx:151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPanel.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcaa04ac95c0430bbf70f5b06ebc77c0b698e3dc6a05f5bf537692ef19f1c16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/views/Settings.tsx:940 \u00B7 src/views/Settings.tsx:998 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Settings.tsx"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b5cfae9fd55ded3d06f454eb099a7b7f10c177d37374943f759ef67e8e9447"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/views/Settings.tsx:1527 \u00B7 src/views/Settings.tsx:1641 \u2014 both copies are in the same file, so extract the block 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/views/Settings.tsx"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a58ab05a7eb07d51b505c8de08d576abe7ab83b77611d2df45d721935adf834"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): src/components/AddSkillsSheet.tsx:213 \u00B7 src/components/AddSkillsSheet.tsx:254 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 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/AddSkillsSheet.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b758b47614b09775d9280fbb78811dde1ba2aa252ae529401e9c42b70f47a5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/views/ProjectDetail.tsx:914 \u00B7 src/views/WorkspaceView.tsx:912 \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/views/ProjectDetail.tsx"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7f30d114e9c0fd1394d1e81be3c2e781a1511f889f8bbc54d2f23924aaac88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/views/WorkspaceView.tsx:628 \u00B7 src/views/WorkspaceView.tsx:647 \u2014 both copies are in the same file, so extract the block 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/views/WorkspaceView.tsx"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47205d39b44e86f57faa03471bd9550ac493071e306fc50b24b18cbb807bb0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/Sidebar.tsx:112 \u00B7 src/components/Sidebar.tsx:131 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Sidebar.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a97f6d4622f197635e075c4a7bef4a9167bcbe11d529edae9e183f427a3b0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/components/Sidebar.tsx:344 \u00B7 src/components/Sidebar.tsx:490 \u00B7 src/components/Sidebar.tsx:657 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Sidebar.tsx"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfd1037125b20847c33b3150e871f9bfa36c37fd7967253b0afc8c888663ae5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/views/ProjectDetail.tsx:433 \u00B7 src/views/WorkspaceView.tsx:420 \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/views/ProjectDetail.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d1b2ee8952a2beaf0c73787c20a9d9d02659b4d31f998d0de6e75b9aa8166b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/views/ProjectDetail.tsx:692 \u00B7 src/views/ProjectDetail.tsx:816 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4eb17dae7c92f6a2dac7e353a68ff7fa98d65a81db8d649fe6d564a5f2ce94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/views/WorkspaceView.tsx:548 \u00B7 src/views/WorkspaceView.tsx:572 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. 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/views/WorkspaceView.tsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2d00a85ebb8d958b857757589be4cca117e0debd973787ec91d69ebbd329d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/BatchTagDialog.tsx:231 \u00B7 src/components/GitSetupDialog.tsx:88 \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/components/BatchTagDialog.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a60ffd6b2518ec284dcdde05808c0ba754ca6db0dd8b60cd9dad7d627adbdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Backup (cyclomatic 55, cognitive 51): Backup has cyclomatic complexity 55 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/views/Backup.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5b6bd0fa58f0f3952d1ede35334e663ffa03411ab24fd0c046e7aba2f5e971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 57): (anonymous) has cyclomatic complexity 51 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ac36e63d216eb59452520704c793c6f5a3cb0725109c415ce9dc52824ff0d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceView (cyclomatic 50, cognitive 48): WorkspaceView has cyclomatic complexity 50 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse 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/views/WorkspaceView.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8efe781bd8bddee0c3be128b4210071be7ac6f20b93f48da6299c46ea59b69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InstallSkills (cyclomatic 44, cognitive 41): InstallSkills has cyclomatic complexity 44 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/InstallSkills.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"520040d276d20a4457d81b30e45669bae97f63f8ce7f31759f00e3530e882c73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Settings (cyclomatic 42, cognitive 39): Settings has cyclomatic complexity 42 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Settings.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"437a9c1301612d7819605107346986248c28c0d1a6e3f73fd4d79e1133629a1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDetailPanelContent (cyclomatic 39, cognitive 32): SkillDetailPanelContent has cyclomatic complexity 39 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillDetailPanel.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6d12eddf89add98a09ac82fee2e380e1edebbd62d2cc4578c160b81debcc91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectDetail (cyclomatic 36, cognitive 32): ProjectDetail has cyclomatic complexity 36 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/ProjectDetail.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ecd8def84dcb0308434f7b36962862e357f9b7a260c60e53990b6028c452a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MySkills (cyclomatic 35, cognitive 31): MySkills has cyclomatic complexity 35 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aead54a377bc49ee10d28aadd8d204617e51506883c0c3c1ad621439ef47ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 27): (anonymous) has cyclomatic complexity 30 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3334abdf90710546d28d8d36928e597b2ae715b9d3f21bdc793cb3673b45de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 23): (anonymous) has cyclomatic complexity 26 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/MySkills.tsx"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9ea6805842df36253f274250eb0477997dfe853fcd892b361a554eaa908991"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderAgentCard (cyclomatic 25, cognitive 20): renderAgentCard has cyclomatic complexity 25 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/views/Settings.tsx"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dec086a0c5df2b5cf587a7343eaff75143e5654e16303d6d7d3c5e1877ab41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AddSkillsSheetBody (cyclomatic 23, cognitive 19): AddSkillsSheetBody has cyclomatic complexity 23 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/components/AddSkillsSheet.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b65e3711ebec51c5c3d8e0c3fecd5b6f5a95870a4784bfec883ecabf595954"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleBackupNow (cyclomatic 22, cognitive 27): handleBackupNow has cyclomatic complexity 22 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Backup.tsx"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4ff610b7bb0cceb2dbec76cff26e7bdc89eef63863c33e265857be712d0c7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillPickerRow (cyclomatic 22, cognitive 19): SkillPickerRow has cyclomatic complexity 22 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/SkillPickerRow.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bcae62088b5bc05677b39745819f018d50a38edb25a7d3160b9146c4183cbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapGitErrorMessage (cyclomatic 22, cognitive 16): mapGitErrorMessage has cyclomatic complexity 22 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/gitErrors.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea01468c067243bfbde6598d4fe65a17752d2621b6e5aa5cf7f4a0fddcfb5a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 21): (anonymous) has cyclomatic complexity 21 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Backup.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b24c62eec05d040f60587386bdbd812ed68173633a616aa9141777f19516ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleInstall (cyclomatic 18, cognitive 31): handleInstall has cyclomatic complexity 18 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AddSkillsSheet.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"0457dee226d5f2f67cfda2b6f7fc2da5981811b429b39be3e3c94b10ea0780df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceSkillCard (cyclomatic 18, cognitive 15): WorkspaceSkillCard has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd374affc4026f754982f2ffabb2637f65e32fbc84d0ddb326636e7de990988"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleReportIssue (cyclomatic 17, cognitive 23): handleReportIssue has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/Settings.tsx"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32fc16ae1fc8e5d2d7339b8bf7dfe12fb8e6ad77d09511b99f87b0e90427388"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderLocalSkillActions (cyclomatic 16, cognitive 14): renderLocalSkillActions has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/views/WorkspaceView.tsx"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c01854de02ab5d498c8ab5ec20829ed7ba9adab97707043e21936e8cfa5013"}},{"ruleId":"R3","level":"warning","message":{"text":"Large Files: 10 file(s) over 400 lines (counted as significant lines \u2014 blank lines excluded \u2014 over production source only, tests excluded), largest first: src/views/MySkills.tsx (1884), src/views/Settings.tsx (1806), src/views/ProjectDetail.tsx (1663), src/views/InstallSkills.tsx (1535), src/views/Backup.tsx (1313), src/views/WorkspaceView.tsx (1239) (\u002B4 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cecee31b569df4f07e06db732f1ca037af27b5afef9023da51f9673d931a142f"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 63 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 (~40 LoC): no import path from any entry point (3 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/components/InstallToast.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac68f744128a217c6f2d081013d9293d50fcf3c2a8ff7daf06cd6ebe990b394"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getToolOrder\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5d2f8b58c64dcf2f013552b6c03fb4c0becfb6c57fffa1eb347b3dd56a1aa4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getSkillsForPreset\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ea2c808a57fab53dc85b7c1b08e58aabbb45b47156bc9f72dec2e797d5175a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027gitBackupCommit\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd937c673dfd2fdd9ea2266c12cca9ca14d3f69a0083d2b37a9c7d2d5dbee7b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027gitBackupPush\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a368015b3b1d21f8bb1ab396ae961cba87b4543afc1ca40261e53bb19bd22dc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027gitBackupPull\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa867e0480cadc966c78bb81000f821360539eb5fd1f3864b3cf7beb4ee96083"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027gitBackupCreateSnapshot\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"e579d27fd4a0e8eae44bf067649c881fe5dbac3de3ee1d596ed7ec99288b0edd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027switchPreset\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d66bb02ee9a8541e37168272ef32dac3ac9ad6597844a7708290fcdbb1220b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027importProjectSkillToCenter\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib/tauri.ts"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"50305c2ce17b6d506c32da644cdf54d57558fa6ce3e6191bafa51a012f6e0cb5"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@tauri-apps/plugin-shell\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":"90f8ee99b754d9c2cafe1d1112f44c2d413bb99f13601cd251b7573da553a3da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.contains(\u0022non-fast-forward\u0022) || msg.contains(\u0022fetch first\u0022) || msg.contains(\u0022[rejected]\u0022) || msg.contains(\u0022failed to push some refs\u0022)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/commands/git_backup.rs, src-tauri/src/core/auto_backup.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/commands/git_backup.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d298c9627fcd3338533a1cca5dd3d2321d1b8386860e3c74a9f0f0524aadfeb3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.skill_id == \u0022first\u0022 \u0026\u0026 target.target_path.ends_with(\u0022skill123\u0022)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/commands/presets.rs, src-tauri/src/commands/tools.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/commands/presets.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"e154d95fc6a2fb7e753e9c686becd501397405d574a31405bb34f016cf6b6a4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.skill_id == \u0022second\u0022 \u0026\u0026 target.target_path.ends_with(\u0022skill123-2\u0022)\u0060 appears character-identically in 2 files \u2014 src-tauri/src/commands/presets.rs, src-tauri/src/commands/tools.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/commands/presets.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"4153567a2e15110567068656b85558bed9047cf04d2f56e6c898834ee95be2e8"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Rust code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/skillssh_api.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e41923853f15dd07e73e64d4987b19ee47eb10707a2d0774cb7206474784cd9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060current_branch\u0060 turns every \u0060Err\u0060 into \u0060\u0022main\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git_backup.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"2243e243590f12202d20d6c9ad936fc718eb9a19c35c9544bfdfcc6f8ac24c76"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060msg.contains(\u0022non-fast-forward\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060msg.contains(\u0022non-fast-forward\u0022)\u0060 also satisfies \u0060msg.contains(\u0022fast-forward\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src-tauri/src/core/git2_engine.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"851b4097b6219fd45f6c9ea6ae776e35e591539aa1d2e7d23cd625df2905f949"}}],"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":"CWE-353","shortDescription":{"text":"CWE-353"},"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":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":50,"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."]}]}