{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"api.NewApp (cyclomatic 195): api.NewApp has cyclomatic complexity 195 (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":"internal/app/api/app.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34e00dc1f60f21f8cd3cb0731ff549bc430aa280e21d9094802ad392481d769"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.RunForJob (cyclomatic 191): Runner.RunForJob has cyclomatic complexity 191 (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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b6c3630ffbaa73c27be98ad9938d33cfef5d0ebff1efea1557214e690a8b4d"}},{"ruleId":"D1","level":"warning","message":{"text":"http.BuildNarrative (cyclomatic 103): http.BuildNarrative has cyclomatic complexity 103 (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":"internal/api/http/trace_narrative.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcd5b0da24ffbef260304793b600021053d4d450a29bcec2151cc3f01e8ad5f"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.NewApp (cyclomatic 94): worker.NewApp has cyclomatic complexity 94 (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":"internal/app/worker/app.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b72c94349ee5272d19dc31b47fe869a320310a9cee1dd626e690ea390566eb6"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.Advance (cyclomatic 93): Runner.Advance has cyclomatic complexity 93 (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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05b4bfcf4ed53e5926bb6ab28520cfce9a888156479b31f3f707e9d9dedb22f"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolNodeAdapter.runNodeExecute (cyclomatic 68): ToolNodeAdapter.runNodeExecute has cyclomatic complexity 68 (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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eb97727972c60537510c9baba462521163333ba038682974bf952e88cb755c"}},{"ruleId":"D1","level":"warning","message":{"text":"replayBuilder.BuildFromEvents (cyclomatic 65): replayBuilder.BuildFromEvents has cyclomatic complexity 65 (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":"internal/agent/replay/replay.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"64943722002fb7202a757508470d4cba73fab30c854c56f42a030abb72c9fb5a"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolNodeAdapter.runNode (cyclomatic 63): ToolNodeAdapter.runNode has cyclomatic complexity 63 (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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53eadbf95366cdd35c96cc6d220723715bde5b092867000758a0677397787f5"}},{"ruleId":"D1","level":"warning","message":{"text":"replayBuilder.applyIncrementalEvents (cyclomatic 62): replayBuilder.applyIncrementalEvents has cyclomatic complexity 62 (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":"internal/agent/replay/replay.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"a899740150cbc11169ec66a4be99abecceff8cbf8eee6e911481b45d7563a29c"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.runParallelLevel (cyclomatic 57): Runner.runParallelLevel has cyclomatic complexity 57 (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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"42215343f81b5793f8d1d554f03557bd9c80b08f1bea73f9f74004ca0ec9d58d"}},{"ruleId":"D1","level":"warning","message":{"text":"Scheduler.Start (cyclomatic 52): Scheduler.Start has cyclomatic complexity 52 (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":"internal/agent/job/scheduler.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b354d12b5f897234d35313473577160810d90dc65399e437edc0fee6239aba5e"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 45): main.main has cyclomatic complexity 45 (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":"cmd/cli/main.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1931e1a338a9a85658088c0027ad9dd05d1540d7e661a75cdc18a226be6af4be"}},{"ruleId":"D1","level":"warning","message":{"text":"EinoNodeAdapter.runNode (cyclomatic 45): EinoNodeAdapter.runNode has cyclomatic complexity 45 (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":"internal/agent/runtime/executor/eino_node_adapter.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1db29b117e7c052f6df780c10822647a82ddf53d4d43dd1f3f9847e136420e"}},{"ruleId":"D1","level":"warning","message":{"text":"http.BuildExecutionTree (cyclomatic 42): http.BuildExecutionTree has cyclomatic complexity 42 (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":"internal/api/http/trace_tree.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"04313ab132e15ad5212c3e2f1f7c2d40db244db31ca7ade54fa06563d181eb8f"}},{"ruleId":"D1","level":"warning","message":{"text":"main.runDebug (cyclomatic 39): main.runDebug has cyclomatic complexity 39 (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":"cmd/cli/main.go"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea293b07afe22ea2f26275192ebb7f1dc1df3a38f3bb95aa31145f2c31c966dc"}},{"ruleId":"D1","level":"warning","message":{"text":"externalAgentCallTool.Execute (cyclomatic 37): externalAgentCallTool.Execute has cyclomatic complexity 37 (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":"internal/app/api/external_agent_tool.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"839330fc2a1a2dd146905cf0e1fb9129ad1a9c15149745f13720ce0924e72a49"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.AgentMessage (cyclomatic 33): Handler.AgentMessage 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":"internal/api/http/handler.go"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a88a6be3d0f6641558999a8eba67519c6d22797ed75a289b817bd0188cc3dfd"}},{"ruleId":"D1","level":"warning","message":{"text":"config.ValidateExternalAgents (cyclomatic 33): config.ValidateExternalAgents 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":"pkg/config/config.go"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a5a7cd0df9a71b66896da74567af3f24b51a098031c9f550b8393e096fe77d"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomerServiceBot.classifyIntent (cyclomatic 32): CustomerServiceBot.classifyIntent has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai-customer-bot/bot.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f202723969ff37ca91e8012116a459e25e357da2406fea724a5d73524f3cd6"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMNodeAdapter.runNode (cyclomatic 31): LLMNodeAdapter.runNode has cyclomatic complexity 31 (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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78d28910725956106f1e079f9c76953f70592dbc2a633860541799282d1ab78"}},{"ruleId":"D1","level":"warning","message":{"text":"ingestWorkflowExecutor.Execute (cyclomatic 31): ingestWorkflowExecutor.Execute has cyclomatic complexity 31 (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":"internal/runtime/eino/workflow_executors.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5990a9fbb7a4fb1bd44f4d92d7c7d970627ca031ae4aa364c3e1df5565519a51"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryEngine.Query (cyclomatic 28): QueryEngine.Query has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/forensics/query_engine.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"21734b4679946a52c8b750340aaf5fac6a8be8c403199b9a443e01fc5c3a4adc"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.ForensicsQuery (cyclomatic 27): Handler.ForensicsQuery has cyclomatic complexity 27 (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":"internal/api/http/forensics_query.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a76de95f79c0a9b637a4e94e0433cfda2e9c63deef18506f949368ed7bc211"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.JobSignal (cyclomatic 27): Handler.JobSignal has cyclomatic complexity 27 (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":"internal/api/http/handler.go"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3407f30dc28a9f45c4d4c0141c2310e7d8e1340a877434c7b2c9282e4ca1a4"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.GetJobCognitionTrace (cyclomatic 27): Handler.GetJobCognitionTrace has cyclomatic complexity 27 (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":"internal/api/http/handler.go"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fd9262124dc77bedd7a6ba61c24a2ca7451a3464c7242817181683872bff12"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryStore.List (cyclomatic 27): MemoryStore.List has cyclomatic complexity 27 (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":"internal/storage/metadata/memory.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2481027b88441507b9a5c7f749141ca9ee364bf13147781f88aa3c86d9b5f3f8"}},{"ruleId":"D1","level":"warning","message":{"text":"proof.VerifyEvidenceZip (cyclomatic 26): proof.VerifyEvidenceZip has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proof/verify.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c09302b238fbbc8ff0129fa2fdc16c920c15a363d51f621961cbaa9d439dd5"}},{"ruleId":"D1","level":"warning","message":{"text":"api.ValidateFrameworkManifest (cyclomatic 25): api.ValidateFrameworkManifest 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":"internal/app/api/framework_manifest.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5339e2aa1f7165f843b6316e4efae7d11351e1dd72a309acb54d67d5eee82cf4"}},{"ruleId":"D1","level":"warning","message":{"text":"proof.ExportEvidenceZip (cyclomatic 25): proof.ExportEvidenceZip 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":"pkg/proof/export.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3be2d3837e72a0a324854cef318711316ca4b9af4b005af4ad19af5464b8026"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentJobRunner.Start (cyclomatic 24): AgentJobRunner.Start 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":"internal/app/worker/agent_job.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26c3e8a77df5e305549674ef458b07812491cc0863630b989e8f1da97f7d91d"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryStore.Count (cyclomatic 24): MemoryStore.Count 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":"internal/storage/metadata/memory.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f8739a4eb5cbf7ad4f3bf901268520bfe2ba3ed0cbc8072213ba7cf7ec1c5b"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.GetJobReplay (cyclomatic 23): Handler.GetJobReplay has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef900d8e89bd738b9130bf2c143367023b043e187eea3eb28f92da76c7425cab"}},{"ruleId":"D1","level":"warning","message":{"text":"proofLedgerAdapter.ListToolInvocations (cyclomatic 22): proofLedgerAdapter.ListToolInvocations has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d36ce4f86521983591d766975aa87d30764f49bfcf7c6486050bc5431cc2627"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.JobMessage (cyclomatic 22): Handler.JobMessage has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb2ee93d30cb3e07e3e404e631725f68e32ed67ce22610118466fac9f1b3a70"}},{"ruleId":"D1","level":"warning","message":{"text":"middleware.NewJWTAuth (cyclomatic 22): middleware.NewJWTAuth has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/middleware/middleware.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5696f6f1aa07db8e0d48b8c83c676f287134396d0206812000b640ddb87d216"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryIndexer.Store (cyclomatic 22): MemoryIndexer.Store has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/eino_indexer.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"946e4b90a8e72fbefcca192034ddfc7f64ee24341278e9e9a5834a276bd136e6"}},{"ruleId":"D1","level":"warning","message":{"text":"proof.ValidateLedgerConsistency (cyclomatic 22): proof.ValidateLedgerConsistency has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proof/verify.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a47d19a1198bc99d39746adbfbbc3511bcce23227d7a9ede5b03396885d4b25"}},{"ruleId":"D1","level":"warning","message":{"text":"api.HandleACPEvents (cyclomatic 21): api.HandleACPEvents has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/acp_handler.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cf5b3dd8132e4805616687cfc0989af5a4f1df3eed30c3e162c6056c86df2b"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentJobRunner.executeJob (cyclomatic 21): AgentJobRunner.executeJob has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/agent_job.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"223e4303c758e3120f0069eadc047bfb207d4a0401d15dc23af92f4de5cb2ac4"}},{"ruleId":"D1","level":"warning","message":{"text":"FrameworkCallableNodeAdapter.runNode (cyclomatic 20): FrameworkCallableNodeAdapter.runNode 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":"internal/agent/runtime/executor/framework_callable_adapter.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2577910416ce517e690c77497ffaf10ba6cc8af93deb2d7cf65df868832a27a"}},{"ruleId":"D1","level":"warning","message":{"text":"api.validateProductionRuntimeConfig (cyclomatic 20): api.validateProductionRuntimeConfig 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":"internal/app/api/app.go"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f12a52e832def10604514a536b1bcf0d528882b012efb10c584829dc8a38689"}},{"ruleId":"D1","level":"warning","message":{"text":"App.Run (cyclomatic 20): App.Run 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":"internal/app/api/app.go"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"71960d6fa5da25735c288ddf6afcd7c6b06619f8fc18d1070c7cf35e65191cc7"}},{"ruleId":"D1","level":"warning","message":{"text":"queryWorkflowExecutor.Execute (cyclomatic 19): queryWorkflowExecutor.Execute has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/workflow_executors.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d006e1db05dbfa7803a4af5a76af47a7d470b428f69b8aadbb2011875de324"}},{"ruleId":"D1","level":"warning","message":{"text":"PatternMatcher.FindSuspiciousPatterns (cyclomatic 19): PatternMatcher.FindSuspiciousPatterns has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/ai_forensics/pattern.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ba5d875f197cdabbe048a53429b8077a28e0969009cf817c2054c9869287a0"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.GetJobTrace (cyclomatic 18): Handler.GetJobTrace 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":"internal/api/http/handler.go"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5021e2afc7b21e3974b3fcdeda4f5e175c11b61cac0e42f437a7c078a399e7"}},{"ruleId":"D1","level":"warning","message":{"text":"EinoRetrieverQueryAdapter.Execute (cyclomatic 18): EinoRetrieverQueryAdapter.Execute 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":"internal/app/api/adapters.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83eea027b246e99bd72b2883b43b858d758c243f06883622ee8b51bec70acf3"}},{"ruleId":"D1","level":"warning","message":{"text":"JobRunner.Start (cyclomatic 17): JobRunner.Start has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/job_runner.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b4ac2778b28654e2af5a42d905091f7f6379b4f41fd094d764bdaeb736a5c3"}},{"ruleId":"D1","level":"warning","message":{"text":"Compiler.Compile (cyclomatic 17): Compiler.Compile has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/compiler.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf9c367c2c6a744d41d80ad65f6dc7791c5f6619a7e5faf31324859398dda82"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.ListDecisionSignals (cyclomatic 17): Handler.ListDecisionSignals has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb6114163ff93b986f083661bd13309a8b149ac2c9dfb7d0451867e8ed3ae15"}},{"ruleId":"D1","level":"warning","message":{"text":"config.replaceEnvVars (cyclomatic 17): config.replaceEnvVars has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/config.go"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c9cc267c320942836ca9350e7a8377d408435c7282018456bf6c20e32523cc"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 16): main.main 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":"examples/streaming/main.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5c6bfc0a9289f9dc3d38301e0032aa95c0e68234454333f528e796c2d51560"}},{"ruleId":"D1","level":"warning","message":{"text":"job.ReclaimOrphanedFromEventStore (cyclomatic 16): job.ReclaimOrphanedFromEventStore 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":"internal/agent/job/reclaim.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"556a2cec13fd1402147bb2ce713797ac3f91bae43078ee876a3ab17551d2aa5a"}},{"ruleId":"D1","level":"warning","message":{"text":"http.sessionToADKMessages (cyclomatic 16): http.sessionToADKMessages 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":"internal/api/http/handler.go"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae43b1e2ab2f4d9ef0f49854a0739860f5952ff71b018b515f710a983e941927"}},{"ruleId":"D1","level":"warning","message":{"text":"api.NewDAGCompilerWithOptions (cyclomatic 16): api.NewDAGCompilerWithOptions 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":"internal/app/api/agent_dag.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"811470d3740fc4447d786582a75b94ab3335a64cc64b357f88e56e95b2a8dca4"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.validateProductionRuntimeConfig (cyclomatic 16): worker.validateProductionRuntimeConfig has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"531cc68a0c3a99f97491e7809ef1194b1e7c54698c4933ddbbeb97a323f0c5fe"}},{"ruleId":"D1","level":"warning","message":{"text":"App.Start (cyclomatic 16): App.Start 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":"internal/app/worker/app.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ccfe0375b4e930ea2dfe264b05f3a2b634336b6251d0f974f99ebcafc9a239"}},{"ruleId":"D1","level":"warning","message":{"text":"AnomalyDetector.DetectAnomalies (cyclomatic 16): AnomalyDetector.DetectAnomalies 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":"pkg/ai_forensics/detector.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04475ea93cc51d0123f3c5242b0467e9fd32c6ece4c116860abe87a8d57d1b7"}},{"ruleId":"D1","level":"warning","message":{"text":"routing.ValidateRouteDecision (cyclomatic 16): routing.ValidateRouteDecision 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":"pkg/routing/advisor.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9de7725a7c8667b13b15465e3630542149f5fd79e78f20cbcc062e9c575ee0c"}},{"ruleId":"D1","level":"warning","message":{"text":"FailoverHandler.ExecuteWithFailover (cyclomatic 16): FailoverHandler.ExecuteWithFailover 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":"pkg/routing/failover.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1340c86f8c68fbbe3be8ef407210e80f3f1683e918dd20ac69c928d81e0d84"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.RunForJob (cognitive 585): Runner.RunForJob has cognitive complexity 585 (threshold 15). Drivers by points: if/else 508, loops 42, boolean chains 33, jumps 2 (nesting depth added 394). 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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b59233fc53581325de372658a679e8661ea8421d9a2e98692f36b7f2b4af3c"}},{"ruleId":"D2","level":"warning","message":{"text":"api.NewApp (cognitive 314): api.NewApp has cognitive complexity 314 (threshold 15). Drivers by points: if/else 253, boolean chains 47, loops 12, match/switch 2 (nesting depth added 125). 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":"internal/app/api/app.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1945b8313e0f9a25bfcfe0b40d058b2c87c50f73bdc28aa69c40dfa4126ff90e"}},{"ruleId":"D2","level":"warning","message":{"text":"http.BuildNarrative (cognitive 255): http.BuildNarrative has cognitive complexity 255 (threshold 15). Drivers by points: if/else 215, loops 18, boolean chains 16, match/switch 6 (nesting depth added 171). 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":"internal/api/http/trace_narrative.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b6432727334c5b8b091b7fe72908a9de40f31313d1ea48c58c04fe730a6ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.NewApp (cognitive 208): worker.NewApp has cognitive complexity 208 (threshold 15). Drivers by points: if/else 181, boolean chains 12, loops 12, match/switch 3 (nesting depth added 112). 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":"internal/app/worker/app.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89be74c45d137d9a580f1b96f37d36687864ba011e04209166cae601fbf14c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Scheduler.Start (cognitive 176): Scheduler.Start has cognitive complexity 176 (threshold 15). Drivers by points: if/else 149, boolean chains 14, match/switch 7, loops 6 (nesting depth added 123). 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":"internal/agent/job/scheduler.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"82abbaff5bd65995435417ca8701876e7575348c14e56d5f5cc00eb4ce508de7"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.Advance (cognitive 171): Runner.Advance has cognitive complexity 171 (threshold 15). Drivers by points: if/else 146, boolean chains 19, loops 6 (nesting depth added 77). 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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbfe0213a76e64583e9d74813e5b70866106be7c7170ee371763d4751eb2265"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolNodeAdapter.runNode (cognitive 124): ToolNodeAdapter.runNode has cognitive complexity 124 (threshold 15). Drivers by points: if/else 112, boolean chains 10, match/switch 2 (nesting depth added 70). 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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec716d62f0a57bfbe9f9ac8c94a181e579c30db0d4fb6ef28c8c4451926d440"}},{"ruleId":"D2","level":"warning","message":{"text":"replayBuilder.BuildFromEvents (cognitive 117): replayBuilder.BuildFromEvents has cognitive complexity 117 (threshold 15). Drivers by points: if/else 93, boolean chains 12, match/switch 11, loops 1 (nesting depth added 66). 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":"internal/agent/replay/replay.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef2c6f4eca3e7d99cf57ac277e6c44bba490806c2a618782a30557d10162506"}},{"ruleId":"D2","level":"warning","message":{"text":"replayBuilder.applyIncrementalEvents (cognitive 114): replayBuilder.applyIncrementalEvents has cognitive complexity 114 (threshold 15). Drivers by points: if/else 91, boolean chains 11, match/switch 11, loops 1 (nesting depth added 66). 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":"internal/agent/replay/replay.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"b718539ecc17d4d33adcb4a9e190ed380b9ea9184dfab0bcabae9f013b81950c"}},{"ruleId":"D2","level":"warning","message":{"text":"http.BuildExecutionTree (cognitive 112): http.BuildExecutionTree has cognitive complexity 112 (threshold 15). Drivers by points: if/else 105, match/switch 4, boolean chains 2, loops 1 (nesting depth added 76). 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":"internal/api/http/trace_tree.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9383d0baf51ebb4c7e876616b2001cd695c0425192ef3d390f638491b9f8694"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.runParallelLevel (cognitive 106): Runner.runParallelLevel has cognitive complexity 106 (threshold 15). Drivers by points: if/else 77, loops 22, boolean chains 7 (nesting depth added 49). 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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7977aa3ef12befce46b522d2dc2c60403f6b8ea0dc47828a4a628bada803c4ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolNodeAdapter.runNodeExecute (cognitive 90): ToolNodeAdapter.runNodeExecute has cognitive complexity 90 (threshold 15). Drivers by points: if/else 70, boolean chains 19, loops 1 (nesting depth added 26). 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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f1f1dbf43c2d260aa06e5934089b98652583ed4cee958b0d06ba99d9f41b81"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runDebug (cognitive 88): main.runDebug has cognitive complexity 88 (threshold 15). Drivers by points: if/else 78, boolean chains 6, loops 4 (nesting depth added 48). 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":"cmd/cli/main.go"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8aefb65923d950efe8109aea46cb96673aa5dd992cc1f5ce2fca370df3567e"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryStore.List (cognitive 81): MemoryStore.List has cognitive complexity 81 (threshold 15). Drivers by points: if/else 61, loops 17, boolean chains 3 (nesting depth added 55). 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":"internal/storage/metadata/memory.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"801b333fb3934ebec101593133743ba8dc80e3ca397ac490a60c9eb42c5f651f"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.AgentMessage (cognitive 78): Handler.AgentMessage has cognitive complexity 78 (threshold 15). Drivers by points: if/else 75, boolean chains 3 (nesting depth added 43). 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":"internal/api/http/handler.go"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b92d929256e79ac229a57b31c152cc75500e2ef6c4607ba977c0f79283c2f73"}},{"ruleId":"D2","level":"warning","message":{"text":"EinoNodeAdapter.runNode (cognitive 76): EinoNodeAdapter.runNode has cognitive complexity 76 (threshold 15). Drivers by points: if/else 58, boolean chains 14, loops 4 (nesting depth added 29). 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":"internal/agent/runtime/executor/eino_node_adapter.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"966a9e7fd00a8585643ad28f24dfd2bc4993af9224102c45760489fccdf52008"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryStore.Count (cognitive 76): MemoryStore.Count has cognitive complexity 76 (threshold 15). Drivers by points: if/else 56, loops 17, boolean chains 3 (nesting depth added 53). 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":"internal/storage/metadata/memory.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97655a5b2b58fff23c188c46953cf1cd2060df8e8b14845c0286dcf53c58893"}},{"ruleId":"D2","level":"warning","message":{"text":"config.ValidateExternalAgents (cognitive 59): config.ValidateExternalAgents has cognitive complexity 59 (threshold 15). Drivers by points: if/else 46, boolean chains 8, match/switch 4, loops 1 (nesting depth added 30). 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":"pkg/config/config.go"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d854dd0aba6cf88977a4a62b202b8b9a4935f7965f2e15bb00e0efcfb5e36ec"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentJobRunner.Start (cognitive 57): AgentJobRunner.Start has cognitive complexity 57 (threshold 15). Drivers by points: if/else 39, match/switch 14, boolean chains 3, loops 1 (nesting depth added 38). 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":"internal/app/worker/agent_job.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"03baeed2a73cb89e358cbfc59bfdc1af8d4ebcbbaa4335b3b6f1544f94111edb"}},{"ruleId":"D2","level":"warning","message":{"text":"proof.VerifyEvidenceZip (cognitive 49): proof.VerifyEvidenceZip has cognitive complexity 49 (threshold 15). Drivers by points: if/else 44, boolean chains 3, loops 2 (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":"pkg/proof/verify.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdc8ef76cdd3ca334a556d107996b9d4dc4a7e9d0c7f734691449b16e630f76"}},{"ruleId":"D2","level":"warning","message":{"text":"externalAgentCallTool.Execute (cognitive 47): externalAgentCallTool.Execute has cognitive complexity 47 (threshold 15). Drivers by points: if/else 43, match/switch 3, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/external_agent_tool.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b06889e0daee4afaf1341f61a176c2f1445b0842d9742c239452bb3e622e40"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 44): main.main has cognitive complexity 44 (threshold 15). Drivers by points: if/else 38, boolean chains 4, loops 1, match/switch 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":"cmd/cli/main.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d814ca2f81cf6d2e2e8449164a42e661affede0af7f5349edba4c60630da08"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 44): main.main has cognitive complexity 44 (threshold 15). Drivers by points: if/else 33, loops 6, match/switch 4, boolean chains 1 (nesting depth added 29). 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/streaming/main.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9594c7801775da9313697bd1cd7def1f8da50e0c244e6d77a6c44237ff1a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryIndexer.Store (cognitive 44): MemoryIndexer.Store has cognitive complexity 44 (threshold 15). Drivers by points: if/else 36, loops 5, boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/eino_indexer.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbcb931279731ac54ffb3512989ce13b4d1f08dc191eed6ceb7bc461b278f79"}},{"ruleId":"D2","level":"warning","message":{"text":"ingestWorkflowExecutor.Execute (cognitive 44): ingestWorkflowExecutor.Execute has cognitive complexity 44 (threshold 15). Drivers by points: if/else 44 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/workflow_executors.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa51893182e2fb72484a3d59ac95ff94ecb61e679d2a7b90ee7c534af9cacde9"}},{"ruleId":"D2","level":"warning","message":{"text":"proof.ValidateLedgerConsistency (cognitive 42): proof.ValidateLedgerConsistency has cognitive complexity 42 (threshold 15). Drivers by points: if/else 34, boolean chains 4, loops 4 (nesting depth added 21). 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":"pkg/proof/verify.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d319d463c6610dc0379658b81bef28b76d7745177d63be821656502f6d1306"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMNodeAdapter.runNode (cognitive 41): LLMNodeAdapter.runNode has cognitive complexity 41 (threshold 15). Drivers by points: if/else 31, boolean chains 10 (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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a38bb22632f050ecf99097e08da5e1409ff4bab9019f8b3c8fe4b8eef14101d"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryEngine.Query (cognitive 40): QueryEngine.Query has cognitive complexity 40 (threshold 15). Drivers by points: if/else 30, boolean chains 8, loops 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":"pkg/forensics/query_engine.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb47b957fd9aae6f103036cc90e278a4ede71f0e268d96b865f649a7e8dcbc2"}},{"ruleId":"D2","level":"warning","message":{"text":"proofLedgerAdapter.ListToolInvocations (cognitive 39): proofLedgerAdapter.ListToolInvocations has cognitive complexity 39 (threshold 15). Drivers by points: if/else 34, loops 3, boolean chains 2 (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":"internal/api/http/forensics.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0518529229743993229cf6c28f8a1dbaafb72d03945033b8581ca04fa2b17055"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.ForensicsQuery (cognitive 38): Handler.ForensicsQuery has cognitive complexity 38 (threshold 15). Drivers by points: if/else 30, loops 5, boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16d333fb02a155dd249af00bf68c34e1623fbcd475e2b0085a2531a02c09ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.GetJobCognitionTrace (cognitive 38): Handler.GetJobCognitionTrace has cognitive complexity 38 (threshold 15). Drivers by points: if/else 28, boolean chains 5, loops 5 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"076bfe521aaa302e9749bad1290ccb345a2bb35c7a1bc90f2a9aeac872dc0ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"api.ValidateFrameworkManifest (cognitive 37): api.ValidateFrameworkManifest has cognitive complexity 37 (threshold 15). Drivers by points: if/else 33, loops 2, match/switch 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":"internal/app/api/framework_manifest.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"962fdd00de670a644449b0d04e72eed483e27c39be86a9922498142e9dfbaad2"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.JobSignal (cognitive 34): Handler.JobSignal has cognitive complexity 34 (threshold 15). Drivers by points: if/else 29, boolean chains 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":"internal/api/http/handler.go"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7f925ae07b40564888ad0b59d88b91b82d51e830e6082028c7ff4ee32391de"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.GetJobTrace (cognitive 34): Handler.GetJobTrace has cognitive complexity 34 (threshold 15). Drivers by points: if/else 29, boolean chains 3, loops 2 (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":"internal/api/http/handler.go"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"86636574f630186e93a5a4c6a2115722d90e3732ac767bf8cf451a4abaf6306e"}},{"ruleId":"D2","level":"warning","message":{"text":"proof.ExportEvidenceZip (cognitive 34): proof.ExportEvidenceZip has cognitive complexity 34 (threshold 15). Drivers by points: if/else 33, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proof/export.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0784501e96c99f91e5de0683e2afa693003b66fe3e78c718c5880d8e32b2fe4c"}},{"ruleId":"D2","level":"warning","message":{"text":"PatternMatcher.FindSuspiciousPatterns (cognitive 33): PatternMatcher.FindSuspiciousPatterns has cognitive complexity 33 (threshold 15). Drivers by points: if/else 29, loops 3, boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/ai_forensics/pattern.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb1f6bd4cdd2fc9381dfa16ce64fbdd568917209d75932785a85bd7e11b26c8"}},{"ruleId":"D2","level":"warning","message":{"text":"SemanticSplitter.mergeBySemantics (cognitive 31): SemanticSplitter.mergeBySemantics has cognitive complexity 31 (threshold 15). Drivers by points: if/else 28, boolean chains 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/splitter/semantic.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a576260ffd4da6e09fad0091ea826c607840ea31cd474b1d3b094d7e89600702"}},{"ruleId":"D2","level":"warning","message":{"text":"JobRunner.Start (cognitive 30): JobRunner.Start has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22, boolean chains 5, match/switch 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/job_runner.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b5bf0e82c795e18f639e9d23132ff72928a77a4a24336a46ce0da413bcbe22"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.GetJobReplay (cognitive 30): Handler.GetJobReplay has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22, boolean chains 3, loops 3, match/switch 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a04b9041b9a5f8cc918105337b3551bb0b79abef28795d459c6bf96f9eb41"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentJobRunner.executeJob (cognitive 30): AgentJobRunner.executeJob has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18, match/switch 7, boolean chains 3, loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/agent_job.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ed36f03de16f6c66ffdfa7b04b4b1c8fa9991859dbbe4f437628c5abadf302"}},{"ruleId":"D2","level":"warning","message":{"text":"config.replaceEnvVars (cognitive 30): config.replaceEnvVars has cognitive complexity 30 (threshold 15). Drivers by points: if/else 26, loops 4 (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":"pkg/config/config.go"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"999d8c9f20b9544402feb96345b8c508427c38234f92745b3d68ed4e6abb3d16"}},{"ruleId":"D2","level":"warning","message":{"text":"Builder.BuildFromEvents (cognitive 30): Builder.BuildFromEvents has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16, loops 13, boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/evidence/builder.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2d5fd4319fea2f4736cb636115aafd10158949608f3aa520d6b51c08b588ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.JobMessage (cognitive 29): Handler.JobMessage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 24, boolean chains 3, loops 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":"internal/api/http/handler.go"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10426ea2318ad7d054dc5d560c63b48ec2dedcc1c7809e855c666cd22f2672f"}},{"ruleId":"D2","level":"warning","message":{"text":"EinoRetrieverQueryAdapter.Execute (cognitive 28): EinoRetrieverQueryAdapter.Execute has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16, match/switch 6, loops 4, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/adapters.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85758c931c036f6d54931dec82e417b0de361474e70650c54b296bda0d00c55"}},{"ruleId":"D2","level":"warning","message":{"text":"App.Run (cognitive 28): App.Run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21, boolean chains 5, match/switch 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":"internal/app/api/app.go"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb14607119d230ca47fe9939fa7aa2f72520941383c26b89e41e244cdb7c6c0"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.initMCPManager (cognitive 28): worker.initMCPManager has cognitive complexity 28 (threshold 15). Drivers by points: if/else 25, loops 2, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f90b4b9938661273f81a91866c08699b51e7ef4af0547c1055119601dd87514"}},{"ruleId":"D2","level":"warning","message":{"text":"FailoverHandler.ExecuteWithFailover (cognitive 28): FailoverHandler.ExecuteWithFailover has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15, match/switch 11, boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/failover.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18dcfc0978433e086c6b2ccccae28dce874831c82814df413dca559f5992ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskGraphExecutor.executeNode (cognitive 26): TaskGraphExecutor.executeNode has cognitive complexity 26 (threshold 15). Drivers by points: if/else 25, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/planner/executor.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad48f8c38c311358802dfc5192ee3fe496017246da85b84a1ef50611a21f113"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMPlanner.PlanGoal (cognitive 26): LLMPlanner.PlanGoal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 21, loops 4, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/planner/planner.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"036111289c4b5f0e124001824b7de95f731df55dbe7fc37b5fac3cf5d5d43a7c"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.Compile (cognitive 26): Compiler.Compile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, loops 4, boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/compiler.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"385b2bcd7687eac45ffcba96387124ef1e53af7789d8809d6d09f8d3f05d8fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.ListDecisionSignals (cognitive 26): Handler.ListDecisionSignals has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20, loops 3, match/switch 2, 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":"internal/api/http/forensics_query.go"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cbb0516f66a993febbab2fd58668f5acd07b096b4cd3587c32283eb114d3ce"}},{"ruleId":"D2","level":"warning","message":{"text":"middleware.NewJWTAuth (cognitive 26): middleware.NewJWTAuth has cognitive complexity 26 (threshold 15). Drivers by points: if/else 22, boolean chains 4 (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":"internal/api/http/middleware/middleware.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"873141703e20db57849638dee799d845aedfd2c4729a179934f22ca1b6913ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentFactory.collectTools (cognitive 26): AgentFactory.collectTools has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, loops 10 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/agent_factory.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1310c2df5b72a1d6ba3976ee231a03f087b78659953eb133df63dfea04e32e3"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerServiceBot.RunInteractiveSession (cognitive 25): CustomerServiceBot.RunInteractiveSession has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, loops 5, match/switch 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":"examples/ai-customer-bot/bot.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab0b68753c6052c0956aa44133a6862a22b07ee7251d68aab5dfb4b4e52dad4"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryPipeline.Compress (cognitive 25): MemoryPipeline.Compress has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17, loops 8 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/vector/pipeline/pipeline.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"262bf7f6ea8df7724ee404754119a44335c799e7b11027bdce224d8cc37e5a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"AnomalyDetector.DetectAnomalies (cognitive 25): AnomalyDetector.DetectAnomalies has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21, boolean chains 3, 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":"pkg/ai_forensics/detector.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"633beb3512ada0d2a839a94fd0584303584ccf79aca9286e970f5d2f9de3387e"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.nextRunnableBatch (cognitive 24): Runner.nextRunnableBatch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, loops 7, boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"88633eca93bf18a968ebb9d4f809186ad4c490b1cccf12d048fb861db9061c52"}},{"ruleId":"D2","level":"warning","message":{"text":"api.HandleACPEvents (cognitive 24): api.HandleACPEvents has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, match/switch 3, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/acp_handler.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab41ae00bf3c1caea78066ff9956cb076af3a745a579c720bcbf434c4538ce1d"}},{"ruleId":"D2","level":"warning","message":{"text":"job.ReclaimOrphanedFromEventStore (cognitive 23): job.ReclaimOrphanedFromEventStore has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, boolean chains 4, match/switch 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/reclaim.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea87bb49e958cd22da135575d335840bf76b3e05606f58d4313cc392a2854c1"}},{"ruleId":"D2","level":"warning","message":{"text":"executor.TopoOrder (cognitive 23): executor.TopoOrder has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, loops 7, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/steppable.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc3cdfdbeeb6a0fe9a1fb3ca52bddfd88554e2d9575bc3eff199dffc24a948e"}},{"ruleId":"D2","level":"warning","message":{"text":"http.sessionToADKMessages (cognitive 23): http.sessionToADKMessages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, loops 5, boolean chains 3, match/switch 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":"internal/api/http/handler.go"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd9c556edbcc14a1ab6977eed4f19ddcce393dc22c6d3a8867618682f20343f"}},{"ruleId":"D2","level":"warning","message":{"text":"http.parseStateChanges (cognitive 23): http.parseStateChanges has cognitive complexity 23 (threshold 15). Drivers by points: if/else 21, boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/trace_narrative.go"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"356c62106935e5679c5accc20a739985d3bb8d35278028655ec7d3c81000a6c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.handleApprovalAction (cognitive 23): Handler.handleApprovalAction has cognitive complexity 23 (threshold 15). Drivers by points: if/else 23 (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":"internal/api/http/handler.go"},"region":{"startLine":2820}}}],"partialFingerprints":{"codehealthFindingId/v1":"a632c897ec83bfd41b00a9945ab7c5ebbdb5f813ac1649811c0ff2d0307685f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Retriever.retrieve (cognitive 23): Retriever.retrieve has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, loops 6, boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/query/retriever.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad5b31535d48fb49424c56d09e30c519c471767b665e06572e72ef9a6de7a6c"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 22): main.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, loops 1 (nesting depth added 2). 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":"examples/eino_stateful/main.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ea486b91642f8cd2a2fbf42875c60f93d31c8e748adb5f219702d400e42eac"}},{"ruleId":"D2","level":"warning","message":{"text":"App.triggerSnapshotsForHighEventJobs (cognitive 22): App.triggerSnapshotsForHighEventJobs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, boolean chains 2, 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":"internal/app/worker/app.go"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"c252f4cf7575cca255757eced2da35a21971b986d70ce7a31a869da6cafc0ba5"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryStore.Search (cognitive 22): MemoryStore.Search has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, loops 4, 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":"internal/storage/vector/memory.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5860d134c19845d2b723adad337fd35fce8cfb4c4b4d78e52c732bf5a2ae044d"}},{"ruleId":"D2","level":"warning","message":{"text":"main.runChat (cognitive 21): main.runChat has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, loops 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/main.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ebf58635c0efebaba1dde012a5097c320a26e4748ab2bfd322fe398c8fb8b6"}},{"ruleId":"D2","level":"warning","message":{"text":"ManusAgentAdapter.Invoke (cognitive 21): ManusAgentAdapter.Invoke has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, loops 4, 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":"internal/agent/runtime/executor/eino_examples/adapters.go"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"548ef1d723405cb300276bc99b69cf9b48e3ab750011d494caa74d14906cc6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"api.SessionToADKMessages (cognitive 21): api.SessionToADKMessages has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, loops 5, 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":"internal/app/api/adk_agent.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2535e5addadef13187308bed9216c15022aaa577446da534483248e149847c"}},{"ruleId":"D2","level":"warning","message":{"text":"queryWorkflowExecutor.Execute (cognitive 21): queryWorkflowExecutor.Execute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 4 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/workflow_executors.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"880baf0ec4ec2f403897bcbfd0b669f8a6305590595647d6cfacad8647544779"}},{"ruleId":"D2","level":"warning","message":{"text":"ACPClient.doPostWithRetry (cognitive 21): ACPClient.doPostWithRetry has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, match/switch 3, boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/hermes/acp_client.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bcc299a1c3499ff465dac57503a76e282db9eecc6c5245b009d9ebf245d9353"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameworkCallableNodeAdapter.runNode (cognitive 20): FrameworkCallableNodeAdapter.runNode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 3 (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":"internal/agent/runtime/executor/framework_callable_adapter.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cd01fc238bce182d4de7eb2429740182704492306112f8807ffac0f39bef1e"}},{"ruleId":"D2","level":"warning","message":{"text":"IPAllowList.getClientIP (cognitive 20): IPAllowList.getClientIP has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, loops 5, 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":"internal/api/http/middleware/iplist.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcf1926c5d5d4fdb7ab0051eb144962939d358078605ab374c143999abe5ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"App.runIngestQueueLoop (cognitive 20): App.runIngestQueueLoop has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, match/switch 2, boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8bfc07f47956bd35d19b6a053eef755e868e814687ab18a7e2aa8f8a84a340"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesRunner.waitForCompletion (cognitive 20): HermesRunner.waitForCompletion has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, match/switch 5, 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":"internal/runtime/eino/hermes_runner.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"84210d5b67a8fee40b1b526a8930f177f7b83e155424be54fb8b572e02d0cb3a"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerServiceBot.classifyIntent (cognitive 19): CustomerServiceBot.classifyIntent has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 8, loops 2, match/switch 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":"examples/ai-customer-bot/bot.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae93bbe819cf7b389ddc210b4817474f58b705462e69aee7f9cc4612717b2b2"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 19): main.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, loops 3 (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":"examples/eino_agent_with_tools/main.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fd1ff8c091fb0c6b1c9feb2b4d2e1fde3cc25b04a5b98b00a8720e266efc88"}},{"ruleId":"D2","level":"warning","message":{"text":"executor.LevelGroups (cognitive 19): executor.LevelGroups has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, loops 8 (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":"internal/agent/runtime/executor/steppable.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0188087ec59c5ed5b254d0df7715c41e7feb05aa5c747d39c8c5c17dd377c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolNodeAdapter.runConfirmation (cognitive 19): ToolNodeAdapter.runConfirmation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"506343a23b7bd2322f5abde58a1511244d90ebffe1d54e36fc291acbd8683842"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolRateLimiter.Wait (cognitive 19): ToolRateLimiter.Wait has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, match/switch 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/rate_limiter.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfb06f98a79d901bf414d14110ec1e18deffbf87899a0b8cdaeff3196929078"}},{"ruleId":"D2","level":"warning","message":{"text":"http.buildTraceHTML (cognitive 19): http.buildTraceHTML has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, loops 2, 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":"internal/api/http/handler.go"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2bb718786fb65308ee13e534a5dbe46ce0b19e83279cc3048c21098dbfa756"}},{"ruleId":"D2","level":"warning","message":{"text":"api.NewDAGCompilerWithOptions (cognitive 19): api.NewDAGCompilerWithOptions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, boolean chains 1 (nesting depth added 2). 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":"internal/app/api/agent_dag.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d6fcce9c25b2dd140cdb84e5e629a39f05a51b5f63c78f80f1e222a50fad2e"}},{"ruleId":"D2","level":"warning","message":{"text":"App.Start (cognitive 19): App.Start has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7cb2eb9c7d17326cb9aca5a70503a53f1758462549421d6bf568456a463312"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentSplitter.mergeAndSplit (cognitive 19): DocumentSplitter.mergeAndSplit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, 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":"internal/pipeline/ingest/splitter.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a48b2715c0107520d488f964c32f11527ef901a0abd8f641749918e6d60bbe4"}},{"ruleId":"D2","level":"warning","message":{"text":"eino.schemaMapToParams (cognitive 19): eino.schemaMapToParams has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 5 (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":"internal/runtime/eino/tool_bridge.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13ba5b6a94b39ccd24cd90935a3575c155b27787a9ae3d31075168d876e0c54"}},{"ruleId":"D2","level":"warning","message":{"text":"jobstore.gcToolInvocations (cognitive 19): jobstore.gcToolInvocations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, 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":"internal/runtime/jobstore/gc.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f343379699c7f2eab1c901ddc392cb1698d6595fedbc04c2ad96954aae2105"}},{"ruleId":"D2","level":"warning","message":{"text":"pgStore.Watch (cognitive 19): pgStore.Watch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, match/switch 6, loops 4, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/pgstore.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"05637f1e02dad1b2be1b505280766aca13fed117836edbb6987a8937d0dae197"}},{"ruleId":"D2","level":"warning","message":{"text":"StructuralSplitter.mergeAndSplit (cognitive 19): StructuralSplitter.mergeAndSplit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, 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":"internal/splitter/structural.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"919cd390be96277bfc8a4f0c09d713af3e350d809625d6ed0f4365caeea2b8f3"}},{"ruleId":"D2","level":"warning","message":{"text":"proof.extractJobMetadata (cognitive 19): proof.extractJobMetadata has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 2, match/switch 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proof/export.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b3ee5adcca222abe6964419902b19df4607d4476f56195132649be92690ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"routing.ValidateRouteDecision (cognitive 19): routing.ValidateRouteDecision has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, loops 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":"pkg/routing/advisor.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9663a28f5e4c43830532b7804587228e23cdb9be2947022006f93ac377c7119"}},{"ruleId":"D2","level":"warning","message":{"text":"DEERAgent.Invoke (cognitive 18): DEERAgent.Invoke has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 2, 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":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f92994c1b2eb037ed3f446b1ef54131e10e69e4c2457d1905c8d5d4ecf4986a"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphAdapter.Invoke (cognitive 18): GraphAdapter.Invoke has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, loops 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":"internal/agent/runtime/executor/eino_examples/adapters.go"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ed97205c5f4e375348b0837f1266b6e349987a3167507b9dcf215b30af72aa"}},{"ruleId":"D2","level":"warning","message":{"text":"HermesDispatchTool.Execute (cognitive 18): HermesDispatchTool.Execute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, loops 4, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/hermes_dispatch.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1273216f27a43a362326b226ea6e16a932a17faff6145616a18ab74f8b56993e"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.AgentResumeCheckpoint (cognitive 18): Handler.AgentResumeCheckpoint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 2, 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":"internal/api/http/handler.go"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"983aa4eb7345ba5035256efa4da357c25a08a9578a9f94133d24e26b2d471234"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryRetriever.Retrieve (cognitive 18): MemoryRetriever.Retrieve has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 4, boolean chains 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":"internal/pipeline/query/eino_retriever.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dcbefdbb8c5ba8b53ef1165096399146f79adb952280f5eeeec1ba993e64a9"}},{"ruleId":"D2","level":"warning","message":{"text":"LongTextPipeline.normalizeInput (cognitive 18): LongTextPipeline.normalizeInput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, loops 3, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/specialized/longtext.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3893ffbfc638da8d6afb617ae921fcde3b797329735c0e5d7b406158e3bb86a9"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 17): main.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 3, loops 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":"examples/eino_chain/main.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c51e2bb7b6b0f9de360af1f53749c52247793f75bffca9545d6e94c08beffbb"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.runInternal (cognitive 17): Agent.runInternal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/agent.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a223bef9952a8fc96d645b40518f9eb4e8111b6f014ddd5ed80ea28f6102262"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskGraphExecution.TopologicalSort (cognitive 17): TaskGraphExecution.TopologicalSort has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 6 (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":"internal/agent/domain/task_graph.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"56675a8c8285401b5ab8695a5cee97070f7fee06e2d197271e014b8dc7640e6f"}},{"ruleId":"D2","level":"warning","message":{"text":"ReactAgentAdapter.Invoke (cognitive 17): ReactAgentAdapter.Invoke has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_examples/adapters.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0378859bd005bbf8f5fabc433a2cdf4d72f3559f140056ef75ebdd17753157d"}},{"ruleId":"D2","level":"warning","message":{"text":"api.validateProductionRuntimeConfig (cognitive 17): api.validateProductionRuntimeConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 7. 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":"internal/app/api/app.go"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"7800f36413e907210aa361192c11fafe3547770525ce2bcb98e7bb556b63ab12"}},{"ruleId":"D2","level":"warning","message":{"text":"pgStore.Append (cognitive 17): pgStore.Append has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/pgstore.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08731e9a8317da2e8e1ef8c834a6776f157f78d35f3ef24a4ac3177523a4fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"DistributedVerifier.VerifyAcrossOrgs (cognitive 17): DistributedVerifier.VerifyAcrossOrgs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/distributed/verifier.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b44bd4dd4a616c4f0df4eecb70789cec109c79f4f7ac469ddded3674d455a9"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoDetectPolicy.Apply (cognitive 17): AutoDetectPolicy.Apply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, match/switch 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":"pkg/redaction/detector.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ed02f6c905a0a21c73d7b8fb5b5c3350ce0a90e182f701be51002edbf17dca"}},{"ruleId":"D2","level":"warning","message":{"text":"JobStoreMem.ClaimNextPendingForWorker (cognitive 16): JobStoreMem.ClaimNextPendingForWorker has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/job_store.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6570b472b95ccd9567f578d8512e68ac8473c89c12d04a57e88c53f8b2b331"}},{"ruleId":"D2","level":"warning","message":{"text":"JobStorePg.ListByAgent (cognitive 16): JobStorePg.ListByAgent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"internal/agent/job/pg_store.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"86830e3b5f814723bb29ff87f9510bc9b1ef6b784dd60ecbb2249173789a762b"}},{"ruleId":"D2","level":"warning","message":{"text":"ManusAgent.Invoke (cognitive 16): ManusAgent.Invoke has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 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":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d943b33d474e97ed566515d3f4737c6fbaaaf5a1f2dc447eac241d2bc560dd"}},{"ruleId":"D2","level":"warning","message":{"text":"SSETransport.handleSSEEvent (cognitive 16): SSETransport.handleSSEEvent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, match/switch 3, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp/transport_sse.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09d2c114607c227500211b033a5bc9cd313c517f3f755855cd0467ce603f154"}},{"ruleId":"D2","level":"warning","message":{"text":"api.HandleACPCheckpoints (cognitive 16): api.HandleACPCheckpoints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"internal/api/acp_handler.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b8344eb8f5fd4c98eaed0752a2d40fe88a23a8a6386473a9a4d64d4d211aa5"}},{"ruleId":"D2","level":"warning","message":{"text":"middleware.parseIPList (cognitive 16): middleware.parseIPList has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"internal/api/http/middleware/iplist.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"31801b131962b268a2b989e775ab6440f6d79ec65195d04ea40bcb1f225d9b95"}},{"ruleId":"D2","level":"warning","message":{"text":"nodeEventSinkImpl.AppendToolInvocationFinished (cognitive 16): nodeEventSinkImpl.AppendToolInvocationFinished has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, match/switch 2, boolean chains 1 (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":"internal/app/api/node_sink.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2bb9591b08485fffe6c362328516f10c33f7691737e0fb8825286926ac75e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ingest.extractPDFText (cognitive 16): ingest.extractPDFText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"internal/pipeline/ingest/pdf.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5764f55c74601b8eb6da6bb7051026832ec3106a93e6b52ec981eacbe9f08bca"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPTool.Execute (cognitive 16): HTTPTool.Execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 2, loops 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/builtin/http.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc12fa8af6147cd498eec9abd00836349158f77f17aced53173a819086933b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"memorySystem.Execute (cognitive 16): memorySystem.Execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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":"pkg/effects/memory.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab96128edfe40dd2a213475ddf16df02ae7b37404aa48194ffbf0fa757d8c3ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http/handler.go: FileTooLong \u2014 2007 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"578c70501248b8656462b601856177eaa5e055d4105131f1f2a9bef1cc4b59b4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 100 methods."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d091b4a5f847d6c96ab877a3de01bf4c3c6e9a17ffa7a699e3385073fac0a6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Handler: TooManyMethods \u2014 100 methods, declared across 7 files: http/handler.go (76), http/forensics_query.go (9), http/runs.go (7), http/compliance.go (3), \u002B3 more file(s)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a427803b0c1c04a6973aef5b95ac9583deb84bda5dae19d00d8e33f4ba4640"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/runner.go: FileTooLong \u2014 1099 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ea9c521b28aee5764e393196e99a454848ff482f282c8cc42f2e707c41487c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/app.go: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b9ec0641dcaa6ea3e6b4a32f8d9db17b67a9cda2f5f75e84f88e32de08bff9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worker/app.go: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5659ed6306d14d13a06530abf498da7418e71a4ce80852cb1ab0af1f26a18fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/main.go: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26116c9327b8a7bda23291b184c340631551f2aa2cb40ea2b90d4d463226893"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/node_adapter.go: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"185e1af7dd64ecf7058fd8862962a0799a913e805bacd6d8140e95561f235c89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http/forensics_query.go: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42542387abe9e45987f68de58cfc96b248f6dbfd1a5e5682cbf2b9b76d2a28a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: replay/replay.go: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"714ea5f2e25c236a1fb6c35505571d299dc32b34ad16c745b242030633f7d9bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/config.go: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c13847c93d26e7d463799cd64292af38838a5bd3e7b99cf78f38f8cc42c25fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): internal/runtime/eino/context.go:59-85 | internal/runtime/eino/engine.go:302-327 \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":"internal/runtime/eino/context.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d07a7f81eec7bfb9b62a47c00dddc5202176aed66e0c604e48fab7514e5c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): internal/storage/metadata/memory.go:113-138 | internal/storage/metadata/memory.go:209-234 \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":"internal/storage/metadata/memory.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d89aadf901f9198dd50e311941dd5bde96af59a2aa3a15c7f107a53160ba39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): examples/basic_agent/main.go:35-54 | examples/streaming/main.go:36-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/basic_agent/main.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"776da004cf04597e65d563a1953086feb4a9fb47be556a1680262e9570d8ba35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): internal/model/llm/gemini.go:91-110 | internal/model/llm/gemini.go:160-179 \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":"internal/model/llm/gemini.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f92c11b16151fd8a4de704f24974826e25f31d786fd45ef2dcdcdacad84215b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/pipeline/ingest/splitter.go:173-191 | internal/splitter/structural.go:78-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/splitter.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a7f7379b438b982e36e724127f846f41327973b0d2fdba48f4a91e593f3cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/pipeline/ingest/splitter.go:223-241 | internal/splitter/structural.go:128-146 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/splitter.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9012983a076f2399b42abdf327dccc2437ad543a92ea4fbd2bfc25afaae56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/model/llm/openai.go:95-112 | internal/model/llm/openai.go:158-175 \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":"internal/model/llm/openai.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c326056d0a48b294d357627c12fe620862a34e0aad9d3a0eb6ef7f361073853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): internal/agent/job/pg_store.go:189-205 | internal/agent/job/pg_store.go:233-249 | internal/agent/job/pg_store.go:284-300 \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":"internal/agent/job/pg_store.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f728fd4091fb07967977a4dd2c0a6f0c7ba3e4ea199a454cd24f2eadf872ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/agent/job/pg_store.go:413-429 | internal/agent/job/pg_store.go:454-470 \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":"internal/agent/job/pg_store.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c82693f9d36d0d9b55ed46602cad6d417005ef4341d58f1b7fce032d5119d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/agent/replay/replay.go:254-270 | internal/agent/replay/replay.go:621-637 \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":"internal/agent/replay/replay.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca528bab8457e0f86cc95c16ee572da7e8bb63dd44f2ee4ba6f6892bae6e1409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/agent/runtime/executor/eino_examples/adapters.go:763-779 | internal/agent/runtime/executor/eino_examples/adapters.go:887-903 \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":"internal/agent/runtime/executor/eino_examples/adapters.go"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04f8939bab7f40c8feca9fe2e358d7d774266043ff149ffc6fb8d8aff563f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/agent/runtime/executor/eino_examples/llm.go:196-213 | internal/agent/runtime/executor/eino_examples/llm.go:288-304 \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":"internal/agent/runtime/executor/eino_examples/llm.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfaeeaafbeae26f0add46343b97afa81318ccb74050f1ffb9c89113ad534f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/api/http/handler.go:706-722 | internal/app/api/adk_agent.go:80-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fc0d1116aa79be7999898b85a1994d17316ee8618f0c5640c93b53b2ef44ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/model/llm/claude.go:86-102 | internal/model/llm/claude.go:147-163 \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":"internal/model/llm/claude.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0338968da3ceadc2eda6c169ce1a293a58fdd59b7b2f7f5b33312dbada9de80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/runtime/eino/workflow.go:166-182 | internal/runtime/eino/workflow.go:203-219 \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":"internal/runtime/eino/workflow.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"931025e68facb88cefe164bdfda65e9a6c0d910f68b97649eecd04441d8df59c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/compliance/residency.go:116-132 | pkg/compliance/residency.go:147-163 \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":"pkg/compliance/residency.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b1929b84d73c1aa0fc6dba158cab7c47d7617607b8677d32beecf2606451c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/effects/tool.go:69-87 | pkg/effects/tool.go:110-126 \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":"pkg/effects/tool.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aec8524a7747d346bb47a75a7e0b7460cbb4f8d384f8bfb3207a08cebe05c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/routing/failover.go:112-129 | pkg/routing/failover.go:132-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":"pkg/routing/failover.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e63553f629c6cb48c8b1b716c73c82c267225fff26e8937a3fe253027dfb19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): examples/eino_agent_with_tools/main.go:138-154 | examples/eino_chain/main.go:139-154 | examples/eino_stateful/main.go:223-239 | examples/ollama/main.go:67-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/eino_agent_with_tools/main.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b470ccc882b415de8c813ef92ccd0ab601765c505b5d85e106fde4d612a419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): internal/agent/job/pg_store.go:238-253 | internal/agent/job/pg_store.go:289-304 | internal/agent/job/pg_store.go:338-353 \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":"internal/agent/job/pg_store.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a74f1d3c469cfb11320e07c40d54a4b3dff3377b8269a6bddef1904e8d5e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): internal/agent/runtime/executor/eino_examples/adapters.go:243-258 | internal/agent/runtime/executor/eino_examples/adapters.go:468-483 | internal/agent/runtime/executor/eino_examples/adapters.go:666-681 \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":"internal/agent/runtime/executor/eino_examples/adapters.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e363292a65032709cbc1eed164f3253d93b5df51e0a80dc4508da3ae9e5c676d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/api/acp_handler.go:101-116 | internal/api/acp_handler.go:249-264 \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":"internal/api/acp_handler.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0809cff13d1b81ce42effdfcd29afcacb3768c5b531eb1e6a9fd966611b1a8da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): internal/agent/runtime/executor/eino_agent/agent.go:125-139 | internal/agent/runtime/executor/eino_agent/agent.go:283-297 | internal/agent/runtime/executor/eino_agent/agent.go:442-456 \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":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"541eca14099b8c171a25335e18c686811a88bd80ba725f652b04b79c077da911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): examples/ai-customer-bot/bot.go:268-283 | examples/ai-customer-bot/bot.go:312-326 \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/ai-customer-bot/bot.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba10e31ef1591fa1db9238e88389655651910860f3487f814add0cf3e3bf66b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/agent/instance/store_pg.go:67-81 | internal/agent/instance/store_pg.go:166-180 \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":"internal/agent/instance/store_pg.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ad40cbbe7d4e74541f510620e76b5c7d9fc308290c173a6fa0c6d6263a7ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/agent/runtime/executor/eino_agent/agent.go:372-386 | internal/agent/runtime/executor/eino_examples/adapters.go:585-599 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f198847e5dcb6bdad3563ecfed17878b9b9201d8852b13373f3339cc9417b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/agent/runtime/executor/eino_agent/agent.go:534-548 | internal/agent/runtime/executor/eino_examples/adapters.go:1069-1083 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f08813e0e88beb58ae3a22d7362d67cc71d899c94f3e66c53da462ebcf1ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/agent/runtime/executor/runner.go:908-922 | internal/agent/runtime/executor/runner.go:1504-1519 \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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe93d46516f1cf63b13245abdf4c0f5c0a8483cb41f957f005baf5816a8a1044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/agent/runtime/executor/state_diff.go:111-125 | internal/api/http/trace_narrative.go:585-599 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/state_diff.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64968a52083544383e8d704ec2f67aa9626c54825b0ce56b5348bcfc4b6fa2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/api/http/trace_narrative.go:131-145 | internal/api/http/trace_tree.go:58-72 \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":"internal/api/http/trace_narrative.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"035aa4267ff63ad102bed2c0c084506d78b5dc35363ee29b6e2cd2695bb2fbe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/api/http/trace_tree.go:249-263 | internal/api/http/trace_tree.go:282-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":"internal/api/http/trace_tree.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbce1e2e714b136ef53cbd212f06f5db746295b08494338108ac75fecf50df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/app/api/app.go:607-621 | internal/app/worker/app.go:364-378 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"716cb2b93779655bdeaac2ed8e3415bc09d23993d010ae962ddbfb6a9468e661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/runtime/eino/engine.go:164-178 | internal/runtime/eino/engine.go:195-209 \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":"internal/runtime/eino/engine.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f627bc788a00144b77fc6e41a0c5f8bf402455623f05cd3591bad03e0e6eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/storage/vector/memory.go:242-256 | internal/storage/vector/pipeline/pipeline.go:473-487 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/vector/memory.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed14937b6d532bb14b254ab43a779228d42384a1764a2f17c662be08781876d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/agent/runtime/executor/eino_examples/adapters.go:358-371 | internal/agent/runtime/executor/eino_examples/adapters.go:436-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":"internal/agent/runtime/executor/eino_examples/adapters.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a91ce0b5c86e857706b5da712326aab17499529e1dbd3484d58f593dfe2555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/agent/runtime/executor/rate_limiter.go:70-83 | internal/agent/runtime/executor/rate_limiter.go:109-122 \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":"internal/agent/runtime/executor/rate_limiter.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"389077447223b481b25116be602436dd28711d75aecd64e30dd17abc27be01a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/api/http/handler.go:1254-1267 | internal/api/http/handler.go:1279-1292 \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":"internal/api/http/handler.go"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18baa778696d6e66455c272a8a911328f4c81acd83e1636fa0517fdbefec66e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/app/api/agent_dag.go:146-159 | internal/app/api/runtime_bridge.go:30-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":"internal/app/api/agent_dag.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d92771d09789d2fa9231e281596177a09ac6d7ab16b991a8c2aa64ea3791b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/model/llm/ollama.go:121-134 | internal/model/llm/ollama.go:180-193 \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":"internal/model/llm/ollama.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c9fc7e536bad6fbda963270dcb93887b0a9d4dda228ddc250366d6a9e011a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/routing/router.go:296-309 | pkg/routing/router.go:367-380 \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":"pkg/routing/router.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"55db98b3fb3f5e5898e7b30722074fd1e1d8a020acb0d23ae7e9aec72add843d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/api/http/forensics_query.go:322-335 | internal/api/http/forensics_query.go:369-382 \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":"internal/api/http/forensics_query.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"259cf0c73e9c615d3c626fba4453e8b5ec824381cc00880ab3bdac2acd350c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): internal/agent/instance/store_pg.go:34-46 | internal/agent/job/pg_store.go:47-59 | internal/agent/memory/episodic_pg.go:33-45 | internal/agent/memory/longterm_pg.go:32-44 | internal/agent/messaging/store_pg.go:34-46 | internal/agent/runtime/state_pg.go:33-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/instance/store_pg.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5ef2694f9f5c32d22cc781d54fc58776387164140f288ebfb51bcd0da1571d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): internal/agent/job/pg_store.go:526-538 | internal/runtime/jobstore/pgstore.go:288-300 | internal/runtime/jobstore/pgstore.go:307-319 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/pg_store.go"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"615a9b36fe107be34415e3f31d7784609ae1dd880865a0b26689f511a175e875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): internal/agent/runtime/executor/eino_examples/llm.go:104-116 | internal/agent/runtime/executor/eino_examples/llm.go:213-225 | internal/agent/runtime/executor/eino_examples/llm.go:304-316 \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":"internal/agent/runtime/executor/eino_examples/llm.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e1f52eeac0f7963f7dd1768ac2be1cc558492176e2a93e9e65d12103224b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:499-511 | internal/agent/runtime/executor/node_adapter.go:552-565 \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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d33915b022a5e1c0f36b988cae36067a85a49a6fafad78f936b2b96579e70e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/api/http/handler.go:872-884 | internal/api/http/handler.go:916-928 \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":"internal/api/http/handler.go"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08a0d1acdf488a97e672e4fe0dabdf7af42a97f1ebd63913c3412b71c9981d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/model/llm/claude.go:123-135 | internal/model/llm/openai.go:131-143 \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":"internal/model/llm/claude.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b521fa325dfe9d52f6418296e09d5b6b1bf0192be8b958c3413b02e844472fc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/model/llm/effect_adapter.go:139-151 | internal/model/llm/effect_adapter.go:286-298 \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":"internal/model/llm/effect_adapter.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"acba3b61249b64023bf8a6df3b88269a97fc27d3dea73258108922cf8e8d1eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/pipeline/ingest/parser.go:58-70 | internal/pipeline/ingest/splitter.go:73-85 \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":"internal/pipeline/ingest/parser.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6296e9cef636c49dc2bbddd6ddae7f61643ceda42f4fb3d45ea583bb2c2e4a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/splitter/semantic.go:113-125 | internal/splitter/semantic.go:131-143 \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":"internal/splitter/semantic.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c60718e2b67b40528601fbce7bc690ecefa2f8c754ec6af446aec47bdbc053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/forensics/query_engine.go:138-150 | internal/api/http/forensics_query.go:164-176 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/forensics/query_engine.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a796a9bd7b13e85ba4f9dd4df77fa31cd5255c50b90f223d194ed5592a9c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): internal/pipeline/ingest/embedding.go:54-65 | internal/pipeline/ingest/indexer.go:95-106 | internal/pipeline/ingest/parser.go:57-68 | internal/pipeline/ingest/splitter.go:72-83 \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":"internal/pipeline/ingest/embedding.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33ffbb7e5a8d60daaa207978aca89202cb69b57d70574bc1697c49475afa5f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/agent/messaging/store_mem.go:125-136 | internal/agent/messaging/store_mem.go:147-158 \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":"internal/agent/messaging/store_mem.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c9d76ea7323b7bccb05ff453bca377d58e2947d563ca43c5673bbb39da1eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/agent/runtime/executor/runner.go:1225-1236 | internal/agent/runtime/executor/runner.go:1271-1282 \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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0307f285e9742d7b47b40573eb1867d67c816702fd7347e5bda0930543a9a5db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/api/http/handler.go:2148-2159 | internal/api/http/handler.go:2166-2177 \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":"internal/api/http/handler.go"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"18566bf3956d68099edd40d526f1f701a5d9dbe2b7a4a30463861de46b709bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/app/api/app.go:307-318 | internal/app/worker/app.go:896-908 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6d39405ddf13f58549acef0965d5693050f1206f9ed8662dc851d39ffefe6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/app/api/app.go:939-951 | internal/app/worker/app.go:827-838 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf00f666560b45c3cbc7b8d7793eba495105d4cf91984e383726f2135bf89b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/model/llm/effect_adapter.go:259-270 | internal/model/llm/effect_adapter.go:291-302 \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":"internal/model/llm/effect_adapter.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfa08456771053e2aed18892fad8ece52891647efd17dcfb7e0209feb1a33e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/pipeline/ingest/loader.go:145-156 | internal/pipeline/ingest/loader.go:192-203 \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":"internal/pipeline/ingest/loader.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f6ff030d2fa35fc8a2e02da834014aeeed2708c41a68303274f6a3950fd677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/tool/gatekeeper/gatekeeper.go:389-400 | internal/tool/gatekeeper/gatekeeper.go:412-423 \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":"internal/tool/gatekeeper/gatekeeper.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f196aee6e7fc778880b15a1bbc95589df94ff43bf4719a4c03aa3b28d32c991a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/config/config.go:861-872 | pkg/config/config.go:896-907 \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":"pkg/config/config.go"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c3bfb03104aabfed43459bebc31e7036457b392125d61f2f21bbbc37daacc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/security/mtls/mtls.go:45-56 | pkg/security/mtls/mtls.go:84-95 \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":"pkg/security/mtls/mtls.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5326cc331bd79bd90253497a4c3bab157e47cc71a56682ac62982e3916dce0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): internal/api/http/handler.go:2107-2117 | internal/api/http/handler.go:2148-2159 | internal/api/http/handler.go:2166-2177 | internal/api/http/handler.go:2205-2215 | internal/api/http/handler.go:2287-2297 \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":"internal/api/http/handler.go"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e27be8ee79135d4f66448a86045349c75aa3023bd224d172eecb27aaeed2366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): internal/agent/runtime/executor/eino_agent/agent.go:478-488 | internal/agent/runtime/executor/eino_examples/adapters.go:224-234 | internal/agent/runtime/executor/eino_examples/adapters.go:453-463 | internal/agent/runtime/executor/eino_examples/adapters.go:651-661 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f8a6245e9f6157d07b7985591872eb3d62768575592d0612df87778b72f097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/executor/executor.go:47-57 | internal/agent/executor/executor.go:77-87 \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":"internal/agent/executor/executor.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ab83cd88755a944fb4d5df839edb8b7eec8d7e5067767c3c808faae32e2517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/runtime/executor/eino_agent/agent.go:355-366 | internal/agent/runtime/executor/eino_examples/adapters.go:565-575 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4631e592a887cfa2c87e75727d62ce79bcfbd491eb4304d4d64f36a2297b6ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/runtime/executor/eino_agent/agent.go:408-418 | internal/agent/runtime/executor/eino_examples/adapters.go:618-628 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dfea8811543645c50dff0258ffce91d0e3202ca46f94090d769c512aeba95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/runtime/executor/runner.go:741-751 | internal/agent/runtime/executor/runner.go:782-792 \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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"057c9a6ea9f96424cd88ebefd6369408d1f55ef93fff7b676283952b37407f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/runtime/executor/runner.go:931-941 | internal/agent/runtime/executor/runner.go:1531-1541 \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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f774f7ab655c5f6708f7d2080d3c516ef4fd0a01ad6a89d3c3b8f2887ae24d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/http/handler.go:1348-1358 | internal/api/http/handler.go:1392-1402 \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":"internal/api/http/handler.go"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e138bb43b61e3d5ba7ec2c1bd1e52a51ebe4dae48dadad20bb901d7c96baad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/http/handler.go:1855-1865 | internal/api/http/handler.go:2020-2030 \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":"internal/api/http/handler.go"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1abb6de0f192a8252b5de93618d754d08d88ca8a0c4ff91ba91a01c52c7e3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/app/api/node_sink.go:201-211 | internal/app/api/node_sink.go:374-384 \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":"internal/app/api/node_sink.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"045bf137a7abe6415e7b2342341e0c010943ea38e7cdf55f8b75f4447cac5144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/app/worker/app.go:379-389 | internal/app/worker/app.go:536-546 \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":"internal/app/worker/app.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"4370d786191e42bd655888eb83a8cfc96550daa55f2cdaee893c8a4814e1b842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/model/llm/effect_adapter.go:58-68 | internal/model/llm/effect_adapter.go:254-264 \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":"internal/model/llm/effect_adapter.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"662252cddf6374dc3cbd883b8d2a3ff82bcf425d1c47cc96dc313d98ea564670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/model/llm/rate_limited_client.go:47-57 | internal/model/llm/rate_limited_client.go:83-93 \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":"internal/model/llm/rate_limited_client.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d407067a45d878b6db42aa882b36bcb53133830da74e340027269725c734f850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/agent/sdk/agent.go:48-58 | pkg/agent/sdk/agent.go:70-80 \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":"pkg/agent/sdk/agent.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb67dbb31f750a3ef62ecb1a0ea4171a66c28ed219cf79b6f3de6cbac74a93b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:333-342 | internal/agent/runtime/executor/node_adapter.go:345-354 \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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f0a10c1cfb2efe28c9845fb86c7b65fc897a585662d03487f8ca4d6d9269e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:814-823 | internal/agent/runtime/executor/node_adapter.go:831-840 \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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87cd6641c3a1175942bb753d6e1a85c5b024f7a9dd3bde301abb194f5c4188f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:882-891 | internal/agent/runtime/executor/node_adapter.go:899-908 \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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f2cd60f1d3ef3aad7df3b5ff46a2adbfd033de68da1bf61577dde5fc409d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/executor/runner.go:773-782 | internal/agent/runtime/executor/runner.go:1262-1271 \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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c6e2b2f040e823820ff92cb8a68a43d9d8c72f9ad3220816afced8e21b19b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/session.go:232-241 | internal/runtime/session/session.go:190-199 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/session.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"267053a8227b16459ac95a843018d5e3e55ac90e187cce215f36d46d69d487ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/state.go:67-76 | internal/agent/runtime/state.go:94-103 \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":"internal/agent/runtime/state.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360aca231d67d9a51cd026807c8b9e22f3c1c2f32e5b0216a57ea15d86cf24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/tools/registry.go:99-108 | internal/tool/registry/registry.go:74-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/registry.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"52adf67f2bf2bf1ba932258b14616a802e9ace806a0716a16a19e968e66205ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/api/http/handler.go:1838-1847 | internal/api/http/handler.go:1972-1981 \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":"internal/api/http/handler.go"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8b044079188b19144eff395d994de44b91f51f7367145192f6eec3f9cb61d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/api/http/handler.go:1932-1941 | internal/api/http/handler.go:2003-2012 \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":"internal/api/http/handler.go"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc459091eda6e4f00b91ba9b6f1523b816e35001e728bdddca58763e50bcdc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/app/api/app.go:430-439 | internal/app/worker/app.go:494-503 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74e9d13becf999c4cbbd706491e24379d5d7dc2fba82a9f502f74db1a627f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/app/api/app.go:469-478 | internal/app/worker/app.go:281-290 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0814334fbe3eedd76dc0e5f03cdc93170b281f0960179761eb479b1f82f54b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/app/api/app.go:570-579 | internal/app/worker/app.go:317-326 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"1197543e20f410b2a0765512148f037b8f5957cfe828585ec9c54bf5087927c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/tool/builtin/ingest.go:78-87 | internal/tool/builtin/rag_search.go:88-97 \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":"internal/tool/builtin/ingest.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e204c367f79d3dda47df6cf8e2f40825586711d49d92042d8fdc55a44b3dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/einoext/factory.go:59-68 | internal/einoext/factory.go:110-119 \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":"internal/einoext/factory.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f9af1320778ac01f8ab61fbc265ee0bf81a77967a752b54b74e2f306610da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/agent/runtime/executor/runner.go:370-378 | internal/agent/runtime/executor/runner.go:822-830 | internal/agent/runtime/executor/runner.go:1408-1416 \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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99223b1809fec9639e9ce484c3ef7dc406b7da3d46d87ff3d5b8e136da20fa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/tool/gatekeeper/gatekeeper.go:373-381 | internal/tool/gatekeeper/gatekeeper.go:388-396 | internal/tool/gatekeeper/gatekeeper.go:411-419 \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":"internal/tool/gatekeeper/gatekeeper.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a931be8e9362d2dc30c9a9b04bf2d46b427a22eb8d2a6715e447f502f06276f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/agent/runtime/checkpoint.go:120-129 | internal/agent/runtime/checkpoint_pg.go:39-47 \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":"internal/agent/runtime/checkpoint.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ecb1cbf8bebd5b20bfe5287ce0847a309f190dd03e2fac807bacc647987585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/api/http/handler.go:2780-2788 | internal/api/http/handler.go:2821-2829 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f67b972cba1ebf4ef0d1dd677774d11fb76e6edfd3a1e6fdc04efefd10e182e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/app/api/app.go:627-635 | internal/app/worker/app.go:392-400 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb738c2d26ee4bbf5814b21e821813bb2bc23d81627a6bb94c8c096042ea50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/app/bootstrap.go:36-44 | internal/app/worker/app.go:155-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/bootstrap.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2f74c26d4190e5ceb44ba5da39389057d8879d0d316df4468d961da7a2f437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/model/llm/effect_adapter.go:75-84 | internal/model/llm/effect_adapter.go:153-161 \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":"internal/model/llm/effect_adapter.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"741976721b9bf99456bda8eff9e492ae7bbc16a640e8e61850053446f006eb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/agent/runtime/checkpoint.go:95-102 | internal/agent/runtime/checkpoint.go:121-129 | internal/agent/runtime/checkpoint_pg.go:40-47 \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":"internal/agent/runtime/checkpoint.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6db96baf1bbcc556cc5bc2e8f4e41e601855745c9de27a646d9e7c6e09d661b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/api/main.go:72-79 | cmd/worker/main.go:49-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/api/main.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65c9a7250ee88bcf9cd80ace13b8376e546d05ddfecc46ec8de94f2a01e258c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/agent/runtime/executor/runner.go:409-417 | internal/agent/runtime/executor/runner.go:1431-1438 \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":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"63707f1a60f55f4667eed6bf12d1599c199b4fef8f38e3d590dde9bd8e3ffd4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/api/http/handler.go:1487-1494 | internal/api/http/handler.go:1527-1534 \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":"internal/api/http/handler.go"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2342242d28396ed12ba41c27f23d96e53580a78a7d5f240fd6f9e280f06efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/app/worker/app.go:336-343 | internal/app/worker/app.go:528-535 \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":"internal/app/worker/app.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae3745e4a877bb052437f539b7f3d8aa80a51cbed40ae4e8da747b0ed4e40d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/forensics/query_engine.go:98-105 | internal/api/http/forensics_query.go:125-132 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/forensics/query_engine.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8838d3683b05b5bd16f97ae4aa6d67324e83b920864cef11d0a168b64c134627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/ai-customer-bot/human_review.go:138-144 | examples/ai-customer-bot/human_review.go:151-157 \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/ai-customer-bot/human_review.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a257d96c3ce454ef666dcedfee7798b40e019968e223853780d93728a571e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/agent/job/scheduler.go:175-181 | internal/agent/job/scheduler.go:210-216 \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":"internal/agent/job/scheduler.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9759ad625224823bd427e39aedd0be92b201a539ef23b17e5c21b7bc2acd57f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/agent/runtime/executor/invocation.go:33-39 | internal/agent/runtime/executor/step_identity.go:25-31 \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":"internal/agent/runtime/executor/invocation.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9bec23e10b7e1ee75f6060915d130774273d093be5afd2d66bc7334e9c6819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:417-423 | internal/agent/runtime/executor/node_adapter.go:536-542 \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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b52d251ac6e43dcb6635441649ad11bdbd4d4afed03d378840bd099b9985bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:458-464 | internal/agent/runtime/executor/node_adapter.go:513-519 \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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe5c45bdf7d01ad4b31428b73714d520261983ee3e6e10240fb01ecc9e95060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/agent/runtime/executor/runner.go:1053-1059 | internal/agent/runtime/executor/runner.go:1155-1161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"24416ece136b41bc9e821320380ca241bcda6ee746e36c8458101bc9655f75eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/agent/tools/registry.go:116-122 | internal/agent/tools/registry.go:142-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":"internal/agent/tools/registry.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebda742856e575a19c8f0678257c901253205d7ccaa9ec86f2e311db128c1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/cli/main.go:642-648 | cmd/cli/main.go:691-697 \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":"cmd/cli/main.go"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"08710e229637d1ef0d6261eade4e53042f899d34f1b35a9028a5e3467b326924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): pkg/tracing/otel.go:288-293 | pkg/tracing/otel.go:323-328 | pkg/tracing/otel.go:379-384 | pkg/tracing/otel.go:428-433 \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":"pkg/tracing/otel.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a1d59a80ba853be1b2c32ba64a7a0a92a60890f1c15f6221ed93c68061a987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/agent/runtime/executor/framework_callable_adapter.go:126-131 | internal/agent/runtime/executor/node_adapter.go:819-824 | internal/agent/runtime/executor/node_adapter.go:887-892 \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":"internal/agent/runtime/executor/framework_callable_adapter.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"da36184bde49b24366d7be60f12f3c57fc303daa4996869758ae6bcfb2c06da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/api/http/trace_narrative.go:322-327 | internal/api/http/trace_narrative.go:477-482 \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":"internal/api/http/trace_narrative.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadc901a2f1d873bd199b4def1a213f0a9f41aa52a6c2e8bcfdfc768142a1f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/app/api/node_sink.go:560-565 | internal/app/api/node_sink.go:578-583 \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":"internal/app/api/node_sink.go"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"632adcc41fc482c7fdc5e556f844f654a83b2c15b19abb91427b964dde90bf8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/runtime/eino/engine.go:251-256 | internal/app/models.go:75-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/engine.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7035357b30a6c2362f8979d118649c48389e0b2974f4835011ffbf443b632612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/runtime/jobstore/memory_store.go:274-279 | internal/runtime/jobstore/pgstore.go:385-390 \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":"internal/runtime/jobstore/memory_store.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1918bcc6f34e893387a295280e0f08a3f92db91e3368150963a3948914ccb80d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/app/api/app.go: internal/app/api/app.go changed 4 times in last 90 days, max complexity 195. 1 of those changes were fix/bug commits \u2014 a defect-dense hotspot worth prioritising."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e24358eedf4cbb41d74daa08c3d0fc035ac3c2a4dc8b3c8dcfb3781b526971"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/app/worker/app.go: internal/app/worker/app.go changed 3 times in last 90 days, max complexity 94."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aad4bdae6639299faa9e6a6d67481a645bfdf000fab23233b36347458820dc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/config/config.go: pkg/config/config.go changed 5 times in last 90 days, max complexity 33."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5ee4b2685dc7ea715301363f8207ea775818d15189560f1d72c1b25d1cd22b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/agent/runtime/executor/node_adapter.go: internal/agent/runtime/executor/node_adapter.go changed 2 times in last 90 days, max complexity 68."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c1c508ad94a87c7782bed4391254436f0a7d2b9806e725ef5acdee83a10b44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/app/api/external_agent_tool.go: internal/app/api/external_agent_tool.go changed 3 times in last 90 days, max complexity 37."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/external_agent_tool.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fd8778205db4806ebc42cbcc4427640a8bdeeb48e05cb4f5841de247586432"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/api/http/handler.go: internal/api/http/handler.go changed 3 times in last 90 days, max complexity 33."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c64d1228b68215e73e8bd5a304f3ce3bd57de84cd4e4f6af9f30d98b71b627"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/app/api/agent_dag.go: internal/app/api/agent_dag.go changed 2 times in last 90 days, max complexity 16."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/agent_dag.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"929f6bf71dbf7bb45060e8848c06e436cf27d51bb87e82aaf8845daaedcef96e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 13 significant file(s) lose their only recent owner: templates/autonomous-researcher/workflow.go, templates/multi-agent-debate/workflow.go, tools/mcp-gateway/tools/mcp-filesystem/tool.go, tools/mcp-gateway/tools/mcp-database/tool.go, internal/api/acp_handler.go, sdk/python/aetheris/client.py, internal/app/api/external_agent_tool.go, templates/rag-assistant/workflow.go (\u002B5 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e9507c9c1d03a1152a917f8a28e33803efe5caac2b2cb6fb9b6de51e7ee02839"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 7 significant file(s) lose their only recent owner: internal/agent/runtime/executor/eino_agent/agent.go, internal/runtime/eino/tools.go, internal/tool/mcp/server.go, internal/agent/runtime/checkpoint.go, internal/agent/runtime/checkpoint_pg.go, internal/agent/executor/executor.go, internal/agent/planner/executor.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9d0bec3d0ecc2c957d79d18e04ab111e23f78a2a7d3b34531c723ebb5603bf66"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 4 significant file(s) lose their only recent owner: pkg/compliance/hipaa.go, pkg/log/logger.go, internal/app/api/pool_manager.go, internal/model/llm/interface.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c6236ca2ed0585da9ccd47e0df4c094f8650f74beff7b469170c62e894f0745a"}},{"ruleId":"D19","level":"note","message":{"text":"The \u0027Without Aetheris: retry \u2192 email sent twice\u0027 failure mode is mentioned but never verified by code or test.: Add a short verification snippet showing this exact behavior, such as a repeated call that asserts the same Idempotency-Key returns the same result."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20bfc4b739830f164807f26e44de186df70dcb6c2a0e643cf4a32ba7b9e367f"}},{"ruleId":"D19","level":"note","message":{"text":"The \u0027Quick verification: ... make docker-run\u0027 section is ideal but the full command line and how to run benchmarks is cut off mid-sentence.: Keep the clip; the visible portion is clear, so no action needed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50dd5800271c0ce9e3847526601ce67f5ff6577b651ba74fe5ac8be775e2735"}},{"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":"d22677f8961913e93901398f09d0d23a3b2e9405eb2df0194b1682a36a9b5eef"}},{"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":"3e8588c2c0b1618ffbdc220bda9fb56b351f6d2afce1b5218f0032a5605e85ac"}},{"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":"30421fbd41d7b57aaae0f81bec2073faf6731f522e328bb61454a1f1232411b9"}},{"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":"7ef4580ff14a241f649b2e81c59a2c3ae45ab22f0e5d3c53d761ed42dd6a4462"}},{"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":"4b203b6c5b73372a8c2dd09aa17524d0bb88751dd13774930c51213c2415b80b"}},{"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":"6b15f759d1ac6ebebac9ed438bf97a0bf834f02eb5a559a947c241b57ab0e3c8"}},{"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":"b731f9072e8a3154841ea8987219eb5d2c5b794afd4ab48ec9c9d762265c508d"}},{"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":"61a13598ca7318ce5ec69480b659974fcb47a6fc8b4a9c17c9a5f4a42799b8e9"}},{"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":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ceee73d76663034321cbd3b5bbecae8b673163039b70b12462f979a331e73d3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e04f0a15f25265251e00cfc158cde67fdc0071cd4f15cb42eeab04622d276a4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8eb50784ab958284eb3ecd7050384e4061ddeae0c76cf46d9d242ff3f816fc6b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7a9139ada736d07ff392922c41056ab290cbfa563beec669fc516345f13b2e4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6c55a08f2b35e11767deb6452f4d85746c5d4d1333adc775336a4b8786de129"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e5ba20d569d258ae6d0a24953bb1bf2096a834bc4a53403da7c12ca10d2411b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77765882d55462152a369fef948de5215108ca7f45d82e78ff505271ac66abac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"229f33f5083a1fefa5ebd7f3b2a50f455445c022072eadf8ca675541407f621d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f9837116a08b8e6d1c399be63869d7e00828011b478e4dec43ad56ec6d8fca0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec18c7e38200a3ea39c3a5970f9d5b0810fd43fe6d132e294dfa65a87ec165c2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63f6fe19604e9bbc201805ab413127670d457ca05c4ff3d9f121266d5a97d87d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb56f2e44d0085df25826e32c71a62971b1cb2c7a5b691fdebd076fa9e819c18"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d80129843558408746182e5320750788e46475cdecdd3d51edc16a2635872654"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"605c9120d1ea32fb27c6351581532ebac9a0eda33c817e1ff9a9e208e701b026"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3682daf8913c621291d537ca66fa81b29a690bedf5b761c08a0c66ec5fa142f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"219ad095af7026279b3dff371139b2a61604f2330683f8acf0c50c73204f2cdd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5465f5d4e9c4afcbf3f0f6ec5cadf53b64eff6d607801a8618aed832655459ee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff42218381ab81a7891a2f359712b5bd3daaf944f29acf06663f72d4d103132a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ceaa89d8275ab3a33bcd49745d69c372a9286447a637013dd2a1d4e4ac55f52"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"834de50114869a80063c13a75354143c3c8f4d37f0bfa1bc08bff42767c2f846"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ceda05a823c517ce0c008cc462ec847376e92380c856283b1d9085eb2862b1f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d5fbd022def8af35348161840c3d6630d644f5bd6ba14803db356bf890d4b73"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"211d9c3ee01fc84567617dc99fe2b8515158efe2b182605bd5097151073087f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5985dc5c316c5eaeae9e7e56afa19dd5b504fdcfabb623aa716781e61bf50e76"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0db7ed879828b311493112754d6deb0698bdafcb5b22cf90f096364689d90a8c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea8aa7dda567c03039899da99541474a4c361536d75a346fb3b367775c397faa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9ade5b4d87e8dfe2e1f05f743291d80b389a121ad00ea3cdee4f02dff03e7126"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e21736c064871dd6c1343fb6b2e514f6a53b87c87fd5d1010c1a616eed72f6f1"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b9f05a5b6ff95c54485992fbaf38046fec51d8e90490462aab40df7d0769a88"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da9716fe52d14f0da8ba13124d7a2c4117e084c759e15283d9527dcba271fbab"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"423506f76df000726def36ca7a16cabdac3218e6f79ffddf1e0228ead2608281"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2598031f8d09994634ffd9717a92d2f8831697b03544a9b83c5729da5e67389b"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc25e17dd9b6d87d0c11c01e86e773d5a4b724486e00fab15188bb4cd7fff642"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efe11d3bc788af6e8cb8a96f087927fe5b1394226cb65ca04f6f4158aeb5f19f"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"433c6d9780d89d3e623d9a2a5d0226dfd9701349677f4d1399dbd64ddcfcfe24"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de0c2cbd862fad611a650577a1015a36009d2e3b34f1f036eb59b4bd57773001"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"adebc47ebd643dc5d595e2c3fec572b9684f07533147be9bd11afe4f49cfc042"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41245f681bf448d7cefbb70d40ab534db7371e5a853193274bf39fd051247d8a"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa8818a4d5289893b7ab77e994e86e87dfd960d15b835ae12238f496c6b05f3b"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a35de1fb25835250e60495c514478a24df657754260d49cf3054b13c49fafd5"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19c262a10b4d0b2c6a2065f90fadfbd109caf7732cc64193c468340b9c23f0eb"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3089c0de9ee3014308cc5afee4c8bd6e17e86cfdf8ebea343a3a3845ae529646"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c618dc71b76c533f7275894b72557e2d9d2e2a2f48926c066d55f6f2125c3ebe"},"taxa":[{"id":"CWE-1004","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4eb8d71f51167970367167c42bef626a4fc892102dbb52c4acfae9b7da8eaab0"},"taxa":[{"id":"CWE-614","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8bf0d5a2587b9d200a7281d6f7be009621f50f05b16c5b6c72d33c28321192b6"},"taxa":[{"id":"CWE-300","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"526dc522260c062a7bb8db1b28f1fa6c9f944806595cc9ccb7fb3aae67da4206"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","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":"f6719ced3b03c8fe581e7d3efc83317a4029b1e88ca95574b1d15aef8e3ae96f"}},{"ruleId":"D31","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":"5e29206da548e4ff9216b6f4c9e0a08f87a477e59ac19c6dc9c17e43d70eca3e"}},{"ruleId":"D31","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":"1825cd394a485c5cf65c6d3f46286bbfa6e8c5603a0657ff3e599f7e3ed931ea"}},{"ruleId":"D31","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":"6809a82710eeab2853d144a72b9246c34c707fca36dab9a9ab1c8e474afea15d"}},{"ruleId":"D31","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":"4c829d8a8302e9d13ff9f4432e38fc751fac06f1c851e38926b14fb549d47776"}},{"ruleId":"D31","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":"c4ee55e2708242b40e52c9f795b8e8e6e45618d1181744e57693115eba1f99df"}},{"ruleId":"D31","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":"e76d4cd3843cfc6cbfa3b6292480c51f5e679e0ffaa0d53648df6a7448d3b7f8"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 64 of 254 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. None is large enough to schedule a dedicated read-through on its own, so they are folded into the freshness score rather than raised individually \u2014 largest first: pkg/routing/model.go, internal/agent/domain/task_graph.go, internal/runtime/eino/run_store.go (and 61 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: client.go \u2194 router.go: \u0060cmd/cli/client.go\u0060 (context cmd) and \u0060internal/api/http/router.go\u0060 (context internal) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched the less-changed of the two, renames followed) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffccb13be325b0798fc4093232a8c245a1d246c5e9b8506409beb8f365444a7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: task_graph.go \u2194 router.go: \u0060internal/agent/planner/task_graph.go\u0060 and \u0060internal/api/http/router.go\u0060 change together 50% of the time (7 of the 14 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/planner/task_graph.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b992ea8280578d2143a8a2aaddc9fff71fb113ad492eeb88fe88eadf96d97b9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: node_adapter.go \u2194 memory_store.go: \u0060internal/agent/runtime/executor/node_adapter.go\u0060 and \u0060internal/runtime/jobstore/memory_store.go\u0060 change together 50% of the time (6 of the 12 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"159fc6f09b85e2bbb9f9e1f8eeefbfa5dc3bc51d2ce7515258c9a018d2ec5ff2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: runner.go \u2194 store.go: \u0060internal/agent/runtime/executor/runner.go\u0060 and \u0060internal/runtime/jobstore/store.go\u0060 change together 50% of the time (5 of the 10 commits that touched the less-changed of the two, renames followed) with no explicit dependency \u2014 a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67b7d75aaa6b90fd51488172b86b13cc26fbb2654459de1b51ed310785263bd"}},{"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":"D37","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":"9d03e50e45de791a350ebf595fcb3269575c0543260ac6707c4b73e65639738e"}},{"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":"5024c6afc6d3ad433fe6e9d6331e96e5f5c40a20c3a6565c4288cd0d4af79e78"}},{"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":"5e3545524e8875b4c7eba7c1011fc73f5980286a976278c5029e01d01e301600"}},{"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":"4b6b5d2627573c9a1561f1157a2d7fa44a4a439ad87ae1369661568fedaa7b18"}},{"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":"3259e08c6ea675d17d09cb3b7bd8e2052ce09745fbc1fc6d96bd61026e049e13"}},{"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":"046a6d491f294c4e14b2242233403f99865ed6494abb9542785e4b4cc8478f9a"}},{"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":"c971fd7565102e6e6ab39ec8591ff8fd22963fb9c88532619d60c6eac889ea70"}},{"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":"42d99abb322e043b71659b00c4f63293f728b5717417e9459f3810865bd4aaf0"}},{"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":"d8e0ec1fef71a3e724dfbc0369a1ab7fd2ea030d16ad885c1a104e758f1eac5f"}},{"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":"6ed48e0825ff06a7c4d34222bd65fb5475c349cb1b174730cfa8fd6745fa1181"}},{"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":"2e713568f92ceba89e04ad04b5d4791a1fa0236e7a475eb8e0d16f0950ff7d67"}},{"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":"918abe92930c54c04e217b493615316d345ef06742865d74fee23a28fb0c6507"}},{"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":"0e15b74722e351a790e6480ccf8674d9d22eda000d31ccb57e98d50f5ebe0f9e"}},{"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":"55bc2e89a36278ff4fc4e4dea791ebb4698017b7a421de343aaabec2dfb7d5ad"}},{"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":"3c01950a4458ddedb5526e34865e8157652fb0b91352f1f1c7be90659a4bccc0"}},{"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":"ba0695644397eab358c67149e6d936cb8b6b648c1f9c8b9bfa34a8138855768a"}},{"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":"be217444638ac33aa1bd5044cfc99a2e92b284c1cc1654e8220d2ef2ef47944d"}},{"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":"231ad4dc838e4a2768e6f7a1e67ca410b16632a9e046ea516d551978147d4308"}},{"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":"f17082229e85bef655c5302dfba6e40e363417dcac0366724803083f3b85876e"}},{"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":"11d329f54ab2d88651b34fb1b1a7c067143ecde40009cd256562c3aa7c54ff96"}},{"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":"2bdd4dd12dd7eca8114fbdb0be9a2646bfe885a8e28e9b97fd960ed83f7936ad"}},{"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":"1f5496549ee41979debe3ede1fe769be1caab6a230dffd96a2e7b90ccbeeaeb3"}}],"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-1004","guid":"872195c9-bb07-cf51-8a32-865f4bb753ca","name":"CWE-1004","shortDescription":{"text":"CWE-1004"},"helpUri":"https://cwe.mitre.org/data/definitions/1004.html"},{"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-300","guid":"c5969c2f-022a-5059-bb13-5ac56ccacbd0","name":"CWE-300","shortDescription":{"text":"CWE-300"},"helpUri":"https://cwe.mitre.org/data/definitions/300.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"CWE-319","shortDescription":{"text":"CWE-319"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"CWE-338","shortDescription":{"text":"CWE-338"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-614","guid":"faa8a6a5-7e9d-5d5e-afc9-020ff49d250a","name":"CWE-614","shortDescription":{"text":"CWE-614"},"helpUri":"https://cwe.mitre.org/data/definitions/614.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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"CWE-95","shortDescription":{"text":"CWE-95"},"helpUri":"https://cwe.mitre.org/data/definitions/95.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":87,"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."]}]}