{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"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":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","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"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::main (cyclomatic 168): ecc_tui::main has cyclomatic complexity 168 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b978bd7c20bdf58e952e2189a17834c24ade6d9b7ef17f7ba78bf2c2587d9509"}},{"ruleId":"D1","level":"warning","message":{"text":"app::run (cyclomatic 79): app::run has cyclomatic complexity 79 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/app.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68a0a82afdf6ddc6825c95e390c0b8154389a18221d05d00957ffef3e945fef"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::selected_session_metrics_text (cyclomatic 54): Dashboard::selected_session_metrics_text has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6094}}}],"partialFingerprints":{"codehealthFindingId/v1":"346cade6f4388357d2ba52279af35a2f80de5ea70c765f376f4b1fb6295b9764"}},{"ruleId":"D1","level":"warning","message":{"text":"StateStore::ensure_session_columns (cyclomatic 41): StateStore::ensure_session_columns has cyclomatic complexity 41 (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":"ecc2/src/session/store.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3ffbed5ca9a2721568c569d5ef1b8b24261cadf9bce68a0e8f7be9e1c2bfc6"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::board_text (cyclomatic 29): Dashboard::board_text 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6535}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cf9f7a0b39a92ee4a3aafeee6cbab320418e72d6cde460d82a88c990521828"}},{"ruleId":"D1","level":"warning","message":{"text":"doUninstall (cyclomatic 27): doUninstall has cyclomatic complexity 27 (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":".codebuddy/uninstall.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b0ae3113e8832fcbb0106259eb224776eb760b5c1e3f46732d151ac7a8db8a"}},{"ruleId":"D1","level":"warning","message":{"text":"main (cyclomatic 25): main has cyclomatic complexity 25 (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":"skills/ck/hooks/session-start.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5375f26eeadedf44560d18bd2a06efdf718bb38a5084508fde86f5c9d775b0f"}},{"ruleId":"D1","level":"warning","message":{"text":"doInstall (cyclomatic 24): doInstall 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":".codebuddy/install.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"631f8733c8109ededf6a80c93c62aecbd0f7c01300176981552629dd40d29ee8"}},{"ruleId":"D1","level":"warning","message":{"text":"manager::build_agent_command (cyclomatic 22): manager::build_agent_command has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":3071}}}],"partialFingerprints":{"codehealthFindingId/v1":"a812e10dfa6e6b07c588ab9c6cbc4430136cf1f390806b02ac59503d4bf8bf99"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::build_legacy_migration_plan_report (cyclomatic 22): ecc_tui::build_legacy_migration_plan_report has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":7270}}}],"partialFingerprints":{"codehealthFindingId/v1":"de75ab275734f13deee80f5415635646618c83443bef1c8e45bb16d83bafbf1c"}},{"ruleId":"D1","level":"warning","message":{"text":"manager::build_configured_harness_command (cyclomatic 21): manager::build_configured_harness_command has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":3190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d944ade5239d99990a2780d0bffe276f8c5b3b41d841e508be9c976059accd2f"}},{"ruleId":"D1","level":"warning","message":{"text":"ecc_tui::build_legacy_remote_add_command (cyclomatic 20): ecc_tui::build_legacy_remote_add_command has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":7026}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f31d86c6e437630cb7944920e76eb151296bebf5d11b57f26f9e67fa40870b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::render_output (cyclomatic 18): Dashboard::render_output 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ea7ef6f4c7fce5cd05557c9852ccf508976d3b72a73984680f501356e820a4"}},{"ruleId":"D1","level":"warning","message":{"text":"manager::render_task_with_profile_projection (cyclomatic 18): manager::render_task_with_profile_projection 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":"ecc2/src/session/manager.rs"},"region":{"startLine":3468}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d40d0ab271d623f3d904734309c420717ecb98bb89c652c6e26fd27bc67a97"}},{"ruleId":"D1","level":"warning","message":{"text":"StateStore::evaluate_promote_and_health_check (cyclomatic 17): StateStore::evaluate_promote_and_health_check has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":5452}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5fcf227c472c21aa918bed84b3ed62596b48dc8acc2c51ea1bed86f66ff8a5"}},{"ruleId":"D1","level":"warning","message":{"text":"manager::enforce_conflict_resolution (cyclomatic 17): manager::enforce_conflict_resolution 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":"ecc2/src/session/manager.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec3ea51288c114318b8e5b18256cbbfe50b89925f89f8b530738916791898be"}},{"ruleId":"D1","level":"warning","message":{"text":"renderContextMd (cyclomatic 17): renderContextMd 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":"skills/ck/commands/shared.mjs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2140af5b481024d9efa6ebb5ffc9ddd72ca32466c363ab5253267bee5eb642f7"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::sync_session_state_notifications (cyclomatic 16): Dashboard::sync_session_state_notifications 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6204135322d536a73801c5ff88345d2f2cc5dc9ebf0955d4434d73c1c556d57"}},{"ruleId":"D1","level":"warning","message":{"text":"Dashboard::metrics_line_count_before_delegates (cyclomatic 16): Dashboard::metrics_line_count_before_delegates has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":5974}}}],"partialFingerprints":{"codehealthFindingId/v1":"8427b399b21f79f7da0131afc1345b2f7844cd6e11841ad0b39120a8719154f0"}},{"ruleId":"D1","level":"warning","message":{"text":"worktree::base_checkout_path (cyclomatic 16): worktree::base_checkout_path 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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a50b4c8339cff30b3a600b6cd2742d1549eb964641c32581c6200dab54f6b1f"}},{"ruleId":"D1","level":"warning","message":{"text":"renderBriefingBox (cyclomatic 16): renderBriefingBox has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/ck/commands/shared.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d8847e49c8a1bc8a72fc6f41c781775b2352388a2a7331118d3fc024fd220a"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::main (cognitive 336): ecc_tui::main has cognitive complexity 336 (threshold 15). Drivers by points: if/else 282, loops 36, match/switch 13, boolean chains 5 (nesting depth added 165). 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":"ecc2/src/main.rs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd683edd262ac59ce61503ad49c2bc3a8ac374a70764ac421e5037a7e9e52462"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::selected_session_metrics_text (cognitive 136): Dashboard::selected_session_metrics_text has cognitive complexity 136 (threshold 15). Drivers by points: if/else 90, loops 45, boolean chains 1 (nesting depth added 79). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6094}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f475c29e5deecad177d4565e9d725242661204ea2f3db4860cf4acd2a305f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::board_text (cognitive 67): Dashboard::board_text has cognitive complexity 67 (threshold 15). Drivers by points: if/else 56, loops 11 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b374d495df4ed1205655a1389cfc29456820edee34b315cac8356e33fb7b4d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"doInstall (cognitive 50): doInstall has cognitive complexity 50 (threshold 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":".codebuddy/install.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9660cfac74ad9294d12bcbb10e9a2b8415d5cfebb3a582c8524160986dd13361"}},{"ruleId":"D2","level":"warning","message":{"text":"manager::enforce_conflict_resolution (cognitive 44): manager::enforce_conflict_resolution has cognitive complexity 44 (threshold 15). Drivers by points: if/else 37, loops 6, boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3298975083b5a252e118f0cfca15c99b592bbc74690adb4057c46560c0a6eb"}},{"ruleId":"D2","level":"warning","message":{"text":"doUninstall (cognitive 42): doUninstall has cognitive complexity 42 (threshold 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":".codebuddy/uninstall.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9b8c5702c9557a1716038d22644afc21838087285117064bf72c928c74b465"}},{"ruleId":"D2","level":"warning","message":{"text":"StateStore::ensure_session_columns (cognitive 40): StateStore::ensure_session_columns has cognitive complexity 40 (threshold 15). Drivers by points: if/else 40. 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":"ecc2/src/session/store.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"953222bdda64542d299e527d9d4469820a88a47b6bae8d6726b06cec5d5e959e"}},{"ruleId":"D2","level":"warning","message":{"text":"manager::build_agent_command (cognitive 40): manager::build_agent_command has cognitive complexity 40 (threshold 15). Drivers by points: if/else 33, loops 6, match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":3071}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b11a47b7ccac3f1c2212caee27c400e839ba99d271828879b98fecaaa93e5e0"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 39): main has cognitive complexity 39 (threshold 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":"skills/ck/hooks/session-start.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a1da148214d153abe36daa32e31897b22d6be48ce4019f89b2fe4f38fa0952"}},{"ruleId":"D2","level":"warning","message":{"text":"app::run (cognitive 38): app::run has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22, match/switch 14, boolean chains 1, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/app.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f8eceeb01943241ad60017d60d889ec7970f50bba200eefb2841c0a18ce4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"manager::build_configured_harness_command (cognitive 36): manager::build_configured_harness_command has cognitive complexity 36 (threshold 15). Drivers by points: if/else 31, loops 5 (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":"ecc2/src/session/manager.rs"},"region":{"startLine":3190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66c95a90ac56502d41852defdf8b67138ffaa2d8c9f814ca9971e94f66e645b"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::render_output (cognitive 32): Dashboard::render_output has cognitive complexity 32 (threshold 15). Drivers by points: if/else 29, match/switch 2, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"2635f9d1b3c0e8ceaeb054e87f5cdba5d0d85f6b6cab38e1b8fc8930dedb6a54"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree::base_checkout_path (cognitive 27): worktree::base_checkout_path has cognitive complexity 27 (threshold 15). Drivers by points: if/else 22, boolean chains 4, 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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385f79dd23987cc5f693e9dfad91321a02157f1fc2a105b3ab2e534ae650760"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::submit_spawn_prompt (cognitive 26): Dashboard::submit_spawn_prompt has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17, match/switch 7, loops 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b19e9a2e2ade6ac53cee51bc9c578a3b2b57ff84dca669e3d81a000e7b3f423"}},{"ruleId":"D2","level":"warning","message":{"text":"manager::rebalance_team_backlog (cognitive 26): manager::rebalance_team_backlog has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19, boolean chains 4, loops 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e9cda2f617966d6f2952071300974e915da217caf4f6a46dea2d477906e710"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::build_legacy_migration_plan_report (cognitive 25): ecc_tui::build_legacy_migration_plan_report has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, boolean chains 3, match/switch 3, 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":"ecc2/src/main.rs"},"region":{"startLine":7270}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cfa1600afc351218fcfbd603d601539b6f97b72078da599dae8f9c95549264"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::sync_session_state_notifications (cognitive 24): Dashboard::sync_session_state_notifications has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, loops 7, match/switch 4 (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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0292eb2eecbd2b772f9019689b43be5fc85193d953359eeecebaa9522b4707f"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::build_legacy_remote_add_command (cognitive 24): ecc_tui::build_legacy_remote_add_command has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20, match/switch 4 (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":"ecc2/src/main.rs"},"region":{"startLine":7026}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc8643dccffce50d92af164fa360a81ce320386e78feef740a1d4f4c21bee46"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboard::summarize_completion_decisions (cognitive 24): dashboard::summarize_completion_decisions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, loops 4, boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8857}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e27bc443459ee20ca1d660195a7e32f622c115193b789d5f871752272792499"}},{"ruleId":"D2","level":"warning","message":{"text":"StateStore::sync_tool_activity_metrics (cognitive 23): StateStore::sync_tool_activity_metrics has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, loops 6, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e8b02845234761d6fa19dad82464269edf63ec13564a8c38e7ca5d9b316ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::parse_markdown_memory_sections (cognitive 23): ecc_tui::parse_markdown_memory_sections has cognitive complexity 23 (threshold 15). Drivers by points: if/else 22, 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":"ecc2/src/main.rs"},"region":{"startLine":3695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8b8d141e9d7733e7f99e12d2c6eadf4698c5bee711c161ee07149520444cd2"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::format_merge_queue_human (cognitive 23): ecc_tui::format_merge_queue_human has cognitive complexity 23 (threshold 15). Drivers by points: loops 16, if/else 7 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":8215}}}],"partialFingerprints":{"codehealthFindingId/v1":"db21fd30bab3df0d31ce4b1b29ab1335ad1cd2ca838c6da83d77fd027abc698f"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::output_title (cognitive 22): Dashboard::output_title has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9cc06ef49b4be948a615beeb60a1afd064f2e4521ab202ded7554dd39940dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::import_legacy_remote_dispatch (cognitive 22): ecc_tui::import_legacy_remote_dispatch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, match/switch 9, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":7111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f679cdd0c5fd9f23ff73e9bc075ca07940f4e6dc884ea86bf8a24cace6dca2fe"}},{"ruleId":"D2","level":"warning","message":{"text":"manager::process_merge_queue (cognitive 21): manager::process_merge_queue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, match/switch 6, loops 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1866}}}],"partialFingerprints":{"codehealthFindingId/v1":"a499591ab43066380e1968ca0ba5fe5f892609aad6365eed5910d6dc5c6f0232"}},{"ruleId":"D2","level":"warning","message":{"text":"manager::render_task_with_profile_projection (cognitive 21): manager::render_task_with_profile_projection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":3468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0012d4e3437b60ac827c25ca22e7f85bd764cc5be540fd9071148cd12de8100"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::session_graph_recall_lines (cognitive 20): Dashboard::session_graph_recall_lines has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":5409}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e76a8f4335441dc2530f24fb58068b0d07d76f6eed9c51df303f49e2519500"}},{"ruleId":"D2","level":"warning","message":{"text":"store::derive_board_conflict_signals (cognitive 20): store::derive_board_conflict_signals has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, loops 10 (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":"ecc2/src/session/store.rs"},"region":{"startLine":4748}}}],"partialFingerprints":{"codehealthFindingId/v1":"2902caa30d7638ddfb936515bdec28eb6917220200721c82e9be34599ff1a1cb"}},{"ruleId":"D2","level":"warning","message":{"text":"renderContextMd (cognitive 20): renderContextMd has cognitive complexity 20 (threshold 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":"skills/ck/commands/shared.mjs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"671dac8162acd1714235159b921e8ece0755fe2783f0c787e2e1cff0bbe22020"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::sync_selected_lineage (cognitive 18): Dashboard::sync_selected_lineage has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 13, if/else 3, loops 2 (nesting depth added 10). 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4912}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a80362d36395da7760d85088f4acf8805d06c10f866ecd7f827750be12ab371"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::metrics_line_count_before_delegates (cognitive 17): Dashboard::metrics_line_count_before_delegates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":5974}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ddc252852d777505e56b4b67a2ee936b42888d89f99d65abdc93e46c9d835e"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::parse_dotenv_memory_entries (cognitive 17): ecc_tui::parse_dotenv_memory_entries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 3, 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":"ecc2/src/main.rs"},"region":{"startLine":3629}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ad25152c1ac6b917267ea9a58f189200316c4e07d213b6e302093615113ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::import_legacy_schedules (cognitive 17): ecc_tui::import_legacy_schedules has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, match/switch 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":6009}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37cff6f99fef5133b2905b7bf5c3d259f6143031612278414fe35b03f98e71f"}},{"ruleId":"D2","level":"warning","message":{"text":"worktree::detect_shared_dependency_strategies (cognitive 17): worktree::detect_shared_dependency_strategies has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac531a3b9ea6b1e485a0f015c2b1ce68e5b0e8fac96aa5495ded13f580bc3d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::render_status_bar (cognitive 16): Dashboard::render_status_bar has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73e6b5b05ea25cd0ac11b24174cdd7eaec45a9d531863e8934b517b5657419e"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::sync_runtime_metrics (cognitive 16): Dashboard::sync_runtime_metrics has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, match/switch 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":4012}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32167e87b7df026e2976f0a7132a83d98cfb51ced4efb007c1cf44df40f18c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Dashboard::board_overlap_risks (cognitive 16): Dashboard::board_overlap_risks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, loops 6 (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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":6746}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9ec50e1c2f8b1f81f84ddfb09e76344a318f34944d2e4a07ec112e9fa75f70"}},{"ruleId":"D2","level":"warning","message":{"text":"manager::build_merge_queue (cognitive 16): manager::build_merge_queue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"383fbdb763af1411048361352f8725d05f8ae35ecd23c213c6fc67117d34821f"}},{"ruleId":"D2","level":"warning","message":{"text":"ecc_tui::handle_remote_dispatch_connection (cognitive 16): ecc_tui::handle_remote_dispatch_connection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, match/switch 8 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":4010}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f47f9f0105ad2044e1cb568ceb6568e37613480af872ff79eaae282b75ed30a"}},{"ruleId":"D2","level":"warning","message":{"text":"dashboard::build_worktree_diff_columns (cognitive 16): dashboard::build_worktree_diff_columns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":8147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e817002a3c296e858a286adfd009b7f7efea80172977caefab12d51893995a30"}},{"ruleId":"D2","level":"warning","message":{"text":"renderBriefingBox (cognitive 16): renderBriefingBox has cognitive complexity 16 (threshold 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":"skills/ck/commands/shared.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec5832e59acae60e001f2fe61cf0b3faededc1db09ba75d3c24279296f2eee9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/dashboard.rs: FileTooLong \u2014 6758 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). 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be8657ee32b2acb971badc9bdeaa5a822aec1df1e422824f29a41c58f4de493"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 6415 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). 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":"ecc2/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ea71f0c4be7be6acf57885f8277812ee72b2d818f508420fc7fcb723cfe3d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/store.rs: FileTooLong \u2014 4409 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). 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":"ecc2/src/session/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7adbd5ff9f74ae1452128115d341541ffab0326e135969444e37413882924c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Dashboard: TooManyMethods \u2014 215 methods. 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"950c47a078efe635723237dc129cf46cfb704a24e3c1a59888ebbe79cbff21b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/manager.rs: FileTooLong \u2014 3174 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). 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":"ecc2/src/session/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23464a3065e5b6384acd968dea4f9d19ccead3f5297549a12bd22853942247c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate: TooManyFunctions \u2014 153 free functions. 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":"ecc2/src/main.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8e7a5438136becbb5669a97e6b0e5b76283d4dede556d3a80ccff1d406bd62"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StateStore: TooManyMethods \u2014 110 methods. 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":"ecc2/src/session/store.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e533542e86e66bb2b28455177048355189557aaf236b15c028bc663ca553fac0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::session::manager: TooManyFunctions \u2014 108 free functions. 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":"ecc2/src/session/manager.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5ed8dda6cbd5d481acf40ba5e853638658224c6df166b219bf57973db0b51d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::tui::dashboard: TooManyFunctions \u2014 94 free functions. 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":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffe7778dfb9945f075a6c39f7a5709c8eb65fb39630e73b71e955f9a67e70e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worktree/mod.rs: FileTooLong \u2014 1167 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). 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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cb906358f0be0898dfb98c5bf6322578c6a33bcb07234ed6db011de6d8e3eb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::worktree: TooManyFunctions \u2014 60 free functions. 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":"ecc2/src/worktree/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"69910b0120161213a46610f7e6ade275b7251d9246e76ba584a026d57bf058f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/mod.rs: FileTooLong \u2014 672 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). 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":"ecc2/src/config/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ab6fc5a0d026270d72c5061f8780e9dc48046c443ac5268dc32b9dbce489c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::session::store: TooManyFunctions \u2014 40 free functions. 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":"ecc2/src/session/store.rs"},"region":{"startLine":4441}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd18016fb3ad20d6fbc1d5d7571ad6218aeadd752bf545417c02f664eac22a20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/mod.rs: FileTooLong \u2014 540 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). 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":"ecc2/src/session/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6c28236d314d9cafa5251ccce5cff237884faa1758990879e548c3d44ecab8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ecc2/src/main.rs: ecc2/src/main.rs changed 2 times in last 90 days, max complexity 168. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"171e393bc31ceb36983b27a43797afc3e038a67d058c74241e96e7a4c1113685"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ecc2/src/tui/dashboard.rs: ecc2/src/tui/dashboard.rs changed 3 times in last 90 days, max complexity 54. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/tui/dashboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6cd7131f23f4692fbc01e9896a3e1843da509d5f5e7ec36df820313a317712"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .opencode/plugins/ecc-hooks.ts: .opencode/plugins/ecc-hooks.ts changed 6 times in last 90 days, max complexity 26. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".opencode/plugins/ecc-hooks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb815b8608e9655d0784851e7f839c7d27e6cfd011e7c07024181fb7f7af3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ecc2/src/session/store.rs: ecc2/src/session/store.rs changed 2 times in last 90 days, max complexity 41. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d14db4104be629be2a17d55c84ce05663d2cfd4ecef18f7db9bcc0736298624"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: ecc2/src/session/manager.rs: ecc2/src/session/manager.rs changed 3 times in last 90 days, max complexity 22. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ecc2/src/session/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6600615c92bdc5a9396507d66d53cb50eda060fe1edcf835479361939da8dd1"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 16 significant file(s) lose their only recent owner: ecc2/src/tui/dashboard.rs, ecc2/src/main.rs, ecc2/src/session/store.rs, ecc2/src/session/manager.rs, ecc2/src/worktree/mod.rs, ecc2/src/config/mod.rs, ecc2/src/session/daemon.rs, ecc2/src/session/mod.rs (\u002B8 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"39c22a6668b25dffdf6cffa8cd9613a282d4f1c0432da53b2cc1b81f9cea946c"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 6 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (22 single-owned of 45 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D19","level":"note","message":{"text":"The Quick Start assumes \u0060cd .kiro\u0060 to install into a project root but does not mention how to install into an existing subdirectory (e.g. \u0060/path/to/your/project\u0060) from the command line, which is critical for users who already have a Kiro project.: Add a brief note under Quick Start that installs can also be run from the top-level directory without changing directories."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".kiro/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d2e1478954b4ae890bd8b9baed5d45691d17e3ccac408740b1d4df1cac904d"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"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":"0e37d8c3080d3f8e690d19a540a352f863a9d0d11f51431a4df4b2e0a9df4df9"},"taxa":[{"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":"97dfebfacd72d7bbbfa0cb4714ebb2152228c937ba09fa2c6013636f580250b3"},"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":"cf26b8812d98ac229f1544993eb4ebc05ecc8b4a4dd6293c7b5ebfa6b52582b7"},"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":"edb0a5fdd434a26c4e926ce7c78e398ae591997a15fd4db4a952c06b5de84587"},"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":"035f528964cf07ad0bb462630fe19acf81582538fc55d83f967997c705edb3d2"},"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":"107daf66d2e36330c048abcb9ad427d840385d7aabe2447ce9d29013ffa5daa5"},"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":"1645dabc342593a467f2041be930af8ae5eed9a3283fdca5181499b964b07150"},"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":"fd1a42a6eba5be98347c2abe3952792552b41d64d76f87e6025de6cb4a3df5a4"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d092f4117990fa0eb1c8edb6db3bd2365d3a034858c07523f7fc99b1a8e9d903"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fa284c03b5f01b4fa3358d9a373a40c491669f0e9753f9362526a871885c002"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 5 of 45 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: skills/skill-comply/scripts/report.py, skills/skill-comply/scripts/run.py, src/llm/providers/ollama.py (and 2 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"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":"D38","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":"535133ced2ffb2a45bc08bfe32b860f8f72622add29fb4af76f04f9223d574b1"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-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-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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"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":14,"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."]}]}