{"$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":"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":"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":"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":"admit::admit_command (cyclomatic 79): admit::admit_command has cyclomatic complexity 79 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/admit.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a35649fc549ba9cefe02f06dd33b8098d50405e68195400758ae71a2415c39"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreAgentProjector::project_event_kind (cyclomatic 51): CoreAgentProjector::project_event_kind has cyclomatic complexity 51 (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":"crates/api-projection/src/lib.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1259edac1aafc91b91117a833417c5a0e5d7afb26e39937b58de16cd00432ad"}},{"ruleId":"D1","level":"warning","message":{"text":"codec::core_agent_event_envelope_kind (cyclomatic 50): codec::core_agent_event_envelope_kind has cyclomatic complexity 50 (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":"crates/engine/src/core/codec.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cada69964fea0afc35e82f842c1ead013e51d09d2192385b4d4007bf2d7ec861"}},{"ruleId":"D1","level":"warning","message":{"text":"run::apply_event (cyclomatic 36): run::apply_event has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/run.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"259b02ea1c395f42a98bcdfd0047256354d52afaef7d017b04a0510fd0818252"}},{"ruleId":"D1","level":"warning","message":{"text":"drive::tool_call_completed_proposals (cyclomatic 34): drive::tool_call_completed_proposals has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/drive.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0efe4a720ee3627f283bd3af93c1f0e548c8425ef5f9414a5f28a993a1fce1"}},{"ruleId":"D1","level":"warning","message":{"text":"conformance::assert_host_data_conformance (cyclomatic 28): conformance::assert_host_data_conformance has cyclomatic complexity 28 (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":"crates/tools/src/host_protocol/conformance.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"56813f96f8e1d81355b3ee5ce2bdb6e56abdb8bc45a7a7fb49cf6a99ac3e915a"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionTools::invoke_batch (cyclomatic 27): SessionTools::invoke_batch 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":"crates/temporal-server/src/worker/session_tools.rs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ac99c0eb7eaf5e75717ea3ca444b3a085bc2b889a4948cd0f6533f5a1f1335"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatTuiApp::apply_slash_command (cyclomatic 24): ChatTuiApp::apply_slash_command has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/chat/tui/app.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c30e6bd45483491d7fe147a77055ea2d0c89f2d4434e4c2edc4e4dd2261892"}},{"ruleId":"D1","level":"warning","message":{"text":"turn::apply_event (cyclomatic 24): turn::apply_event has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/turn.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6fedac7158309463f579b4e68ca6f7defa8ff3de5bd71e3cdd7245ce2e89ce"}},{"ruleId":"D1","level":"warning","message":{"text":"EnvironmentJobWorkflow::run (cyclomatic 24): EnvironmentJobWorkflow::run has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/temporal-workflow/src/workflows/environment_job.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ff8fb9ae38d77832dc968c397eb5b43b3aaf79acf5bd54685ee99309bc4ad8"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSessionWorkflow::run (cyclomatic 24): AgentSessionWorkflow::run has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/temporal-workflow/src/workflows/session/mod.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b8a11f66282664ece7aa8f6f509e0b9136af7f4cecd5689fed80af8a7ec1b6"}},{"ruleId":"D1","level":"warning","message":{"text":"tooling::defer_tool_batch (cyclomatic 23): tooling::defer_tool_batch has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/tooling.rs"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"447110d2c14725b56b2eb761384009aed362c02ab959f88401760088309918a0"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposerState::handle_key (cyclomatic 21): ComposerState::handle_key has cyclomatic complexity 21 (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":"crates/cli/src/chat/tui/bottom_pane/composer.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac20bf4c14d6e313b7a6b083089e6936627acc1128d33c5c5a54ce907fc3ec6"}},{"ruleId":"D1","level":"warning","message":{"text":"drive::tool_batch_deferred_proposals (cyclomatic 21): drive::tool_batch_deferred_proposals has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/drive.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf6ed906ca3ddd475970c0ab4f8628b9315cb2cd426c7220e3d105677772a60"}},{"ruleId":"D1","level":"warning","message":{"text":"tooling::apply_event (cyclomatic 19): tooling::apply_event has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/tooling.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"4334e783a4fc2e05ea93324eee0f0f38270f1d5690df3835725c0e1225c18bd5"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow_tool::apply_config_event (cyclomatic 19): workflow_tool::apply_config_event has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9019d83e365873fbf0d2de8ee46f282ac92abcfec1f12fd25416646aa40162"}},{"ruleId":"D1","level":"warning","message":{"text":"seek_sequence::seek_sequence (cyclomatic 19): seek_sequence::seek_sequence has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/tools/src/fs/apply_patch/seek_sequence.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad3d89a57a1b016e0963683af6ebc1b537fc2757068a2a69d6c02ebb147e399"}},{"ruleId":"D1","level":"warning","message":{"text":"GatewayAgentApi::start_session_internal (cyclomatic 18): GatewayAgentApi::start_session_internal 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":"crates/temporal-server/src/gateway/service/mod.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb85c0cc688467b241025590535f5a21588b6170226e383538fd273b63e62bd"}},{"ruleId":"D1","level":"warning","message":{"text":"SlashCommandKind::command_with_args (cyclomatic 17): SlashCommandKind::command_with_args has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/chat/tui/slash.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb2275cf308e043f64db61ab958ba3213112d76a1c5c0187d412858eecf6dd8"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow_tool::validate_invocation_against_state (cyclomatic 17): workflow_tool::validate_invocation_against_state 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":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8c122c2298a5df431c3049159800a2e8ac6ce7a031d80e0edf7be462961671"}},{"ruleId":"D1","level":"warning","message":{"text":"GatewayAgentApi::append_context (cyclomatic 17): GatewayAgentApi::append_context has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/temporal-server/src/gateway/service/mod.rs"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"046a53c87a5e604dce6e59074cce7aaeb527058f02341373853f2cec975c6a91"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptState::apply_chat_event (cyclomatic 16): TranscriptState::apply_chat_event has cyclomatic complexity 16 (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":"crates/cli/src/chat/tui/transcript.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ce23974f5642d590890bc3794844379a2805a08ebeee622a6751d83ce0259a"}},{"ruleId":"D1","level":"warning","message":{"text":"tooling::plan_next (cyclomatic 16): tooling::plan_next 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":"crates/engine/src/core/components/tooling.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd65eba53b6a1b5f3949dc7acd8879e08daee1b2b22ccf55b590bd4d5901234e"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow_tool::apply_event (cyclomatic 16): workflow_tool::apply_event 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":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"95246fb3ae5a0fc5f36f5dba1cf394cac0b962208353d29fb16aa06072acbbfd"}},{"ruleId":"D2","level":"warning","message":{"text":"admit::admit_command (cognitive 119): admit::admit_command has cognitive complexity 119 (threshold 15). Drivers by points: if/else 83, loops 15, match/switch 15, boolean chains 6 (nesting depth added 66). 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":"crates/engine/src/core/admit.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dd13b28509596a6dda7f91afde79f2a9672e112db4eb595be897508e004fb8"}},{"ruleId":"D2","level":"warning","message":{"text":"drive::tool_call_completed_proposals (cognitive 97): drive::tool_call_completed_proposals has cognitive complexity 97 (threshold 15). Drivers by points: if/else 77, loops 8, match/switch 8, boolean chains 4 (nesting depth added 64). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/drive.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce989e5843f699b030f8599ec7e7641bea897623f2cc724a292ef66c9b3d1e2"}},{"ruleId":"D2","level":"warning","message":{"text":"run::apply_event (cognitive 43): run::apply_event has cognitive complexity 43 (threshold 15). Drivers by points: if/else 40, boolean chains 2, match/switch 1 (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/run.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e79cb07447f57e22c4b6a323a028521ff9540008fc053d23b355ea036a87b62"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvironmentJobWorkflow::run (cognitive 42): EnvironmentJobWorkflow::run has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19, match/switch 9, loops 8, boolean chains 6 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/temporal-workflow/src/workflows/environment_job.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaf359c0fbb027789611c5c1f1eadd1f8bc345734b423cb7890ff8d4825e4ec"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSessionWorkflow::run (cognitive 39): AgentSessionWorkflow::run has cognitive complexity 39 (threshold 15). Drivers by points: if/else 25, match/switch 13, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/temporal-workflow/src/workflows/session/mod.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1572ac295f017255e5e3706bc78cf39013ccb44a8ce08dbf4fd0cf51181872d4"}},{"ruleId":"D2","level":"warning","message":{"text":"turn::apply_event (cognitive 35): turn::apply_event has cognitive complexity 35 (threshold 15). Drivers by points: if/else 31, match/switch 3, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/turn.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"89181e3e0b324714c0472a66fdde011320ef56aa1fa726bd3a5d215adce62f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionTools::invoke_batch (cognitive 35): SessionTools::invoke_batch has cognitive complexity 35 (threshold 15). Drivers by points: if/else 23, boolean chains 7, loops 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/temporal-server/src/worker/session_tools.rs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0faba2fff4774154364fe54f32b37c3e517ad186246a0c49e41cc68f8bef70"}},{"ruleId":"D2","level":"warning","message":{"text":"tooling::defer_tool_batch (cognitive 34): tooling::defer_tool_batch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 21, boolean chains 7, match/switch 4, loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/tooling.rs"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"179ed94ff8c8c25e7a2a44d1f2273719ccb72c811a82667bfa53236746f03556"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreAgentProjector::project_event_kind (cognitive 33): CoreAgentProjector::project_event_kind has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 24, loops 9 (nesting depth added 18). 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":"crates/api-projection/src/lib.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df4a530f8c929c42481168a0ab542004cefdfc245b6accd5ec5906c30ac03cd"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow_tool::apply_config_event (cognitive 33): workflow_tool::apply_config_event has cognitive complexity 33 (threshold 15). Drivers by points: if/else 27, boolean chains 3, loops 2, match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faaf34e2510bcf5c6b680fa17f20bcea0e3040bebc61354833efbc5ce19d0fa"}},{"ruleId":"D2","level":"warning","message":{"text":"seek_sequence::seek_sequence (cognitive 32): seek_sequence::seek_sequence has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21, loops 10, 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":"crates/tools/src/fs/apply_patch/seek_sequence.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a9d3380ad43660791c4d105eb83636c3014e1426d093bb5a08779139ac0b76"}},{"ruleId":"D2","level":"warning","message":{"text":"JobManager::schedule_ready_jobs (cognitive 31): JobManager::schedule_ready_jobs has cognitive complexity 31 (threshold 15). Drivers by points: if/else 23, loops 7, boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/host-bridge/src/jobs.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ea9967522357243020be9ceba794d750e9e4ee700af52a34935aee4472e970"}},{"ruleId":"D2","level":"warning","message":{"text":"jobs::validate_and_resolve_start (cognitive 28): jobs::validate_and_resolve_start has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21, loops 6, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/host-bridge/src/jobs.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0060ec53fa9b5780e0e26ec134d619b3ba75e67e5b50ae3ff501be19db7b15"}},{"ruleId":"D2","level":"warning","message":{"text":"drive::tool_batch_deferred_proposals (cognitive 27): drive::tool_batch_deferred_proposals has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15, loops 7, boolean chains 5 (nesting depth added 6). 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":"crates/engine/src/core/drive.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4ef347b5162c261e14503755bfcad2409e58a9559ea8c4df8c40a8f878b16e"}},{"ruleId":"D2","level":"warning","message":{"text":"conformance::assert_host_data_conformance (cognitive 27): conformance::assert_host_data_conformance has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21, boolean chains 6. 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":"crates/tools/src/host_protocol/conformance.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2261128792a9c0a5e42bc613b50623543ef1180b6806b9b27b90e300ef1d3f"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::append_context (cognitive 26): GatewayAgentApi::append_context has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 12, if/else 11, loops 3 (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":"crates/temporal-server/src/gateway/service/mod.rs"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c3d34ddbe217993ea0b95a244a27801031e3fd033daf775383cc919c98ce18"}},{"ruleId":"D2","level":"warning","message":{"text":"insert_history::insert_history_lines_with_mode (cognitive 25): insert_history::insert_history_lines_with_mode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, loops 10, boolean chains 1, match/switch 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":"crates/cli/src/chat/tui/insert_history.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4370ff663ff782ec2a355d951c1ae3756945bf83515946c3b5d448d47e7b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow_tool::validate_invocation_against_state (cognitive 25): workflow_tool::validate_invocation_against_state has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, boolean chains 4, loops 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ac897f894611f2b20e98be7f75869532bd938597eeba562f65c0c0bc509010"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolChainCell::display_lines (cognitive 24): ToolChainCell::display_lines has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17, loops 6, 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":"crates/cli/src/chat/tui/cell.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2da2ab632d056f75308c46ead0a9cb0fa0456d4b0a632ba90944e207c17daa0"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowToolEmissionReadProjection::observe_config (cognitive 22): WorkflowToolEmissionReadProjection::observe_config has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14, match/switch 6, loops 2 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"178a19a1ce1cbe8ac83df484e1e809f48da064589aeabfe0a2d3d0378d8cca7a"}},{"ruleId":"D2","level":"warning","message":{"text":"engine::compute_replacements (cognitive 22): engine::compute_replacements has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20, boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/tools/src/fs/apply_patch/engine.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4f9332b0ac0e0972c54e768573c61c70fbbfe3864380bf13ff2a80da452b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptState::apply_delta (cognitive 21): TranscriptState::apply_delta has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, match/switch 4, boolean chains 2, loops 2 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/chat/tui/transcript.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f56cdf393ba96176294e0cbfbc1391f63a927abcc446eba0d4c7fb216c8291"}},{"ruleId":"D2","level":"warning","message":{"text":"tooling::plan_next (cognitive 21): tooling::plan_next has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, boolean chains 2, match/switch 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/tooling.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9ca40dd6b18a4f61e7faf69eb3c857d22a48b8b086dbf619979c1dde2e49b4"}},{"ruleId":"D2","level":"warning","message":{"text":"tooling::apply_event (cognitive 21): tooling::apply_event has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, boolean chains 2, match/switch 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":"crates/engine/src/core/components/tooling.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde2d9d58ceae2a030147fbe167a9a71445177aacde99ecad8013bebc637fdc9"}},{"ruleId":"D2","level":"warning","message":{"text":"codec::core_agent_event_envelope_kind (cognitive 21): codec::core_agent_event_envelope_kind has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 21 (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":"crates/engine/src/core/codec.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"39379ed93bf6f635faa05245f5821ef7d54f931afd857e398c8d280768e65b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessManager::read_process (cognitive 21): ProcessManager::read_process has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/host-bridge/src/process.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"119e3810fab5ff3f80a97c620c139153355ebf559a263de97c55dea6eff3da79"}},{"ruleId":"D2","level":"warning","message":{"text":"FleetService::spawn (cognitive 21): FleetService::spawn has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, match/switch 4, boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/temporal-server/src/fleet.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"351e36b46bcabb7fee6e0837c92d9d7f58be2c1492f976d9d1bb2c61fb77362a"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::start_session_internal (cognitive 21): GatewayAgentApi::start_session_internal has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, match/switch 5, 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":"crates/temporal-server/src/gateway/service/mod.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e13f21e3659cf68b69869402dfbdfac45759502bb8622e051ca918e2c89134"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::ensure_core_environment_job_workflow_tools (cognitive 21): GatewayAgentApi::ensure_core_environment_job_workflow_tools has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/temporal-server/src/gateway/service/mod.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8599d15f1af5a79d260df26264997c61ac58c31aedc4827af39f37866a4b01db"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::wait_for_context_append_outcomes (cognitive 21): GatewayAgentApi::wait_for_context_append_outcomes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, loops 6 (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":"crates/temporal-server/src/gateway/service/workflow.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab2b5bc3e5245ca9acd6cba66776a34c0462f3a286763d427b00551a8281776"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::wait_for_context_keys_removed (cognitive 21): GatewayAgentApi::wait_for_context_keys_removed has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, loops 6 (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":"crates/temporal-server/src/gateway/service/workflow.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6a4b3a9f36f9e8626d3c8c20c53584de6938903ad4bfe8d826918dadbf151a"}},{"ruleId":"D2","level":"warning","message":{"text":"parser::parse_one_hunk (cognitive 21): parser::parse_one_hunk has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 4 (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":"crates/tools/src/fs/apply_patch/parser.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4d833350bac0072c48fe734209b99c995112dc6ef25cf2af82264617c84d6d"}},{"ruleId":"D2","level":"warning","message":{"text":"wrapping::adaptive_wrap_line (cognitive 20): wrapping::adaptive_wrap_line has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, loops 4, boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/chat/tui/wrapping.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebcb50866f60cf3a2f3227f666e3f88dc31831c95aae647e644fd55f10a2a9d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatSessionDriver::follow_until_quiescent (cognitive 19): ChatSessionDriver::follow_until_quiescent has cognitive complexity 19 (threshold 15). Drivers by points: loops 11, if/else 8 (nesting depth added 10). 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":"crates/cli/src/chat/driver.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"6394d6fab219e356223307d1de74bdb0138495219ffd04026d6d66bb844124f2"}},{"ruleId":"D2","level":"warning","message":{"text":"run::plan_next (cognitive 19): run::plan_next has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, 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":"crates/engine/src/core/components/run.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc920d161e665b7b9112ce80990354b44dce4db193848ad76bf0b56da7fc3e3"}},{"ruleId":"D2","level":"warning","message":{"text":"eval::run_cli (cognitive 19): eval::run_cli has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 4, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/eval/src/main.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5100c9df50a39185a2f0cf9834590ff6fb54ce97722af09fcf54a0d2e84bee"}},{"ruleId":"D2","level":"warning","message":{"text":"shared::normalize_path (cognitive 19): shared::normalize_path has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, match/switch 2, boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/host-protocol/src/shared.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c249434a489d4f4274d1476665187f4026ed046c97b29178e016806738ebdaae"}},{"ruleId":"D2","level":"warning","message":{"text":"anthropic_messages::materialize_tools (cognitive 19): anthropic_messages::materialize_tools has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 8, if/else 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":"crates/llm-runtime/src/anthropic_messages.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a2faddfdcab172f8c838f5efc5f28db18eb72d4c3f9f7b4bc87d91a80d93cd"}},{"ruleId":"D2","level":"warning","message":{"text":"path::normalize_path (cognitive 19): path::normalize_path has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, match/switch 2, boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/tools/src/fs/path.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48a1f69259c11f4747756c1d8bf2af073945d62d6b7fff8768e49392a89a4f2"}},{"ruleId":"D2","level":"warning","message":{"text":"parser::parse_update_file_chunk (cognitive 19): parser::parse_update_file_chunk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, match/switch 5, 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":"crates/tools/src/fs/apply_patch/parser.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a8f3eb2798720e36ba45e717753bf336b4149c224cbb6fe763527d46e2b81f"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageCell::display_lines (cognitive 18): MessageCell::display_lines has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, match/switch 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/chat/tui/cell.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb54b438188a51cd480753b665a5e013d54de32232b379559f6eb27bf96b40c"}},{"ruleId":"D2","level":"warning","message":{"text":"drive::attach_promise_control_runtime (cognitive 18): drive::attach_promise_control_runtime has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 3, match/switch 3, 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":"crates/engine/src/core/drive.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecd2efe2be869ee9a0f71dd3b29ccd7fb8c16517e8747a53604c2928e8cdfcb"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow_tool::apply_event (cognitive 18): workflow_tool::apply_event has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, match/switch 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c01e3487e71c6ef1c38c1b1c6c90723e63d686af90c56cdf9041839cc3b0f9"}},{"ruleId":"D2","level":"warning","message":{"text":"eval::collect_observations (cognitive 18): eval::collect_observations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, match/switch 2, boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/eval/src/main.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca1bcf0ae62d876ad456b2f09b6870edd6f2d130e4089429b6e45f6140c5cee"}},{"ruleId":"D2","level":"warning","message":{"text":"CompletionStream::next_chunk (cognitive 18): CompletionStream::next_chunk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 4, match/switch 2, 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":"crates/llm-clients/src/openai/completions.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e04348a3fd4d4e42f17a4724fcdf0605d278249189919af5b4c4060afbe1d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseStream::next_event (cognitive 18): ResponseStream::next_event has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, loops 4, match/switch 2, 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":"crates/llm-clients/src/openai/responses.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"111257f53f560f120860287d416f073e0c7a368c5d357368723e9d256118ffbf"}},{"ruleId":"D2","level":"warning","message":{"text":"PgStore::resolve_segments (cognitive 18): PgStore::resolve_segments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, match/switch 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/store-pg/src/session.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73217c05e9d38ef97e651ce07c70600fc945c9c694787878a1c88f7a77fd78f"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::wait_for_context_compaction_complete (cognitive 18): GatewayAgentApi::wait_for_context_compaction_complete has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/temporal-server/src/gateway/service/workflow.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f16dfd2971b62a2f9c26306fb48ae54bfa3c7b537d110601b67b64f2610477"}},{"ruleId":"D2","level":"warning","message":{"text":"storage::materialize_await_result (cognitive 18): storage::materialize_await_result has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 11, if/else 5, boolean chains 1, loops 1 (nesting depth added 8). 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":"crates/temporal-server/src/worker/activities/storage.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0706391854c307e60d7edd72cbc790f48617363c7aae92395b589ebf25ee97c4"}},{"ruleId":"D2","level":"warning","message":{"text":"grep::invoke_grep (cognitive 18): grep::invoke_grep has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, loops 3, boolean chains 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/tools/src/fs/tools/grep.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"900742e30f34e8aebe8c8aff6d44d30eda08be0a20e9312fd8fb72ffe322ee7c"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow_tool::validate_completion_promises (cognitive 17): workflow_tool::validate_completion_promises has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 3, loops 2, 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":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"426f9d7557e3decc3550cc5486a740b293f546c8c22804f96490a4d4c5d24c1b"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::wait_for_active_environment (cognitive 17): GatewayAgentApi::wait_for_active_environment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"crates/temporal-server/src/gateway/service/environments.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fb9b85bee50e506a5ee25c8000109e51234b42d78c91005950a7bce699ee59"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::wait_for_session_toolset (cognitive 17): GatewayAgentApi::wait_for_session_toolset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"crates/temporal-server/src/gateway/service/session_toolset.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79ec175243e9167a9f475f7592310c48e634c1d96d844baa9f02413a70fa17c"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::wait_for_skill_catalog (cognitive 17): GatewayAgentApi::wait_for_skill_catalog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"crates/temporal-server/src/gateway/service/skills.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b3c5c2df5bf31b14f07574565f11297064e1e08b921e24b4f6d0006e3c6a39"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::wait_for_skill_activations (cognitive 17): GatewayAgentApi::wait_for_skill_activations has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"crates/temporal-server/src/gateway/service/skills.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ad501188dabe39a9bceb9f01f728fb70dbbef319bddff84d9439b3e193d5cf"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayAgentApi::wait_for_config_revision (cognitive 17): GatewayAgentApi::wait_for_config_revision has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, 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":"crates/temporal-server/src/gateway/service/workflow.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab13cc88454acf94fb858f4af9045b2cee75374794a6f3834b654034b4f2381"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreAgentProjector::project_tool_batches_for_run (cognitive 16): CoreAgentProjector::project_tool_batches_for_run has cognitive complexity 16 (threshold 15). Drivers by points: loops 8, if/else 6, match/switch 2 (nesting depth added 9). 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":"crates/api-projection/src/lib.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48e8a9b9feac0da0cc682b156ab175b71420e68904ef95074809231453cfb77"}},{"ruleId":"D2","level":"warning","message":{"text":"run::match_existing_run_submission (cognitive 16): run::match_existing_run_submission has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, match/switch 4, boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/engine/src/core/components/run.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0aaa9a11566b3cecf1ec9acbdeb2d58fc94c8cf0046660a8e5d6d9bb5232a6"}},{"ruleId":"D2","level":"warning","message":{"text":"run::match_existing_message_submission (cognitive 16): run::match_existing_message_submission has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, match/switch 4, boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"crates/engine/src/core/components/run.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c7d968b9e970546f93ea8e78d47c13ae6b2fa1c201b99efd51b10e75c71545"}},{"ruleId":"D2","level":"warning","message":{"text":"anthropic_messages::materialize_block (cognitive 16): anthropic_messages::materialize_block has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, match/switch 3 (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":"crates/llm-runtime/src/anthropic_messages.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"008290dcd33563782299cbac912922d992c7e1e3baac624234d65d04aecf98dc"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_responses::materialize_input_item (cognitive 16): openai_responses::materialize_input_item has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, match/switch 7 (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":"crates/llm-runtime/src/openai_responses.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8d1ad25d621d0662a6646ef0d6572d86e5fd446e85eaaf79d36333960e3f44"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionTools::read_environment_jobs (cognitive 16): SessionTools::read_environment_jobs has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 11, if/else 4, loops 1 (nesting depth added 7). 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":"crates/temporal-server/src/worker/session_tools.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"62722e43027f8b337aaa3b29b71cbb6aed6f6ed28f2fa1361e7fdfac5c10a2bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/mod.rs: FileTooLong \u2014 2662 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":"crates/temporal-server/src/gateway/service/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad2d09274e7c9da7564d4f8bc0d721e4177f20f7622a123bc910c8a4b8642fb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GatewayAgentApi: TooManyMethods \u2014 124 methods, declared across 16 files: service/mod.rs (29), service/workflow.rs (23), service/profiles.rs (14), service/session_jobs.rs (11), \u002B12 more file(s). That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"crates/temporal-server/src/gateway/service/mod.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d07c918e6ea096613ec232f1a9968d7af360f26fe110c13cc62915ed7eb4529"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/workflow_tool.rs: FileTooLong \u2014 1575 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":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"638496a8cd6aff25d9141968c6b78c828c13a9d68b6ccdb57c69fbbe757859cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/fleet.rs: FileTooLong \u2014 1565 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":"crates/temporal-server/src/fleet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19350519cd883efa5dc0cf7d419ca7365c812990382f49b3d3e5e0507c8e222"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1480 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":"crates/api-projection/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6c4bff452a21f405e8ae0ff737a9c0cf6ae0a109213ea72bc9fb74eef0ba99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/drive.rs: FileTooLong \u2014 1327 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":"crates/engine/src/core/drive.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf63bfe82a98ed73a9c7fc067b1034b2c8009635ac1561c2f2e1a87e818ce2de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/driver.rs: FileTooLong \u2014 1285 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":"crates/cli/src/chat/driver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb019a04080a948952b55073d0ebe728bf93102d695f40ceb24de79a73ce9b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/tooling.rs: FileTooLong \u2014 1215 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":"crates/engine/src/core/components/tooling.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f5a5949d563c2d1a30448e7aab6298f11051f9e759136e1762f8e26de01650"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worker/session_tools.rs: FileTooLong \u2014 1194 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 66% of them inside a single declaration: SessionTools (73-1089). 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":"crates/temporal-server/src/worker/session_tools.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bba353d4d69b8d4bc8e6939edfdb42201c729068747544b818d69ce52886fc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/context.rs: FileTooLong \u2014 1177 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":"crates/engine/src/core/components/context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20183373df7641fc08076ae7b8073bc642196b3c2cea60021800348e1d006fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::core::components::context: TooManyFunctions \u2014 69 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":"crates/engine/src/core/components/context.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe52ec368b2fa0adb2b836a041ebaae43308675b4deb8e72802121c091be597"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate: TooManyFunctions \u2014 66 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":"crates/api-projection/src/lib.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3cd4568c494d012f3eb60f928c68b38736cde98576c09de425b99f69d92b5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/jobs.rs: FileTooLong \u2014 1000 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":"crates/host-bridge/src/jobs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c2badf66292e6ca018c1e041d5b206fb457422b0a5f193df3692eee2b31754"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/session.rs: FileTooLong \u2014 977 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":"crates/store-pg/src/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b21700674907736564844d3c8bf22fcf97b7d28cf1428663703e8df9faff7a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpAgentApi: TooManyMethods \u2014 57 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":"crates/cli/src/api_client.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4e4dc2ec72865c5bbc7ca5b3a77856554fe8d7f10f33b21aa4eb0cd0a478c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 938 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":"crates/eval/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cbfbd90831b124cad24bc085f8ada9812c8af8148c905b52c1e3966896bd4c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::fleet: TooManyFunctions \u2014 56 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":"crates/temporal-server/src/fleet.rs"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ac3f8ababe0f128d9391ac5195cb92e0ad2c5d1d971875ade25eff1132483b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/responses.rs: FileTooLong \u2014 931 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":"crates/llm-clients/src/openai/responses.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22203a03c686a20fe52f44cda996277e5b0866922e8a3b711da340ce914d95a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/auth_cli.rs: FileTooLong \u2014 906 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":"crates/cli/src/auth_cli.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd018b096df94924c9cfa10b8fc5ffabd1469d4ea6548ddb9aee0c97c5322215"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: anthropic/messages.rs: FileTooLong \u2014 861 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":"crates/llm-clients/src/anthropic/messages.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e6172834bcf222d859196427b4233a32c88a686633e99662f0cfd9afccf589"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/run.rs: FileTooLong \u2014 847 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":"crates/engine/src/core/components/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a771d6489c8d7975b35e7e648a8265a25f825c90ff55312c91e3c0355fbc0234"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/openai_responses.rs: FileTooLong \u2014 829 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":"crates/llm-runtime/src/openai_responses.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed5058e9f9b22b23350bc805ea723339d63e8cf5a75c81e61e6f385033e96a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sessions.rs: FileTooLong \u2014 811 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":"crates/api/src/sessions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d534b9e10606814e41e27d566a25a71944d48b59505d216774c35609ac16b898"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storage/session.rs: FileTooLong \u2014 758 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":"crates/engine/src/storage/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1dd2d54243522417e6a0c24b0048070ed27026393ecc0fe965ac41becb9f20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/anthropic_messages.rs: FileTooLong \u2014 738 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":"crates/llm-runtime/src/anthropic_messages.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fce8e61c0ae540dc385597d6392ed4b972d5c6e300582f4218341a36838cf9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::chat::driver: TooManyFunctions \u2014 43 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":"crates/cli/src/chat/driver.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04b079873e422c5b44b1f6cd565b7e620c702669e153f0b612b718928f1d446"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vfs_transfer.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":"crates/cli/src/vfs_transfer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad780d4f4c69ffa10d535228637bcc1363b0de87afdb206974329e3572fba9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/admit.rs: FileTooLong \u2014 671 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":"crates/engine/src/core/admit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71e1ee503254205ffcac47cda0f26210c9bbb927bb6de793f1feb97ab1b1663"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mcp_cli.rs: FileTooLong \u2014 663 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":"crates/cli/src/mcp_cli.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c816b1a69e31277ff0fdc98c431bcb1d073386b607c96d7a4016609e26ff37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/environment.rs: FileTooLong \u2014 659 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":"crates/store-pg/src/environment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64aac8c1024ba43cfe8669eb660f2ee7f5a833c0394c796889199ffabc042615"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/profile_cli.rs: FileTooLong \u2014 640 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":"crates/cli/src/profile_cli.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a62564613d6768691f77de27c6d03f07d27d4d115a71c7b82cb5f972e0235de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worker/reaper.rs: FileTooLong \u2014 618 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":"crates/temporal-server/src/worker/reaper.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0acb7d8f13eb69d0f5661a3bdfd764a102ebff3adab919f7cf09421a48ef14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/vfs.rs: FileTooLong \u2014 613 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":"crates/tools/src/fs/vfs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5cdae6e5c2093b808d4709a53f7929b54455a485b94b4e4ddb0a7a73392649"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: prompts/assembler.rs: FileTooLong \u2014 605 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":"crates/tools/src/prompts/assembler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49de72987416d3b5bc2d10ca066430e40b76139a6ce000e2d6fd11f0f30583ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::core::components::workflow_tool: TooManyFunctions \u2014 36 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":"crates/engine/src/core/components/workflow_tool.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ab4e488089dfec995dcecaaead32e9e4342363b851854fd3644d1ae3d936e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fleet/mod.rs: FileTooLong \u2014 595 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":"crates/tools/src/fleet/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60f291b5c77a5ff97acba6093652eb862dd34c1e88a3636ea2ec004687f9500"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatSessionDriver: TooManyMethods \u2014 35 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":"crates/cli/src/chat/driver.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1107f49b2e0a94a0a9ba85ba5f6a25d8b40cdbfadff01d90ee63dd23b94d5285"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::prompts::assembler: TooManyFunctions \u2014 34 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":"crates/tools/src/prompts/assembler.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fa645f4934a2fa08d712884ac8425f66a5fa7c04674218b4fc32d33b0cb8e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/config.rs: FileTooLong \u2014 552 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":"crates/engine/src/core/components/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6edc42f0ea6b8fe79a87816daa9e4dff8c0a694f4d5fbb32389ce3f9aa3ab5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::auth_cli: TooManyFunctions \u2014 33 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":"crates/cli/src/auth_cli.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"da198afcd34903dacb41904d52b5c4fedb7fce4948e1240f4b34f1bc12da0f7c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::openai_responses: TooManyFunctions \u2014 33 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":"crates/llm-runtime/src/openai_responses.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"336789e6a0981a1c7a5123bfbce2030899c4d0bc294ff27014d669ba539fc5e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: service/session_jobs.rs: FileTooLong \u2014 538 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":"crates/temporal-server/src/gateway/service/session_jobs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb11f6f022ddd183fcb2f241e356a7317063d4d1b78cf80f5a185ee332a9ee4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/environments.rs: FileTooLong \u2014 537 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":"crates/api/src/environments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cb32ac0ecca4b3d352412747c25daa349033d23d5ab2a95e8dd86bae368251"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/snapshot.rs: FileTooLong \u2014 534 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":"crates/vfs/src/snapshot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2667102d55687556665ea7dfac5fe67eb3098ad34ffa3d27a107fdc013b248"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate: TooManyFunctions \u2014 32 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":"crates/eval/src/main.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"218ebf00b643a287de081ac34ba59c56d4bfb6331429dfb024f87dc442f71e78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: activities/preprocess.rs: FileTooLong \u2014 530 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":"crates/temporal-server/src/worker/activities/preprocess.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f128a1c38c996f33d58ddeb4959683a2b023aa30a94c6912ffe0a930279c352"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/auth.rs: FileTooLong \u2014 521 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":"crates/store-pg/src/auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f920805d2910c863a619b181b377c5175cfb1236b3abf4a41b2dd3df4c0bfb00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mcp.rs: FileTooLong \u2014 518 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":"crates/store-pg/src/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7b603f86d53e9744bdcba01c90081784232d6d7fbe435a790ecd5c7d0e0f4a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::core::components::tooling: TooManyFunctions \u2014 31 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":"crates/engine/src/core/components/tooling.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b457eca52a7514d4a7816dbf7e5e13313e29a32c8b3a2e2872ddc78c9bead217"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionTools: TooManyMethods \u2014 31 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":"crates/temporal-server/src/worker/session_tools.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdd79c67058208adeae4fd5c13035057c7ae484205c481344b64af5d4fea736"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"523c0ec4f6a723ed0b7e8113673c11d7dc45951335ed3305c98a59e21612d6ff"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/api-projection/src/lib.rs: crates/api-projection/src/lib.rs changed 44 times in last 90 days, max complexity 51. 1 of those changes was a fix/bug commit, 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":"crates/api-projection/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69381017f54298659f9b04801330d93b6b00d78b0087116ef45a226492ec4969"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/core/admit.rs: crates/engine/src/core/admit.rs changed 22 times in last 90 days, max complexity 79. 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":"crates/engine/src/core/admit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"590caaa9aa2f34c1127f6e866f2063fd3c188737f1ffe8cc83e4e5e6eb0efba7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/core/drive.rs: crates/engine/src/core/drive.rs changed 39 times in last 90 days, max complexity 34. 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":"crates/engine/src/core/drive.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"193a29aef60b462ded250e513fa4ad88ef31a76d5ddcb72ffea718d78fe1e9c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/temporal-server/src/gateway/service/mod.rs: crates/temporal-server/src/gateway/service/mod.rs changed 61 times in last 90 days, max complexity 18. 3 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":"crates/temporal-server/src/gateway/service/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"011fd76318e1ceaa700533960470108761ff0ab08570aee50c1f456a9933b59b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/temporal-server/src/worker/session_tools.rs: crates/temporal-server/src/worker/session_tools.rs changed 36 times in last 90 days, max complexity 27. 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":"crates/temporal-server/src/worker/session_tools.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2649d3b2ad75569ac26d0d5cadf20b59cfce84b187b9787eb9b12382eb6b528b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/core/codec.rs: crates/engine/src/core/codec.rs changed 18 times in last 90 days, max complexity 50. 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":"crates/engine/src/core/codec.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d21161fe0f4336c9dacbecee5a7eab60501a8cf5a7c534cf642973571a578cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/cli/src/chat/driver.rs: crates/cli/src/chat/driver.rs changed 36 times in last 90 days, max complexity 18. 1 of those changes was a fix/bug commit, 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":"crates/cli/src/chat/driver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73670ec25d8e84818f1322f324ac986d4b7a781d17bef1027a39b9339417195"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/core/components/run.rs: crates/engine/src/core/components/run.rs changed 14 times in last 90 days, max complexity 36. 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":"crates/engine/src/core/components/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcc1669c99a389e73eac1cf28e6b79531150f228f9c9e6a8bc990e6ec6c748f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/engine/src/core/components/tooling.rs: crates/engine/src/core/components/tooling.rs changed 19 times in last 90 days, max complexity 23. 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":"crates/engine/src/core/components/tooling.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47523f0066e07e952a3b4baf8197b6d0d670676a8184aedde5be7f47085e8426"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/eval/src/main.rs: crates/eval/src/main.rs changed 25 times in last 90 days, max complexity 17. 1 of those changes was a fix/bug commit, 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":"crates/eval/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e65764f31901c38daac9c258f89ca7d8b1d4ddc608489955c35ff126ea3e5c5"}},{"ruleId":"D16","level":"note","message":{"text":"Small-team knowledge concentration: 163 file(s) are concentrated to one author \u2014 the ambient state with 2 active author(s), not 163 separate risks. The signal becomes meaningful as ownership spreads; no per-file action implied now."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8aa75b6daa18f1b578387fa04036c50b3163d47f957c8f5601bf083ed4489b0c"}},{"ruleId":"D19","level":"note","message":{"text":"The \u0027Example Profiles\u0027 section shows how to import workspace-backed profiles but does not explain the CLI behavior when importing a non-empty JSON array of profile objects for batch import/check.: Add a brief note on what happens when multiple profiles are imported (e.g. whether they all run in parallel or sequentially) so the distinction between single-profile and batch processing is clear."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"profiles/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0485dc268ffc7c2a1c0d2933f491cf9c237d1f7f8ef06236c37187ddfc273a"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05a9c13cbf740dff06f8b0263ef03172f5079052b7c83e6e1aa84db01a28f5cc"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a4a66cf884b5168b6b92ccf8a5596d7405cd2488918db34ef96ae77722a93b7"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: main.rs \u2194 config.rs: \u0060crates/eval/src/main.rs\u0060 and \u0060crates/temporal-workflow/src/config.rs\u0060 change together 53% of the time (9 of the 17 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE (that is what the inversion buys) and the thing to add is a comment saying so, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/eval/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef0d701054c799025a30ebb5cba3a09185c6e6c0bd08e803d3385736e6aa2da"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config.rs \u2194 drive.rs: \u0060crates/temporal-workflow/src/config.rs\u0060 and \u0060crates/test-support/src/runner/drive.rs\u0060 change together 53% of the time (9 of the 17 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE (that is what the inversion buys) and the thing to add is a comment saying so, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/temporal-workflow/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"211184285d1dde6a160065a8d6c5442b74d402b5e93e5ceb6eaa4281a8b9098b"}},{"ruleId":"D38","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":"0424cbff7a1ae8c501f33dcdf9be484446445bdf91169a11479955410699bb45"}},{"ruleId":"D38","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":"2c28d04a17ee99b907548b02032674b3ed2174fa192a944f21483468caf643c8"}},{"ruleId":"D38","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":"d28dca32973bc7149769d572c234e2fdadddec0e6c01045ce708453d7d963776"}},{"ruleId":"D38","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":"56b6dd370d39f2ba17dd0521d6c554bf543a2e767e1958ae95bce8176d8ee875"}},{"ruleId":"D38","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":"b3c53a14ff4885e51497c984c709e98c4907987fd045d001a996e852b5e105f7"}},{"ruleId":"D38","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":"b597a578aa3a23340cf6b6c2a63b65d11236585529c92be2be2e3d62b0637f41"}},{"ruleId":"D38","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":"297aec37ee992558f9608e50f44e0162173f0c1b0d44e1f4831adcc031c35377"}},{"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":"21d29e9fc94997f2fc743f904945cce2fd777ddd42529b54762bd6b213569950"}},{"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":"046bea3907d24e7c561bedfee000d5dc4ba440f76b7b7782be61a77affa98dcf"}},{"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":"f50885c12fb55b5e6616b1cdc459749ba27c23b412f784649e1cccba65f5fd59"}},{"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":"33cce4eca735445ec3d1969af0502eafc4d0ce4fbe39b53342b78412281c4c15"}},{"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":"86f053db42a40b2ac7272fe056ae3e7e5cb6ea7fd21e4a3f73f9ba7335b35d3a"}},{"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":"2b79e3f60274805531c877c6c83555cce0a7eb48d0a42c8b6b4ebb74b4cd4b32"}},{"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":"08ba96a4cf5f90f0ead11286ec710869cdae8f29a7becc8553896758acbe6e0e"}},{"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":"a3cf77f72970f499fe830fba1d8641c389241ca8522631181f57fc9603a57f0c"}},{"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":"7a2c6edea0cf1d0cae1cbe6b5ae064c75606f67704e89ab373170d0b9863107d"}},{"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":"98dc2e46dbd027b563a6b3f0949d79f701f0b93f3d1bf8d8548cb6e632edb5c8"}},{"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":"5dcedbdd321723316d99429047c8acf28656e2461b78cfa0522dbfc19b991d15"}},{"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":"77c02758ef5f1f1dd7cf95bac86fc0f10049e0e0d1593a196f287a7503c06861"}},{"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":"a2cac08b6d93428d16d7e3b0c60911fbfda2ac3e8826b1b10bf34a0ff9bbf4a9"}},{"ruleId":"D38","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":"7efe4a878722ee05d82c5758dc4b93c0ee5217d6141dc24734e08c0a496e4fba"}}],"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-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-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-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":25,"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."]}]}