{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"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":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"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"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"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"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"api.NewApp (cyclomatic 195): api.NewApp has cyclomatic complexity 195 (threshold 15). Of this number, 173 points are the body\u0027s own statements and 22 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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). Of this number, 95 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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). Of this number, 63 points are the body\u0027s own statements and 31 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":168}}}],"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). Of this number, 54 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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). Most of this is not in the body itself: 1 of the 52 points is its own statement and the rest belongs to one function literal inside it that branches (line 95). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/scheduler.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b354d12b5f897234d35313473577160810d90dc65399e437edc0fee6239aba5e"}},{"ruleId":"D1","level":"warning","message":{"text":"gatekeeper.validateAgainstSchema (cyclomatic 46): gatekeeper.validateAgainstSchema has cyclomatic complexity 46 (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/tool/gatekeeper/schema_validator.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"355dc5c6e6c23993cea8f7b22c3ac0285384195f068095e382311383cfd6a305"}},{"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":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1db29b117e7c052f6df780c10822647a82ddf53d4d43dd1f3f9847e136420e"}},{"ruleId":"D1","level":"warning","message":{"text":"http.BuildExecutionTree (cyclomatic 42): http.BuildExecutionTree has cyclomatic complexity 42 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":"ingestWorkflowExecutor.Execute (cyclomatic 38): ingestWorkflowExecutor.Execute has cyclomatic complexity 38 (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":"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":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a5a7cd0df9a71b66896da74567af3f24b51a098031c9f550b8393e096fe77d"}},{"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":"Runner.Execute (cyclomatic 31): Runner.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":"sdk/durability/core/runner.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c62e54a546f2f86a5ed88645caa7e201a96ab5c2b6d4d754f7fad768f3f608"}},{"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). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 110). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"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":"sso.extractUserInfoFromAssertion (cyclomatic 23): sso.extractUserInfoFromAssertion 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":"pkg/security/sso/saml.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafa2d1f2a893e4971cb030023cdee60260c01f30faa9a546d7abe3101ef44ea"}},{"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). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 168, 133, 193, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/middleware/middleware.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5696f6f1aa07db8e0d48b8c83c676f287134396d0206812000b640ddb87d216"}},{"ruleId":"D1","level":"warning","message":{"text":"vision.detectImageType (cyclomatic 22): vision.detectImageType has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/vision/openai_vision.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed11664db3ec776117b3e5e4528427f87ce02fd51eab91c8b62bd63483b39f0"}},{"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). Of this number, 12 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":"HIVEPipeline.ProcessSpecialized (cyclomatic 20): HIVEPipeline.ProcessSpecialized 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/pipeline/specialized/hive.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"484607f70ed09afae495d93c7abd782194afbe6db93a51a3fa66eb4797425d5c"}},{"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":"queryWorkflowExecutor.Execute (cyclomatic 18): queryWorkflowExecutor.Execute has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/workflow_executors.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d006e1db05dbfa7803a4af5a76af47a7d470b428f69b8aadbb2011875de324"}},{"ruleId":"D1","level":"warning","message":{"text":"JobRunner.Start (cyclomatic 17): JobRunner.Start has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 56). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"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":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c9cc267c320942836ca9350e7a8377d408435c7282018456bf6c20e32523cc"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseTool.query (cyclomatic 17): DatabaseTool.query 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":"tools/mcp-gateway/tools/mcp-database/tool.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"81129ad78b5ca3036bb2923a4ac780f73708755754e208d0ea4be81596b8cdbd"}},{"ruleId":"D1","level":"warning","message":{"text":"FilesystemTool.searchFiles (cyclomatic 17): FilesystemTool.searchFiles has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"tools/mcp-gateway/tools/mcp-filesystem/tool.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ee78a0c0883e12945a671dcd2f7f4300e64fcccbdfab7da5071c0beef019d7"}},{"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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"531cc68a0c3a99f97491e7809ef1194b1e7c54698c4933ddbbeb97a323f0c5fe"}},{"ruleId":"D1","level":"warning","message":{"text":"App.Start (cyclomatic 16): App.Start has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ccfe0375b4e930ea2dfe264b05f3a2b634336b6251d0f974f99ebcafc9a239"}},{"ruleId":"D1","level":"warning","message":{"text":"gatekeeper.validateType (cyclomatic 16): gatekeeper.validateType 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/tool/gatekeeper/schema_validator.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0048520888c28e69b863d75e9d90f10d6d82b1c0695b6422698449f6daf93700"}},{"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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":"D1","level":"warning","message":{"text":"Runner.execute (cyclomatic 16): Runner.execute 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":"sdk/durability-py/aetheris_durability/runner.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75b37b909247b1503155bbe2af2b2707692f9c856a0e9d0a83bc6deb049417d"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.RunForJob (cognitive 585): Runner.RunForJob has cognitive complexity 585 (threshold 15). Drivers by points: if/else 143 (508 pts), loops 13 (42 pts), boolean chains 33, jumps 2 (nesting depth added 394). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 135 (253 pts), boolean chains 47, loops 6 (12 pts), match/switch 1 (2 pts) (nesting depth added 125). Of this number, 277 points are the body\u0027s own statements and 37 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 59 (215 pts), loops 6 (18 pts), boolean chains 16, match/switch 3 (6 pts) (nesting depth added 171). Of this number, 245 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 79 (181 pts), boolean chains 12, loops 4 (12 pts), match/switch 1 (3 pts) (nesting depth added 112). Of this number, 123 points are the body\u0027s own statements and 85 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":168}}}],"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 35 (149 pts), boolean chains 14, match/switch 2 (7 pts), loops 2 (6 pts) (nesting depth added 123). None of this is in the body itself: all 176 points belong to one function literal inside it that branches (line 95). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"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 72 (146 pts), boolean chains 19, loops 3 (6 pts) (nesting depth added 77). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbfe0213a76e64583e9d74813e5b70866106be7c7170ee371763d4751eb2265"}},{"ruleId":"D2","level":"warning","message":{"text":"gatekeeper.validateAgainstSchema (cognitive 133): gatekeeper.validateAgainstSchema has cognitive complexity 133 (threshold 15). Drivers by points: if/else 42 (121 pts), loops 3 (11 pts), boolean chains 1 (nesting depth added 87). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/gatekeeper/schema_validator.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"904172acdf204cb1b055d808bbd05cf89c0d79c76d947d3a4a7f298756fed236"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolNodeAdapter.runNode (cognitive 124): ToolNodeAdapter.runNode has cognitive complexity 124 (threshold 15). Drivers by points: if/else 43 (112 pts), boolean chains 10, match/switch 1 (2 pts) (nesting depth added 70). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 34 (93 pts), boolean chains 12, match/switch 4 (11 pts), 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 32 (91 pts), boolean chains 11, match/switch 4 (11 pts), 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 31 (105 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 76). Of this number, 106 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 36 (77 pts), loops 14 (22 pts), boolean chains 7 (nesting depth added 49). Of this number, 100 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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 44 (70 pts), 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 32 (78 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 18 (61 pts), loops 5 (17 pts), 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 32 (75 pts), boolean chains 3 (nesting depth added 43). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 31 (58 pts), boolean chains 14, loops 2 (4 pts) (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":62}}}],"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 15 (56 pts), loops 5 (17 pts), 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 18 (46 pts), boolean chains 8, match/switch 2 (4 pts), 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":700}}}],"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 12 (39 pts), match/switch 3 (14 pts), boolean chains 3, loops 1 (nesting depth added 38). Most of this is not in the body itself: 1 of the 57 points is its own statement and the rest belongs to one function literal inside it that branches (line 110). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/agent_job.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"03baeed2a73cb89e358cbfc59bfdc1af8d4ebcbbaa4335b3b6f1544f94111edb"}},{"ruleId":"D2","level":"warning","message":{"text":"sso.extractUserInfoFromAssertion (cognitive 54): sso.extractUserInfoFromAssertion has cognitive complexity 54 (threshold 15). Drivers by points: if/else 11 (36 pts), match/switch 2 (8 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into 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/security/sso/saml.go"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76d9a755cb03291ce65c5616d71437adc849a04dc3c801279a82a9b3eb5367b"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.Execute (cognitive 53): Runner.Execute has cognitive complexity 53 (threshold 15). Drivers by points: if/else 23 (41 pts), loops 4 (7 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/durability/core/runner.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9725eff1034ed3656e8107507e9dcb254019fca812de9c137e2abed2b4f64fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"ingestWorkflowExecutor.Execute (cognitive 52): ingestWorkflowExecutor.Execute has cognitive complexity 52 (threshold 15). Drivers by points: if/else 35 (49 pts), boolean chains 3 (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":"internal/runtime/eino/workflow_executors.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa51893182e2fb72484a3d59ac95ff94ecb61e679d2a7b90ee7c534af9cacde9"}},{"ruleId":"D2","level":"warning","message":{"text":"proof.VerifyEvidenceZip (cognitive 49): proof.VerifyEvidenceZip has cognitive complexity 49 (threshold 15). Drivers by points: if/else 26 (44 pts), 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 32 (43 pts), 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 21 (38 pts), 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":"MemoryIndexer.Store (cognitive 44): MemoryIndexer.Store has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 3 (5 pts), 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":"proof.ValidateLedgerConsistency (cognitive 42): proof.ValidateLedgerConsistency has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (34 pts), 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 19 (31 pts), 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 16 (30 pts), 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 16 (34 pts), 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 19 (30 pts), loops 4 (5 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 13 (28 pts), 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 18 (33 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 21 (29 pts), 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 12 (29 pts), boolean chains 3, loops 2 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 24 (33 pts), 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 15 (29 pts), loops 2 (3 pts), 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 11 (28 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 10 (22 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 13). None of this is in the body itself: all 30 points belong to one function literal inside it that branches (line 56). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"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 12 (22 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 10 (18 pts), match/switch 3 (7 pts), boolean chains 3, loops 2 (nesting depth added 12). Of this number, 17 points are the body\u0027s own statements and 13 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 12 (26 pts), 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":796}}}],"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 5 (16 pts), loops 6 (13 pts), 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 15 (24 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 10 (16 pts), match/switch 2 (6 pts), loops 2 (4 pts), 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 14 (21 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 13 (25 pts), loops 1 (2 pts), 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":903}}}],"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 7 (15 pts), match/switch 3 (11 pts), 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":"FilesystemTool.searchFiles (cognitive 28): FilesystemTool.searchFiles has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (26 pts), loops 1 (2 pts) (nesting depth added 11). Of this number, 24 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-filesystem/tool.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa492a7fbc3bd30eaf6bed208569984a420e570c4bcc99d26f355f001514953"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.execute (cognitive 27): Runner.execute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts), ternaries 2 (4 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/durability-py/aetheris_durability/runner.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7242bac2bfb346eb5dccc4a8b333b26d7a432df5b264d03e8eaf3103abeec9"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskGraphExecutor.executeNode (cognitive 26): TaskGraphExecutor.executeNode has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (25 pts), match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 10 (21 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 10 (20 pts), 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 9 (20 pts), loops 3, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 16 (22 pts), boolean chains 4 (nesting depth added 6). Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 168, 133, 154, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/middleware/middleware.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"873141703e20db57849638dee799d845aedfd2c4729a179934f22ca1b6913ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONLPipeline.parseLine (cognitive 26): JSONLPipeline.parseLine has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/specialized/jsonl.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54aad62f1bf09562c00d02a1be1ae417c1d7896d825f0f62da45d6af5db89e9"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentFactory.collectTools (cognitive 26): AgentFactory.collectTools has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 5 (10 pts) (nesting depth added 13). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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":"DatabaseTool.query (cognitive 26): DatabaseTool.query has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-database/tool.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c61a627d95c131fb239d6401c183c88f678def9053c893567ae033cf1dfb83"}},{"ruleId":"D2","level":"warning","message":{"text":"specialized.mapRowToDocument (cognitive 25): specialized.mapRowToDocument has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/specialized/hive.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f085a5c1cee7226e5fd4df4e6e69923d33c441383a7eb95789dfe655361a3f38"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryPipeline.Compress (cognitive 25): MemoryPipeline.Compress has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 5 (8 pts) (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 11 (21 pts), 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 5 (14 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 12 (19 pts), match/switch 2 (3 pts), 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":"HIVEPipeline.ProcessSpecialized (cognitive 24): HIVEPipeline.ProcessSpecialized has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4, match/switch 1 (2 pts), 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/specialized/hive.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f42746bac225bf187043edaea4bab01a67c69eaa965cab4ade021b852883f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"extension.validateAgentsYaml (cognitive 24): extension.validateAgentsYaml has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 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":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"faec26e285a527c1a090cfb9247afa3c0ab4f5bd7094e489381e066d9d395a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"job.ReclaimOrphanedFromEventStore (cognitive 23): job.ReclaimOrphanedFromEventStore has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, match/switch 1 (2 pts), 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 7 (15 pts), loops 6 (7 pts), 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 6 (13 pts), loops 3 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 11 (21 pts), 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 15 (23 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 8 (15 pts), loops 3 (6 pts), 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":"App.triggerSnapshotsForHighEventJobs (cognitive 22): App.triggerSnapshotsForHighEventJobs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), 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":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"c252f4cf7575cca255757eced2da35a21971b986d70ce7a31a869da6cafc0ba5"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONLPipeline.ProcessSpecialized (cognitive 22): JSONLPipeline.ProcessSpecialized has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (7 pts), loops 1 (nesting depth added 11). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into 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/jsonl.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3e89dcfc55ecd7729474d4ff76864f212e3ef8f340cd1666496b63040b4a76"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryStore.Search (cognitive 22): MemoryStore.Search has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 8 (16 pts), loops 2 (3 pts), 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":"api.SessionToADKMessages (cognitive 21): api.SessionToADKMessages has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts), 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":"ACPClient.doPostWithRetry (cognitive 21): ACPClient.doPostWithRetry has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (3 pts), 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 16 (17 pts), 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 5 (14 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 8 (16 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":1004}}}],"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 4 (13 pts), match/switch 2 (5 pts), 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":"DatabaseTool.describeTable (cognitive 20): DatabaseTool.describeTable has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts), match/switch 2 (3 pts) (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":"tools/mcp-gateway/tools/mcp-database/tool.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d33274a31a255d2d2cd954fb22fe2b91076637ae3f956feda91361cf0f3465b"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.runInternal (cognitive 19): Agent.runInternal has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/agent.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a223bef9952a8fc96d645b40518f9eb4e8111b6f014ddd5ed80ea28f6102262"}},{"ruleId":"D2","level":"warning","message":{"text":"executor.LevelGroups (cognitive 19): executor.LevelGroups has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 7 (8 pts) (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 7 (17 pts), 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 9 (17 pts), match/switch 1 (2 pts) (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 8 (16 pts), 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 16 (18 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 9 (14 pts), boolean chains 5 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7cb2eb9c7d17326cb9aca5a70503a53f1758462549421d6bf568456a463312"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONParser.Parse (cognitive 19): JSONParser.Parse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/parser_impl.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"be43d774c3fad776f5a17dd9270efba9f2b8e2de074fe119abccbb1b6b203fcc"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentSplitter.mergeAndSplit (cognitive 19): DocumentSplitter.mergeAndSplit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 pts), 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 7 (14 pts), loops 3 (5 pts) (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":"queryWorkflowExecutor.Execute (cognitive 19): queryWorkflowExecutor.Execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/workflow_executors.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"880baf0ec4ec2f403897bcbfd0b669f8a6305590595647d6cfacad8647544779"}},{"ruleId":"D2","level":"warning","message":{"text":"jobstore.gcToolInvocations (cognitive 19): jobstore.gcToolInvocations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/gc.go"},"region":{"startLine":102}}}],"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 3 (8 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 341). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/pgstore.go"},"region":{"startLine":334}}}],"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 8 (18 pts), 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":"gatekeeper.validateType (cognitive 19): gatekeeper.validateType has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/gatekeeper/schema_validator.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bb7f56aa277cad1b2ef6e93d0d998111c74e37405330f5baa0eacf106bc50c"}},{"ruleId":"D2","level":"warning","message":{"text":"proof.extractJobMetadata (cognitive 19): proof.extractJobMetadata has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (14 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 14 (17 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/advisor.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9663a28f5e4c43830532b7804587228e23cdb9be2947022006f93ac377c7119"}},{"ruleId":"D2","level":"warning","message":{"text":"samlProvider.Exchange (cognitive 19): samlProvider.Exchange has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (2 pts) (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/security/sso/saml.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0493a17b9147da41f5805483984b2fffed5d47e15ed04956a383914cf4bbd059"}},{"ruleId":"D2","level":"warning","message":{"text":"DEERAgent.Invoke (cognitive 18): DEERAgent.Invoke has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), 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":"HermesDispatchTool.Execute (cognitive 18): HermesDispatchTool.Execute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 9 (15 pts), 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":"ingest.extractHTMLText (cognitive 18): ingest.extractHTMLText has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/parser_impl.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06caf9f9e6395e1aa0bb3a5c7a4e1bdc35bcfcee16d68a93008a089395fa8fe"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryRetriever.Retrieve (cognitive 18): MemoryRetriever.Retrieve has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"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 7 (14 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/specialized/longtext.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3893ffbfc638da8d6afb617ae921fcde3b797329735c0e5d7b406158e3bb86a9"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskGraphExecution.TopologicalSort (cognitive 17): TaskGraphExecution.TopologicalSort has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 5 (6 pts) (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":"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 12 (15 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/pgstore.go"},"region":{"startLine":113}}}],"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 8 (14 pts), 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 5 (12 pts), match/switch 1 (4 pts), 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":345}}}],"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 6 (11 pts), 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 9 (15 pts), 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 6 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 5 (12 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 12 (16 pts) (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 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 10 (13 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 9 (15 pts), 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 10 (12 pts), boolean chains 2, loops 1 (2 pts) (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 9 (16 pts) (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":"D2","level":"warning","message":{"text":"DatabaseTool.validateSQL (cognitive 16): DatabaseTool.validateSQL has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts) (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":"tools/mcp-gateway/tools/mcp-database/tool.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd01f66d45ecd7b70cb36b1d48544eef74acf37be3788acad35d7d26e724605"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: api.NewApp: FunctionTooLong \u2014 NewApp runs 484 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 384 over it, 4.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed20e794ce04820e05c2c8fd9d07b548c6061c2f9c1fb1f61f3f5aa2bc6ceb95"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Runner.RunForJob: MethodTooLong \u2014 RunForJob runs 449 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 349 over it, 4.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"525027893daa1c7018e35e497ac2efb3dd862f9ccbd8365709d8635478d35c65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http/handler.go: FileTooLong \u2014 2007 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: Handler (77 blocks, 95-2903). The bar is 500 significant lines; this is 1507 over it, 4.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"578c70501248b8656462b601856177eaa5e055d4105131f1f2a9bef1cc4b59b4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Handler: ClassTooLong \u2014 1604 significant lines (blank, comment-only and punctuation-only lines excluded), 100 methods, 77 blocks, lines 95-2903. The bar is 400 significant lines; this is 1204 over it, 4.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4d1edf135526c29ce55f5f0ba3b2b20b97d397f259eda7cf485070050061fc"}},{"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). The bar is 30 methods; this is 70 over it, 3.33\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"955b7c73c30caa02076559b2f81a6586728e8b9bb9d2f34f75ca9642b0a913d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http.BuildNarrative: FunctionTooLong \u2014 BuildNarrative runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/trace_narrative.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a08ac0e48427aaa1d4aaccbc50aef2dc1932c7a232e06c841f2b4fbc84de2cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker.NewApp: FunctionTooLong \u2014 NewApp runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a298c8821be1d12d0eb8ed93567c89e5599410c397feb7a3281866c91e4f1252"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Runner: ClassTooLong \u2014 969 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods, 19 blocks, lines 206-1644. The bar is 400 significant lines; this is 569 over it, 2.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"260c966f9197ff5d81d2fa7ae35704a7afd8b0a3a0dd9ca2d0466bd96f35b8b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Runner.Advance: MethodTooLong \u2014 Advance runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53ce0b2692661aa52c5d9fdfb0e36b519b44514e3ace4b02aab403b8f09ab49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/runner.go: FileTooLong \u2014 1099 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: Runner (19 blocks, 206-1644). The bar is 500 significant lines; this is 599 over it, 2.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ea9c521b28aee5764e393196e99a454848ff482f282c8cc42f2e707c41487c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: replayBuilder.BuildFromEvents: MethodTooLong \u2014 BuildFromEvents runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b131d838208075254d9e4662311c5bfed828ba319a2dfbc6b878c1cf699a6c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolNodeAdapter.runNodeExecute: MethodTooLong \u2014 runNodeExecute runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bd59b57b8fa94eaa4a871d3e94a8bf80b6cca60bafc996ce4d59def72a13d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: replayBuilder.applyIncrementalEvents: MethodTooLong \u2014 applyIncrementalEvents runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c97a424b9c6bc06ec1d5e3aea33201b3d1eae1ba419f41c6139b1e13107b9d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/app.go: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: NewApp (135-797). The bar is 500 significant lines; this is 218 over it, 1.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b9ec0641dcaa6ea3e6b4a32f8d9db17b67a9cda2f5f75e84f88e32de08bff9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worker/app.go: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 218 over it, 1.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5659ed6306d14d13a06530abf498da7418e71a4ce80852cb1ab0af1f26a18fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http.buildTraceHTML: FunctionTooLong \u2014 buildTraceHTML runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0c499a35fb3fd91f430edf312c0f6561f8f35134af1a898f08565d02b05f68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Handler.AgentMessage: MethodTooLong \u2014 AgentMessage runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdaf5b94fcbef19b0d097a5b267ea005236ced69f207dbc54c9572eacff6ef9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/main.go: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 179 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26116c9327b8a7bda23291b184c340631551f2aa2cb40ea2b90d4d463226893"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolNodeAdapter.runNode: MethodTooLong \u2014 runNode runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"795781cfeeedfa8810d2cc4a0f003052951b197d8b4dc1436ae9a97d81540a38"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http.BuildExecutionTree: FunctionTooLong \u2014 BuildExecutionTree runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/trace_tree.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a98c601924581b72349a021f1585b2154cfe285bf0cf423df0b458e1b2c400"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EinoNodeAdapter.runNode: MethodTooLong \u2014 runNode runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_node_adapter.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"849c527f6d903e586cae15833622fb20fe45bd595368739429827a2a3c2c177f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/node_adapter.go: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: ToolNodeAdapter (7 blocks, 301-843). The bar is 500 significant lines; this is 116 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"185e1af7dd64ecf7058fd8862962a0799a913e805bacd6d8140e95561f235c89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/extension.ts: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 105 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c423de8bd975b3992e878dd494507092be2a7c5cdb4a161a861e5d61f605f94"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ingestWorkflowExecutor.Execute: MethodTooLong \u2014 Execute runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/workflow_executors.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bc98b89af1d6d2dd3a767490297f766db3f29da553b843173304b49e720b16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Runner.Execute: MethodTooLong \u2014 Execute runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/durability/core/runner.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6e825f6a50f0c5108628dec53deb58654111557b293388aeed93da53130bdb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: externalAgentCallTool.Execute: MethodTooLong \u2014 Execute runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/external_agent_tool.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ee314d92dcd4443f1db0319c47c0049c231a42b62443b3250f3477b885599a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: routing.DefaultModelRegistry: FunctionTooLong \u2014 DefaultModelRegistry runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/model.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"da07cb6001e0635cdc5a2354c30c795dd06dcfb59461d9b26faaa88b814e294f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.createDebateWorkflow: FunctionTooLong \u2014 createDebateWorkflow runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/multi-agent-debate/workflow.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e983fdaf97006389e64ae8bc467e2e71bd4d3c78a9e9721a2e311503ff9f8495"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.main: FunctionTooLong \u2014 main runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/main.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffd851a52943969543238ffe65ea0a79404595b62fcd491314c23608c8e00b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http/forensics_query.go: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: Handler (9 blocks, 61-683). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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), about 70% of them inside a single declaration: replayBuilder (4 blocks, 105-712). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"714ea5f2e25c236a1fb6c35505571d299dc32b34ad16c745b242030633f7d9bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/config.go: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 24 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c13847c93d26e7d463799cd64292af38838a5bd3e7b99cf78f38f8cc42c25fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: nodeEventSinkImpl: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods, 21 blocks, lines 36-678. The bar is 400 significant lines; this is 16 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/node_sink.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"807c8ca657c964b2b1057174d6c3b18759713d9a353a5013281168d2d1384a7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.createResearchWorkflow: FunctionTooLong \u2014 createResearchWorkflow runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/autonomous-researcher/workflow.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb49fcdced8b94c7e5e6384c0a8c83914238062c8422b50b287d5e4c46524df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: proof.ExportEvidenceZip: FunctionTooLong \u2014 ExportEvidenceZip runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/proof/export.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"46605e3910ad2e7834fca4c23fe6488e1e54e7b98e40d1fad1da0e616956a924"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Router.Build: MethodTooLong \u2014 Build runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/router.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a77727901c33a8584939d013d21513ec6e95f8aeffb317f46d57ac4cc6e4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): internal/storage/metadata/memory.go:95-188 | internal/storage/metadata/memory.go:191-268 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/metadata/memory.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"983af5f40ef8d05a88b9882da22b5dc792dccb4ea2c7d83f2c96b3f76a0b5116"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): internal/agent/instance/store_pg.go:33-47 | internal/agent/job/pg_store.go:46-60 | internal/agent/memory/episodic_pg.go:32-46 | internal/agent/memory/longterm_pg.go:31-45 | internal/agent/messaging/store_pg.go:33-47 | internal/agent/runtime/state_pg.go:32-46 | internal/runtime/jobstore/pgstore.go:51-72 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/instance/store_pg.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c303736a9489e8442bb4e816771b7dc06d64d512fad63171b1909b705f9151"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/agent/runtime/checkpoint.go:90-113 | internal/agent/runtime/checkpoint.go:115-137 | internal/agent/runtime/checkpoint.go:139-162 | internal/agent/runtime/checkpoint_pg.go:37-55 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/checkpoint.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e9c512c65424e9533416c77a9ee8d4a8580d47ef022fc6a0189774653c4d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/agent/runtime/executor/eino_agent/agent.go:477-488 | internal/agent/runtime/executor/eino_examples/adapters.go:250-261 | internal/agent/runtime/executor/eino_examples/adapters.go:479-490 | internal/agent/runtime/executor/eino_examples/adapters.go:671-682 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d46b5d4c1eafdfb89255ff3095e6eb776fe522d4e8a86007fff93348ebdbf74"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/api/http/handler.go:1838-1927 | internal/api/http/handler.go:1930-1969 | internal/api/http/handler.go:1972-1998 | internal/api/http/handler.go:2001-2078 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51dadb673f67fda4172462571084b4134fcb90c60b6582f98e82dc7868c7d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/app/api/node_sink.go:52-81 | internal/app/api/node_sink.go:84-131 | internal/app/api/node_sink.go:400-426 | internal/app/api/node_sink.go:531-549 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/node_sink.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da73cf6d58af570335c37d227642b708fc05fd10496d68399910615c563217e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/model/llm/effect_adapter.go:54-123 | internal/model/llm/effect_adapter.go:131-183 | internal/model/llm/effect_adapter.go:250-271 | internal/model/llm/effect_adapter.go:279-303 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/effect_adapter.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b36e8b680b47d3d47cb7820ca439d63118fcf211af63ada8de18b4509f2402"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): internal/pipeline/ingest/embedding.go:52-71 | internal/pipeline/ingest/indexer.go:93-112 | internal/pipeline/ingest/parser.go:55-74 | internal/pipeline/ingest/splitter.go:70-89 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/embedding.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0c335d8e19d2458e9c75230dcad764068329c9642f1e2b0c86b38f69f68bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/tracing/otel.go:288-295 | pkg/tracing/otel.go:323-330 | pkg/tracing/otel.go:379-386 | pkg/tracing/otel.go:428-435 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tracing/otel.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cf5edcf63a110f006a3d016225f1ed31ceff7e135679afe5e61ad8b2b5ec76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (204\u2013206 lines \u00D7 2): internal/agent/replay/replay.go:138-343 | internal/agent/replay/replay.go:506-709 \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":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"550cbc97cc49fd42ec32ac0774a64a3b70ea450f3ce13afacd35447c5ce859c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): internal/storage/metadata/memory.go:102-166 | internal/storage/metadata/memory.go:198-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/metadata/memory.go:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/metadata/memory.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6410d08ac2e045b1814d0d9d8ca28d2720fabe601801c0e4c41669ee6f3adf08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): internal/model/llm/gemini.go:77-123 | internal/model/llm/gemini.go:146-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/gemini.go:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/gemini.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6710c0dde5a4416a2b0d54c1b2b1645b2be6ba8ea298a2ef44aa0847a56085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): internal/model/llm/openai.go:80-121 | internal/model/llm/openai.go:143-184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/openai.go:80\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/openai.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"980c3858b1f4943cf9da4734c546807dabfb667017ba9cfb8437e1db151e9c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): internal/model/llm/claude.go:74-113 | internal/model/llm/claude.go:135-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/claude.go:74\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/claude.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8205a4dcaa7790a636389a948182345139edc6d9c5576ac5e627ea5163769e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): internal/runtime/eino/context.go:54-90 | internal/runtime/eino/engine.go:297-332 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/runtime/eino/context.go:54\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/context.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bc030a52f934186e1fd3a425a6638a62540e4061cb69e20fe554609845cdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 2): pkg/effects/tool.go:61-92 | pkg/effects/tool.go:102-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/effects/tool.go:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effects/tool.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8946cbecf76faf6a7d96313469a40af320b3c21a6889154415731a0a60936d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): internal/pipeline/ingest/splitter.go:161-191 | internal/splitter/structural.go:66-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/splitter.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ec6974ab51d1a1e70136ae50bc0c1dbf95312718a476a52f74678a62be4da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): internal/runtime/eino/workflow.go:165-195 | internal/runtime/eino/workflow.go:202-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/runtime/eino/workflow.go:165\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/workflow.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"704ad348702e3abfdb3c4502f5563157825b9e909608839ce2a5d4248fec42a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): internal/api/http/handler.go:696-723 | internal/app/api/adk_agent.go:70-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:696\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9532266f4ae2001f3f54902a2723307b99668a15c3030d89268526dc82e6cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): internal/agent/runtime/executor/runner.go:902-927 | internal/agent/runtime/executor/runner.go:1498-1524 \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":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d54c839183799a04681e82e7941210ea24a8650bdfe8d4359b9e3d715e1ccd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): internal/app/api/app.go:598-622 | internal/app/worker/app.go:373-397 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/app/api/app.go:598\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba08844c0fa67b89e7695289032dd9b6ebbf8b55a337cd6421e7b847ca906f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): tools/mcp-gateway/tools/mcp-web-search/tool.go:417-441 | tools/mcp-gateway/tools/mcp-web-search/tool.go:507-531 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-web-search/tool.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"361901774ff54f5837352593460b4e8ff848a6dfcf667fcec1a7614eb1372981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): internal/agent/job/pg_store.go:412-435 | internal/agent/job/pg_store.go:453-476 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/job/pg_store.go:412\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/pg_store.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d29730a9449a9e5a7e27ee4c553aa843051cf73a9f44186bad3d8addfa78eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): internal/api/http/trace_narrative.go:126-148 | internal/api/http/trace_tree.go:53-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/trace_narrative.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a866d72df1ab418ef8085e0f2315f34f82bc9b7d4cd794869da6934330d15f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): internal/api/http/forensics_query.go:312-333 | internal/api/http/forensics_query.go:359-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3aa1c095f635ec83c2c4b1b60ae540669dba42d1edbaa1dd480a8878ee5e16d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): internal/api/http/handler.go:871-892 | internal/api/http/handler.go:915-936 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"979b780b88fbf993c5390b66b9580554c1b64359ed826aefe7ac99ec6a88b5f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): pkg/redaction/detector.go:210-231 | pkg/redaction/engine.go:123-144 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/redaction/detector.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"89958d355c07ab066a40302af9075f53dac02a3a92fa171c5bc522ea12d754ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): internal/agent/job/pg_store.go:238-258 | internal/agent/job/pg_store.go:289-309 | internal/agent/job/pg_store.go:338-358 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/job/pg_store.go:238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/pg_store.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedb5532ac4dd5cdd90f7971b896948daa84f97053a7cb0703a963b9da123485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): internal/app/api/app.go:940-960 | internal/app/worker/app.go:843-862 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0c50d14d90bdaa30bca5e2ce6469fccc261d772fdd67344fd0bf87084de275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): internal/agent/runtime/executor/eino_agent/agent.go:277-296 | internal/agent/runtime/executor/eino_agent/agent.go:436-455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_agent/agent.go:277\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9466f0ae5ea72b939ce66e31cfcb75bd130825c1d080fe48eb0548af2053b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): internal/pipeline/specialized/hive.go:255-272 | internal/pipeline/specialized/jsonl.go:233-252 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/pipeline/specialized/hive.go:255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/specialized/hive.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"51082d39d66acae3b8fb4be47695fbe2c20409cf97ba98b2406328a875245c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): internal/runtime/eino/engine.go:167-186 | internal/runtime/eino/engine.go:198-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/runtime/eino/engine.go:167\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/engine.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dc661d46e05c37415c263ad69506bda69b7feae56238078b39583883e5753b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/agent/runtime/executor/state_diff.go:109-127 | internal/api/http/trace_narrative.go:582-600 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/state_diff.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83b17fd5ab171baa08905e8a48aef748808bd6e328d768a2bc096ffbd4c7065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): internal/storage/vector/memory.go:243-261 | internal/storage/vector/pipeline/pipeline.go:474-492 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/storage/vector/memory.go:243\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/vector/memory.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac223d1bfc47e91b950b0d4127f6719c0809fa342d60405750c598e64cb0b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): internal/agent/job/pg_store.go:187-204 | internal/agent/job/pg_store.go:231-248 | internal/agent/job/pg_store.go:282-299 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/pg_store.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aa7add507e5872eb418516cdb8c30a22cc77f2f3be6a83815348b379cab297"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/agent/messaging/store_mem.go:119-136 | internal/agent/messaging/store_mem.go:141-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/messaging/store_mem.go:119\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/messaging/store_mem.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"85493752ccb442660dd55256cc0565bdff2f02b6d222b0132e80e15cb6f27ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): internal/agent/runtime/executor/eino_agent/agent.go:409-426 | internal/agent/runtime/executor/eino_examples/adapters.go:646-663 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_agent/agent.go:409\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cd2b85d3e6c7ac915edd82278ff945c36871d443f841d19c9aa1215c75d0de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): pkg/agent/sdk/agent.go:49-66 | pkg/agent/sdk/agent.go:71-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/agent/sdk/agent.go:49\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/sdk/agent.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ea3e93b3317977e5a10742d1cdbbe5e37d519cc7ec08fcdd1b5836266d577b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): internal/agent/job/pg_store.go:191-207 | internal/agent/job/pg_store.go:235-251 | internal/agent/job/pg_store.go:286-302 | internal/agent/job/pg_store.go:335-351 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/job/pg_store.go:191\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/pg_store.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3878ac11359e82d5ba6c9560dda231f2eba15318ea2fb33c2acee31ab9217a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/agent/runtime/executor/eino_agent/agent.go:530-546 | internal/agent/runtime/executor/eino_examples/adapters.go:1118-1134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_agent/agent.go:530\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf7aa611115fc581b3a6adb1cecc0be498624fef39b76102f4aecf30e3a296b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): internal/agent/runtime/scheduler_distributed.go:116-132 | internal/agent/runtime/scheduler_distributed.go:188-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/scheduler_distributed.go:116\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/agent/runtime/scheduler_distributed.go:187\u0060 calls \u0060SetStatus\u0060 and \u0060internal/agent/runtime/scheduler_distributed.go:115\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/scheduler_distributed.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f5272e6368952727b3471f8d7a5f1a062c408c670487b378486b6107282808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/agent/runtime/state.go:62-78 | internal/agent/runtime/state.go:89-105 \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":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c381b8a3565a4316d68da3ff81781e482874d4a43c920dac8f30be09ef69c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): internal/api/http/trace_tree.go:248-264 | internal/api/http/trace_tree.go:281-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/trace_tree.go:248\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/trace_tree.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe5a1e1ace56a539d5c1679a59502757fe446c4df411b7d689fbb2d412f15a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): internal/agent/runtime/executor/runner.go:371-386 | internal/agent/runtime/executor/runner.go:823-838 | internal/agent/runtime/executor/runner.go:1409-1424 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/agent/runtime/executor/runner.go:1426\u0060 calls \u0060WithApprovedCorrelationKeys\u0060 and \u0060internal/agent/runtime/executor/runner.go:839\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f5bf0aa2d02032cd879828ffef334a91c9461099592edb7672efd98955f40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/agent/instance/store_pg.go:67-82 | internal/agent/instance/store_pg.go:166-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/instance/store_pg.go:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/instance/store_pg.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58c4153af57c9b1a6a063497d7a445a017d8e069e6cb6f9382eb0345821c62e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201316 lines \u00D7 3): internal/agent/runtime/executor/runner.go:1238-1253 | internal/agent/runtime/executor/runner.go:1284-1299 | internal/agent/runtime/executor/runner.go:1618-1620 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/runner.go:1238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de5a14356cfd62bbe10d1241cbbfbf61d78fac556eb48247ffd831e1b4c310d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/routing/router.go:296-311 | pkg/routing/router.go:367-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/router.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d548424ffb2a1d126e935900aabd6ecfd5eef741be9305e6aed12fef8a1ed47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): tools/mcp-gateway/tools/mcp-filesystem/tool.go:286-301 | tools/mcp-gateway/tools/mcp-filesystem/tool.go:351-366 \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":"tools/mcp-gateway/tools/mcp-filesystem/tool.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ab73e4ea50ef33ee39661e9b95ee6a2a5425cadb5f79e135d949f09c8a7778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): internal/agent/runtime/executor/eino_agent/agent.go:368-382 | internal/agent/runtime/executor/eino_examples/adapters.go:177-191 | internal/agent/runtime/executor/eino_examples/adapters.go:608-622 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_agent/agent.go:368\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"55140ae23cf1653bc49271faf0df04e8928f5f1bb265fac007ff1cd129e59e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/agent/runtime/executor/rate_limiter.go:70-84 | internal/agent/runtime/executor/rate_limiter.go:109-123 \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":"d59ded0899b89e5642dab71bb8459c7bc4725770f86070482e7d29915cbb0791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/api/acp_handler.go:100-114 | internal/api/acp_handler.go:248-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/acp_handler.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa27266d0e504976b0da50e28d705cd728b07b47c52ae155eafda204f36207f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/einoext/factory.go:60-74 | internal/einoext/factory.go:111-125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/einoext/factory.go:60\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/einoext/factory.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f73f65a7bc7fc8ff847f8f7c4fd7b2f274cdccd04a35c8fda4a31364c36ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/model/llm/ollama.go:118-132 | internal/model/llm/ollama.go:177-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/ollama.go:118\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/ollama.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fe0cb0d6018b6f663f4b77d9067e842d70f4a6b7372f10f1612c66d6dd1012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/model/llm/ollama.go:135-149 | internal/model/llm/ollama.go:194-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/ollama.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f66ee68d0ae77cd88cadb2d71100f1f4f8f5f77e7295d9b0d13204b7360efb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/pipeline/ingest/splitter.go:224-238 | internal/splitter/structural.go:129-143 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/pipeline/ingest/splitter.go:224\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/splitter.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c15e01216261dab421165da15fb76be01156c21fdba7a5d9e09055a656e53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): internal/pipeline/specialized/hive.go:284-297 | internal/pipeline/specialized/jsonl.go:259-273 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/specialized/hive.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"86683bdea6fe3b6c76dc5efde7c204b939f1419d3b63c83f05ae27c17e7285f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/compliance/residency.go:185-199 | pkg/compliance/residency.go:216-230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/compliance/residency.go:185\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compliance/residency.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1815d81688c9163c7b0031e5b6af40b5a90e15c7e0635b5cf8fed06e692629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): pkg/routing/failover.go:112-126 | pkg/routing/failover.go:132-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/routing/failover.go:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/failover.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d4878a2b3436d9558a303e0d2596b8b05234e3393442efdc300c5dc3a59cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): internal/agent/job/pg_store.go:526-539 | internal/runtime/jobstore/pgstore.go:300-313 | internal/runtime/jobstore/pgstore.go:319-332 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/job/pg_store.go:526\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/pg_store.go"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"09103ffc0cfcf8c3bfec705a639db8bf9eb756288caa27c97c925eac79d703ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): internal/agent/runtime/executor/eino_agent/agent.go:126-139 | internal/agent/runtime/executor/eino_agent/agent.go:284-297 | internal/agent/runtime/executor/eino_agent/agent.go:443-456 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_agent/agent.go:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ce236e936e2b981f9bdae879743ddc0eaa8730dcc38da5b5087b574e92a30e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): tools/mcp-gateway/tools/mcp-web-search/tool.go:290-303 | tools/mcp-gateway/tools/mcp-web-search/tool.go:426-439 | tools/mcp-gateway/tools/mcp-web-search/tool.go:516-529 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/mcp-gateway/tools/mcp-web-search/tool.go:288\u0060 calls \u0060Set\u0060 and \u0060tools/mcp-gateway/tools/mcp-web-search/tool.go:424\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-web-search/tool.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae554cf8301b2beaf140d46739d1893ee65e193efb552cb51acde5551f971c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): internal/agent/runtime/scheduler_distributed.go:97-110 | internal/agent/runtime/scheduler_distributed.go:174-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/scheduler_distributed.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4afc9a706863c830ea38b630780df3a6cc7f3f32ecf25a1a9d79af8ee003bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/api/http/handler.go:1253-1266 | internal/api/http/handler.go:1278-1291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e3e8692e3da565eb39fb81c843791ae95218670a1d714db057a668b0bedb70"}},{"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, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/app/api/agent_dag.go:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/agent_dag.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04dff8830c27d75e3152a7a97d2848b999a51b9fd6e8aa7a99d6a93ce20fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/model/llm/claude.go:123-136 | internal/model/llm/openai.go:131-144 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/claude.go:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/claude.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff25e299b09371a2a2bcecacdb9d4fac82563928e3866e1a7341c7749a0055e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): internal/model/llm/effect_adapter.go:74-87 | internal/model/llm/effect_adapter.go:152-164 \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":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b415d252fff7439794adaeb10c005653dce0eb8c0b7e4952be3eb58ad31fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/model/llm/effect_adapter.go:258-271 | internal/model/llm/effect_adapter.go:290-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/effect_adapter.go:258\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/effect_adapter.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d725f12af33df7c56ca594bdbc312797599bd1218cf861e38f0a6ee330368e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/splitter/semantic.go:112-125 | internal/splitter/semantic.go:130-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/splitter/semantic.go:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/splitter/semantic.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e2d2782a47a8364078d657fe4600ecee51d6a6b5f23441b59ba130b64b2a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): internal/agent/runtime/checkpoint.go:96-108 | internal/agent/runtime/checkpoint.go:123-135 | internal/agent/runtime/checkpoint.go:145-157 | internal/agent/runtime/checkpoint_pg.go:41-53 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/checkpoint.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d32fa1d3f1a35a21bf34dde4b4d8c0f872c5580d7c94a9ab4d51cb4d8e5a2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): pkg/routing/failover.go:112-124 | pkg/routing/failover.go:132-143 | pkg/routing/failover.go:152-163 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/failover.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dbd6436d73f3bb1b9c11302ab6233f31e3122f28ca1a458aae7ced3f10c5f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): tools/mcp-gateway/tools/mcp-database/tool.go:152-165 | tools/mcp-gateway/tools/mcp-github/tool.go:159-171 | tools/mcp-gateway/tools/mcp-web-search/tool.go:141-154 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/mcp-gateway/tools/mcp-database/tool.go:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-database/tool.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc369cadb8ddf4b7e2438648677e14752ebc99c101f5e93c0f32e4a54d0b809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/agent/instance/store_pg.go:35-47 | internal/agent/messaging/store_pg.go:35-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/instance/store_pg.go:35\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/instance/store_pg.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc75d52ee51f8f10ca6d0eb1929d63fc4c41ab17cc230e95dae3bbd4d935ea10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/security/mtls/mtls.go:49-61 | pkg/security/mtls/mtls.go:88-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/security/mtls/mtls.go:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/security/mtls/mtls.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7051d72c20f03cb657fe0b7960a28a502965c2c41cc945090023c064007d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): internal/agent/instance/store_pg.go:34-45 | internal/agent/job/pg_store.go:47-58 | internal/agent/memory/episodic_pg.go:33-44 | internal/agent/memory/longterm_pg.go:32-43 | internal/agent/messaging/store_pg.go:34-45 | internal/agent/runtime/state_pg.go:33-44 | internal/runtime/jobstore/pgstore.go:52-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 7 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/instance/store_pg.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbedb17ba9688f2b7a0f42ff47b9303f0d41b033b3c0f5245869abd3d605634f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): internal/agent/runtime/executor/runner.go:755-766 | internal/agent/runtime/executor/runner.go:796-807 | internal/agent/runtime/executor/runner.go:968-979 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/runner.go:755\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e523e1c7fbe9470c337fce7112ab079c08f3a719099a61597eb98f11a5e175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/agent/runtime/executor/runner.go:742-753 | internal/agent/runtime/executor/runner.go:783-794 \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":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc38583c6f81c37f4fb155cf9087ab4066aff8459f158703f46ff261fca9bb10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/agent/runtime/executor/runner.go:1226-1237 | internal/agent/runtime/executor/runner.go:1272-1283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/runner.go:1226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e190c68dbe6669a8e9d9ed0f8a5f3538dcb50c02d56faf355428416db3bbd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/agent/tools/registry.go:97-108 | internal/tool/registry/registry.go:72-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/registry.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"874222604cb0276fbd9e3b03512bed1626b94952dbff7c643b66f27965806da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/api/http/forensics_query.go:167-178 | pkg/forensics/query_engine.go:141-152 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Check import visibility before settling on that home: \u0060internal/api/http/forensics_query.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef2c7ccc916d21b9fd2ceb6b3ac0f7ee33a03d679065f276a70b293a45a50e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/model/embedding/openai.go:65-76 | internal/model/llm/openai.go:47-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/embedding/openai.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"384d1965a67277baaa8c0872c8e78dd8ee2ceb607e49d8b85df7efe9d0c8b311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/model/llm/effect_adapter.go:57-68 | internal/model/llm/effect_adapter.go:253-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/effect_adapter.go:57\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/effect_adapter.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73fca5559934ab3aa4adc62390a238d9d984d56103378d50a8f52aff80da1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): pkg/config/config.go:869-880 | pkg/config/config.go:904-914 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/config/config.go:869\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/config/config.go:915\u0060 calls \u0060Abs\u0060, \u0060Join\u0060, \u0060Dir\u0060 and \u0060pkg/config/config.go:880\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/config.go"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec26b85e4f8882095efb55c24eb6313f9899d8fa30bec003cd88d77efc4dc820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): internal/agent/job/pg_store.go:187-197 | internal/agent/job/pg_store.go:231-241 | internal/agent/job/pg_store.go:282-292 | internal/agent/job/pg_store.go:412-422 | internal/agent/job/pg_store.go:453-463 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/pg_store.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac08a4c7f894caece69d9679da14f84c68402d37fef4a5a3d4f9a0ef3838127"}},{"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:251-261 | internal/agent/runtime/executor/eino_examples/adapters.go:480-490 | internal/agent/runtime/executor/eino_examples/adapters.go:672-682 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dea422820afdf6842ea8b6b10ec9469e9826dacae1478239d1509be516ef99f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:500-510 | internal/agent/runtime/executor/node_adapter.go:553-563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/node_adapter.go:500\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"9816191a0bb7534f33aaab01945fd0ee9130448b598e1a5d491daaf483ffa0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/runtime/executor/runner.go:730-740 | internal/agent/runtime/executor/runner.go:1214-1224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/runner.go:730\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9fb3693015deabf7145066fc6deb14d94cff4f5af1b18767c24bf3acbba3a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/runtime/executor/runner.go:771-781 | internal/agent/runtime/executor/runner.go:1260-1270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/runner.go:771\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"018e243aeb06814633ec3fea62cfecd7c787d871bb1f8ba4e73e2cb26d650287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/runtime/session.go:231-241 | internal/runtime/session/session.go:189-199 \u2014 before extracting anything, compare \u0060internal/agent/runtime/session.go\u0060 and \u0060internal/runtime/session/session.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/session.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe059bd45bf8a25d4a9e24887a0b083613fd3f290b5033a8c5f472a42934008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/http/handler.go:1839-1849 | internal/api/http/handler.go:1973-1983 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:1839\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f169a6445659c36e3b8012cd12dc965a69b29e99f2b9e6eb308ef89a27dc88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/http/handler.go:1856-1866 | internal/api/http/handler.go:2021-2031 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:1856\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b21d81808a713ecd71d600249892263035d195c35a9ffd998b0332003649006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/http/handler.go:1931-1941 | internal/api/http/handler.go:2002-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:1931\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c376285c630b5f38d2d8c6415c208db7a34dc68db8a2cea06cca2891e7221a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/http/handler.go:2108-2118 | internal/api/http/handler.go:2206-2216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:2108\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":2108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f567fe555920b1d87c9ada6e40e9b26b0386130629cf3c7ee80ee9f667b4e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/app/api/app.go:627-637 | internal/app/worker/app.go:410-420 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/app/api/app.go:627\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dea8bf714344e6683d5e2b93b57a153735b9a1bf0192886aff7c58dd725aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/model/llm/rate_limited_client.go:45-55 | internal/model/llm/rate_limited_client.go:81-91 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/rate_limited_client.go:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/model/llm/rate_limited_client.go:80\u0060 calls \u0060messagesText\u0060 and \u0060internal/model/llm/rate_limited_client.go:44\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/rate_limited_client.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"163fce8967e26e5dde46984054ed544ab368db3155142871b711639915fbef03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/pipeline/ingest/loader.go:146-156 | internal/pipeline/ingest/loader.go:193-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/pipeline/ingest/loader.go:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/loader.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"617baf1ec8c5fe740ad6d66d655ff269b2381b0f225d7658810b7b7cb32bbfb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): internal/api/http/handler.go:2107-2116 | internal/api/http/handler.go:2148-2157 | internal/api/http/handler.go:2166-2175 | internal/api/http/handler.go:2205-2214 | internal/api/http/handler.go:2287-2296 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:2107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1828125b4d4185b7df2039c9ee008ddaf35197e5dd014d0ac32ea4b8ea6f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:813-822 | internal/agent/runtime/executor/node_adapter.go:830-839 \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":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"c398887b603e49ff21e799ed31b330665461f93d0fd187d9cd42eaab484a967f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:881-890 | internal/agent/runtime/executor/node_adapter.go:898-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":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc27981b2cbef62dc99c9398812e03b56ee251dab95e74c50c23113f6f8501e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/api/http/handler.go:1349-1358 | internal/api/http/handler.go:1393-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:1349\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060internal/api/http/handler.go:1393\u0060 is reached only past a guard at line 1380 that tests \u0060j.AgentID\u0060 and leaves the function early, and \u0060internal/api/http/handler.go:1349\u0060 reads \u0060j.AgentID\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fec7d07749b18dddb280cff5b71f33aba9bd2d110df9c4e736759d405e9a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/app/api/app.go:308-317 | internal/app/worker/app.go:912-921 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/app/api/app.go:308\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aa52fcfa298eb32b991c23f2306b220715c0d4af184c5cfc70af8a91140cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/app/api/app.go:429-438 | internal/app/worker/app.go:511-520 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff862f279047cbc4b624e49580d3a04b4960b27fb035fbc9dff96d852890791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/app/api/node_sink.go:202-211 | internal/app/api/node_sink.go:375-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/app/api/node_sink.go:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/node_sink.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5db85fc378775a91349254aca4f34755d018eea0a417678aca9c884368bea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/app/bootstrap.go:36-45 | internal/app/worker/app.go:173-182 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/bootstrap.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa188e1cd48184aa553b20144ce315a190575680c857a5160c7685fdd3dcbc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/app/worker/app.go:397-406 | internal/app/worker/app.go:554-563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/app/worker/app.go:397\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"187b9abfe6000262b2d86f5e91ecc2128c90edb03afb6ce9b426f7a3151dd3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/model/llm/effect_adapter.go:140-149 | internal/model/llm/effect_adapter.go:287-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/effect_adapter.go:140\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/effect_adapter.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4620070e4478f5fb9d63bee9b0b95a72d1f57982cfcd20b845dad4aee01d74f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/pipeline/specialized/hive.go:145-154 | internal/pipeline/specialized/jsonl.go:140-149 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/specialized/hive.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8957f8d667abdb8fcefb7a324e2edd6850c52a0abfe1f8dd1d4a6ca9087375e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): internal/pipeline/ingest/embedding.go:54-62 | internal/pipeline/ingest/indexer.go:95-103 | internal/pipeline/ingest/parser.go:57-65 | internal/pipeline/ingest/splitter.go:72-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/embedding.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a176a46db467676e50cacc98b6be5790969fb7a569a20c76a4e7a414b2b4e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/model/llm/effect_adapter.go:141-149 | internal/model/llm/effect_adapter.go:256-264 | internal/model/llm/effect_adapter.go:288-296 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/effect_adapter.go:141\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/effect_adapter.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a9ffef61e2f170b1f64f9283604c5ddbf30328f404f8744cc2c00360e1307c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/tool/builtin/ingest.go:80-88 | internal/tool/builtin/rag_search.go:90-98 | internal/tool/builtin/workflow.go:81-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/tool/builtin/ingest.go:80\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/builtin/ingest.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"796b60fcbc6675878983e406b88211f21bbbcd25d0561335efcdb755469db3d7"}},{"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 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/gatekeeper/gatekeeper.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3c362cc5b643fdb3ab3a7b2d1e4ca475a03bfafaa36fcbc3c6f9ab9a3ffe2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): cmd/api/main.go:72-78 | cmd/worker/main.go:49-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/api/main.go:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/api/main.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81ff34142416e6c323fa3b5fff6652a4f9e881f41fbc32dd729ad12240e140e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/agent/executor/executor.go:49-57 | internal/agent/executor/executor.go:79-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":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f644d1ad8020666cb1db8b0da7581d1378ed597845fcb280b3ec963510006d17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/agent/job/scheduler.go:176-184 | internal/agent/job/scheduler.go:211-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/job/scheduler.go:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/scheduler.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb32b7cd6a044ec1abb85063a79c755fe0aaea277afee9b23a99292b21de5d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:334-342 | internal/agent/runtime/executor/node_adapter.go:346-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":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7647e99013fa34eefa378f46b567679c20bb70872e38396c4427d0acf3cbe19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/api/grpc/service.go:216-224 | internal/api/grpc/service.go:316-324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/grpc/service.go:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/grpc/service.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d94fbd8a9deaa187f4fbc98e6f60b77d93f9a980e4cabe01bf7da6f91e05cf7"}},{"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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"692650ede4619089a65afd91e6486c1aa541e4fd150603e4b5b4540287a0bd3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/agent/runtime/executor/eino_agent/agent.go:356-363 | internal/agent/runtime/executor/eino_examples/adapters.go:593-600 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"382553097eb365e59ac2e3795e8728afde0f084c000161ef8f0b2273469efb5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/agent/runtime/executor/runner.go:933-940 | internal/agent/runtime/executor/runner.go:1533-1540 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/runner.go:933\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e3065a4f6bac69a8391256a21f2789b958f43414891e72d018ee5ed946ae33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/api/http/forensics_query.go:125-132 | pkg/forensics/query_engine.go:98-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/forensics_query.go:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Check import visibility before settling on that home: \u0060internal/api/http/forensics_query.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa75ebc59d883c9456d967aa316ff077b18e807b225db0046d8bddaccf53706"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/api/http/handler.go:1937-1944 | internal/api/http/handler.go:1979-1986 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:1937\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"5331b524829786ddaff878a772f6b5353aecdc96995a95d3c6acd464e464f8e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/app/api/app.go:470-477 | internal/app/worker/app.go:300-307 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c2505faaf2170bb7e4cf4e7617b2a48abdab3ba1709312a57b9dac6ad2c93c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/app/api/app.go:571-578 | internal/app/worker/app.go:336-343 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c427e13b25a54283c8627a0dc857a9595612a24c505c8a17caa6b13d35bae57b"}},{"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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/cli/main.go:642\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/main.go"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"33141dfc94c86f809a5e2c8ed11b40d36f84577857f52352376fdff5c9eb1b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/agent/tools/registry.go:117-123 | internal/agent/tools/registry.go:143-149 \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":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99a473470e3a9aeecc6f029ae4aecec9680b15e21e66995593bf4c969e07b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/runtime/jobstore/archive.go:146-152 | internal/runtime/jobstore/archive.go:238-244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/runtime/jobstore/archive.go:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/archive.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5ba31c5cbfdd1d869aab33c10912da859133983738e245126e82a615ebe43e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): internal/api/http/handler.go:1844-1849 | internal/api/http/handler.go:1936-1941 | internal/api/http/handler.go:1978-1983 | internal/api/http/handler.go:2007-2012 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:1844\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51ea8d356fd3c401a0442349174cb94f3626b51716e107bb260ee95db4f061b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/agent/runtime/executor/node_adapter.go:458-463 | internal/agent/runtime/executor/node_adapter.go:513-518 \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":"f851d341e47b9dbf59e2f4a938044c883717145a3ba353710f9868f1f82ebf24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/agent/runtime/executor/runner.go:1054-1059 | internal/agent/runtime/executor/runner.go:1156-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":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"6602b3aba88d6276c8b8b31631090ce41a483cc062051b8cd04bae7acbefe423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/api/http/handler.go:1488-1493 | internal/api/http/handler.go:1528-1533 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:1488\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d198ab9d986e17318afa6f3de330ad615c5c4235a033aea1ad14d04b3efe3104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/app/models.go:87-92 | internal/runtime/eino/engine.go:252-257 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/models.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3573551a7958db2b3ea21c76d42cd1dc99687e016865c44fd7389d7cf181fa0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/app/worker/app.go:356-361 | internal/app/worker/app.go:548-553 \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":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b33b27b8cbf159e14eb4bffdca09a3744267cc49fc713ae0c16bfa223dfd554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): pkg/tracing/otel.go:291-295 | pkg/tracing/otel.go:326-330 | pkg/tracing/otel.go:382-386 | pkg/tracing/otel.go:431-435 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/tracing/otel.go:291\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tracing/otel.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9183f025af977e8420e0d99c20fa799fc6e467a333a4d088e46ed38f91000c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/agent/runtime/executor/node_adapter.go:418-422 | internal/agent/runtime/executor/node_adapter.go:492-496 | internal/agent/runtime/executor/node_adapter.go:537-541 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/node_adapter.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4453768baec56cadd6082129a47926ffeca15b38f2e5ca39710c135952996881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/agent/replay/replay.go:133-137 | internal/agent/replay/replay.go:498-502 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/replay/replay.go:133\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce785899ef920bbf41aeb4902b525cd47d6d490242b087afc256236c446ffa6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/agent/runtime/executor/invocation.go:34-38 | internal/agent/runtime/executor/step_identity.go:26-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/invocation.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3761e94997012266a8fb4c8c22614efd363fb6d150989ed7ffe7486af353fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/agent/scheduler/lease_manager.go:28-32 | internal/runtime/jobstore/store.go:65-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/runtime/jobstore/store.go:71\u0060 calls \u0060Watch\u0060 and \u0060internal/agent/scheduler/lease_manager.go:34\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/scheduler/lease_manager.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"041cce26799c59addd55759015b07dad5a04f8952471bccf265d19d4cee4efad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/runtime/jobstore/memory_store.go:275-279 | internal/runtime/jobstore/pgstore.go:398-402 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/runtime/jobstore/memory_store.go:275\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/memory_store.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"00145db2922249e5100ec9c48e0925b47f7c52c795f85910a2bbfa40828e7ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/memory/episodic_mem.go:35-44 | internal/agent/messaging/store_mem.go:40-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/memory/episodic_mem.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fca0efbadbbb21490dc552d947d71eca0a52d36379d984e663b6684661bc263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/agent/runtime/executor/invocation_embedded.go:43-50 | internal/agent/runtime/state_embedded.go:43-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/invocation_embedded.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4537b7ef3f1ccfb48ee87439ce0f674da233639aa95a6c9a0beb85e677b3b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/agent/runtime/executor/rate_limiter.go:152-165 | internal/model/llm/rate_limiter.go:170-183 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060t *ToolRateLimiter) Release(toolName\u0060 in one and \u0060l *LLMRateLimiter) Release(provider\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/rate_limiter.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec3a16752aaef042563330d13301ecf1f738c8e6f4ea326e8d5ddb84067a727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/agent/runtime/executor/state_diff.go:129-133 | internal/api/http/trace_narrative.go:602-606 | internal/tool/gatekeeper/schema_validator.go:289-293 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/state_diff.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"38156b4c998e6be3a26eb02ec886c72e01abd0678a0a9c2d0f6c1b57b4693823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): internal/agent/runtime/executor/wait_adapter.go:30-34 | internal/agent/runtime/executor/wait_like_adapter.go:32-36 | internal/agent/runtime/executor/wait_like_adapter.go:44-48 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/wait_adapter.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13b9704fe42718f4d6d8ba1e3940be841db02f837ee60f67ff6c93a9cdf48ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/agent/runtime/scheduler.go:65-72 | internal/agent/runtime/scheduler_distributed.go:163-170 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/scheduler.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a99d86bac854cf931c0d13be15924f82edcc4ad8da8b6ec98df41ed2768658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/agent/runtime/scheduler.go:95-102 | internal/agent/runtime/scheduler_distributed.go:204-211 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/scheduler.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeeb7c5dee27e5f575f21f0b68023c7bf4b2eced163ebf94e9ea68f4b31bc6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/session.go:205-214 | internal/runtime/session/session.go:176-185 \u2014 before extracting anything, compare \u0060internal/agent/runtime/session.go\u0060 and \u0060internal/runtime/session/session.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/session.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f067a29e4d69151ea5f6d8c060c36bb4f4d64f17f10f88fd7ea09814dbf2c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/agent/runtime/session.go:217-227 | internal/runtime/session/session.go:202-212 \u2014 before extracting anything, compare \u0060internal/agent/runtime/session.go\u0060 and \u0060internal/runtime/session/session.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/session.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1275740e0fcfdd20095d6265cc7f3e9fffb565c8e98cd041f94e174cf2cc48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/session.go:244-253 | internal/runtime/session/session.go:215-224 \u2014 before extracting anything, compare \u0060internal/agent/runtime/session.go\u0060 and \u0060internal/runtime/session/session.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/session.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15ace7cdb9dfd9c4943724b5b75bf4a1b8c51d1007cbdaa6e5cbc204e4c0f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): internal/agent/tools/registry.go:41-46 | internal/tool/registry/registry.go:45-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/registry.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a41c69d9b888057a6af261bf070afdfd8adb20197024f319ac7d0768f8a8f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/http/forensics_query.go:487-497 | pkg/forensics/query_engine.go:224-234 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Check import visibility before settling on that home: \u0060internal/api/http/forensics_query.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a37aaf34cb438c967482b4092f5c1d38f570966b1d01bf14af1d0118e14207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/http/forensics_query.go:499-509 | pkg/forensics/query_engine.go:236-246 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Check import visibility before settling on that home: \u0060internal/api/http/forensics_query.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"054f52064b487e2adbc694c7e076379853bc4fce48548ca1d018fbdba4d6d51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/app/api/agent_v1.go:84-91 | internal/app/worker/adapters.go:63-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/agent_v1.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c87c235c65c6b9ba331471f67d9fd6dcc67e1dea188a2c0c92d9c5d6c422561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/app/api/app.go:915-923 | internal/app/worker/app.go:891-899 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"2956324ac6c28b19d2860eb3817ebe928f359aedfcd45ee202e846b4442f840e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/pipeline/ingest/parser.go:77-87 | internal/pipeline/ingest/splitter.go:92-102 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/parser.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"881d36816d84873dfaaf2b7f5d3ca5dbdd0dfa05f31611088db80244c9f68909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/pipeline/specialized/hive.go:119-125 | internal/pipeline/specialized/jsonl.go:114-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/specialized/hive.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8624322b285649787e477a26a36483a9973fbb4c001a9a944afb09fdb9ec99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/pipeline/specialized/hive.go:133-141 | internal/pipeline/specialized/jsonl.go:128-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/specialized/hive.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec13d0a15fd0bbc5c4248d07238a4ca93a2d66d79f380be12ea654c4ce34d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/runtime/eino/agent_factory.go:127-135 | internal/runtime/eino/engine.go:341-351 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/agent_factory.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c54034ccb83f1db4106aa06104d400b352739602747e9c36cd43c79c5a752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): templates/autonomous-researcher/workflow.go:415-456 | templates/multi-agent-debate/workflow.go:414-462 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/autonomous-researcher/workflow.go"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d879faa6b9a09bb43f17f0b5db65b22367ae42935e945daa813bed5527c0b732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): templates/autonomous-researcher/workflow.go:540-546 | templates/customer-service-agent/workflow.go:214-220 | templates/multi-agent-debate/workflow.go:545-551 | templates/rag-assistant/workflow.go:315-321 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/autonomous-researcher/workflow.go"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"3098340843a0bd46bf0cd197af7d3593fe599ebce8abcde37fcdcbfb19f4811a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): tools/mcp-gateway/tools/mcp-database/tool.go:121-148 | tools/mcp-gateway/tools/mcp-github/tool.go:104-155 | tools/mcp-gateway/tools/mcp-web-search/tool.go:114-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-database/tool.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23aea14ae4574eace9aa2e3bc1f9df82c3703f3285a54b8d1843d9164d126df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): internal/agent/approval/mem_store.go:46-54 | internal/agent/runtime/manager.go:77-85 | internal/runtime/session/store.go:40-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/approval/mem_store.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"092fb11d605e99bf23c1118a27e546f887c287ff469b516a3c86f68eeb0e8d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): internal/agent/job/embedded_store.go:25-34 | internal/agent/runtime/executor/effect_embedded.go:22-31 | internal/agent/runtime/executor/invocation_embedded.go:17-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/embedded_store.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0c1b8ec32f79f7e3606b8fb6a8bbf67541e610687189f7173808bfe48ed256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/agent/runtime/checkpoint_embedded.go:18-27 | internal/agent/runtime/state_embedded.go:17-26 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/checkpoint_embedded.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e68ce36fbe3e0c16729341b18383a0ea0e6cffd41de75d180b8e96ca718a799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/effects/http.go:157-163 | pkg/effects/tool.go:185-191 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effects/http.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad4e348dd08be5a8a2adf1b00b751b62d871ef5f838802d0dffcbf3f86ebad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/routing/model.go:273-283 | pkg/routing/model.go:284-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/routing/model.go:273\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/model.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9cc9cd0f2ed983cc3f988125f19b1198d0d0f97f36879d1ea983ba72df77a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): templates/customer-service-agent/workflow.go:185-197 | templates/rag-assistant/workflow.go:252-264 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060templates/customer-service-agent/workflow.go:185\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/customer-service-agent/workflow.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7f1cede2cd10dbb4f05372b74210042548a68c2615cb516a192995e62bb3c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/api/acp_handler.go:118-130 | internal/api/acp_handler.go:266-278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/acp_handler.go:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/acp_handler.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"53603f2d03ad52e7575d9aded6edb642105071bf7a23649b09be749d086ef565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/api/http/handler.go:751-761 | internal/api/http/handler.go:828-838 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c46544565af8211a8d55255c009a48217dc3cc97431d83e5d2e8ed415e4ac40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/app/api/node_sink.go:259-268 | internal/app/api/node_sink.go:312-321 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/app/api/node_sink.go:259\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/node_sink.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3279b64a47ec92d40d39916d8848ee8b1336bc5ded426fd938253743518153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/api/http/handler.go:2787-2795 | internal/api/http/handler.go:2833-2841 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:2787\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c18bacd2432eb7f2713c020ed764d863d6936e2c3e639e2377aaff3defda07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/agent/tools/mcp/transport_stdio.go:94-102 | internal/agent/tools/mcp/transport_stdio.go:112-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp/transport_stdio.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d5af6c4beb28c0eebfc21268737b7b5b8ad3993276676dd9fe4b3613107eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/runtime/hermes/acp_client.go:131-139 | internal/runtime/hermes/acp_client.go:160-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/runtime/hermes/acp_client.go:131\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/hermes/acp_client.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eb0a5c6df3873a3d3b687df88ba4afac52d7d92b8d782b9f1832e34d36ba49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/agent/runtime/executor/runner.go:872-879 | internal/agent/runtime/executor/runner.go:1463-1470 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/runner.go:872\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/agent/runtime/executor/runner.go:1461\u0060 calls \u0060Since\u0060, \u0060Milliseconds\u0060 and \u0060internal/agent/runtime/executor/runner.go:870\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"511e287a10fcaeec19f4636245bc46f451ef04b69f57e902e5404761dbbd4468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/model/llm/claude.go:45-52 | internal/model/llm/gemini.go:45-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/model/llm/claude.go:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/claude.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"974e8baa170dfc8a41b67c6a1d7d0aad9bdadef9c13c2fe5dacc64fbe26019bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): internal/app/api/node_sink.go:70-77 | internal/app/api/node_sink.go:120-127 | internal/app/api/node_sink.go:417-423 | internal/app/api/node_sink.go:540-546 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/app/api/node_sink.go:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/node_sink.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f65a045f0a80605fe3e52f1153b59874f832907ac14e4910e370ef8057f4a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/api/http/handler.go:1625-1632 | internal/api/http/handler.go:1767-1774 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/api/http/handler.go:1625\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a1e4208530da9a0dabd94832e82c1380a78831d9f48b74adf14b498056d46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/cli/client.go:196-203 | cmd/cli/client.go:212-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/cli/client.go:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/client.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1b60278388d24e6bd1679ab57d58fd7538573160934799e14ce847eb89d661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): cmd/cli/client.go:70-77 | cmd/cli/client.go:122-129 | cmd/cli/client.go:136-143 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/cli/client.go:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/client.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7644424d3a42cf9e5d4e6d72b084aa39b1358c0412c66af26aa3aebb35ffe411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): cmd/cli/client.go:196-203 | cmd/cli/client.go:212-219 | cmd/cli/client.go:231-238 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/cli/client.go:196\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/client.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"494bf405bff25de066afc1c19860a16a584c30df918abdfff8a41ef1adf8f99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/agent/planner/planner.go:112-118 | internal/agent/planner/planner.go:164-169 | internal/agent/planner/planner.go:218-223 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/planner/planner.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc9dcb3e85acd155ccbe68c2dc4165d297dc49e6185172d1a54578421d5e464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): internal/agent/runtime/executor/eino_agent/agent.go:203-207 | internal/agent/runtime/executor/eino_agent/agent.go:226-231 \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":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"013efb830218e976336bc2d4b68a798d9bd2ddcd219778294597f9baafb81da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/agent/runtime/executor/runner.go:538-543 | internal/agent/runtime/executor/runner.go:1232-1237 | internal/agent/runtime/executor/runner.go:1278-1283 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/runner.go:538\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/runner.go"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"871ef5e1867acb8f88759fc3147353cb391166126799cb22612d59ad840ea76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): internal/agent/replay/replay.go:125-132 | internal/agent/replay/replay.go:427-434 | internal/agent/replay/replay.go:490-497 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f3096dbe1844de5071ff5076bb5c19ea063f1018c041d5e8974f203b1e24df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): artifacts/readme-scenario-proof/render_readme_scenario_gifs.py:134-143 | examples/customer_support_agent/render_gifs.py:120-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"artifacts/readme-scenario-proof/render_readme_scenario_gifs.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dee3a3335779dff96a05510f6c65ef7c3566d2b3c282e31b9142f004c3d9005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): artifacts/readme-scenario-proof/render_readme_scenario_gifs.py:30-40 | examples/customer_support_agent/render_gifs.py:33-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"artifacts/readme-scenario-proof/render_readme_scenario_gifs.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c68003a0ddaa118f717d597479f6fb56fbd532b73dacd6a5d2f8a6f2bc3554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): artifacts/readme-scenario-proof/render_readme_scenario_gifs.py:91-96 | examples/customer_support_agent/render_gifs.py:79-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"artifacts/readme-scenario-proof/render_readme_scenario_gifs.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"456a9fac4e986acf60970f831d2c3d706ea5e2d480906e6ead470d777d7b4c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples/eino_agent_with_tools/main.go:138-296 | examples/eino_chain/main.go:139-320 | examples/eino_stateful/main.go:223-333 | examples/ollama/main.go:67-141 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/eino_agent_with_tools/main.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b48cc1fc28b526da14603dcb43ee33b553363fb0f3b2da74679363f43dbf35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): internal/agent/runtime/executor/eino_examples/adapters.go:269-298 | internal/agent/runtime/executor/eino_examples/adapters.go:494-523 | internal/agent/runtime/executor/eino_examples/adapters.go:686-715 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_examples/adapters.go:269\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/agent/runtime/executor/eino_examples/adapters.go:266\u0060 calls \u0060Errorf\u0060 and \u0060internal/agent/runtime/executor/eino_examples/adapters.go:493\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_examples/adapters.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c08ffdef82a93664a8e1f8d93986be15dccc6e39057de49edabc935989bed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): internal/agent/runtime/executor/eino_examples/llm.go:229-256 | internal/agent/runtime/executor/eino_examples/llm.go:356-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_examples/llm.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81bbb4c1331b9b8a791c1e73bb25cf2c7a487f5c673beeca2ee05f169b24032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): examples/basic_agent/main.go:27-51 | examples/streaming/main.go:28-52 \u2014 \u0060examples/basic_agent/main.go\u0060 and \u0060examples/streaming/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060examples/streaming/main.go:58\u0060 calls \u0060Println\u0060 and \u0060examples/basic_agent/main.go:57\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/basic_agent/main.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe4fcb10a96f750fc0d07275f95c5a5ced7309caed0812e869599c2147c117a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): internal/agent/runtime/executor/eino_examples/llm.go:108-126 | internal/agent/runtime/executor/eino_examples/llm.go:248-266 | internal/agent/runtime/executor/eino_examples/llm.go:374-392 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_examples/llm.go:108\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060internal/agent/runtime/executor/eino_examples/llm.go:104\u0060 calls \u0060estimateTokenCount\u0060, \u0060WithLabelValues\u0060, \u0060Add\u0060 and \u0060internal/agent/runtime/executor/eino_examples/llm.go:245\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_examples/llm.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"08119ea3e2c8a261616ec5fefa56d825545ce82f902fe92b5ec67385abf992fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/basic_agent/main.go:57-73 | examples/tool/main.go:75-91 \u2014 \u0060examples/basic_agent/main.go\u0060 and \u0060examples/tool/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 28 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/basic_agent/main.go:57\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/basic_agent/main.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6122aa01e51178a6b866f58ef34e3bff107e60559394dcfa839596620fa3d0b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): internal/agent/runtime/executor/eino_examples/llm.go:274-288 | internal/agent/runtime/executor/eino_examples/llm.go:400-415 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_examples/llm.go:274\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_examples/llm.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bbd5996944a0eba3e57dfb1f4b73ba77b4d5b4a903200d6dd0a6c2f2da48de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/agent/runtime/executor/eino_examples/llm.go:292-307 | internal/agent/runtime/executor/eino_examples/llm.go:419-434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_examples/llm.go:292\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_examples/llm.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8337253764aa37b4ed15b6cd98ef11d45a1e8e5642963fa36e07a4b760a7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): examples/eino_agent_with_tools/main.go:139-153 | examples/eino_chain/main.go:140-153 | examples/eino_stateful/main.go:224-238 | examples/ollama/main.go:68-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/eino_agent_with_tools/main.go:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/eino_agent_with_tools/main.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb36c9c2fadceb534b527a24e54b5bc5f039e25054a39d40ac9ad363d77a1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/ai-customer-bot/bot.go:269-282 | examples/ai-customer-bot/bot.go:313-325 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/ai-customer-bot/bot.go:269\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai-customer-bot/bot.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a37f52d961b38e7d9765b25a865b0a03c88576a21122d21a883d817e8bcddc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/agent/runtime/executor/eino_examples/adapters.go:782-794 | internal/agent/runtime/executor/eino_examples/adapters.go:918-930 \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":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1106eb6d62ba294ef20b318053d1137e3aaae6aa243b7de8fbebe7405534ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/agent/runtime/executor/eino_examples/adapters.go:387-398 | internal/agent/runtime/executor/eino_examples/adapters.go:465-476 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_examples/adapters.go:387\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_examples/adapters.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4430947aa3af1ba6d8da28038f9b0f2e7568192e2ee28f45cdbdaba779612cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/ai-customer-bot/human_review.go:139-143 | examples/ai-customer-bot/human_review.go:152-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/ai-customer-bot/human_review.go:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai-customer-bot/human_review.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25f02ad5b36b74a62de18bd5f0e105cf99c5b3e6468d6193b36502ab8ad1ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples/human_approval_agent/main.go:70-85 | examples/multi_agent_collaboration/main.go:84-100 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/human_approval_agent/main.go:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/human_approval_agent/main.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c046ae209bc1ef688aec3f91503d967dc6ff448303f68f9a3800c9a1b9544f4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): internal/agent/runtime/executor/eino_examples/llm.go:85-95 | internal/agent/runtime/executor/eino_examples/llm.go:225-235 | internal/agent/runtime/executor/eino_examples/llm.go:352-362 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/agent/runtime/executor/eino_examples/llm.go:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060internal/agent/runtime/executor/eino_examples/llm.go:238\u0060 calls \u0060estimateTokenCount\u0060, \u0060WithLabelValues\u0060, \u0060Add\u0060 and \u0060internal/agent/runtime/executor/eino_examples/llm.go:98\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_examples/llm.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"801d622d03cd24ef929194b6acbb4666eaf86ed2242a1e6279be97ada84e2974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/basic_agent/main.go:57-66 | examples/streaming/main.go:59-69 | examples/tool/main.go:75-84 \u2014 \u0060examples/basic_agent/main.go\u0060 and \u0060examples/streaming/main.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/basic_agent/main.go:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples/streaming/main.go:58\u0060 calls \u0060Println\u0060 and \u0060examples/basic_agent/main.go:54\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/basic_agent/main.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"591fd0da986e01f12388534b7f038c448c119045451be8e2bacfaa85c7932b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): examples/eino_agent_with_tools/main.go:227-235 | examples/eino_agent_with_tools/main.go:240-248 | examples/eino_agent_with_tools/main.go:253-262 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/eino_agent_with_tools/main.go:227\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/eino_agent_with_tools/main.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb1354908fcc663f17436f6b58f10a597020ce0957e648f20d1fcc94411f564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/customer_support_agent/agent.py:196-208 | examples/customer_support_agent/agent.py:211-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/customer_support_agent/agent.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c71d73af88b685fa2aee9da6856adedb016ef351e17be042f3bbd97080ca106"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Handler (LCOM4 14): Handler\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5241545377993d37f93acbfff52bd50f1dab1ba90de4e2505bd1bd5c5d867385"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Middleware (LCOM4 6): Middleware\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/middleware/middleware.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ff47321f7dcbade5474f0d065fe135d0758b444684b41ae1a059a30cc6dca2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Effect (LCOM4 5): Effect\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effects/effect.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ceb30c2d8f3a1a64ec09e7f75022d71d33a957e2dbf7f0980451f0d405b30f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Server (LCOM4 4): Server\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/grpc/service.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3784524b359c78f239281af67c1e07dd267e57b16d959e0124420a2c82adceb3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Observer (LCOM4 4): Observer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metrics/metrics.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf4e972ae9cd36b959133a1765f78ed033be866b17a25f249f295d8fb72138d"}},{"ruleId":"D7","level":"note","message":{"text":"Classify ADR enforcement: ADR-0001: Runtime-First Prototype Promotion Policy: This record carries no \u0060enforcement:\u0060 field, so nothing says whether the decision is checked by anything or is upheld by convention alone \u2014 and an unclassified record is counted as UNENFORCED in this dimension\u0027s score, which is the same bucket as a rule known to have no check behind it. If this is a mechanizable rule, add an analyzer/test (or \u0060enforcement: analyzer|test\u0060); if it\u0027s a design decision, mark \u0060enforcement: not-applicable\u0060 so it isn\u0027t counted as unenforced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/ADR-0001-runtime-first-promotion-policy.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a041843282815c4432dc01182e320fe39cf4a16d279dd7aba2c0605d986d51"}},{"ruleId":"D7","level":"note","message":{"text":"Classify ADR enforcement: ADR-0002: Aetheris Position in Four-Layer Architecture: This record carries no \u0060enforcement:\u0060 field, so nothing says whether the decision is checked by anything or is upheld by convention alone \u2014 and an unclassified record is counted as UNENFORCED in this dimension\u0027s score, which is the same bucket as a rule known to have no check behind it. If this is a mechanizable rule, add an analyzer/test (or \u0060enforcement: analyzer|test\u0060); if it\u0027s a design decision, mark \u0060enforcement: not-applicable\u0060 so it isn\u0027t counted as unenforced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/ADR-0002-aetheris-four-layer-architecture.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45969b1573f92f956d9afbd2b2673d963c3e8cffc7385869be4653ce1d430f6c"}},{"ruleId":"D7","level":"note","message":{"text":"Classify ADR enforcement: Aetheris Q1 2026 Action Plan: This record carries no \u0060enforcement:\u0060 field, so nothing says whether the decision is checked by anything or is upheld by convention alone \u2014 and an unclassified record is counted as UNENFORCED in this dimension\u0027s score, which is the same bucket as a rule known to have no check behind it. If this is a mechanizable rule, add an analyzer/test (or \u0060enforcement: analyzer|test\u0060); if it\u0027s a design decision, mark \u0060enforcement: not-applicable\u0060 so it isn\u0027t counted as unenforced."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/roadmaps/2026-Q1-ACTION-PLAN.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97237fff0058203b4387a2fd28fdfe81775c14ae974cb1173ec53266f5980151"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: go.opentelemetry.io/otel/exporters/jaeger: \u0060go.opentelemetry.io/otel/exporters/jaeger\u0060 is required at v1.17.0 in go.mod, and its author has DEPRECATED the module: \u0022This module is no longer supported. OpenTelemetry dropped support for Jaeger exporter in July 2023. Jaeger officially accepts and recommends using OTLP. Use [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp] or [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc] instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b16a7b61957503195738806cc373e62117e1e73563366014d94710c3fa97d229"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/app/worker/app.go: internal/app/worker/app.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in worker.NewApp at line 168. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-12..2026-09-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-12 13:48:59 \u002B08:00\u0027 --until=\u00272026-09-10 13:48:59 \u002B08:00\u0027 --full-history --no-merges -- internal/app/worker/app.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aad4bdae6639299faa9e6a6d67481a645bfdf000fab23233b36347458820dc3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 11 significant file(s) lose their only recent owner: templates/autonomous-researcher/workflow.go, tools/mcp-gateway/tools/mcp-filesystem/tool.go, tools/mcp-gateway/tools/mcp-database/tool.go, tools/mcp-gateway/tools/mcp-github/tool.go, internal/app/api/external_agent_tool.go, templates/rag-assistant/workflow.go, internal/runtime/hermes/acp_client.go, internal/runtime/eino/hermes_runner.go (\u002B3 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, 5 significant file(s) lose their only recent owner: internal/agent/runtime/executor/eino_agent/agent.go, internal/tool/mcp/server.go, internal/agent/runtime/checkpoint.go, internal/agent/runtime/checkpoint_pg.go, internal/agent/executor/executor.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9d0bec3d0ecc2c957d79d18e04ab111e23f78a2a7d3b34531c723ebb5603bf66"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (17 single-owned of 262 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 262 of the 370 production source files in this repository met that bar). They are anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: pkg/log/logger.go."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u4F7F\u7528 GeoIPDataPath \u52A0\u8F7D GeoIP \u6570\u636E\u5E93\u67E5\u8BE2\u533A\u57DF \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compliance/residency.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"91816f2b78ff44faba232b64e17ab3cbc474006f08470c214873b40e01f0c946"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u5B9E\u73B0\u6D41\u5F0F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ollama/main.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"550743a32cff473542e56a19968da65011f7c3b0410a6416ae8cc47d0b292e4f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get agent type\u0022 repeats the code it sits on: 3 of its 3 words (get, agent, type) are already in \u0060const agentType = await vscode.window.showQuickPick(AGENT_TYPES.map(t =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe7f319847fb64bad153f79a8e803cd3d1b75e19305428efab3be09c02056b7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Generate agent content\u0022 repeats the code it sits on: 3 of its 3 words (generate, agent, content) are already in \u0060const mainContent = generateAgentMainContent(agentName, agentType.label);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6409ce50d4fe901af9f5cc86a65db6d73e8f15a5b443bccd95d639b142bf6945"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Generate .corag workflow content\u0022 repeats the code it sits on: 4 of its 4 words (generate, corag, workflow, content) are already in \u0060const coragContent = generateWorkflowCoragContent(workflowName);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1740766489e6cc8c53dfe571dece29e9926945647f292c4457825a8be955b5"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 6.0/10. The most over is \u0060(repository root)\u0060 (68652 LoC, 1111 module-visible types across 118 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"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"},"properties":{"commitSha":"05bd0ba1fd990142844bac1a0a88dffb1b5fdbc4"}},{"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"},"properties":{"commitSha":"05bd0ba1fd990142844bac1a0a88dffb1b5fdbc4"}},{"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"},"properties":{"commitSha":"05bd0ba1fd990142844bac1a0a88dffb1b5fdbc4"}},{"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"},"properties":{"commitSha":"05bd0ba1fd990142844bac1a0a88dffb1b5fdbc4"}},{"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"},"properties":{"commitSha":"f304f8dc1f3d5f0d57dbba1fb7d87a6f8a6b44a6"}},{"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"},"properties":{"commitSha":"36aaf75415d0cbde79f35c397e16d40ec455055c"}},{"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"},"properties":{"commitSha":"36aaf75415d0cbde79f35c397e16d40ec455055c"}},{"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"},"properties":{"commitSha":"36aaf75415d0cbde79f35c397e16d40ec455055c"}},{"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":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"9742b3c3e7f62b4ccfc93afc3fd45b1039916283329fb2dc7ecac7f118b5873d"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"228717293663adf6814e4ed3902d35ae57e0fb1ae37165ea4de4f676848a2612"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"bf6e654aae86dc886c5a2e651d1be07a1252f28560ba57c82c6b15ac3d1f9c30"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f922c7255994f5959364b9c3250dce73177cf5bdea64983fea86dca2fed1d22b"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"28fb95c74cf7e51a3f6e58d6d5d9aaba698bdc10ef21fbd45c72dc90736c26c6"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d4a59e5ebdd54602107746841fd10b7252c68b34b02e02c73ed80377e8c2ca39"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a5ff6c36cc77c52281fa395ac6b9e1e18754b22fb93caffb8d30a7715d1e22e8"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"01608f9a8ad34b096aee2a7b8db3a283f5966bf882150c4bddd506a1a310911c"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"bc17439367157c6f6ff8590f4dfe29bc3a0ce4e328d99df310f8a49a2877af10"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"3da0ac29c51eb4c97825431fba929cb163f1b2ca71dc0bdcca574df447813966"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2d140e9f3e82342e4881d75af4b8d732d4bfcd639415b618f0908160ee2e4a8c"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"086cac5145cb037ac6ab4ba4d003fbe6be8bc38b0ea10bd76aace050073c8b4d"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"48007388e35dc03f02bb6b4d9d32b4c7e753555e4f0d8d5a2ec58ac48c89ae3a"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e175991a8f5bfd32423c82c569bdfa691efc5daf49f5212130c95c978e7a4a61"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"3a7effedc77758555d9cffbc6e08334ed9d148edef90573213b099c1790abed8"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8dc8a632017c8d95837932290c78a2f0abd158d68a26b4cdaa7e2a9911c9ac49"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"fcb25a2ad3b2be76cfefb99eb9a3175b295b986b38c48ee4371691aec8451e97"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5c752b4cbffdd7ded0b385e85d0b3a752adf4f21c2413f03d4e78fd27d204621"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6ac38d59bb7606e07630c5040d20c238401b5d5993556085c9074c1b0d7c05c0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a85c3c78711376f8ae2db5f8e2b69229481249add8fb49fb3c7a04acfe384a7d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"51df8e96b2348a565467e8ea196accd6a508cff99e7fa3456b5304c08e471c38"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"87ffda5d5a47fa0c76edd4c72eded07ffe25fa4377434476ff3d43fa19c22acd"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"4ec29dd7e44f2547efde8f59d1f6d458dd6749445ab0082ac5168ae3a297ecf6"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2a9b2728dcb2de2292be2f38656f2d674ce1f13264e09120b518d431b150de37"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ebe11f332f8a014e24dd14f75c7e98c4977a187bb45cdc4270a47053599a6d30"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0115b265cf9e0dc8e5614b67c1ab70782a9e1493d7e890a2b2adfb404166a04f"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e52cee177667ec27c4b4dab4c39c63fc25d9a376ea72c3123d12d4b6843f3209"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"558742d70276b2442b3cdfc0be0d7c1223c955ee9527ee1a9626577c790837c1"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"523940f1f59d4b8fc35e1e47798e7e765d280ecfea64b75149399bcc2b9ffeff"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8d4a0f1929f34b20b8bc2f8f7e48197ce3f563d331ee6b6e6fd51b8cfc75a0db"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"659ae249e6d24e5e3372a187137889a99011a40c83dd9de4cd344b47db51186d"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"55846df2618f7d8eac6e552a7f124b52fd8bdb28a45cea81203b3327d4e7079a"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"dc80e52dacfd3551266792a8295812bc854405ce11859b8e30861bc8fa1943ad"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"bd7a37652232cbbb8940200ee3072fe04154ed88abdec28ef34ba0b20374cc53"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a4e8a88befbb9fb05c93848cae822465d9ae10760acc7205fd207204e45b81fd"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"badc358686f75a1c6d73cf924745f18d793d93ec60efef2693f5b3eda9d14102"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"4721ee44b480571e89bbd7de8ce70682f1042a30864a94c501844ecf0ed5f457"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b3328ab3a64c711cfa7b9164007571b75c35f3d3d4b9ec8486611c16314a6a39"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6ad685bb6450185803663dd332602db9d68b45784fd1f69b438ece86cd7a0b0a"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"65b54935922a414fd4bb6b66e1f8eeb167d1454a8b4ab445d2692c1e3d44256e"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2f2dfcc21e8f1d5def2c34a527d64bd81c33460f60d5e08b1b6d6459460b86fb"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"748fbce630d0ba2bd6300765f1496c54f3437e32ef6724e4cb4617723f8baadc"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"cb8fcec8732bef846146ea8b382052ca376e8c43ed191d4ec1ef44b14487fd5d"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8bf0d5a2587b9d200a7281d6f7be009621f50f05b16c5b6c72d33c28321192b6"},"taxa":[{"id":"CWE-300","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58520b7977a5873bc333ffd7e5f56dc442b6df40404b9a2bc0254d7376d652c7"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.47.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-5005","GO-2026-5006","GO-2026-5013","GO-2026-5014","GO-2026-5015","GO-2026-5016","GO-2026-5017","GO-2026-5018","GO-2026-5019","GO-2026-5020","GO-2026-5021","GO-2026-5023","GO-2026-5033","GO-2026-5932","GO-2026-6303","GO-2026-6354","GO-2026-6355"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e2c38ac86a572f8aaa6c724ff8ffb9a57b839fbf8ec6d98882a5a89de096479"},"properties":{"dependency":{"package":"github.com/jackc/pgx/v5","version":"5.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-4771","GO-2026-4772","GO-2026-5004"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9c7de190231d3b97dc0f1a0317bc61d7e63d7af55c350df48ddbea24eb5d370"},"properties":{"dependency":{"package":"google.golang.org/grpc","version":"1.78.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-4762","GO-2026-6061","GO-2026-6348","GO-2026-6441","GO-2026-6443"],"reachability":{"kind":"production","file":"internal/api/grpc/pb/document_grpc.pb.go","line":25}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fedb60e5628004b65296bbad21f563d61d207c67c41ff44fa7adf0b529059de3"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.48.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-5005","GO-2026-5006","GO-2026-5013","GO-2026-5014","GO-2026-5015","GO-2026-5016","GO-2026-5017","GO-2026-5018","GO-2026-5019","GO-2026-5020","GO-2026-5021","GO-2026-5023","GO-2026-5033","GO-2026-5932","GO-2026-6303","GO-2026-6354","GO-2026-6355"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ea418b2386c9b4e4fd9623f94c68f9a052fa3117e30e3ab8c1e23b09050c3d4"},"properties":{"dependency":{"package":"github.com/russellhaering/goxmldsig","version":"1.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2026-4753"],"reachability":{"kind":"test-or-tooling","file":"pkg/security/sso/saml_test.go","line":31}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b48d494da732da196da8326c947248072a3ce1c3e11f611e272dedd93079ed2"},"properties":{"dependency":{"package":"github.com/buger/jsonparser","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2026-4514"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1dd8d2657472ae39d76df52700358f9dc1270e8290f1de03ebe1b98898bbd12"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/sdk","version":"1.40.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-5426","GO-2026-6505"],"reachability":{"kind":"production","file":"pkg/tracing/otel.go","line":19}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad0bd71ae7282f15b769d343a836a6037be85836c7b6c96011de0c633319a068"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel","version":"1.40.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2026-5506"],"reachability":{"kind":"production","file":"internal/runtime/eino/workflow.go","line":25}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"601de294c71477e32447105a170bc1bac75e416c0f2494daab4e0c392d76adb9"},"properties":{"dependency":{"package":"golang.org/x/image","version":"0.24.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-4815","GO-2026-4961","GO-2026-4962","GO-2026-5031","GO-2026-5032","GO-2026-5061","GO-2026-5062","GO-2026-5066","GO-2026-6222"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bdf6e35fb4ce52ab3acda8c9d66343766f932e0b638e368be42c0e8b4377b74"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.49.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-33814","BIT-golang-2026-46600","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4918","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"reachability":{"kind":"production","file":"internal/pipeline/ingest/parser_impl.go","line":138,"symbol":"html.Parse"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a3bc35adf7ddc6cb8a5bfa689b5903f3228dd255f623391b2b8851d3ad0b06f5"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp","version":"1.40.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-4985","GO-2026-6505"],"reachability":{"kind":"production","file":"pkg/tracing/otel.go","line":15}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03b55e8c44636684718775c1f4784658e61224c0ca841b29f253edfa356e6c2c"},"properties":{"dependency":{"package":"filippo.io/edwards25519","version":"1.1.0","advisory":"GO-2026-4503","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"baeb3589a7c937ab19fb479775b501d1d8101674b19f505b32ac4a4ea3a16d53"},"properties":{"dependency":{"package":"stdlib","version":"1.26.1","advisory":"GO-2026-4864","aliases":["BIT-golang-2026-111943","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"internal/agent/runtime/executor/eino_examples/llm.go","line":611,"symbol":"http.NewRequestWithContext"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"362d19fbc20680c130f6d3f829465778e97203407075f4ceb76a4cf0cc41a027"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.41.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76d999f7f0da1c7805a61d7a77ca6e9d78cdf7e7d953cafe7b73d81759ae1a99"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.33.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a526e64c83cd96d39cd067ec8e343e2633c42f0d486fb79b4d3969521153b6d"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/otlp/otlptrace","version":"1.40.0","advisory":"GO-2026-6505","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"pkg/tracing/otel.go","line":13}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"684ba822ebd8a82f75e792199aececc9566586d2b51b6cba0271d250d4a661fa"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc","version":"1.20.0","advisory":"GO-2026-6505","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"pkg/tracing/otel.go","line":14}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"db69473e59ca4ce8a3ffecb8b05ea67dcba711492d4b40672ff2f53572ec152f"},"properties":{"dependency":{"package":"github.com/crewjam/saml","version":"0.5.1","advisory":"GO-2026-6909","reachability":{"kind":"production","file":"pkg/security/sso/saml.go","line":29}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0110eed3e69782b1a6512bafb1485e9b120f1f3b73a45956a643fbc66cda197f"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.29.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32d06686c4c96de3103fcc87b4474a4bfe3396693de21f355442831434cbc547"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.51.0","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-33814","BIT-golang-2026-46600","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4918","GO-2026-5025","GO-2026-5026","GO-2026-5027","GO-2026-5028","GO-2026-5029","GO-2026-5030","GO-2026-5942","GO-2026-6603","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c22210105f0e573eaca8dddbb3d4e203cf333bfd34ac94e35cf22a3b2b840d64"},"properties":{"dependency":{"package":"github.com/quic-go/quic-go","version":"0.59.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2026-5676"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2ca5ddd5f55407349d5f649e86a48ab665e3cd01a50de984ee46b12b65f91c6"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.34.0","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"reachability":{"kind":"not-imported"}}}},{"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":"1f778db7577b425a59c3e098db9c2370b5d63333e5c5751e6b7c218bccfc5c4d"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"4f41e363aeee5148e7ec6648c1cdd8d2a1cd8885cb02caf0c370a2d81f3a67f7"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"14ae1599d33db87d59f5a4b602a894c53236642200c3c22f6914ed796667e5b6"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8ad9c8dc2281c8ed87ab39c9a90d5df4b311e4d44df5c72a7b12bcc4db07324c"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"ef61882d104dcf332b9adfdd3c6a094bb05bb39be4a7a98dd2eadc273bfc8f9a"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"f0569ce3952d363bbaf161cbe3937d987f14714eb028b2791a2f383682c1652b"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"137124efa0761973605d40ce32697bd082fbf7d7998bda588938ea9e6c07ef29"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"a0f9bb1a4b6142660086e3d29a896176f62dc19460bdbc9b40570b9212de8409"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"5d8cff917c583c21707930c02a454b38656511ac61bee279641ca0b482047c6e"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"76108439bfb658065f298f42b15018d64832ce8c4bf6014d13ce4cb8298ef6f0"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"c288fec7fb5d15e174e4aba962d8af19f4e0720670621c71b7705c01f34fb4a5"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"340f6bca99a5e06d40b9fc4af34f94e4e6785da23c17d55bbbfed28fa9be2b2a"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"4425fb5ea6c517a4ab5f4675f90297370b732c8ed9b3360fc4d2c93daf8aecae"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7a866c082be315db8e7fd6b91a9e673aa346ef943a02b38094fb2351dea6e10d"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"b4a27ae124dd474ca6db30f86238eaa0bf2c9d9f39165f7a4839641540a92b02"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"f276e01918dc86dc68d4f6575fad8359b388cd377161a4e8e4f00a57862b4725"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"af38c4e9e6d2419a7409c62f5316d7143cfe48aa0ec86959aff6f5c38572eea3"}},{"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":"Orphaned files with no living knowledge: 107 of 262 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 262 of the 370 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: internal/agent/runtime/executor/eino_node_adapter.go, internal/agent/domain/task_graph.go, pkg/tracing/otel.go, internal/storage/vector/pipeline/pipeline.go, pkg/compliance/framework.go, pkg/redaction/detector.go, internal/model/llm/effect_adapter.go, pkg/compliance/residency.go (and 99 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_node_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0613230c9f1fb948f52e91651dcc65d8ec050c821672f7c13a768bf6be314f3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/tracing/otel.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"623f2ea9efff3fbc60fa046ae141f22f1b260f7cb009f17f90bfac6857ccf967"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/vector/pipeline/pipeline.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf36a2eb8509d52489e171cacefc82b9a897fcc1190e68b7e620d0d944eb7f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compliance/framework.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71001ca8984215bf0bf7805d1e6afcc303fa3571c20ce446becda516ee01fe2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/redaction/detector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e977cd7e5e6d4b797113de7a6f82204e83def1aed130513d99d69ca81e84e3a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/model/llm/effect_adapter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e71026873568938abcb0986f4498d9b1e49b5ea83ac03f5ec372ea4e7564803"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compliance/residency.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df6d3953131063453847d2c0411c3e2c85aceaa5953df335346352ffcc65f42"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b537dd4c475d61f37db114cbcaaea938b6750ce7f4c8d512b2b0f5a77f2b104"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/failover.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ff1d41c4161f635bdf248020e5c83e57182eebf6af6cbf9e4ff584d5c63fa0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/domain/task_graph.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d93f30967740e5bbda2b206078f57b6b6618ef2aac4e01458683e776b39698"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/runs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1446f8606e3b4f6f353007e44c961cc5b94bb45b838e39e830279f6f97367fa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/builtin/effects_wrapper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8494dfaa50d0443e8b222c3d906e6e41cfbbaa5f0de2dfca1a3faba94642230"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compliance/checker.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbe670e4552b4c064aa7bfbfd9954eaea96cffad5328976f431ff3277310d05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/forensics/query_engine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8eac9ba6019b27ca567d3a7d2cebee9255c54948d3c03c5bdb295e660e6165"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/hermes_dispatch.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0728fd269917a91092d02933211f516114e1b985b46af7640b79d9c57aa48c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/run_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"277a627c23333eeecf0181ef7f12c79474f8de2e6670bd33aa31a6b241b4852d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/middleware/oidc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2893a8b2a2d20223124805638e143b5bd5aab9645e08caf1d9318d66a78e8c99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/skill.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abd2ebc6f45e107e9f32676ce02988a9f81611050154cde825a96d9ef50a35d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a5fad49b6211c3cbfcd207e92b855f4f06aaffaccf805cae8185044ddf199e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58625eb2b8f9f167973e7b015b7ee105e9a0a9aed1873e4217ef0e4cd5874cb1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp/transport_sse.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f19ff152a4950e8a295a3faaeb73d464513a60fc215ed5c36084d62e2cf5f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/lint/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ec1ad45a0e633c5ec8e2e27b6b0e1fdb54da9060c3fc27cc8ef1c03fa0768b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/cache/redis.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94860dad6bc2233ad3e5718fa8e6fee38f8d23531e7a5dd46743a9e5b3c8efc7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/domain/runner.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dda37be117ef963c9aaa29f782b0e1ddfc1d05ab7f92fe81f0458b60287a651"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/vector/memory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41a9930a586046649e122604bfa3b351776f2f87970094ff70fdd3dfc96568e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/compliance.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cd4b4939227b1f5e3c7ab343ef3c7967c03a23f01591b478b567b4b48250b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/domain/tool_ledger.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b07932aa6497f5c636f4f11b48ebf79c65d8278e8e73dac456e40cb717736a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/security/signer/signer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dbb7ab740b8c4cb4b4ee6d007a8cfd547fffab2bced01d4e7ac33bf8824dd0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/descriptor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"913d913a665694275fc0be104f18c4316c127b2e536cf5fe6b4cdc44b9260881"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/instance/store_pg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32fb93e94c9b5f74ce4eabe8bfb6941b99fb6e08ea1e055fa8c5c6a53475834"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/messaging/store_pg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a40b4a6128f694bfd69715f4c0e93013e977c91cfe9e9254a0e2c42feffceab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/scheduler/queue_scheduler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86442c2f51b5ee92df006d02a24a0839ce7e354f9628a8b0717d45f7b57775cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/evidence/builder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5d65cb4efef630b74daea48e5cafc3ddfb13056cdb48c36205058ecbe9d8dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/tool_bridge.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a2ec9867e8a0284c13cbf99d258a2c6b74b982654a992e637ce8b9203936f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/verify/verify.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec2703be63c0718c3e3d6417cf2563a33903a17b6404753b2b2bbf8eab6c62e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/ai_forensics/detector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85475ec9fe154fcb37908daf987f0caeca23a0cda15f404efd607595f3d0dd8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/metadata/memory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2f511414f015db789489d82e9f4fdb96e5c522b98b004695b3b85160ca7ad6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/builtin/http.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6040375c0c7613adbf8a56cfec7b56f640b1178129e73bf335ab75551833b3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/adk_agent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd7af7aeaf747ca161396d3efcfcd10151d8f74f2f2f3f3e331d3c7b82dd46d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/monitoring/quality_scorer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17129977d2070aa16922b1eef0b6253cdaca914b102916d6e86b47dfaa42e055"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/middleware/iplist.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32552558845cafe6075ece05de1e5792a9de21e49a4bf5aff3d586223bb5490d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/splitter/structural.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"558defe872d9ffa167bb6f58c42da256ca0038b2d9572302fee7311d1e2666e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/scheduler/leader_election.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7991aa48a39ca061019bb01c35d0d3b57afeca5622703c4612acc0da08725b1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/effect_store_pg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca5d9ffbdcf6d9d059a77b53ca9decce6db083f10547eb6f02df89c107a0e94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp/protocol.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5f409ee49934327b011f4c5fd28785f1621ed1c7f9badbd69bd6c4d98ddefb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/messaging/store_mem.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2986885747d90093f9a41094a402957f2ce5e4180d995ac499369d2ac779c4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/run_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d786065202fe7e544252de1da86e8e324ac1a5105fff2bfdb7deca8b343914"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/effects/effect.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1edd80baad8d0cbff48e912e1e6693c73e69a288d14e8999a80e2ffedfc2673"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/embedded_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f0919472ab0ff76354e8353db9130cb26a32442316543a71cdaf7c4d5c383f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/state.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b2198160de5cc45091f4426f128d6a0f9f9e459474b99f252eecf755964069"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/snapshot.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"266ab7ee1f99bec6c0f9149a4a6c838e2a2ece9103b525c22fdb07776bc30d29"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effects/context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31db9b36c43a86b65a485fbbb32048080880acb46405e363461303c850f4ec85"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signature/keystore.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4187a34f93135fa8fe00b9927806070119688ec84ddb94bb507358a6c0177fec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/einoext/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14934c87771e0a37ae1e69b918764d3f5ac3c0241336ebf41980265fd01af45e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp/transport_stdio.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ddbb3461c6776c13c09f9adf1116a1ccad188ef4fdc524c6eed126ee9ef4ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/auth/rbac.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eded49bf80f15aa8e8d429c405f9f5e54aeddeac4459e505743ee2a463497850"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/eino_indexer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8780a0c0c474f957ce39c7c5729447638237f78d25cc47ba70915a091235db06"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/common/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"049b1f71b6b65d11704565aeb643a81a049402c7022ce67fb514a0e321ce2c8f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effects/memory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"359015d5debb4c3929ad061a713101a7ab4cee39a18f01fa5a10dfb77c182c38"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/agent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c569ac20c790f762857abdab2925340a363aefde16e3ffe25888a5218e002bdd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/instance/store_mem.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceab4255a6888badf9d871b8948a59680d27d462901a866bf7206922acdeb28b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/embedded_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c335d9106c07119bc843a98faac3d0208d3091a4bc699a3fe7c000b4b659bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/devops/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0881f6a28690880eab5ab3cbd41fb1e21a5279a12facf733523d457c9c62d5d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/query/eino_retriever.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d08de1f2cecb5ce71cba4cdd22a6503cead1b03f93afe5af67da9c1ec6462c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/invocation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0f09be6dbf6462873f2d6242933c3407b8bde3b04c4a523d1987187eaf0b0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/auth/postgres_role_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"827145f7de1b178911f91c920053cf72e312a0079301e8b270b75309b0ddc9c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/security/mtls/http.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d04b65ee21d6b736e093ffda4e477d97aba9cc8e090cb2220e23b3841170b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/redaction/engine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e0850eda92a8b7d6c9948e58c669339f706da8ed0bcb4e4290db030206f010"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/contract.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ca9799c19f293146feea6672e416ffde0523d1c00e0a94f937f6eaa98c4cd6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/scheduler/lease_manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"639080b7648a98a4667f5546978714fa9226e918cb19a01548438857e6fa8b23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/memory/episodic_pg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb4ed0506682a01b606cf0d38d7598e3d43fc8528b438d0f581fbe0b0f68e66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/common/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e283b1dc4ec6f8cc7c88b6317dfc30c068f48313d0ab1596e136c3fab1d34b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/ai_forensics/pattern.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9bc83274901ae9279085ace1ccf558b4d3f69096549136aa74d8c2329de49b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/planner/executor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8c6c6e433af7dd19efef7717f39afd39d499bd0e2485f75446c16a13594eaa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/object/memory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e37ddeb122231940f2e74d5b9fdc5776f5bbbb3bf6c2405348ab30c95a0959"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/sharded_store.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7dfc93c29b8464b7ac0016b3097f4867cd2f45df6799e09fe09809d906700b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/splitter/token.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"705bbf439555e6c40df2307f227765ddcfe0f0d77c09bb9f322ef5049f1a671a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/security/mtls/mtls.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e2199babc620f633d4b6be3bb50e996141740d6f6868ccb5e9aa6c5ded9e8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp_host.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c63813c81737c9ed5a8836a62e80e0b16d9334c84f65aaebec4ccc30777711"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/validator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43806c8de184ceb2ad1038f2f05af9e98eae9023d801d05519de3f3bf9a80b69"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/evidence/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5c743b8003eebc8388b56a0b5e74cc9952a5748061d0901ef30f474fb438d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/distributed/verifier.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab11fe56d345b4803e83d41e1583a8f90094b868efeb584a572ae2c1a8c33bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/effect_store_mem.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"234a2ee2bf9eb897c7dd736b709109e84a9a9058b726c4d3ec0dd0e6fba4014c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/memory/longterm_pg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b881709777a108bc5b365ecef445b034e0038d15cfc5bac6a6110bb5ee52da69"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/document.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf635c77c8cfee77cdd3e6db59081fa8c4d4739e41f2905e4f2f7e669c623bc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/verifier/github.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"645868dafd388b41cb058be8ebcf3e6e699b552c08143ec3d495b2ffdbb7ab1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/metrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cdd51cd48277ce7294dac5d429d7e2cead4ae78e85dcec33332a6e676f6183"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/sdk/runtime_context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7654c3e26ce9caa1992051eac3c70c3c00aac69fbe79fa2922897bfe56dbb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/effects/runtime.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fea7f1d65ef973743af79ae0960ea962814e5f92702a6cf1868b2d3da3d8d07"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/cache/memory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5256fc9d5cbb719a748b12f8e8cc887e028ee01e361eb132b5f45e5c8993d1f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/sdk/agent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5472c12cae1534a8607e7e753d58ee03a4d523191c805de585bf3ee260fb3142"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/determinism/forbidden_ops.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aee3c79779716dfbd325aa39244e2cf4b9d5da9edf94a1ebb734925b3fead0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/scheduler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0d7b0d7c67ba556a9227f400e49f9fa94405f76324184f87f672b2222da9c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/memory/longterm_mem.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f0d4af1ac99c86be6450aaee9022f9d76bd1144ad6e022cc7a92f2628159c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effects/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"514daea1d1af1461abd22c0c9c59ad47f1da564d1376d387fc07b4e83b3a4bf5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/metadata/interface.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"013d5c172ac317534345a3d5ec3a806ad904b2ff7072ec3b4ac39995efee942a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/pool_manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e121929f6afb3b0952d59da5e68b8f022a411d0ca65e9376d30c4b4a6f7e59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/doc_convert.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92e0e1e8ae08a05b51b23e058d2d02da27e0ebb53ace0caf8d225810c87c2f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/storage/vector/interface.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8d7b8556aecba173c6c6aa5dc6680e3c956a41523236466bf3b254475f023a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/builtin/workflow.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4af5803c24c3942fdb657709d8e835de6275e3c91083b30b8202777a1e91f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/forensics/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ecf443b12357bf7fa2a5ccfb6c9be473c6acde7472d9c5518e053de80dc994"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/redaction/policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9070c2478e978b24094811275734b003729b91dc0471c8f62e5e85a4a74d6ecb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/eino_transformer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58a63c5a69403d6469f25604a24d3024d93ba8cd3d71f86c9a96758d31cbb4d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/effects/system.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d8156887d775f5b4d1bcdfc775ae5d06e5faa7a92943cbdab2ebf5bbfd6b91"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pipeline/ingest/eino_loader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60def3f22241dd911000e773f592cf0175c385729cb305702dcb19c5c427dd65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/wakeup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e21162a2172d5c8c3391cf70751052739293a5485d7dbb8d5fefd7f3be82a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/determinism/replay_guard.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60e2e602595957ec85c2e0bad6d559b37e97ddcb3a73f1c8efc1d0ad813838b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: replay.go \u2194 types.go: \u0060internal/agent/replay/replay.go\u0060 and \u0060internal/agent/runtime/executor/types.go\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060bc82da8f\u0060 feat: implement mailbox messaging and decision snapshot features; \u00603466eed8\u0060 feat: enhance determinism in execution and replay processes; \u00609e4cb050\u0060 feat: implement Activity Log Barrier for tool execution \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edee619a71fa9d8d872dc5e36adfff4754d744dede1c9ba62fca87083240f44"}},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"81d0799af757bba1afbed34637d383ea39ed22bd8ff8ec5b09c5aa413595d701"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"88a2c1af3cc8ffad17b5d3ada94ea5dbf8841ddaf7cc3544a4615aeb1b359086"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"2e96dfd6d93fe913fb2e9028610c982dbd322c76ecf26cfdd7734b74da991d0f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/newsletter/subscribe.html"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acdf3b93854558c8dc0d1840702b2119a5294396d51435bd2908a30cf67e122"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf482132710bf5413deea0f134640a077c5aec91de1b222f60e27efd957c436"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"e712fa582a16e9fda72224d16ff50938d9dae8ef05e0df24c6ad69100bc1fe0c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"24925d6e20d1265c4aa3678eaa23153ba2923922cfd4b78038652d9817b663db"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"9798a3afbb687e32d7991a2e0a1085d274e792a071aa4cd0ef0db94103779da4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dbc33ae26b4128c1ed7d7b8350909f975f9a4bdebe769b660e9c9d727a3a1b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"9457fe0ab30acce841f20abe4a736929f5f7f06abca55acd1e4cb0aaf8a8b9da"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"682c786b0b8b18c068bd52fb197334fd614882222c24b3ae783db9cc5b83a2ea"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/static/homepage/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f27d6422e542917b58fc0c503ab8ff611c5287c9eb8be96cf81efcaced0bdf0"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/newsletter/subscribe.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"667bddf164efff3e1c4a4fd993d672a5aa452ac444f79b3128670107462689e6"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a003488658595d33bcc883bcced9ffd008dd3d86db4b6109bd3343ff705d1564"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.btn-primary\u0060 moves (\u0060transition: transform 140ms, box-shadow 140ms, background 140ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/static/homepage/index.html"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"522f98aebb66e0a5d86a6be2add6c8d011d3164873934134a0364c39d21c54b3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.btn-ghost\u0060 moves (\u0060transition: border-color 140ms, transform 140ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/static/homepage/index.html"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a87a624a91c546301c184f3272002b091c4c43595a4e210a2c2cd98e8489ebe"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.guarantee-card\u0060 moves (\u0060transition: border-color 200ms, transform 200ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/static/homepage/index.html"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b9d74563d0a33f9cdf5d8c12475a3cf4df71627c818aeb0fbd858a66b721ee"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.proof-card\u0060 moves (\u0060transition: border-color 160ms, transform 160ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/static/homepage/index.html"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb79f7e9bf6974074467dec47c454ab626278fba45b1cf137a018770f933b5b7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.int-card\u0060 moves (\u0060transition: border-color 160ms, transform 160ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/static/homepage/index.html"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"22299c7547ff2f86746bf99112e656c373e5ec3e7f83a8b14f7ded5e7624e1bf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.res-card\u0060 moves (\u0060transition: border-color 160ms, transform 160ms\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/static/homepage/index.html"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64e30f0d8986e122e17726d447692e22b96f83feed930645677c38ffe2ead8e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060.btn-primary\u0060 sets color: #fff on background-color: #6366f1 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/static/homepage/index.html"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f382f1146daf3c48a7c753b64e1e8e50835a69a8b80bca2c22d79d21a974ab7f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.copy-btn\u0060 sets color: #475569 on background-color: #0f0f1a \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/static/homepage/index.html"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b8f9b8c66140b9242f0e06cf6f48833d9b4ad55575f8b9bc137a56b45b7fbf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060button\u0060 moves (\u0060transition: background 0.2s, transform 0.1s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/newsletter/subscribe.html"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a59b265206518da3102481b5f45df1ce1f940841c2101b4f2e0f6d4ba16ba3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060button\u0060 sets color: white on background-color: #3b82f6 \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/newsletter/subscribe.html"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9647d3a614c396a86e11a65699d04423569ec056c3f3bb623dafa2c7843e20f6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.trace-event\u0060 moves (\u0060animation: slideIn 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1353ad0188499cf9932ec48481730f9deb9787e5d4fecbe85cb6482b603aeeaf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spin 0.8s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff858aef158a03b73b8a748c2ce280a35b8ad96b0e14c6ede7d627449a7d173"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060.badge\u0060 sets color: white on background-color: #6366f1 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfec89b4e49c290d92cf29ba34409582a93fa5b1f68f07b7ddbbfffb28207e4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060.trace-event.thought .trace-event-icon\u0060 sets color: white on background-color: #6366f1 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dfcdeb72e2b2194405218f388efb7683303823388e2f2cc9c2d8dbe0c6ac29"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.1:1): \u0060.trace-event.action .trace-event-icon\u0060 sets color: white on background-color: #f59e0b \u2014 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"407b91c625be499c9c34cc32674a8fe2cafa4f5db2b3815b6c909836583f707e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.trace-event.observation .trace-event-icon\u0060 sets color: white on background-color: #10b981 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaad5a49848d100eb3ffa2d6261ef813b2081a776622e36f7a61538e55b16a6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060.trace-event.result .trace-event-icon\u0060 sets color: white on background-color: #3b82f6 \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f34e2e6c75a50c15399d6c4353cc16ae999a655d5936bf598232b06deccd3da"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.8:1): \u0060.trace-event.error .trace-event-icon\u0060 sets color: white on background-color: #ef4444 \u2014 3.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/playground/static/index.html"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"62734f2bdea1005c80724135e1aaf29acb94613576b16cecc4d43b26bb981824"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no automated accessibility check runs over the HTML your app renders. Assert the accessibility invariants over that HTML in the test suite you already have (parse the output and assert, or drive a browser), and gate that test in CI so a regression blocks the merge. What was searched, so you can tell an absence from a miss: the 3 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful handler dependency: OIDCClient: \u0060OIDCClient\u0060 is shared by every request (\u0060LoginURL\u0060 is called per request from the net/http handler \u0060OIDCMiddleware.handleLogin\u0060, on the one \u0060OIDCClient\u0060 value that handler\u0027s shared receiver holds) but writes its fields outside any lock (stateStore; e.g. \u0060stateStore\u0060 in \u0060LoginURL\u0060 at line 122). Unsynchronised concurrent writes are a data race in Go: an update is lost or a value tears, and a concurrent map write aborts the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/security/sso/oidc.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dcee14141b9559500f0d381c8b2b1788d5b3fb075d2daf6fbdfa0e89170628"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/promotion/README-zh.md links to \u0060docs/\u0060, but \u0060docs/promotion/docs\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/promotion/README-zh.md"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2608a84cd4460da3cc7262a7988dbb82db646f33a6b0a54c8e2c08a5febaa52"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: internal/tool/mcp/README.md links to \u0060docs/mcp/implementation.md\u0060, but \u0060internal/tool/mcp/docs/mcp/implementation.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/mcp/README.md"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"756ccf0e9750e9377d830a362e3f37630ce761b141a6f87a09601b5392aa8187"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: internal/tool/mcp/README.md links to \u0060docs/mcp/security-guide.md\u0060, but \u0060internal/tool/mcp/docs/mcp/security-guide.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tool/mcp/README.md"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d09f4801df1d4f1fb471b475a70e22ecf6b2217ae861c734522ee43e1f67c7"}},{"ruleId":"P10","level":"note","message":{"text":"Large public API surface: 14/14 types (100%) declared in the published library are public. For a library, every public type is a stability contract \u2014 keep implementation types off the surface and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060tools/vscode-extension/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/package.json"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b772f900f8f23a4eb432655817098ef9389ac31d3396264bb27565105ba8bb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060resty.New(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/client.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a49d158d03c1f3c223a6f9f4d99616ba011a504f468987a225d523d62cb84f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/middleware/signer.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9757b445206a33d4422e563acf25306b30c36f146cae1ef8ec45d73789a85deb"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A Go testing.B suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/router_test.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"447e3ec02083b172439774fa43c3c00d40bd1a9f872ff189ed78c8714ebea27f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060newAgentCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c57d3adc3354e29ef644a0abddf2cb93ecae8633fcb4fb1498941285bf022c1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060newAgentCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b3df0cbc4c3b5c4151e782a760d985878e569e7a7cda0e867d4938a46d2f8f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060newAgentCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"38241baf2b2aff948093b60b3ccfaafd0edbc33dec06848e9b56231e826105c5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060newAgentCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d0b2a9db2489056a726121f0a37a39f16862b54ba6737a44ac83eb827b3a5c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060viewTracesCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7884cae62dab490d09b9180aab3363d6d9b890da44f3410f8d3387b43812d47a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060viewTracesCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e36333cee54f3f8a5f88a841c00f66b6783e5df9e97211d8c55fc0dd2605e0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060viewTracesCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d59aacf85d3c3606059a664996e045ba1a505d35dd3c9fdbba3e3ffe9388dd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060callback to sort\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ddfd9dcd53b95a2541c69519b89e577cbe3eb4d1fd1e3eddd90b7215a3e56b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060viewTracesCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0aac395c6396a617cd41b42f07c4e3180b684c339e7e1eefe8c73a224e75da"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060callback to traceFiles.map\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c273efc0d7f8daa51604de14f30ce9de652eb637f3604ed77f2d7415decfd87d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060scaffoldWorkflowCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a960e6ae958cb27bc1dd8359a7c98470a49adb2cb21ff2b3fcad816a982f9b10"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060scaffoldWorkflowCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"a331a4dad9fb4df3d44dee5f7731ee5c58579d493999b9fe33d0baa8752777c7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060scaffoldWorkflowCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ce78bf29ca2be1f4e1aa70ec21659067a253fc31b1e549167000c87ca949ad"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060validateConfigCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"d305ff2aa9a73f390780a423463c066876979bf15f7ad9f080016b62886592ec"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060validateConfigCommand\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/vscode-extension/src/extension.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b920e0ee41dbec5d9c93d1d7caf59e2b5e63396b7b0431622a66a886249ea9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isSSLEnabled(cfg.JobStore.DSN) || !isSSLEnabled(cfg.EffectStore.DSN) || !isSSLEnabled(cfg.CheckpointStore.DSN)\u0060 appears character-identically in 2 files \u2014 internal/app/api/app.go, internal/app/worker/app.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e76e91ffba1b38d375d08a17b09d32473e222e0aa5b12cf539f3a16701031ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!req.TimeRange.End.IsZero() \u0026\u0026 j.CreatedAt.After(req.TimeRange.End)\u0060 appears character-identically in 2 files \u2014 internal/api/http/forensics_query.go, pkg/forensics/query_engine.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8235a24a71b9f235faa102e7f365268e000b5b680c6e0ee7463132df402d1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!req.TimeRange.Start.IsZero() \u0026\u0026 j.CreatedAt.Before(req.TimeRange.Start)\u0060 appears character-identically in 2 files \u2014 internal/api/http/forensics_query.go, pkg/forensics/query_engine.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8226b64e5ae9b6c4ab9ac75e84f825cba9ef9e2a59bca28d4be7b9dca915442"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.CommandEventSink != nil \u0026\u0026 jobID != \u0022\u0022\u0060 appears character-identically in 3 files \u2014 internal/agent/runtime/executor/eino_node_adapter.go, internal/agent/runtime/executor/framework_callable_adapter.go, internal/agent/runtime/executor/node_adapter.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_node_adapter.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a5095ff82597c0074b75e01f56c1faa967fcc3523b02076d561cc0d3ca2591"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agentStateStore != nil \u0026\u0026 agent.Session != nil\u0060 appears character-identically in 2 files \u2014 internal/app/api/app.go, internal/app/worker/app.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d7eda7e2ef79d589feaf7c7c4eb2ba2a084cf0bfe19862d682922ed8c6c935"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.CheckpointStore.Type != \u0022postgres\u0022 || cfg.CheckpointStore.DSN == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/app/api/app.go, internal/app/worker/app.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"4112c55963d55a328449c42f008475e2ac9a200597ef81bb724f2e8b9c64cdc9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.EffectStore.Type != \u0022postgres\u0022 || cfg.EffectStore.DSN == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/app/api/app.go, internal/app/worker/app.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2dfa17a73a2c59a8c1d28af38d39e53ce8c3a05710edf834df305ee0cb7d06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.JobStore.Type != \u0022postgres\u0022 || cfg.JobStore.DSN == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/app/api/app.go, internal/app/worker/app.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"c656cb4880f7fb6c015d8cc19495ad61f29dcb7a8a8f7e35d4db663f54df95d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.Runtime.Profile == \u0022prod\u0022 || cfg.Runtime.Strict\u0060 appears character-identically in 2 files \u2014 internal/app/api/app.go, internal/app/worker/app.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaa77b194347690b6ad9b55db4a14e3f73fc25ecfd47e3afa54953312e78dac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060containsDefaultPassword(cfg.JobStore.DSN) || containsDefaultPassword(cfg.EffectStore.DSN) || containsDefaultPassword(cfg.CheckpointStore.DSN\u2026\u0060 appears character-identically in 2 files \u2014 internal/app/api/app.go, internal/app/worker/app.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8f6300d04afc4347c728559a91a9a163e81e996b5ee81d974af4efdeb0b8f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dsn != \u0022\u0022 \u0026\u0026 (strings.Contains(dsn, \u0022aetheris:aetheris@\u0022) || strings.Contains(dsn, \u0022password=aetheris\u0022))\u0060 appears character-identically in 2 files \u2014 internal/app/api/app.go, internal/app/worker/app.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab8275a5b80ad897851aa97b725e6843aaa252f27765120b2d1621f05584da3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err == nil \u0026\u0026 eff != nil \u0026\u0026 len(eff.Output) \u003E 0\u0060 appears character-identically in 2 files \u2014 internal/agent/runtime/executor/eino_node_adapter.go, internal/agent/runtime/executor/node_adapter.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_node_adapter.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9948300e6cf457c00760c9abeed6f5c9deee0ecd322fcdb372fb774b3e21c8ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(parts) != 2 || parts[0] == \u0022\u0022 || parts[1] == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 internal/app/models.go, internal/runtime/eino/engine.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/models.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0812a9ecce0a63e29721bf0b9c65c4fb9ceab3828c6c0f9d158641d6ee7115bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rec != nil \u0026\u0026 rec.Committed \u0026\u0026 (rec.Status == ToolInvocationStatusSuccess || rec.Status == ToolInvocationStatusConfirmed) \u0026\u0026 len(rec.Result)\u2026\u0060 appears character-identically in 2 files \u2014 internal/agent/runtime/executor/ledger_store.go, internal/agent/runtime/executor/node_adapter.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/ledger_store.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1057a6f256f78924685325983b2aef200eb51cc327ed4c2e7e10ee0f69f6cc86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.StatusCode \u003C 200 || resp.StatusCode \u003E= 300\u0060 appears character-identically in 4 files \u2014 internal/agent/runtime/executor/framework_callable_adapter.go, internal/agent/tools/mcp/transport_sse.go, internal/app/api/external_agent_tool.go, internal/app/api/framework_manifest.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/framework_callable_adapter.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f676ebd413941386684a817fde40adb4cdf50cccc5c4d87d6abaaa439422db01"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 19/20 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: Send: \u0060Send\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp/transport_sse.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8981630c742952bd7040fa06f75f6f69210e9f3228057a58c2d8e57532275a7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-filesystem/tool.go"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a339fb8c7145a411d5305f8c326f1985aff882213ad95e7add58885b307a58fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := rows.Scan(\u0026table); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-database/tool.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c97823b8dc599221d82b001306b0a27d1bbb24b71ff85ade71e723a85fae15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := rows.Scan(\u0026colName, \u0026dataType, \u0026isNullable, \u0026defaultVal); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-database/tool.go"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"df85d3a10e746b9d1be8dbb1021c2e917f9020d9d4a720fd9fd9b8b8cacb0c89"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := rows.Scan(\u0026field, \u0026typ, \u0026null, \u0026key, \u0026defaultVal, \u0026extra); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-database/tool.go"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"417bdd0253dd4c3b8471c180a34dfe8871e9f5ab15a41c705fbc290b41b4d6d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signature/keystore.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae797fb7af4d0996fce784b5ba0936e1ac3f37bba1e39d148f20fe65ec426ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := c.provider.Claims(\u0026claims); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/security/sso/oidc.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5cdf4471ae4abd61e6b9e0bd9d0ff2e08aa55ded88bcb00eb61a0027920b6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/security/sso/oidc.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"36da2ccc08f3df0117cb3f180b1e0d50fa1dfd9e93d581b2e0e7e13a918ad3f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := ValidateFallbackPolicy(policy); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/routing/advisor_noop.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc83eb93066628bc7321d5cb4a2e1e66eb2304568ae41b4ef080b16d65f2876"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/evidence/builder.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"809313758e6ae24208e2f3802becadc0e0abd61d26137133e2ed5ab14d222092"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/pgstore.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acab0dcb1e7ba2b882d4809a51e4f22757eac3fb9757fb620dcf8cdf52b0226"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := rows.Scan(\u0026jobID, \u0026cnt); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/pgstore.go"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4d21d09f7498a5a7b7205ea66c748dd43335485472e73ff330dfaf2b750915"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := rows.Scan(\u0026ref.JobID, \u0026ref.IdempotencyKey); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/jobstore/pgstore.go"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c71969e117bbe270af2e2dee1d0c234fdf8ad00fbee84915ad97cb44f047bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/agent_factory.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1372b4b052a45dc9f3ba85829faa4d6c2b36534d704b4565c3db16b8c9f97ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/agent_factory.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"edff549c34956f058ac2a14b386f33cc87faf622445d5be3c35ed1053001a2f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/runtime/eino/agent_factory.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"06de2db74d4a04ff705724a28cd858c2be1444f754ba52d3ca36a8b446430ac1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := ctx.Err(); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"08347abbc095bedcb1eb1dad66c75702be34138f899f397957e08ad8f0b98dbe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/worker/app.go"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7d9cd5c0c4a688e389d5d005d365272bd8da3b0682a2119e1d199f8a1c20a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/app/api/app.go"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efbdc19b4bfd2d3cded45d1e8c4d3f23e140bb44d727d3f8ac57c4758c30420"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(e.Payload, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8dd476874a63b451e07e861208bc868e66b54b2214a32a14c4657df0f3f683"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err = h.buildBatchForensicsPackage(runCtx, jobIDs); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"484433be8e05a2204c4dffb57870f5288c19b706066ccd443c41339856d80577"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(event.Payload, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"959741533aa29d5442338e3ab49778eb79e53b65292d96dc5f73273573d99679"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce8aaecd059aada9878e59940666162c6f5b25d6cbccdace74ade71f9654e76"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"837908eea87cfbaa2b334913bbab507e656052510f8e86e14cf8334310482467"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(raw, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a18ad0732c25b8d1f57f7d2f6653510bdf67a6e2efd4fc065b392a448db82f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"74921f103496f6332d62701c91728e445277c781a2a1442ae754948d9445da30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(data), \u0026resp); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/tools/mcp/transport_sse.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca588f0cd7b09b4017299be19dfa21fcc6ac1ef50b8f8baea0685cb4a83d88da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/ledger_store.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4372a4f561646a826ded66cd6832b5d97759275787634fb431823d3689b6eba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cea14830d52d82cd42c55189b77f3458e3356963bc63725069dcd8c69f52e9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"5146683380f5634599d50e9b47276e227e0f4c13d436cedf91e5f27c4a331779"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"98650700816431dc763cecf3ba5e328b1256470b5fb0848945dc6f06943e2d46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/runtime/executor/eino_agent/agent.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ef3fca2ecf725ecc0fee44ddbeb8f74f47e560ce8e5ed836c88aa089a5f1e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(e.Payload, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cdb520b7bd54ffeab3cbd7fa17c3ea5b819b998cd092b4b854614c2cfd484f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(e.Payload, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a8de7e8ff7ffb6529dc09efc8dd1be0538e2ea4bc78194f3bba6ce63dcd451"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(e.Payload, \u0026pl); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc734ffc16520a0dc57fcb4a5db460b4913807df5e0113524908791f787ac63"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(e.Payload, \u0026pl); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0438e5467a1bda9ee30fabb9ecc99581795e773fb5ddad2b752e2cfd155ee7a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(e.Payload, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc534c2af3a9e516a4a624fc30e72d3e57fcceb75df3f81b21aa245fb272cce7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(e.Payload, \u0026payload); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7feaa37a0ff5e3051637eb6d05a09a310d29264f85dc0ba41284f7d3256c38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(e.Payload, \u0026pl); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb8477aab738ea51696ad0d5083fc80edfac6167fe51048101a02e6244f9531"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(e.Payload, \u0026pl); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/replay/replay.go"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fceae12c6ea4096567e604cc6171f87bfff3cac1a9656b6219a0a0f10d9af41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/memory/memory.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0903100b4222a6e5def5a44cf015e3561c35e2f197760fd5895cd7cb1df20d2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/reclaim.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81b1bab223d04239478d052ac99e7e5e1e20e161f7b34d4b4f3a39ccad95ed2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := metadata.UpdateStatus(ctx, jobID, StatusPending); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/job/reclaim.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8bd23d89802d2df4de9da056900f0163bcfa7ff798ab84c6fdf313d8c973f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/agent/domain/tool_ledger.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5915920713a0c8144d83fb2611f3b4a297ed26a7dbba877ae48bd25b2bd7d2ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/main.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"751295f10058676f483baef3837345712ce72a27d29ec438aa4864bc8b7bd850"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Go code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-web-search/tool.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8269c436455f0c19671abee17e949671d385b7689bb382da39e5a59af798be67"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Go code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/mcp-gateway/tools/mcp-web-search/tool.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1364c044f303a2418cf81063c0e737fddc7424398e656a985e84ada17f6fcf9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060stepIDFromPayload\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfeddfb356dc1861454c260d0c92c1be6eff95bc87509b4ec956263dfcac75e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060evidenceCountFromPayload\u0060 turns a non-nil \u0060err\u0060 into \u0060return 0\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/forensics_query.go"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb156937a02f0297ec3084375c9ad85155300d002b84a649eb0e7d8b17f9938"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060jsonString\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022{}\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/api/http/handler.go"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"268b6b7ac1d3f04eeef8233fc2803df2cf925b72cb468a5fcb333dc59d805460"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060getReplacement\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022***REDACTED***\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/redaction/detector.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be0cb789726182a82c760d8857a42d2a9e26b4df2348ed372ea7036100afd0f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060GetLoginURL\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/security/sso/oidc.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c497b37bea02242b3d7a188d9f6b74283559848e454f245d2e8ba36c5545481"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060createJob\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/k6/load-test.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cb8ce939a0a7df165d6205c8052f273d4d5347493be3e72765008dab762c94"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060strings.Contains(input, \u0022goodbye\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060strings.Contains(input, \u0022goodbye\u0022)\u0060 also satisfies \u0060strings.Contains(input, \u0022bye\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ai-customer-bot/bot.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada9c39ddcda686f0022e053a73957f7875d0c880f4e220c81f5f404c5eebe05"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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":"Channel Accessible by Non-Endpoint","shortDescription":{"text":"Channel Accessible by Non-Endpoint"},"helpUri":"https://cwe.mitre.org/data/definitions/300.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-476","guid":"df404eaf-4a12-445c-9306-241412f65220","name":"NULL Pointer Dereference","shortDescription":{"text":"NULL Pointer Dereference"},"helpUri":"https://cwe.mitre.org/data/definitions/476.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":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.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":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"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":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":118,"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."]}]}