{"$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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"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":"GraphAssembler._build_agent_nodes (cyclomatic 36): GraphAssembler._build_agent_nodes 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":"src/flock/api/graph_builder.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf592b1cd30993065461b59e7f301a1433364cd3bc1858452ca802fd37c1d50"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenClawEngine.evaluate (cyclomatic 33): OpenClawEngine.evaluate has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8858733fbf9f335ddcd119a53a98c1455f69f35fa076da763b425f4bfbfd9fe8"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenClawEngine._build_responses_payload (cyclomatic 27): OpenClawEngine._build_responses_payload has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"631d3573fceae84bf92909aaf586c4331cb764b1fd84c4157173fb02140f3304"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputProcessor.make_outputs_for_group (cyclomatic 25): OutputProcessor.make_outputs_for_group has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/agent/output_processor.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee22e1ed85df92434151a0fadd434a26ba59694579d9a74a99533d015c8ad086"}},{"ruleId":"D1","level":"warning","message":{"text":"DSPyEngine._evaluate_internal (cyclomatic 25): DSPyEngine._evaluate_internal has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy_engine.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"08028ca3a0af4a2a6807ee95d808cd56842facb083280a5e3f6d040f14ddb4a1"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputUtilityComponent.on_post_evaluate (cyclomatic 24): OutputUtilityComponent.on_post_evaluate 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":"src/flock/components/agent/output_utility.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"55de892f4f8fdebba2d48e8418cf90ccb3af8dd19662f4524513b7001d7a9d45"}},{"ruleId":"D1","level":"warning","message":{"text":"DSPySignatureBuilder.prepare_signature_for_output_group (cyclomatic 24): DSPySignatureBuilder.prepare_signature_for_output_group 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":"src/flock/engines/dspy/signature_builder.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3a9ad5a0bc2b04445e878dad40eb8afa880988648fdcb28baa24003216e800"}},{"ruleId":"D1","level":"warning","message":{"text":"TimerComponent._timer_loop (cyclomatic 20): TimerComponent._timer_loop has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/orchestrator/scheduling/timer.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f673994652a7e9998b0be8d82f95063ac8a3c8710689ad80ca52b420734fd1a8"}},{"ruleId":"D1","level":"warning","message":{"text":"DSPyArtifactMaterializer.normalize_output_payload (cyclomatic 18): DSPyArtifactMaterializer.normalize_output_payload has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/artifact_materializer.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6e7b035fa3a41fe0c5e0c7e9caceec19da5fbd93e97f7a22eadec9c7a81ed8"}},{"ruleId":"D1","level":"warning","message":{"text":"DSPyArtifactMaterializer.materialize_artifacts (cyclomatic 18): DSPyArtifactMaterializer.materialize_artifacts has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/artifact_materializer.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56a90d2f4e3fe88c5da8baf54f82b51e41f14c0ee849e793e8e33fe19ce649f"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_and_logged._extract_span_attributes (cyclomatic 18): trace_and_logged._extract_span_attributes has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/trace_and_logged.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b66dda004ce812346e7babbeceed7d3f5e96ecafd58131757aadfb93d9cd5d"}},{"ruleId":"D1","level":"warning","message":{"text":"TelemetryConfig.setup_tracing (cyclomatic 17): TelemetryConfig.setup_tracing has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/telemetry.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e5beeab7f89646f9e59c391fe2189581df315298eba6348973b202031bcfb5"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphAssembler._build_logic_config_for_subscription (cyclomatic 16): GraphAssembler._build_logic_config_for_subscription has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8bfa969b6f157a7975d1fafd4f17539a695e48bc3f2572f10c03ceefc4431b"}},{"ruleId":"D1","level":"warning","message":{"text":"BuiltinCollectionComponent.on_collect_artifacts (cyclomatic 16): BuiltinCollectionComponent.on_collect_artifacts has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/orchestrator/collection.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6807573c18823ca074a5e33613e6e462e010f848283d6514982c066f10af01a0"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers._build_logic_config (cyclomatic 16): helpers._build_logic_config has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/server/control/helpers.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f9081afe2887b311c524b8197c1908f164e664cd78a364cf671e36cc146ab6"}},{"ruleId":"D1","level":"warning","message":{"text":"Flock.get_correlation_status (cyclomatic 16): Flock.get_correlation_status has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/orchestrator.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3d44b7e558a4a283f6f19d6db44f67c72ceb1a9bf28e3da33a1d2e150cb27f"}},{"ruleId":"D1","level":"warning","message":{"text":"FlockMCPClient.__init__ (cyclomatic 16): FlockMCPClient.__init__ has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/mcp/client.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c7e6f6cd56e0298eaa88e8cfda4524781c7f378a0f9686e899744bc0233d15"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphAssembler._build_agent_nodes (cognitive 76): GraphAssembler._build_agent_nodes has cognitive complexity 76 (threshold 15). Drivers by points: ternaries 44, if/else 24, loops 5, boolean chains 3 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb9b6610ec2bf5d321ec99991e72f756ea7091a47868e2b1dd60efee4a337a4"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawEngine.evaluate (cognitive 70): OpenClawEngine.evaluate has cognitive complexity 70 (threshold 15). Drivers by points: if/else 53, error handling 10, boolean chains 5, loops 1, ternaries 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00ad75005dba4f69dab3ff73f18f2edf4a9bfc85bf5ea4ed3fd6558fd1715d5"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputProcessor.make_outputs_for_group (cognitive 67): OutputProcessor.make_outputs_for_group has cognitive complexity 67 (threshold 15). Drivers by points: if/else 45, loops 21, boolean chains 1 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/agent/output_processor.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"89edbcc771ea48c4ee3b799f7726db42144f8de2de96766662277f31a76a0c23"}},{"ruleId":"D2","level":"warning","message":{"text":"DSPySignatureBuilder.prepare_signature_for_output_group (cognitive 46): DSPySignatureBuilder.prepare_signature_for_output_group has cognitive complexity 46 (threshold 15). Drivers by points: if/else 37, loops 5, boolean chains 4 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/signature_builder.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0088aaf92b522654e5945704b57f4667ed63dcce736e59d0a26420f9bc850882"}},{"ruleId":"D2","level":"warning","message":{"text":"DSPyArtifactMaterializer.materialize_artifacts (cognitive 40): DSPyArtifactMaterializer.materialize_artifacts has cognitive complexity 40 (threshold 15). Drivers by points: if/else 21, error handling 11, loops 7, boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/artifact_materializer.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08492243ca49d543bc9d056288b5ae6124e3e649450708b9b8cc7c5473684eb"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawEngine._build_responses_payload (cognitive 40): OpenClawEngine._build_responses_payload has cognitive complexity 40 (threshold 15). Drivers by points: if/else 29, boolean chains 5, loops 3, ternaries 3 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"931c1c7787705e694a91d7bb13efb6a284c8899b41bcc36c75085e3e8bc0a293"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputUtilityComponent.on_post_evaluate (cognitive 36): OutputUtilityComponent.on_post_evaluate has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21, loops 6, boolean chains 5, error handling 2, ternaries 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":"src/flock/components/agent/output_utility.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b651ae3f129cf82572828f5ce635742e58edce29a9d3306662edf4a7d7efbb43"}},{"ruleId":"D2","level":"warning","message":{"text":"DSPyEngine._evaluate_internal (cognitive 36): DSPyEngine._evaluate_internal has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21, boolean chains 8, ternaries 4, error handling 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":"src/flock/engines/dspy_engine.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4595b760dd4f5ea2cf45cad71c3a555f7828e2bad8a3e00541db2665f7ddb6"}},{"ruleId":"D2","level":"warning","message":{"text":"DSPyArtifactMaterializer.normalize_output_payload (cognitive 35): DSPyArtifactMaterializer.normalize_output_payload has cognitive complexity 35 (threshold 15). Drivers by points: if/else 25, loops 4, boolean chains 3, error handling 3 (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":"src/flock/engines/dspy/artifact_materializer.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8246d8cbb4a0d45beaf9b78654bb1d688757a1fce3d531fa94a8115d24d1ddf2"}},{"ruleId":"D2","level":"warning","message":{"text":"BuiltinCollectionComponent.on_collect_artifacts (cognitive 33): BuiltinCollectionComponent.on_collect_artifacts has cognitive complexity 33 (threshold 15). Drivers by points: if/else 28, loops 3, boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/orchestrator/collection.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cde033f2353a46778f7128c5703d8b05401e1ee2626f7af0213fcb4c831871"}},{"ruleId":"D2","level":"warning","message":{"text":"Flock.run_until_idle (cognitive 32): Flock.run_until_idle has cognitive complexity 32 (threshold 15). Drivers by points: if/else 27, loops 5 (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":"src/flock/core/orchestrator.py"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c6ca583f1e2f953f4103113e06ccc34a65dff980bdaf1c35b5588e40eb4386"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_and_logged._extract_span_attributes (cognitive 31): trace_and_logged._extract_span_attributes has cognitive complexity 31 (threshold 15). Drivers by points: if/else 23, error handling 3, loops 3, boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/trace_and_logged.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af45e9d227ae46361ba0845c44326dddcb1d639dc90a99f81fec3b3aa440732"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentScheduler.schedule_artifact (cognitive 30): AgentScheduler.schedule_artifact has cognitive complexity 30 (threshold 15). Drivers by points: if/else 26, loops 3, boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/orchestrator/scheduler.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51289e9e1c93d969917f29bb6d257700dea426d0791ec934ee1e2d9e4498d74"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerComponent._timer_loop (cognitive 29): TimerComponent._timer_loop has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21, boolean chains 4, error handling 2, loops 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/orchestrator/scheduling/timer.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad43668bad701d6eb9fdec153106757e4595ae6ca18677646fc0a5c24b505ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawEngine._extract_responses_output_text (cognitive 29): OpenClawEngine._extract_responses_output_text has cognitive complexity 29 (threshold 15). Drivers by points: if/else 23, loops 4, boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"61824d4f940a9904269427e8ca41d5661c8d1dab5ea31b5662764fcf0794d9b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Flock.run_until (cognitive 27): Flock.run_until has cognitive complexity 27 (threshold 15). Drivers by points: if/else 26, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/orchestrator.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"649f3aea9b93869d6537583189e6da1fd7b507513da91fca5d2ada1d817acd2a"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphAssembler._build_logic_config_for_subscription (cognitive 26): GraphAssembler._build_logic_config_for_subscription has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14, ternaries 10, boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cbeb0a32aca400d25decf18b84f0ddd07edca48af2212d4cb7107f08adda62"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers._build_logic_config (cognitive 26): helpers._build_logic_config has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14, ternaries 10, boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/server/control/helpers.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edde44c666bd1194b6aba37f34e92303616b5b7379b0a7ce389bf74c64537e2"}},{"ruleId":"D2","level":"warning","message":{"text":"dapr_state_blackboard_store._build_dapr_query (cognitive 26): dapr_state_blackboard_store._build_dapr_query has cognitive complexity 26 (threshold 15). Drivers by points: if/else 26 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/storage/dapr/dapr_state_blackboard_store.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6947c1dde512109bfa0c2b11a01f7895bd89de37f3230741850a28b22650fa41"}},{"ruleId":"D2","level":"warning","message":{"text":"01_fan_out_selection.main_cli (cognitive 25): 01_fan_out_selection.main_cli has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12, loops 7, ternaries 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":"examples/02-patterns/complex-patterns/01_fan_out_selection.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"229460ad47e4bbdeacacffd9232353f77e56b2ae8b8e9e2de7920c6d22b467ba"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawEngine._materialize_artifacts_for_output_group (cognitive 24): OpenClawEngine._materialize_artifacts_for_output_group has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17, loops 7 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fa18822be51564ed0f366c33a57bce41009ed0abd62f4780483b8482f3678d"}},{"ruleId":"D2","level":"warning","message":{"text":"Flock.get_correlation_status (cognitive 23): Flock.get_correlation_status has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, loops 6, boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/orchestrator.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"11753febd0da4a612efb5ca092c4802b4931271a60107cedbef4e92e0ea816c3"}},{"ruleId":"D2","level":"warning","message":{"text":"FlockMCPClient.__init__ (cognitive 23): FlockMCPClient.__init__ has cognitive complexity 23 (threshold 15). Drivers by points: if/else 21, 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":"src/flock/mcp/client.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"211826736c5d623fdca7463e0c0a280257af7b3297541df817504ac7ea9e4adc"}},{"ruleId":"D2","level":"warning","message":{"text":"MockStore.query_artifacts (cognitive 23): MockStore.query_artifacts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 22, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/test_context_provider.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32fcaca173c8f13a2891fc9889564a21ced86ba7e1ae75a0b0477975cb325b1"}},{"ruleId":"D2","level":"warning","message":{"text":"DSPySignatureBuilder.prepare_execution_payload_for_output_group (cognitive 22): DSPySignatureBuilder.prepare_execution_payload_for_output_group has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, loops 4, ternaries 4, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/signature_builder.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fd7a876c4130585996acbef66e7434c5aab131a9c6fb6f8461e6e1af654cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_and_logged._serialize_value (cognitive 22): trace_and_logged._serialize_value has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14, error handling 6, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/trace_and_logged.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1d7f2e5f8b55ae613a46abd2662d900ee08a1dd4d92530ff47b010c7d17554"}},{"ruleId":"D2","level":"warning","message":{"text":"SemanticContextProvider.get_context (cognitive 21): SemanticContextProvider.get_context has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, error handling 5, 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":"src/flock/semantic/context_provider.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadfdac161bb0649e147baf8e33234504f8531a95fdc9aeea9d69ec96073a980"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPIntegration.configure_servers (cognitive 20): MCPIntegration.configure_servers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, boolean chains 2, loops 2, ternaries 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":"src/flock/agent/mcp_integration.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"05412fec711e5c08e86f41fcbd117643502a5da6254e0b7f3e75df100267bf90"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphAssembler._derive_blackboard_edges (cognitive 20): GraphAssembler._derive_blackboard_edges has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, loops 7, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9a6542a0b7bff3dee36b23181614073b055de971b35c3ef620daf6313f9ab0"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers._compute_agent_status (cognitive 20): helpers._compute_agent_status has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/server/control/helpers.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc93c740670aea9a540955f051284ed63bd6f23001cb8479609cee016dc5510"}},{"ruleId":"D2","level":"warning","message":{"text":"themed_formatter.create_rich_renderable (cognitive 20): themed_formatter.create_rich_renderable has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9, loops 5, ternaries 4, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/formatters/themed_formatter.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"899c85e3fbc4f624fad6b4724571437dcaa880a8215f50f55ba905fa254458f4"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionBumper.bump_versions (cognitive 19): VersionBumper.bump_versions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 2, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/bump_version.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcf0b0b9d21e47e4c7f34eb448489faa3735f88d5b257164b1fc4bf696600b9"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphAssembler._apply_pending_label_offsets (cognitive 19): GraphAssembler._apply_pending_label_offsets has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, loops 8 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc000d96ff4f82e6b050cc8336f1c4ba5200b84d85ac27fa32b1b651287b03d"}},{"ruleId":"D2","level":"warning","message":{"text":"DaprStateBlackboardStore._query_via_dapr_api (cognitive 19): DaprStateBlackboardStore._query_via_dapr_api has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, error handling 3, loops 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":"src/flock/storage/dapr/dapr_state_blackboard_store.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b60a27af9e6738641a5ad48fb03f22208dd7f022859016e287fb8382b7236b"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers._get_correlation_groups (cognitive 18): helpers._get_correlation_groups has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, ternaries 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/server/control/helpers.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbcf5ffb461dd3c8b27fb8d6acd8aa386b3a04275fdc47df1d5c3c1e0872051"}},{"ruleId":"D2","level":"warning","message":{"text":"theme_builder.create_rich_renderable (cognitive 18): theme_builder.create_rich_renderable has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, loops 5, ternaries 4, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/formatters/theme_builder.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"28aaa22540098199c849d4611a0003dedb23e4e512d8963de9c93e0c9f8cce68"}},{"ruleId":"D2","level":"warning","message":{"text":"TelemetryConfig.setup_tracing (cognitive 18): TelemetryConfig.setup_tracing has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 4, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/telemetry.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced5745b2c494844df548b9f94ec0c60afa8f28c22ed9cf862c3030445e050bb"}},{"ruleId":"D2","level":"warning","message":{"text":"FlockStreamableHttpClient.create_transport (cognitive 18): FlockStreamableHttpClient.create_transport has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/mcp/servers/streamable_http/flock_streamable_http_server.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9997bf390ecc04a0e3033a28287c495f352911a96d86bed4896870f8fb2510b"}},{"ruleId":"D2","level":"warning","message":{"text":"LoggingUtility._consume_stream (cognitive 18): LoggingUtility._consume_stream has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 4, ternaries 3, 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":"src/flock/utils/utilities.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c15b270e198e73c3ec87342081a79fa1e8c5f495c7d7ffc4f3247642285bf6d"}},{"ruleId":"D2","level":"warning","message":{"text":"check_version_bump.main (cognitive 17): check_version_bump.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 3, loops 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/check_version_bump.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5488c0c5f8fe2e0f84f1c8207edc01cbb82b5fd0d86db97a422980c3e5bc48"}},{"ruleId":"D2","level":"warning","message":{"text":"GuardComponent._extract_context_documents (cognitive 17): GuardComponent._extract_context_documents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, loops 7 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/agent/guard.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5399ca3db55fd38d0de2970cb7e8424ec35709b9376494d13ece3aae7441b21"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerComponent._wait_for_next_fire (cognitive 17): TimerComponent._wait_for_next_fire has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, ternaries 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/orchestrator/scheduling/timer.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44a1ce676296546bd3b7047d0dd530f432ea93d21fdc07365662c0b73ad4159"}},{"ruleId":"D2","level":"warning","message":{"text":"DSPyArtifactMaterializer.select_output_payload (cognitive 17): DSPyArtifactMaterializer.select_output_payload has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, ternaries 4, 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":"src/flock/engines/dspy/artifact_materializer.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c759c338f3c29b4162bf9da510827cde99eb78e14dcd7bf4529594b130cc3d19"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawEngine._extract_error_message (cognitive 17): OpenClawEngine._extract_error_message has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, loops 5, boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8098865fba85955741403d5e0c5689a7f8e6dc152db41a1d3806595cde3209ba"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawSSEDispatcher._extract_completed_text (cognitive 17): OpenClawSSEDispatcher._extract_completed_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, loops 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/streaming.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a602f868ab2473b09c2ecbc988a2dfa2899abcfb107ffef0ca20b55893840641"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactManager.publish (cognitive 17): ArtifactManager.publish has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/orchestrator/artifact_manager.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"918a02a25024a2e2995ee51dd2d5862226eda8e7e66d0f33aea1b534bd073efc"}},{"ruleId":"D2","level":"warning","message":{"text":"DaprStateBlackboardStore._query_via_index_scan (cognitive 17): DaprStateBlackboardStore._query_via_index_scan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, loops 5, boolean chains 2, error handling 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/storage/dapr/dapr_state_blackboard_store.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"55985d140e83a2b35f73314105f2c60cb157f86a17ad17a9e574fd18b24b616e"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphAssembler._build_pending_join_edges (cognitive 16): GraphAssembler._build_pending_join_edges has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, loops 6, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3681ff90af5fbb3a5c5ec1b020661109693e1c78aca379d27fe9e26d2cce13"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerComponent._calculate_next_fire_time (cognitive 16): TimerComponent._calculate_next_fire_time has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 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":"src/flock/components/orchestrator/scheduling/timer.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"658264de6ab7779aa8e801f50563adb5c893287ba1c84deb1460e5f6b6a7a3ae"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers._get_batch_state (cognitive 16): helpers._get_batch_state has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, ternaries 4, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/server/control/helpers.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"28564ba80a6dbdf44991c180627ab16e21c515c2b3709e014a78b60503ece69c"}},{"ruleId":"D2","level":"warning","message":{"text":"Flock._run_initialize (cognitive 16): Flock._run_initialize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 4, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/orchestrator.py"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e39dd0adde82796d2b7cae614a80f609ea9cbf0f4584c002224e7c7926ce5fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Subscription._matches_text_predicates (cognitive 16): Subscription._matches_text_predicates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, error handling 4, boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/subscription.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c034c3e985fed6bf22b903041f9fec6525cbe26d244427f278f2fa5b6aa43b1"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClawSSEConsumer._iter_frames (cognitive 16): OpenClawSSEConsumer._iter_frames has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, error handling 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":"src/flock/integrations/openclaw/streaming.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c60ead8be49cf06f75e0eeaac9ac762c1f559881404b3a689988576cb3d9d4"}},{"ruleId":"D2","level":"warning","message":{"text":"streaming.parse_sse_lines (cognitive 16): streaming.parse_sse_lines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, error handling 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":"src/flock/integrations/openclaw/streaming.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c615bed968411549e119e55082850d00af5c0e2a3cc3f1d28975c5c58d6331c3"}},{"ruleId":"D2","level":"warning","message":{"text":"auto_trace._parse_trace_filters (cognitive 16): auto_trace._parse_trace_filters has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, error handling 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/auto_trace.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c104036db173e3d12b08a0be19ad5d9a909481e44232e8342aa8d6e32b23919"}},{"ruleId":"D2","level":"warning","message":{"text":"FlockMCPConfiguration.from_dict (cognitive 16): FlockMCPConfiguration.from_dict has cognitive complexity 16 (threshold 15). Drivers by points: error handling 8, if/else 8 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/mcp/config.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"607580cdeb3ac03100873d052876e6d5a71d347b8812749731f82efdf4939c43"}},{"ruleId":"D2","level":"warning","message":{"text":"FlockSSEClient.create_transport (cognitive 16): FlockSSEClient.create_transport has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/mcp/servers/sse/flock_sse_server.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b684705d8b7d28252a41406ce29f05b665e772d478421f6579e04590c104ed9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openclaw/engine.py: FileTooLong \u2014 992 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"774649830771018c528edbc095f71a9801b2feafc08443d9030bcced942df5c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dapr/dapr_state_blackboard_store.py: FileTooLong \u2014 846 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/storage/dapr/dapr_state_blackboard_store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a86a05c28d07c657f240c14805b23b14a41f223b19a10dfbcc25573e46f4f70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/graph_builder.py: FileTooLong \u2014 756 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ed6b46575039d87483e45b1e9120d57a2d49be833c3c64418b7aa23e17d433"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Flock: TooManyMethods \u2014 45 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":"src/flock/core/orchestrator.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80415ce7283d5307c953b2ec695298f9ad627d6efe0a120f97821cc3b75f5e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/orchestrator.py: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/orchestrator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"404e63d2a8cfb92c8faff6874af65deb5ef30a6c3a5127aedb812cb4c26edb1d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenClawEngine: TooManyMethods \u2014 36 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":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c8c53ed4e6ee58a533027112383ea15e0a71cbd9c8c19448dfce742aafe309"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DaprStateBlackboardStore: TooManyMethods \u2014 34 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":"src/flock/storage/dapr/dapr_state_blackboard_store.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b659d15f0fa42d0c2aee44b2e3e76d2ee4c2aee799ae508cfc7aec21a8df30b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dspy/streaming_executor.py: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/streaming_executor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28d20ff48a812afae57471bc082ddf458676aef8e1591619bf20f6c081f2596"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/store.py: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/store.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5376070e2b62988cd7606fc8748bf0a11e6659f58b73ebaddd784b928e91367"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/agent.py: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eb96b4055362144d1d4dabe697ff6cedfe3cdecfafc4b1ed3a37f631ff0509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2): src/flock/logging/formatters/theme_builder.py:101-188 | src/flock/logging/formatters/themed_formatter.py:94-185 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/formatters/theme_builder.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0606b292c4b9c9af2995a16edd1a077ce788ecaa6da64c110f5570492eafae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): examples/09-server-components/05_websocket_component.py:83-123 | examples/09-server-components/06_artifacts_component.py:87-113 | examples/09-server-components/11_tracing_component.py:114-139 \u2014 before extracting anything, compare \u0060examples/09-server-components/06_artifacts_component.py\u0060 and \u0060examples/09-server-components/11_tracing_component.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/09-server-components/05_websocket_component.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bdf72f83d887a1c161fa290e45c9c16df2e683609af46ccf0c3448b858aba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/flock/api/graph_builder.py:911-933 | src/flock/components/server/control/helpers.py:306-328 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/api/graph_builder.py:911\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cecad2b5c6371bce092352e145ee9af8ae05b120c16faa69d90f75822091e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/flock/mcp/types/types.py:220-242 | src/flock/mcp/types/types.py:307-329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/mcp/types/types.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed14861faa96826f9bbdd2b40ffd9239bbd86d1fc76361cdf87546ce613deb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): examples/09-server-components/06_artifacts_component.py:124-145 | examples/09-server-components/08_control_routes_component.py:101-122 | examples/09-server-components/10_themes_component.py:102-136 | examples/09-server-components/11_tracing_component.py:150-184 \u2014 before extracting anything, compare \u0060examples/09-server-components/06_artifacts_component.py\u0060 and \u0060examples/09-server-components/11_tracing_component.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/09-server-components/08_control_routes_component.py:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/09-server-components/06_artifacts_component.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e084b8fcdf7c803bf6faee8765659ddf4f6eb29cf3ce8b560646377051771c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): examples/09-server-components/07_agents_component.py:117-138 | examples/09-server-components/08_control_routes_component.py:68-89 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/09-server-components/07_agents_component.py:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/09-server-components/07_agents_component.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e624b8bddf1f4866a4ce6b17da42d1d30437cad23307085491f824b71f2ff53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/flock/agent/component_lifecycle.py:133-154 | src/flock/agent/component_lifecycle.py:173-195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/agent/component_lifecycle.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edc10499f5ea35a37fd0228bdfdd7bf4d441744fcb10228f9e1cb7dfd79badf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/flock/engines/providers/transformers_provider.py:292-313 | src/flock/engines/providers/transformers_provider.py:453-473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/providers/transformers_provider.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"552773b17fc80d8e6ee100d1873089d855933df2571d11ef86c25fe4e37a38c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): examples/09-server-components/04_health_component.py:103-122 | examples/09-server-components/06_artifacts_component.py:80-99 | examples/09-server-components/11_tracing_component.py:107-126 \u2014 before extracting anything, compare \u0060examples/09-server-components/06_artifacts_component.py\u0060 and \u0060examples/09-server-components/11_tracing_component.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/09-server-components/04_health_component.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"266d7cace0eae4cbfd2e903e859bb3dd8ff2a7084fc523b89ea618c4ea57dda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): examples/12-dapr/inmemory/flock_dapr_inmemory.py:109-129 | examples/12-dapr/postgresql_unencrypted/flock_dapr_postgresql.py:110-129 | examples/12-dapr/redis_encrypted/flock_dapr_redis.py:110-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/12-dapr/inmemory/flock_dapr_inmemory.py:109\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/12-dapr/inmemory/flock_dapr_inmemory.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b7564fca96f648b7d3e6d7f53c8392caa9a3c02733fb4fd6ec3add262e272b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/flock/engines/providers/transformers_provider.py:243-261 | src/flock/engines/providers/transformers_provider.py:379-397 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/providers/transformers_provider.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"05471a8a1f34777c0e6656d252d1f45effff51bb281f2010c27e9143365ec0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/flock/orchestrator/batch_accumulator.py:113-131 | src/flock/orchestrator/batch_accumulator.py:145-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/orchestrator/batch_accumulator.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"095509cbd94a361282437c087df71f79b074f92e681e6f851ea64980ce689da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/flock/api/graph_builder.py:880-897 | src/flock/components/server/control/helpers.py:277-294 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/api/graph_builder.py:880\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"c316cbc85fdae768ae636db505d00399b36571349ed1d0a9244aaafd330b0987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/flock/core/orchestrator.py:684-716 | src/flock/core/orchestrator.py:807-824 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/orchestrator.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"8906bc88477dc57183cbc2d52292e025b235031eb2933dc8c47bb066819f756b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/flock/integrations/openclaw/engine.py:171-188 | src/flock/integrations/openclaw/engine.py:220-237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/integrations/openclaw/engine.py:171\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/engine.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd697d515d88d51e871863901207c73031f81df83c3057708d030d91d76c11ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/flock/integrations/openclaw/streaming.py:95-114 | src/flock/integrations/openclaw/streaming.py:470-487 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/streaming.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc02a55b4fee37da33541a54f8e622385f2997f1ff0ad06c323055f6189bc38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/12-dapr/postgresql_unencrypted/flock_dapr_postgresql.py:133-149 | examples/12-dapr/redis_encrypted/flock_dapr_redis.py:133-149 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/12-dapr/postgresql_unencrypted/flock_dapr_postgresql.py:133\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/12-dapr/postgresql_unencrypted/flock_dapr_postgresql.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ddb7c31f9b2bbf453ec0f157bf6a6341ecbeb63aa547bd6492cc435c80cbbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/flock/integrations/openclaw/streaming.py:62-78 | src/flock/integrations/openclaw/streaming.py:439-455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/integrations/openclaw/streaming.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1116781009a4e462352216ece984201dcfabfdcc923e6131e267d36e603391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/flock/mcp/servers/sse/flock_sse_server.py:83-99 | src/flock/mcp/servers/streamable_http/flock_streamable_http_server.py:97-113 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/mcp/servers/sse/flock_sse_server.py:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/mcp/servers/sse/flock_sse_server.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e40934e11e0cf75c7a3ec1d548a2dde4d45897c93254c00a5a3ea324776ae21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples/03-hackathon/07_joinspec_correlation.py:151-166 | examples/03-hackathon/07_joinspec_correlation.py:189-204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/03-hackathon/07_joinspec_correlation.py:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/03-hackathon/07_joinspec_correlation.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"659f8ac8724d8d055f476600415790528204d1cef1bf868977f4bfb9b370477e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples/09-server-components/01_authentication_component.py:28-45 | examples/09-server-components/01_authentication_component.py:187-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/09-server-components/01_authentication_component.py:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/09-server-components/01_authentication_component.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3def9a0d84141a4373fdeb406a49129dac0243651665c6433bad98f66d6e4a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/flock/logging/formatters/theme_builder.py:233-248 | src/flock/logging/formatters/themed_formatter.py:245-264 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/logging/formatters/theme_builder.py:233\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/formatters/theme_builder.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2da23dc4a4acb4bb6f69aba2eb0f815f6f00e90d9de087c5792c39df602322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): examples/12-dapr/inmemory/flock_dapr_inmemory.py:138-152 | examples/12-dapr/postgresql_unencrypted/flock_dapr_postgresql.py:139-153 | examples/12-dapr/redis_encrypted/flock_dapr_redis.py:139-153 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/12-dapr/inmemory/flock_dapr_inmemory.py:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/12-dapr/inmemory/flock_dapr_inmemory.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"613c1cdcbc74d9c010438ff98d7d2d4ad6db4f85ed2ab61fda1d2d7de5d51379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/flock/engines/providers/transformers_provider.py:162-176 | src/flock/engines/providers/transformers_provider.py:250-264 | src/flock/engines/providers/transformers_provider.py:386-400 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/engines/providers/transformers_provider.py:162\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/providers/transformers_provider.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e251e6b396d78f80d2c6fb59a88798b32aa512c564ccb9bbffa05a3ecf12718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/flock/orchestrator/server_manager.py:256-273 | src/flock/orchestrator/server_manager.py:372-386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/orchestrator/server_manager.py:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/orchestrator/server_manager.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39d5233837c5d2277e6c25d411ec8f8ccd95ad532354a4b3464ca09651be4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/flock/api/service.py:434-447 | src/flock/components/server/agents/agents_component.py:141-154 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/api/service.py:434\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/service.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0f773b0624ba156e4dedbf220df65fdb5856b8c9a5390a4cf8e902e483ba94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/flock/logging/formatters/theme_builder.py:26-39 | src/flock/logging/formatters/themed_formatter.py:26-43 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/formatters/theme_builder.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef51d11310f00d166fccbf4b6d0e967ca5c5efca927682fa3ff4f8158c3c846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/01-getting-started/15_iot_sensor_batching.py:118-133 | examples/01-getting-started/15_iot_sensor_batching.py:141-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/01-getting-started/15_iot_sensor_batching.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df34118d1c84c450264e3f4adfc6773f441d30459fea1c1da3b4d207113b327"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/09-server-components/01_authentication_component.py:145-161 | examples/09-server-components/01_authentication_component.py:302-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/09-server-components/01_authentication_component.py:145\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/09-server-components/01_authentication_component.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"17216af78cd60cc121964c14ea75ef69315f05c299c1a24acf527b73ba98fc17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/flock/api/collector.py:320-332 | src/flock/api/collector.py:376-388 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/api/collector.py:320\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/collector.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0db5617e4e78f1329a0181958b415d2ff1f553d189342deff347555a4245ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/flock/engines/dspy/streaming_executor.py:275-287 | src/flock/engines/dspy/streaming_executor.py:528-540 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/streaming_executor.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7585745796fbbb1c98baa0d76598f637ade791bd111f0ed4a095aab10a15d2b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/02-patterns/visibility/01_basic_visibility.py:76-87 | examples/02-patterns/visibility/01_basic_visibility.py:92-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/02-patterns/visibility/01_basic_visibility.py:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/02-patterns/visibility/01_basic_visibility.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0385a9b17b28298ed44aedec24ebaac633f287b9605b59126e489e8c9bdcdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/05-engines/potion_batch_engine.py:142-153 | examples/06-agent-components/cheer_meter_component.py:102-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/05-engines/potion_batch_engine.py:142\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/05-engines/potion_batch_engine.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cabdf33f779a2d37ea459ba4f082d59cc5fe5d5e94f2299134ec365ed5357b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/flock/api/service.py:336-347 | src/flock/components/server/artifacts/artifacts_component.py:152-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/api/service.py:336\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/service.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5806022f8ebac22f18ebedb5acd8439d69689dc5e062d9f5fce7ca6bc2ac5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/flock/engines/dspy/signature_builder.py:272-283 | src/flock/engines/dspy/signature_builder.py:438-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/signature_builder.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa9d43ec2d39f1f6c4b0873436ecc761f10e4c1591fd58377aaf28dbe454231"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/flock/logging/trace_and_logged.py:236-247 | src/flock/logging/trace_and_logged.py:285-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/trace_and_logged.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b298b0d73eaca67ce85c8b2ab5138755df7e511ead3e284860431a22cddd637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/flock/mcp/types/types.py:182-193 | src/flock/mcp/types/types.py:269-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/mcp/types/types.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"59862324c8f76084bb5a8a59a9193e059ceb411688a59e04c1ffc5dcf6f83e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples/05-engines/01_adapter_comparison.py:122-132 | examples/05-engines/01_adapter_comparison.py:138-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/05-engines/01_adapter_comparison.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f1e65099a2306b6bba3ae8d3400ae593ebabeac30bc778ddac9d8ec477667a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/flock/core/store.py:269-279 | src/flock/storage/dapr/dapr_state_blackboard_store.py:1087-1097 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/core/store.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"73819c48512cf6bb54493960cf051fc9f4eca4693964ee9b1a630e4bb4298373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/flock/engines/dspy/streaming_executor.py:397-407 | src/flock/integrations/openclaw/engine.py:564-574 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/engines/dspy/streaming_executor.py:397\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/streaming_executor.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc6a66b5a733e7308e15697beb174193be22629f163a6f045c6b4a3a852ff63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/flock/logging/formatters/theme_builder.py:206-216 | src/flock/logging/formatters/themed_formatter.py:210-225 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/formatters/theme_builder.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedb56fdbf7bd05619c2b2a09af1f7808d2a179185f87740b3d5a858cab5549b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/flock/storage/dapr/dapr_state_blackboard_store.py:738-748 | src/flock/storage/dapr/dapr_state_blackboard_store.py:781-791 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/storage/dapr/dapr_state_blackboard_store.py:738\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/storage/dapr/dapr_state_blackboard_store.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b0554b4be34b8c20d13d31df59a5b4cc72ac74bc962b9ffdabc9e1b4fb1004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/flock/storage/dapr/dapr_state_blackboard_store.py:980-990 | src/flock/storage/dapr/dapr_state_blackboard_store.py:1008-1018 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/storage/dapr/dapr_state_blackboard_store.py"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0114662e715c151588305f4485da0acfa7a51d0e83daea7ffd7a5dbf2088aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/01-getting-started/05_mcp_and_tools.py:30-39 | examples/01-getting-started/07_web_detective.py:28-37 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/01-getting-started/05_mcp_and_tools.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72caeb8314efcf71b4ec1cf9f2c0438f50459b78e66ea83359227c4c084fb95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/flock/components/server/traces/trace_component.py:442-451 | src/flock/components/server/traces/trace_component.py:541-550 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/components/server/traces/trace_component.py:442\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/server/traces/trace_component.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56b4598cc05c1db998a13d93451b64704df89660748d82c9129ed8c4bb85cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/flock/engines/dspy/signature_builder.py:241-250 | src/flock/engines/dspy/signature_builder.py:385-394 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/engines/dspy/signature_builder.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"205a89189fae38ef0326daaefda5465eb4eb4d1d70d8eef240d04f546b0bafca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/flock/components/agent/guard.py:172-180 | src/flock/components/agent/guard.py:203-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/agent/guard.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fd8598a7262570d7bfe8e41bae6534e09e76f60a0fc5aa52ad031a6f69a5ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/flock/api/graph_builder.py:431-438 | src/flock/api/graph_builder.py:719-726 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/api/graph_builder.py:431\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/graph_builder.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe559493d5fd2ead7873727b851275757b03affaff4c3ab311589846fbb32b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/flock/api/service.py:314-320 | src/flock/api/service.py:359-365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/api/service.py:314\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/service.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8e0302cf2f6f76f7b7066eaf024805645c650d9c5fd6644b7d6cfebd0b9d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/flock/components/server/agents/agents_component.py:74-80 | src/flock/components/server/artifacts/artifacts_component.py:98-104 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/components/server/agents/agents_component.py:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/server/agents/agents_component.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eb7323f257d56ec007b9c17a2f0d4cbe559c385e585c495f2853d837a83e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/flock/components/server/artifacts/artifacts_component.py:130-136 | src/flock/components/server/artifacts/artifacts_component.py:177-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/components/server/artifacts/artifacts_component.py:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/server/artifacts/artifacts_component.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f5b9bf1e68ecfb01e0191c92dec42d9608bcc0f0dd7cfb68b2af5ff774d963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/flock/logging/formatters/theme_builder.py:272-277 | src/flock/logging/formatters/themed_formatter.py:288-293 | src/flock/logging/formatters/themed_formatter.py:453-460 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/logging/formatters/theme_builder.py:272\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/formatters/theme_builder.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1287ac2af89b241840a28f47e85cce065d3b2a33fde20830b92ffbc9b5ebdd88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/flock/logging/formatters/theme_builder.py:281-286 | src/flock/logging/formatters/themed_formatter.py:301-307 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/logging/formatters/theme_builder.py:281\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/logging/formatters/theme_builder.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f09f80cca9229e5f6bbbdd9ad6ee145c9c2a4895bdf900ec4060db10dd8ae91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/flock/api/service.py:365-369 | src/flock/api/service.py:453-457 | src/flock/components/server/agents/agents_component.py:163-167 | src/flock/components/server/artifacts/artifacts_component.py:183-187 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/flock/api/service.py:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/api/service.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60c25165ac885d691e5fc2098cde58e41ad0a7d6d3965b695776dcc17b01802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/flock/components/server/agents/agents_component.py:160-164 | src/flock/components/server/artifacts/artifacts_component.py:133-137 | src/flock/components/server/artifacts/artifacts_component.py:180-184 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/flock/components/server/agents/agents_component.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"679a8dad7040eda6be4afba2779fb09db0a8cde5ca9982c41fc9c8f8c09ce8a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/11-openclaw/05_competitive_intelligence.py:582-586 | examples/11-openclaw/06_fast_orchestration_smoke.py:187-191 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/11-openclaw/05_competitive_intelligence.py"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c560ee73ed992f5b1affe64d27ff78530a89c35b84d7520eefce8918919db7f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 43 significant file(s) lose their only recent owner: src/flock/frontend/src/components/modules/TraceModuleJaeger.tsx, src/flock/integrations/openclaw/engine.py, src/flock/frontend/src/components/graph/GraphCanvas.tsx, src/flock/core/conditions.py, src/flock/frontend/src/services/websocket.ts, src/flock/logging/logging.py, src/flock/logging/formatters/themed_formatter.py, src/flock/frontend/src/components/controls/PublishControl.tsx (\u002B35 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"593b9b28ad49661465876656ee6303628249b9cd1fd52bf79fc961b885cd3fcb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 16 significant file(s) lose their only recent owner: src/flock/components/server/traces/trace_component.py, src/flock/api/collector.py, src/flock/api/websocket.py, src/flock/components/server/middleware/middleware_component.py, src/flock/components/server/cors/cors_component.py, src/flock/components/server/agents/agents_component.py, src/flock/api/base_service.py, src/flock/components/server/base.py (\u002B8 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5d7b4978b1aa28bae382b65e9f6938754b02ea743a840bbba9c02613670f604"}},{"ruleId":"D19","level":"note","message":{"text":"The README lacks an overview of the project\u0027s main features (Flock vs Beads) so a reader can tell which repo serves which purpose.: Add a one-line summary stating that Flock is AI-native orchestration and Beads is Git-native issue tracking, so readers know where to find each."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00be722daca568b70114a400f74bc1eb658803e787f9f8419f49bfb4fd79a068"}},{"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":"4cf4c379caf729476e10ec42dccf2312eef66262257e00228d0e092fcfb7d835"}},{"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":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 1 of 175 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: src/flock/engines/auth/azure.py. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"ruleId":"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":"2c19f78719071b42ad32dacd3af435cec452c049e5b3f6460af3b43fedeaf146"}},{"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":"fe9bb60521b1f79300f3b57da7a94cb3b821171af9ae38dd5576d7625f3da425"}},{"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":"bb809483c8a9088b2408fa398f13ff8b72cf2a856f694b1a0425c2913399fae0"}},{"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":"e8986c8810e8ebe78d8700169a61f6b46d3e0920ca3b54a8310d1a0893b86e4e"}},{"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":"57baeb3883b98a5cfb9c96d56014abb409646587eae49969b907ba5a40fe9913"}},{"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":"0c1fc433977d578f19698f08c45c16c2a007d3ad256af301692174d71648a7e0"}},{"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":"a4ff4cef7371b5af182d7314031b7983d80c799811f36f2839d34cd9e389bfd8"}},{"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":"e7ab9274ba4aa2befc0a954ad268a16bf6e26fb59d22c94c01cd81ac0edb896d"}},{"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":"008e633761e51760ec385efa5fc1615ee95010f05a758b7292a7f87ecca9fd97"}},{"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":"c0f7d01d9de0bfd3f698f2fb907926cd1096210f93631e84e2426d9ac2b1d8df"}},{"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":"1784ee09a603d97ab2a00200db4eeaf64d4c98789e16ba81690caf95618c469a"}},{"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":"650ac16e65700a035552fc4a2b2d11c058e8b2e0d41d8daeed0c69a833be2a7c"}},{"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":"dcf8ff27e60e88da020261ae74ca5b495dcdde1065efea58ba58edd34a7f9b9f"}},{"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":"9e5774d7a7794d38f5e36f7f46c6f1d5c9f11742b93991b9141ccc883651010a"}},{"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":"fe7356d6b77eeb24e9ad5975f9d043f6094ebd7ef0d6ec75a9cd8b0aafc968ca"}},{"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":"1f460bcbe1f1efe218f56d7e1879d49c1b438be8c3c3bf161173803b9eb7f5fd"}},{"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":"0c664e12f730f5f59ea89418901f47a4884882b2127656878775426a4b79ffef"}},{"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":"82abfc6b52e0f4755f897fec90763513062ab7fe8507905c087ca45f61c6e007"}},{"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":"b187fa9201527b9492919c30ac96971e15f4d861b0f0647f18749dd4c8b8a485"}},{"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":"4996bb9b43b813b08639ca104b684a911012fd0d4ba3bbcac672846a42a975b9"}},{"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":"4f43ecc1b44679be6d9d6e38ff96d11fed3577162a2df2ca312ae4c666b1bf43"}},{"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":"c63d124d7855da163d8bbad51058bf969ab81785431ea1058925079b6b359cdb"}},{"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":"f3221c786a939c6bf17c6bac2a64ee51b9a65ef87eb63e00f0644245a96c8f47"}},{"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":"c0520b0f8b2b012cfc6743d8ca4fb2aec0898f347848d4ac35500abff300142c"}},{"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":"753a8aed7085988b4147f80ef6d015c712d974c4c5a4aa728765836f021a8a51"}},{"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":"a238f0c1f490df6446a4df24001964e7a18406d8cf446b950611bdf401f3fb5e"}},{"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":"7de54a43b899a1fdb8aad76f293e44b2f25de5a2406cb81c9f8d24ac42b3141d"}},{"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":"6abb20e37d5c28c8c4ff37fca5ce2d9d2f81a02549b14bfa85ec29c8044ae051"}},{"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":"f08572c0e95c19865052b16206b2a16d1b5b70b8b101a120b1abf46b94f20b26"}},{"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":"00b3937d4029c9c48e16469334c335a62c88ba74f1d3814d9fa6deb795759539"}},{"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":"1d0b61badb293420601b178f7ef5c97c4f77197f735fcb3bf3d6b2c1a641ea5c"}},{"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":"63257d1d1336be4b37fedb99d7aad9cbef1a94a44bba1a6b1d0bb62fc700c900"}},{"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":"64a549dea82ae451bb713ced112a4a8fac121aa183fed60a665b4130230fe8c7"}},{"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":"ba43fdd0386a67524d35c8a2c7042b1ef151365794f7ae690f72de9b172f9577"}},{"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":"ef2d79a91da42edca7cf3d74ea801e523dc891941986c3b5dab089a9be4f3fe8"}},{"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":"e61551a22661321a3e0232c44eb0b9e948c4f91bbca7a1aa01d77a03e3bd9aa4"}},{"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":"48c6b6532ddefa5e2698fcb0b4490a983a875e3563ecd0f7c3a1fb221007e62c"}},{"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":"10a5a626e8f2dd46647f295cabbe9afbbd0d0abe7b9ad39304e6dbdc035150d1"}},{"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":"a666a7a00b05ab66c474843a5884f76eb28098d95ad34e894001c5beba63be30"}},{"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":"06c05029b7fde83372b1ff1be497f4f8f01a3fe2dfaa8238551dbff1cfa7f7dc"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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":48,"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."]}]}