{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"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":"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"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":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"AgentPlan.extractResourceProvidersFromAgent (cyclomatic 44): AgentPlan.extractResourceProvidersFromAgent has cyclomatic complexity 44 (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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a59da2e1b31319088c7d2d4b6343ee65f880438ad56ca18b26c309f706245f"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionSchema.typeSchema (cyclomatic 41): FunctionSchema.typeSchema has cyclomatic complexity 41 (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":"plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionSchema.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9076da1d25618e6d86781cfb053b4efa107e642cc6398ab779ae288eb0ce0f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatModelInvoker.chatWithRetries (cyclomatic 30): ChatModelInvoker.chatWithRetries has cyclomatic complexity 30 (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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de4ec973e597ba86f606a6b7df39e3cc8a75a024aed6a2c4abbbbf70e3daf98"}},{"ruleId":"D1","level":"warning","message":{"text":"agent_plan._get_resource_providers (cyclomatic 30): agent_plan._get_resource_providers has cyclomatic complexity 30 (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":"python/flink_agents/plan/agent_plan.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe3cc59bdfc8c60c86707a1aa1894409fc7dc305c8756dfccf0ebfc7296b9ac"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentTraceSpans.buildExecutionSpan (cyclomatic 27): AgentTraceSpans.buildExecutionSpan 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":"integrations/observability/otel/src/main/java/org/apache/flink/agents/integrations/observability/otel/AgentTraceSpans.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6112c74c5ad49ecfb0197ac9cecd9404a43ec4db2cae4d83433dd9ad0a3f058d"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionExecutionOperator.processActionTask (cyclomatic 26): ActionExecutionOperator.processActionTask 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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"853906ee2ea9a7063b765864d1101a6453d81d39275f8bb31bb9a843d524df64"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionSchema.fieldSchema (cyclomatic 24): FunctionSchema.fieldSchema 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":"plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionSchema.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4158cede30314df875ee575deb4bb69c50d57a1bf97ebb78984146dc4ef13350"}},{"ruleId":"D1","level":"warning","message":{"text":"Work.execute (cyclomatic 23): Work.execute 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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3fd624cadbe5d251efe7fb5e4a315363ee1f609a039d471c280d9791b9754c"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_tree.build_trace_forest (cyclomatic 23): trace_tree.build_trace_forest 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":"python/flink_agents/cli/trace_tree.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09faaca3cbc8e3f184ec6a88b8414a198e03d0f73cb0f3071b4c64624442254"}},{"ruleId":"D1","level":"warning","message":{"text":"RoutingStrategy.validate (cyclomatic 22): RoutingStrategy.validate 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":"api/src/main/java/org/apache/flink/agents/api/chat/model/routing/RoutingStrategy.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6472732abd8ad02b7cf23888533891d480424e1250e1ecda30541324f338e7d"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseChatModelSetup.open (cyclomatic 22): BaseChatModelSetup.open 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":"python/flink_agents/api/chat_models/chat_model.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c386a79be4f4a5c3e638a6209b787b1e9126b963ccc9a3cf17a8f30de46ce0"}},{"ruleId":"D1","level":"warning","message":{"text":"chat_model_action._chat_with_retries (cyclomatic 22): chat_model_action._chat_with_retries has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/actions/chat_model_action.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91e1def89bc170eae3ef81da3ec2f8f67f91e60ae581fdfb14c3f77ead8a220"}},{"ruleId":"D1","level":"warning","message":{"text":"WatsonxChatModelConnection.\u003Cinit\u003E (cyclomatic 21): WatsonxChatModelConnection.\u003Cinit\u003E has cyclomatic complexity 21 (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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6ec6014a9c4a83d90607f1102feec01955036aa8ceb5d051620011d77dd0db"}},{"ruleId":"D1","level":"warning","message":{"text":"loader._build_in_file_state (cyclomatic 20): loader._build_in_file_state 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":"python/flink_agents/api/yaml/loader.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbef25bbceadb7efeeae6653463051fb0a36b85415bd8a543f9ee6c8ff416b0"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicChatModelConnection.chat (cyclomatic 20): AnthropicChatModelConnection.chat 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":"python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95d8ecb15f2830b5116a881d53814969816b15e6b9bd9b955ac81eb44f494df"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionSchema.__init__ (cyclomatic 20): FunctionSchema.__init__ 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":"python/flink_agents/plan/tools/function_schema.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7d611e719af158c4dff18b4e71c6c1f34c3d014ef3a8e162c1f15062213986"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaRunnerContextImpl.resolveAsyncBatch (cyclomatic 19): JavaRunnerContextImpl.resolveAsyncBatch 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":"runtime/src/main/java/org/apache/flink/agents/runtime/context/JavaRunnerContextImpl.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3e3cd1a4419a39b26d480487e3df70377f1eda664b01da308392fd9d534aac"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionModelRoutingExecutor.renderInput (cyclomatic 19): DecisionModelRoutingExecutor.renderInput 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":"plan/src/main/java/org/apache/flink/agents/plan/routing/DecisionModelRoutingExecutor.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdf1df6ec0cf4e6bb5995eb6410df6e9582eb44b3363f304288e0b84bda0379"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiChatModelConnection.\u003Cinit\u003E (cyclomatic 19): GeminiChatModelConnection.\u003Cinit\u003E 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":"integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15d6d36e87b25f728fbbaa4bf5bddf8dfc6b56a76829c91633596412c7bd59a"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicChatModelConnection.buildRequest (cyclomatic 19): AnthropicChatModelConnection.buildRequest has cyclomatic complexity 19 (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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b413aa652f104524338f426b2defe81154bc4b53d144f1df244b165801ba10"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIEmbeddingModelConnection.embed_with_usage (cyclomatic 19): OpenAIEmbeddingModelConnection.embed_with_usage 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":"python/flink_agents/integrations/embedding_models/openai_embedding_model.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"761c54c82b2497a57dc284e552c8652e9728665106340d01c0032a17d1e7f770"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.check_type_match (cyclomatic 19): utils.check_type_match 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":"python/flink_agents/plan/utils.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"731a473bbc20c0df99307a32533321163f2961e8bf0f9b6491c02f6c04a12b7a"}},{"ruleId":"D1","level":"warning","message":{"text":"Work.commit (cyclomatic 18): Work.commit 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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20fa5aeb1df82f8d86b9335d9069ef2c01a745f6ef1e0ee4263461c3cc0b8fa"}},{"ruleId":"D1","level":"warning","message":{"text":"WatsonxChatModelConnection.chat (cyclomatic 18): WatsonxChatModelConnection.chat 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":"python/flink_agents/integrations/chat_models/watsonx/watsonx_chat_model.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1a7d08fef0f542975ed80f56b4b85b6fa4fcd947eea5878f89fbc51dacbb6d"}},{"ruleId":"D1","level":"warning","message":{"text":"_BatchAsyncExecutionResult.__await__ (cyclomatic 18): _BatchAsyncExecutionResult.__await__ 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":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"29226f5635693eb2570bcbf3fb09464b3827a5ebed0aa7e1a14a13d9c4200e1c"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryEventBuilder.buildLtmEvents (cyclomatic 17): MemoryEventBuilder.buildLtmEvents has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryEventBuilder.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ff5ce3407a964a36f7e359c8f5c166761d5e996ee6faa28529073205ac1811"}},{"ruleId":"D1","level":"warning","message":{"text":"BashValidator.walk (cyclomatic 17): BashValidator.walk 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":"plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e68de3ec6c50dae78bf281ec1473f03cdedab118b0bbae879ad0420d09bc3b"}},{"ruleId":"D1","level":"warning","message":{"text":"YamlLoader.buildAgents (cyclomatic 17): YamlLoader.buildAgents 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":"api/src/main/java/org/apache/flink/agents/api/yaml/YamlLoader.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"982edcdde43ebfc03320dacc75ea332679a04a623acf8859be88816a06f735a1"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_tree._normalize_event_record (cyclomatic 17): trace_tree._normalize_event_record has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/cli/trace_tree.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"949b5b04ff95f8883be09dfb5eaac4cec2add9d9c89034ec86d6acdca4adc595"}},{"ruleId":"D1","level":"warning","message":{"text":"function_schema._apply_defaults (cyclomatic 17): function_schema._apply_defaults 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":"python/flink_agents/plan/tools/function_schema.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd5670fa69ec07e87de244cedf2cecbee2ec1fc8677e24f5dfc47009f3cd7ce"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionExecutionOperator.processEvent (cyclomatic 16): ActionExecutionOperator.processEvent 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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"845a37066bb91d7b4ba1e6e2722b319537932068b2d79a322a2347f055b33688"}},{"ruleId":"D1","level":"warning","message":{"text":"ConditionEvaluator.normalizeValue (cyclomatic 16): ConditionEvaluator.normalizeValue 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":"runtime/src/main/java/org/apache/flink/agents/runtime/condition/ConditionEvaluator.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d343aba17a6cb0dc9aa505a7555fc78f1d7d4ef193c9937c3ae49991a12d743"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionJsonDeserializer.deserialize (cyclomatic 16): ActionJsonDeserializer.deserialize 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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bb675e7117ca411ce35b078dae490a8a58995f66a7f702557e78648c8cea22"}},{"ruleId":"D1","level":"warning","message":{"text":"BashTool.call (cyclomatic 16): BashTool.call 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":"plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashTool.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3c8af67fa3d11d6ba0555fd7b1cf5ad2db42c6c8348c11a19af9a5dc7a2182"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentPlan.validateDecisionModel (cyclomatic 16): AgentPlan.validateDecisionModel 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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"2575f9ff15858b277839ed09673bbe4194c4a26ad7f27f80ea6d26f67399a788"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentPlan.validateRoutingStrategies (cyclomatic 16): AgentPlan.validateRoutingStrategies 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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"b973328ff4952ff546329b8ea50971a2047d3bfae3f61a147cf3e6687c48378d"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenSearchVectorStore.addEmbedding (cyclomatic 16): OpenSearchVectorStore.addEmbedding 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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1596bff528b7041139ce6f301f54e01a166f4fbbf36977ed8703255c8f76e6"}},{"ruleId":"D1","level":"warning","message":{"text":"WatsonxChatModelConnection.buildPayload (cyclomatic 16): WatsonxChatModelConnection.buildPayload 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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa50e6741a92b416b675055c0c8700abe58a83cb9b14bc1df1026686f6b46946"}},{"ruleId":"D1","level":"warning","message":{"text":"WatsonxChatModelConnection.parseResponse (cyclomatic 16): WatsonxChatModelConnection.parseResponse 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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a7534d9a0f75ad977692aa6875465f6e952522843b5454812186858c611b42"}},{"ruleId":"D1","level":"warning","message":{"text":"ReActAgent.startAction (cyclomatic 16): ReActAgent.startAction 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":"api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99675b39b4f0cdfe74a531aee4d34b755c0a72b6acb1a2802a0e11e4a8d2c6d"}},{"ruleId":"D1","level":"warning","message":{"text":"DecisionJson.copy (cyclomatic 16): DecisionJson.copy 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":"api/src/main/java/org/apache/flink/agents/api/decision/DecisionJson.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"207d3f3afd9ef115dc68a4729f6ba5e68019232b719097b6f336cfbdb9469128"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceLogTarget.parseScope (cyclomatic 16): TraceLogTarget.parseScope 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":"api/src/main/java/org/apache/flink/agents/api/logger/TraceLogTarget.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed049cf2104fec901beef10ef900138b22a6ec45030fb1833f33d8c4fecec33c"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillUrlUtils.validate (cyclomatic 16): SkillUrlUtils.validate 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":"api/src/main/java/org/apache/flink/agents/api/skills/SkillUrlUtils.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"892421bf32b8074e0d50aba7e83731dd1394231cd2bd71614f08613e6470ad24"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolParameters.convertValue (cyclomatic 16): ToolParameters.convertValue 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":"api/src/main/java/org/apache/flink/agents/api/tools/ToolParameters.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"129220dc44d8a0dee094f765cf8cb401c0a721142aa1802c0db15e89dfbf342f"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.validate_skill_url (cyclomatic 16): skills.validate_skill_url 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":"python/flink_agents/api/skills.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc0e75e208236bb0f14f52787d41ee158c6f28287c30c241e8cf42cab8fba30"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPlan.extractResourceProvidersFromAgent (cognitive 88): AgentPlan.extractResourceProvidersFromAgent has cognitive complexity 88 (threshold 15). Drivers by points: if/else 31 (54 pts), loops 9 (21 pts), error handling 2 (6 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c751f70ec7dd48d429147d971de1fcdb41e3b6a2b10a2f696fccb048ad107f"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionSchema.typeSchema (cognitive 67): FunctionSchema.typeSchema has cognitive complexity 67 (threshold 15). Drivers by points: if/else 16 (26 pts), ternaries 7 (21 pts), boolean chains 16, loops 2 (4 pts) (nesting depth added 26). 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":"plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionSchema.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cf608f7b69b646ac44e9a6e8853375c3214b452b44590eceaf2076c5b9525f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatModelInvoker.chatWithRetries (cognitive 61): ChatModelInvoker.chatWithRetries has cognitive complexity 61 (threshold 15). Drivers by points: if/else 13 (35 pts), error handling 8 (17 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21680527e9eeb17b21d7c7e1826a91bf71e67bf50636895b968c2d137efbd61"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_plan._get_resource_providers (cognitive 52): agent_plan._get_resource_providers has cognitive complexity 52 (threshold 15). Drivers by points: if/else 10 (29 pts), ternaries 4 (11 pts), loops 8 (9 pts), boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/agent_plan.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac748c2e8ef03a176721e0ce5cb5b2bcd394706f02227791749f92a2168eca8b"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_tree.build_trace_forest (cognitive 50): trace_tree.build_trace_forest has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 6 (9 pts), boolean chains 4 (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":"python/flink_agents/cli/trace_tree.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a8e9de1309705766a940de826d7b9f3cbc2cc383b2f35fd8e81d7bf7dcd4be"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionExecutionOperator.processActionTask (cognitive 48): ActionExecutionOperator.processActionTask has cognitive complexity 48 (threshold 15). Drivers by points: if/else 18 (32 pts), error handling 3 (8 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"07760062cdd9775dc26cc34e1b4b8e6dbb2167563ab7f0536995596b4e76e1a3"}},{"ruleId":"D2","level":"warning","message":{"text":"Work.execute (cognitive 45): Work.execute has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (32 pts), error handling 4 (9 pts), boolean chains 3, ternaries 1 (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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"910bfe7e6aa35d495c1c8afb62ffe85d95a364ad2f6fe13ccd4303ec23e73424"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentTraceSpans.buildExecutionSpan (cognitive 44): AgentTraceSpans.buildExecutionSpan has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (34 pts), ternaries 4 (7 pts), boolean chains 3 (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":"integrations/observability/otel/src/main/java/org/apache/flink/agents/integrations/observability/otel/AgentTraceSpans.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc571ee7117027f97764f3f8b6e482b77f469964d189956ae5de81eaa86b7bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"chat_model_action._chat_with_retries (cognitive 36): chat_model_action._chat_with_retries has cognitive complexity 36 (threshold 15). Drivers by points: error handling 8 (16 pts), if/else 8 (15 pts), boolean chains 4, loops 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":"python/flink_agents/plan/actions/chat_model_action.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2ae0136634cfee48dfa0e065d4e6ff00ac959a1d3e129c4364ca425d4108a2"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseChatModelSetup.open (cognitive 34): BaseChatModelSetup.open has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 4 (6 pts), ternaries 3 (5 pts), boolean chains 2 (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":"python/flink_agents/api/chat_models/chat_model.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4b54f7d45e89bb36516ed731d35736b031a532ccbe6bf742269372cfa191c9"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionModelRoutingExecutor.renderInput (cognitive 33): DecisionModelRoutingExecutor.renderInput has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 5 (8 pts), boolean chains 4, ternaries 1 (2 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":"plan/src/main/java/org/apache/flink/agents/plan/routing/DecisionModelRoutingExecutor.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b280c2a3499cef894b5871d96654fdc88b2ff820cdd08ae775f7a271caf26f"}},{"ruleId":"D2","level":"warning","message":{"text":"ReActAgent.startAction (cognitive 32): ReActAgent.startAction has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 3 (9 pts), error handling 1 (3 pts), ternaries 2 (3 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":"api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"71def44620df679fbd4de97ec1b8da89b1051b8f30174c66a5d11df7a434609f"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionSchema.fieldSchema (cognitive 31): FunctionSchema.fieldSchema has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 7, ternaries 2 (4 pts), error handling 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":"plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionSchema.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0be84c6176ad5a12fc48ce1a1b8bacef9fa5a017b8836bf2cbdc052e9121c43"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionSchema.__init__ (cognitive 31): FunctionSchema.__init__ has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 4, loops 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/tools/function_schema.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b71d1076e93d34e8a167c4906b208094bae32c5f5d7e305a1ca4ed663f8a821"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionExecutionOperator.processEvent (cognitive 30): ActionExecutionOperator.processEvent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 2 (5 pts), boolean chains 3 (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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f0a508c497aab93ec7be7b0642e1b3990054367e3e94fe95bf63594a99a9ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatModelAction.chat (cognitive 30): ChatModelAction.chat has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (21 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (2 pts), loops 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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05f0a88202e1a19843336381efe0410287932e76ec1ab722ea367e0699fda4c"}},{"ruleId":"D2","level":"warning","message":{"text":"loader._build_in_file_state (cognitive 30): loader._build_in_file_state has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 10 (12 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":"python/flink_agents/api/yaml/loader.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6020d9b60501c66d7641a6f0eec210170ccbc09a90c62a52756256225a73e3a"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaRunnerContextImpl.resolveAsyncBatch (cognitive 28): JavaRunnerContextImpl.resolveAsyncBatch has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 8 (9 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":"runtime/src/main/java/org/apache/flink/agents/runtime/context/JavaRunnerContextImpl.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f6880f685b5f6defb8f2bc0c61c04ec99eaf279f0297fe0119d44e26b4d8ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ClasspathSkillMaterializer.findAllMatches (cognitive 28): ClasspathSkillMaterializer.findAllMatches has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (7 pts), error handling 2 (6 pts), ternaries 1 (2 pts) (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":"runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/ClasspathSkillMaterializer.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"57647a57f4b0674a7c463dca32813e4fc3888fc6666fd5356f2d5c92fd68aaa5"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.check_type_match (cognitive 28): utils.check_type_match has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 3, loops 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":"python/flink_agents/plan/utils.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"804445ed64c3c75932a158c434857e7665188cc025a9686f31f65f8061a131a5"}},{"ruleId":"D2","level":"warning","message":{"text":"_BatchAsyncExecutionResult.__await__ (cognitive 28): _BatchAsyncExecutionResult.__await__ has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (4 pts), ternaries 3, boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08c857002f880919fa83f249c9cecd4df8efa05fa38b8b5a5b39c917ae41d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"Work.commit (cognitive 27): Work.commit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (20 pts), error handling 2 (3 pts), loops 2 (3 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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"c401cd1c82060fff6a8959a239b95f867473c6a5905c1fb3f39a0370e27c6ea4"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_tree._prune_cycles (cognitive 27): trace_tree._prune_cycles has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 5 (7 pts), error handling 1 (3 pts) (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":"python/flink_agents/cli/trace_tree.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b98aebc5a996219509b0fdf9b727481825905a390f01262a8250beca10779a7"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIEmbeddingModelConnection.embed_with_usage (cognitive 27): OpenAIEmbeddingModelConnection.embed_with_usage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 6 (8 pts), boolean chains 2, loops 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":"python/flink_agents/integrations/embedding_models/openai_embedding_model.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa6f37db14df1e0d94010aaa24751d1a0dee80d7edaef3fc2981394a58914c9"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillMaterializer.downloadToTempFile (cognitive 26): SkillMaterializer.downloadToTempFile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/SkillMaterializer.java"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9cfdc21771969423186ceb5e07b59fc2a1ed172e864d286d8614691c6f641c"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallAction.buildToolCallExecutions (cognitive 26): ToolCallAction.buildToolCallExecutions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (7 pts), error handling 2 (5 pts), boolean chains 3, 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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ToolCallAction.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"606905e3c43f2f080ef2954c890174ea3a3178a8ae47fdb7b9c457b6552165dc"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicChatModelConnection.chat (cognitive 26): AnthropicChatModelConnection.chat has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (3 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":"python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"659c3c28f20c6b15a3f407be2ba743f14b01ea8b41b7a6b69ba0b58eae3feb01"}},{"ruleId":"D2","level":"warning","message":{"text":"function_schema._apply_defaults (cognitive 26): function_schema._apply_defaults has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (9 pts), boolean chains 3 (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":"python/flink_agents/plan/tools/function_schema.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb2ccbaeac1c59612b9b7eb3131d961d613a9e9a1fbfa4de44a75d54d9ec38c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenSearchVectorStore.addEmbedding (cognitive 25): OpenSearchVectorStore.addEmbedding has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 4 (5 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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6d0269461b86e620239f812deb740a280e882da052d5ddb8a571aac14a9ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"function._is_function_cacheable (cognitive 25): function._is_function_cacheable has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/function.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdea4fbb39add490010ea7db5deb0f368175ff517e3e37d926dd04c40b6afe7"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutingStrategy.validate (cognitive 24): RoutingStrategy.validate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 10, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/chat/model/routing/RoutingStrategy.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f4fa316817612a388a8e5dd1730120252b0adb75b8b62c64e56cb4e9407277"}},{"ruleId":"D2","level":"warning","message":{"text":"decision_model_utils.validate_result (cognitive 24): decision_model_utils.validate_result has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 5, 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":"python/flink_agents/integrations/decision_models/decision_model_utils.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa21212ab596a259618104d1e9ebf9d863282064af7389e2e789b89c6d3ebc2f"}},{"ruleId":"D2","level":"warning","message":{"text":"tool_call_action._build_tool_call_executions (cognitive 24): tool_call_action._build_tool_call_executions has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 pts), error handling 2 (5 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":"python/flink_agents/plan/actions/tool_call_action.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b7a2dc08cdfd72683755668c2b5531181674b8a70b2d0e9cb624ea86b255b8"}},{"ruleId":"D2","level":"warning","message":{"text":"KafkaActionStateStore.rebuildState (cognitive 23): KafkaActionStateStore.rebuildState has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (4 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateStore.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c6ef6c4e4387baf72a04b49774da8a24dd8b20b63660e5dd227812be062eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiChatModelConnection.\u003Cinit\u003E (cognitive 23): GeminiChatModelConnection.\u003Cinit\u003E has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 8 (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":"integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dfbe8733c153ac384a17ab1d259797a552d9a272f305d248c3943efd9d0de8"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionJson.copy (cognitive 23): DecisionJson.copy has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 2 (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":"api/src/main/java/org/apache/flink/agents/api/decision/DecisionJson.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8628b2b4142a4d66e060e87b1b4f14d82830c2c3eb5143c4b18fa97d3ce7c6f7"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlLoader.buildAgents (cognitive 23): YamlLoader.buildAgents has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 8 (9 pts), error handling 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":"api/src/main/java/org/apache/flink/agents/api/yaml/YamlLoader.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a40aedbc0fe47439f5578ccd71b96d4a4896012c49fd29b929ca9f4dba86963"}},{"ruleId":"D2","level":"warning","message":{"text":"YamlLoader.loadYaml (cognitive 23): YamlLoader.loadYaml has cognitive complexity 23 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 2 (9 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/yaml/YamlLoader.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea35636acce91821eee4711e6ffe506d1fc597daeec21660de6cc5edb879f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Mem0LongTermMemory.add (cognitive 23): Mem0LongTermMemory.add has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (7 pts), boolean chains 3, loops 2 (3 pts) (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":"python/flink_agents/runtime/memory/mem0/mem0_long_term_memory.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a32a26c214b14e08f002866afa79d2bf1a8b93e518b188ba4a25655409fb75"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceLogTargetResolver.\u003Cinit\u003E (cognitive 22): TraceLogTargetResolver.\u003Cinit\u003E has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 6 (9 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/TraceLogTargetResolver.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"be15baed2a6219caf5bf0e6a571abfb20a20456c3a0110507f287322e994ec10"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallAction.dispatchAgentExecutions (cognitive 22): ToolCallAction.dispatchAgentExecutions has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (14 pts), error handling 3 (6 pts), loops 2 (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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ToolCallAction.java"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e8219eceecf03d90885ef1c0ad372c22c835fbd22eaf1c875fb7965270b144"}},{"ruleId":"D2","level":"warning","message":{"text":"BashValidator.walk (cognitive 22): BashValidator.walk has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, 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":"plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8d3419d9558fdd3c67a8631ceea324f781abd88d252edc685ae36978295b61"}},{"ruleId":"D2","level":"warning","message":{"text":"InputSchemas.alignProperty (cognitive 22): InputSchemas.alignProperty has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (8 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":"api/src/main/java/org/apache/flink/agents/api/subagent/InputSchemas.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e3e42585204621f3de3406dfa06ad61104f95b7f57c99fdaf3d4c71d9d4671"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionExecutionOperator.tryResumeProcessActionTasks (cognitive 21): ActionExecutionOperator.tryResumeProcessActionTasks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (8 pts) (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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"a354c65116536c1a8e9e1f4226e334c1bd542812629d0833b7ff03ad71b82b05"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionJsonDeserializer.deserialize (cognitive 21): ActionJsonDeserializer.deserialize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 3 (5 pts), boolean chains 3, ternaries 1 (2 pts), 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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"983e2a8f749052846384c1217fa532f90051e0427ec0ec3ed5f6d7d4c587f929"}},{"ruleId":"D2","level":"warning","message":{"text":"BashTool.call (cognitive 21): BashTool.call has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 5 (6 pts), boolean chains 1, error handling 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":"plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashTool.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6b90ee782fceb09ad08834645e5a45e24d33577eaf845664cb360224bbd2f7"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPlan.__custom_deserialize (cognitive 21): AgentPlan.__custom_deserialize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (7 pts) (nesting depth added 15). 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":"python/flink_agents/plan/agent_plan.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2371b0d07ece71c8bb11bf80512dead69eeb2831f6a831226cbc0be65fde9ca1"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTruncator.collapseAtMaxDepth (cognitive 20): JsonTruncator.collapseAtMaxDepth has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 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":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/JsonTruncator.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c11639477dd40db4650bcc6a57d18437d7bd49e6ccb6dbe6a434246d04b64e"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallAction.executeParallel (cognitive 20): ToolCallAction.executeParallel has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (6 pts), error handling 2, ternaries 1 (2 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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ToolCallAction.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0e66bf0f4297cd88325b0e00d3c71cb29ac5feaf1b3c5fc1f475fa3bd2398f"}},{"ruleId":"D2","level":"warning","message":{"text":"WatsonxChatModelConnection.\u003Cinit\u003E (cognitive 20): WatsonxChatModelConnection.\u003Cinit\u003E has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 6, ternaries 4. 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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48829afc11e61269f1387a4b86ad59764078eedd25b5b033ca29fb9d475d540"}},{"ruleId":"D2","level":"warning","message":{"text":"watsonx_chat_model.convert_to_watsonx_messages (cognitive 20): watsonx_chat_model.convert_to_watsonx_messages has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts), ternaries 1 (2 pts) (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":"python/flink_agents/integrations/chat_models/watsonx/watsonx_chat_model.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de775e398e647b266e8d680f1012f9c9c75c34b9eb9ef788bdff326de5a0c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent_plan._get_actions (cognitive 20): agent_plan._get_actions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (5 pts), ternaries 2 (5 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":"python/flink_agents/plan/agent_plan.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4052d28ccbd03351a8de5ce0a699c25779fe3acbac919280c496add5b91e48"}},{"ruleId":"D2","level":"warning","message":{"text":"WatsonxChatModelConnection.parseResponse (cognitive 19): WatsonxChatModelConnection.parseResponse has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 5, if/else 4 (5 pts), loops 1 (2 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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"503ff46373f06e66d084fed0ae82b340320793c6918be4f3a12e0ef9450e0b1c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIResponsesUtils.convertResponse (cognitive 19): OpenAIResponsesUtils.convertResponse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), ternaries 1 (3 pts), 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesUtils.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"afde6d79ab89c41723f2e129904ed65f6620e719700016de904a200b4b1a2ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicChatModelConnection.buildRequest (cognitive 19): AnthropicChatModelConnection.buildRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, boolean chains 6, loops 1 (2 pts), ternaries 2 (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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd366b0d5791e8d550910245f85683ce2e34ca433c384c2cf199b3b144e12482"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceLogTarget.parseScope (cognitive 19): TraceLogTarget.parseScope has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/logger/TraceLogTarget.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9419408c28442e91588ca1a6e8243ffc131c66d687c4820900509cb9cd8166ae"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillUrlUtils.hasInvalidPort (cognitive 19): SkillUrlUtils.hasInvalidPort has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 1, 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":"api/src/main/java/org/apache/flink/agents/api/skills/SkillUrlUtils.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"134b74f9fea9b222c1103d3be7ca262d211d8c44392c606931aedfc7958f5266"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessage.validate_content (cognitive 19): ChatMessage.validate_content has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, loops 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":"python/flink_agents/api/chat_message.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c6f4d29842730a16bb2c17bf361f5bca982c359f528ab09d3834eda2d4e25c"}},{"ruleId":"D2","level":"warning","message":{"text":"WatsonxChatModelConnection.chat (cognitive 19): WatsonxChatModelConnection.chat has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/integrations/chat_models/watsonx/watsonx_chat_model.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3989ffc61d3ae732003876a373bb32bca10d16f7191f2c13b65595bb3a5d77ee"}},{"ruleId":"D2","level":"warning","message":{"text":"bash_validator._walk (cognitive 19): bash_validator._walk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 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":"python/flink_agents/plan/tools/bash/bash_validator.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5478f87c2c68aabfe40377b3d6bff1e691972c33edd30ba9fbd1e6e23360ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionEvaluator.normalizeValue (cognitive 18): ConditionEvaluator.normalizeValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 2 (4 pts), boolean chains 3 (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":"runtime/src/main/java/org/apache/flink/agents/runtime/condition/ConditionEvaluator.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"839e3edd055f83965ad5aa05660a10657b8272913d93891f7dcd6d1f00fa3b29"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryEventBuilder.buildLtmEvents (cognitive 18): MemoryEventBuilder.buildLtmEvents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryEventBuilder.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bdc128cbffedcdd93dd3dd7cf4b2a8f6d45f8181090cbf7024f51c15e02734"}},{"ruleId":"D2","level":"warning","message":{"text":"DecisionModelInvoker.decideWithRetries (cognitive 18): DecisionModelInvoker.decideWithRetries has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 2 (5 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/actions/DecisionModelInvoker.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a568824c0f0070bcb883829c81458743c7ca15d41f4d14a2888569d4719af399"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPlan.validateRoutingStrategies (cognitive 18): AgentPlan.validateRoutingStrategies has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, 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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd80a39e9480d97a6d750cff79992b36334fc157b857a0ccd3cb6f2ae1d7cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"WatsonxChatModelConnection.buildPayload (cognitive 18): WatsonxChatModelConnection.buildPayload has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, loops 1 (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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd258fcee169806561ea92a36a5077659c32a864dce373f04784dc3c282f23b"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiChatUtils.convertToContent (cognitive 18): GeminiChatUtils.convertToContent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1, ternaries 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":"integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatUtils.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a9e01d16003cf84da72b2bbd15166a631af5fe03278a6e73cbde33d5640c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReActAgent.start_action (cognitive 18): ReActAgent.start_action has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 2 (3 pts), boolean chains 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":"python/flink_agents/api/agents/react_agent.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f9b976280b4a8fdcd5c658d628131fb8459102f2ce069f90cb62911079d02f"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsExecutionEnvironment.get_execution_environment (cognitive 18): AgentsExecutionEnvironment.get_execution_environment has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 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":"python/flink_agents/api/execution_environment.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc19e64ce3a35f1f22aa316fb2423f39b083fd0a8956382a28cdc9ce70a38a0"}},{"ruleId":"D2","level":"warning","message":{"text":"FlinkRunnerContext._prepare_batch_execution (cognitive 18): FlinkRunnerContext._prepare_batch_execution has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (6 pts), 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":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"103297ab793e21a9c01ef31e42222a00ba43061d2b7c794ba5f73ca17d60e105"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncBatchExecutor.execute (cognitive 17): AsyncBatchExecutor.execute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 2, error handling 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":"runtime/src/main/java/org/apache/flink/agents/runtime/async/AsyncBatchExecutor.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86a4f4530c07762ebf60184fbcfe1e0c053330c39ea0ac1f161a1c71b5ae643"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionExpressionCompiler.classifyIdent (cognitive 17): ConditionExpressionCompiler.classifyIdent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/condition/ConditionExpressionCompiler.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6557f242b99d7f6e54435164f9e2f357545bef2d0a8ae6b980840bfc394a9f07"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonObjectScope.visit (cognitive 17): PythonObjectScope.visit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (6 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":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonObjectScope.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f3a037dd8fab1c33b28c08f344c32f031f275a896594fdc6d7a16e2f7496f6"}},{"ruleId":"D2","level":"warning","message":{"text":"RoutingInput.selectWithinBudget (cognitive 17): RoutingInput.selectWithinBudget has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/routing/RoutingInput.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81b9e040cb52a10eab725685397a419914af6ea32f2953b5488f6d247481844"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPlanJsonDeserializer.deserialize (cognitive 17): AgentPlanJsonDeserializer.deserialize has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (6 pts), boolean chains 5, if/else 4 (5 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/serializer/AgentPlanJsonDeserializer.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6d08665b105bad8427019ce7c54fa952bd5277314a837e5caf43a0458361ce"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPlan.validateDecisionModel (cognitive 17): AgentPlan.validateDecisionModel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"917732bb580ee3cd41e4035b197063f1a2216af72fa7aa01a384ae2f5d653b82"}},{"ruleId":"D2","level":"warning","message":{"text":"MilvusVectorStore.stringList (cognitive 17): MilvusVectorStore.stringList has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (5 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":"integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"174eb77a2c120481ba1f1ad44cb7627c5db0dbd94ca29ba255678d9f0daa488c"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchVectorStore.addEmbedding (cognitive 17): ElasticsearchVectorStore.addEmbedding has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, loops 2 (4 pts), ternaries 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":"integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb18b8ee9504ceb57cdd17e9dd29765b36054728a99daa51db29e6453d2da73"}},{"ruleId":"D2","level":"warning","message":{"text":"ElasticsearchVectorStore.\u003Cinit\u003E (cognitive 17): ElasticsearchVectorStore.\u003Cinit\u003E has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ded249c8d3970efb76c5e1bf254312c5c8b7b36d761a8888f7a403db6a87f8"}},{"ruleId":"D2","level":"warning","message":{"text":"WatsonxChatModelConnection.parseToolArguments (cognitive 17): WatsonxChatModelConnection.parseToolArguments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 1 (3 pts), loops 1 (2 pts), 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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14d3f35a33573d110614b93c0ae976a76178a85fd2a1db7f33f2275d2500377"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureOpenAIChatModelConnection.buildRequest (cognitive 17): AzureOpenAIChatModelConnection.buildRequest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c763100f8f2affc4d1cba44482f39afef3af2d35f9dfcee906568d1bf069481"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatMessage.validate (cognitive 17): ChatMessage.validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/chat/messages/ChatMessage.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0d2de13d5027b7dfefcd13a040f3f0b81d409d0628c98fdd0c5dfb54939874"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseChatModelSetup.prepareRequestMessages (cognitive 17): BaseChatModelSetup.prepareRequestMessages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 2 (5 pts), ternaries 1 (4 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":"api/src/main/java/org/apache/flink/agents/api/chat/model/BaseChatModelSetup.java"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"855527e10dc895a5f858a3e3e8e7d4498e96c5a15c6fc5ba2d27ea703ec7c164"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceRecord.\u003Cinit\u003E (cognitive 17): TraceRecord.\u003Cinit\u003E has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/trace/TraceRecord.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc34814b1c9a7c03a145cd92fcd4c7ce8f009fbedcda8037602e11d9856faf4"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_tree._normalize_event_record (cognitive 17): trace_tree._normalize_event_record has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/cli/trace_tree.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce7f3d8f1ab4132ceba768d4d8edaa3e63ee2c933761055620eb134046d8bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionTaskContextManager.createAndSetRunnerContext (cognitive 16): ActionTaskContextManager.createAndSetRunnerContext has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionTaskContextManager.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a406a3141235e9a4e5f78fb6042f91ca35be446ae0633a8183f8f8db3c1c2067"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadSkillTool.call (cognitive 16): LoadSkillTool.call has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (5 pts), ternaries 2 (5 pts), loops 1 (3 pts), error handling 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":"runtime/src/main/java/org/apache/flink/agents/runtime/skill/LoadSkillTool.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9555fb4cbc748b2fe3dcfa78340c964c32db984438ec3b913c6edfc39263c8ef"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTruncator.truncateObject (cognitive 16): JsonTruncator.truncateObject has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/JsonTruncator.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d924e72b950e72ea65c2175f9763ae56d9e6dfe25f5f80419bdd8a58b36006c5"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolResultUtils.requireJsonCompatible (cognitive 16): ToolResultUtils.requireJsonCompatible has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 5). 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":"plan/src/main/java/org/apache/flink/agents/plan/utils/ToolResultUtils.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0df577953605c4431fe356bb409dccf907a33f142252e24b7f22f2eebb701d3"}},{"ruleId":"D2","level":"warning","message":{"text":"WatsonxChatModelConnection.convertMessages (cognitive 16): WatsonxChatModelConnection.convertMessages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (3 pts), match/switch 1 (2 pts), 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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b9fca814268a5a71ddd945fef78a7cc8e272d7cabd324af3af2593dcee75c6"}},{"ruleId":"D2","level":"warning","message":{"text":"WatsonxChatModelConnection.doChat (cognitive 16): WatsonxChatModelConnection.doChat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, error handling 3 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9c17eadb89311bdcbf5442fc60b00dc52088790cdf90167a7c9c634eda1ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"ReActAgent.\u003Cinit\u003E (cognitive 16): ReActAgent.\u003Cinit\u003E has cognitive complexity 16 (threshold 15). Drivers by points: error handling 3 (7 pts), if/else 5 (6 pts), ternaries 1 (3 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":"api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf34c4b7e08f2ebbb2105cd51851dd21f87c106655876d383d51637ae18fdbd"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolResponseEvent.normalizeAttributes (cognitive 16): ToolResponseEvent.normalizeAttributes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 pts), 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":"api/src/main/java/org/apache/flink/agents/api/event/ToolResponseEvent.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee15f1e41264883e2ba1e5c4f2e56126d2f6e05f26a832240aa7f998612a60be"}},{"ruleId":"D2","level":"warning","message":{"text":"Event.validateAttributeSchema (cognitive 16): Event.validateAttributeSchema has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2, match/switch 1 (2 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":"api/src/main/java/org/apache/flink/agents/api/Event.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0d16dcecea32e0570c395a13426ee81a4dad83e550794a40da933d6ba33e58"}},{"ruleId":"D2","level":"warning","message":{"text":"loader.load_yaml (cognitive 16): loader.load_yaml has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 2 (5 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/api/yaml/loader.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"608a3fad117d9ce7d60754ffaf3e140ed4c55dcf3524a1004d81443d20492b1b"}},{"ruleId":"D2","level":"warning","message":{"text":"anthropic_chat_model.convert_to_anthropic_message (cognitive 16): anthropic_chat_model.convert_to_anthropic_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1, ternaries 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":"python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cebf2840dec34cf998175dc869b043f784981f993a87b7992605f7fb22e93c"}},{"ruleId":"D2","level":"warning","message":{"text":"DashScopeChatModelConnection.chat (cognitive 16): DashScopeChatModelConnection.chat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/integrations/chat_models/dashscope_chat_model.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bfeb2b49922a09ddfc530b98e47d720dc80cee4dfbb9b460a5eff7ebbbf019"}},{"ruleId":"D2","level":"warning","message":{"text":"openai_embedding_model._order_embeddings (cognitive 16): openai_embedding_model._order_embeddings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, error handling 1 (2 pts), 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":"python/flink_agents/integrations/embedding_models/openai_embedding_model.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf07a4090a0e5697d4e4320f0c9cadabf0fadbd0e635f4135f49e2b73e040e68"}},{"ruleId":"D2","level":"warning","message":{"text":"flink_runner_context._execute_sliding_window_batch (cognitive 16): flink_runner_context._execute_sliding_window_batch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82dc35bd54b571e0a22c0d501347850db87e22e78f42bbf125b2416d3b38649"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RunnerContextImpl: TooManyMethods \u2014 97 methods. The bar is 30 methods; this is 67 over it, 3.23\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":"runtime/src/main/java/org/apache/flink/agents/runtime/context/RunnerContextImpl.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"256fcbbd5ba042f292a9311b58cedd0c3db7947658ee4fd44e16f647c10ec159"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operator/ActionExecutionOperator.java: FileTooLong \u2014 1388 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 888 over it, 2.78\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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03411a65b894ea2c9ec0edb516d81d70d37bb0543941ab6503f7ca6628d27e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/flink_runner_context.py: FileTooLong \u2014 1355 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 855 over it, 2.71\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":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6c96a12a52346e4c5774277595c3e62ff05baa4eb4ed877039d5b367992df8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PgVectorVectorStore: ClassTooLong \u2014 1026 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 626 over it, 2.57\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":"integrations/vector-stores/pgvector/src/main/java/org/apache/flink/agents/integrations/vectorstores/pgvector/PgVectorVectorStore.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d08cdda2832224a0fa7ebf34ca46d691aa6a13d5f5393687e1b8552b147ccb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActionExecutionOperator: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.43\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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62e7dc7fd8073390f29f75a5cea357032e641308a8cf519d98052b303aba320"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pgvector/PgVectorVectorStore.java: FileTooLong \u2014 1057 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: PgVectorVectorStore (126-1719). The bar is 500 significant lines; this is 557 over it, 2.11\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":"integrations/vector-stores/pgvector/src/main/java/org/apache/flink/agents/integrations/vectorstores/pgvector/PgVectorVectorStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58865fb71f64656a0b695daf5ad26596362ab20fd34ca319dc6cba2bff11c5f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/RunnerContextImpl.java: FileTooLong \u2014 1055 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 555 over it, 2.11\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":"runtime/src/main/java/org/apache/flink/agents/runtime/context/RunnerContextImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3570bb1b7d7bf986f523921f203e8dcb48c682923ee2ca1006d80f20b74511"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PgVectorVectorStore: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\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":"integrations/vector-stores/pgvector/src/main/java/org/apache/flink/agents/integrations/vectorstores/pgvector/PgVectorVectorStore.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88e15ab07a2c519d21283db2c6065bceb4ec132790d21dd6cbf4df1c235b150"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FlinkRunnerContext: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4220e51f1f0706055ad3c4f34819ed534be2bf070be60b1adb45352178799ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentPlan: ClassTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 378 over it, 1.95\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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbc7c1f643f1fd6d7e1fc983518521b086b635ff9682abddc3941b063899f71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MilvusVectorStore: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\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":"integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e16acf358b88bcb3374e3c0f75ce2545b95db64886bbe1c822715ca48fe0572"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plan/AgentPlan.java: FileTooLong \u2014 850 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AgentPlan (96-1251). The bar is 500 significant lines; this is 350 over it, 1.70\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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10d022d4ce0ca6d64e79b6e56e70e8a48e62edb0db0ad072b4565fb8feec898"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentPlan: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"020843d4ee82310ff2ab7a488b6615f35aa8ff33382356e8c90636ec2cf08fbc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MilvusVectorStore: ClassTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 220 over it, 1.55\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":"integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe14c29d663ae6fc6a4702478a02f1140960ad70456a6e318ce879f1d0b62d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatModelInvoker.chatWithRetries: MethodTooLong \u2014 chatWithRetries runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9119c3df5560dacbcfa85fbaccde6187d8b88fbf25603784d0c5a3a1806381"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentPlan.extractResourceProvidersFromAgent: MethodTooLong \u2014 extractResourceProvidersFromAgent runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf20608e7f6e0329423fd08f90d3098fbd20cb2a8d64bf294e864d66e11337ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToolCallAction: ClassTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 188 over it, 1.47\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ToolCallAction.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b2d5aa4309ddd7b9d6725d76c9468296c40fecdbb649d2b444c03ae4ca9389"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KafkaActionStateCleanupCoordinator: ClassTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 164 over it, 1.41\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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupCoordinator.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cc9207678d3550cd0d842de01b4f5e94b9f83b3c392cd97d7e3fe5d9f2349f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WatsonxChatModelConnection: ClassTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 153 over it, 1.38\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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03e95e8bfdd654061ac6bd10dddb33201e32b783546ef90669540db8c0cd153"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TraceLogTarget: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"api/src/main/java/org/apache/flink/agents/api/logger/TraceLogTarget.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3651077fb3873f7e24ff8f6356316b018112b9b3150937ea59bcc1816c7e94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: milvus/MilvusVectorStore.java: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: MilvusVectorStore (125-1194). The bar is 500 significant lines; this is 160 over it, 1.32\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":"integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b448af956908e4ddd6021ca6063d0a169a917fa1add43615c6cc5c95204485f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actions/chat_model_action.py: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 152 over it, 1.30\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":"python/flink_agents/plan/actions/chat_model_action.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f29425bd1c2c4a4f38e06c828f59242546f80b9779bfed5a19506deb8b94d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentTraceSpans.buildExecutionSpan: MethodTooLong \u2014 buildExecutionSpan runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"integrations/observability/otel/src/main/java/org/apache/flink/agents/integrations/observability/otel/AgentTraceSpans.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b54eb5e35155706c3093674c79461c2b84c91763a4a5a20eda01114c96950c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KafkaActionStateStore: ClassTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 117 over it, 1.29\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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateStore.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28fc6bc7984ffb2cef1df6b402116661a027437841cde555c16797523c00082"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actions/ToolCallAction.java: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ToolCallAction (66-871). The bar is 500 significant lines; this is 131 over it, 1.26\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ToolCallAction.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a838b68b59689575262f1d16071b5c8ad1fca5a71f4905fd779d1302e6b43a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatModelAction: ClassTooLong \u2014 493 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 93 over it, 1.23\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a8420ae5577ed0f5b1550e0eabbb788f46c330c4e23a269539c403ab14239e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actionstate/KafkaActionStateCleanupCoordinator.java: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: KafkaActionStateCleanupCoordinator (82-803). 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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupCoordinator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08eb68e133737a7fffba9a1d0baa4ebbccfff332c77dd84d2ef6da91a95297fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: watsonx/WatsonxChatModelConnection.java: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: WatsonxChatModelConnection (66-884). The bar is 500 significant lines; this is 97 over it, 1.19\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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e1fe892ee91d53308b4ea9d3cf1c7ece200a94a9be3d6effeef8a9811b116a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actionstate/KafkaActionStateStore.java: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: KafkaActionStateStore (84-798). The bar is 500 significant lines; this is 74 over it, 1.15\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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1e6fe8a8f624482484aa8923024695039553952271a8b92985d00f20302368"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actions/tool_call_action.py: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 over it, 1.10\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":"python/flink_agents/plan/actions/tool_call_action.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"020e024062de1d06aaa986aeec8be6980e100b31382cbc40295c68e8386520ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatModelAction.chat: MethodTooLong \u2014 chat runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e46b7d1da569c6abe1ea45e4ff8a3f426f5e7b56cba3f03cee1f95a02cc269"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actions/ChatModelAction.java: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ChatModelAction (94-758). The bar is 500 significant lines; this is 30 over it, 1.06\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0030f8a2ade7232739c4ffeca0b698b12761f516676acb4ea9d1ffed85a1da0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolCallAction.buildToolCallExecutions: MethodTooLong \u2014 buildToolCallExecutions 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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ToolCallAction.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"da33e5297a39a9f2653a0dc89a20caa310325164f533475ce21550610ce75da7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mem0/mem0_long_term_memory.py: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 over it, 1.01\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":"python/flink_agents/runtime/memory/mem0/mem0_long_term_memory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e840f3275c7894be961a2b288b33d54479043ab876f622910378cb9b78cab2da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java:198-214 | integrations/vector-stores/s3vectors/src/main/java/org/apache/flink/agents/integrations/vectorstores/s3vectors/S3VectorsVectorStore.java:131-147 \u2014 These two members are one piece of code written twice and then edited apart: 17 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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d362e1f8bcdd9ac843ccc2a216c9783f927cb4e29e978ac06d98a80d10d2be"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:161-176 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java:134-149 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:186-215 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:182-211 \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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8252f63fb0d403276d2d04f72ae57919971a1bae16429a6c71b23964408fc0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java:440-459 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:506-523 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:384-402 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesUtils.java:375-392 \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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e8f527177a7682fd8b76f1c16c1ab5b6d6d7c9cf7bf4620d3af1a166db8819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:93-122 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java:87-116 \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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cffec17ffd449c82e415ef2b4f3c6255d3687582dba860a7fdfd7e8687eb2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java:137-162 | api/src/main/java/org/apache/flink/agents/api/subagent/InputSchemas.java:75-101 \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 \u0060api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java:137\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":"api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4081bdbdb02d412710176a6ffb43dba9f4a1e8d64280c66b2181cc58e287b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:189-214 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:185-210 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:189\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 \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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"605648fe1de7167bb182884a9cb2f7b286700506d847afa492ac1ae81e7dfd69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:124-145 | plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java:103-124 \u2014 before extracting anything, compare \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java\u0060 and \u0060plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:124\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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"398247f0174f54183d618d1eec1ab7bf81a7474efe60ce090ef17237ad96568f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java:129-150 | runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java:111-131 \u2014 before extracting anything, compare \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java\u0060 and \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java:133\u0060 calls \u0060ensureLog4j2AppenderConfigured\u0060 and \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java:151\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":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b22c4ef455e32b2df78db10c90b4162f25b5f41d1a00081a6db3315d0d23d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java:1230-1250 | plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionTool.java:248-268 \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. Note first that the copies are not typed on the same thing: \u0060Tool\u0060 names \u0060org.apache.flink.agents.api.annotation.Tool\u0060 in one and \u0060org.apache.flink.agents.api.tools.Tool\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"af933c41ec966cffadca39bce88e0614198253f712f5a39c5b103b9c29f97a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java:103-123 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java:108-128 \u2014 before extracting anything, compare \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java\u0060 and \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java:103\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":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"870f2c38d14e139028d7809121c40d67897f56d5878e638d1eadab9dbee30a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java:185-205 | runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java:153-172 \u2014 before extracting anything, compare \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java\u0060 and \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java:183\u0060 calls \u0060IllegalStateException\u0060 and \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java:152\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":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa787f353bafd0cc256ca8ca817f5f26e56ae47dc942ebe75bd8b41eaf7385ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/function/JavaFunctionUtils.java:50-69 | runtime/src/main/java/org/apache/flink/agents/runtime/python/utils/JavaResourceAdapter.java:286-305 \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 \u0060api/src/main/java/org/apache/flink/agents/api/function/JavaFunctionUtils.java:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/main/java/org/apache/flink/agents/api/function/JavaFunctionUtils.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54a8d78763c2541b8a21b8cc1023d386925071a0ed4677a1263750028c00582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:151-167 | integrations/embedding-models/openai/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/openai/OpenAIEmbeddingModelConnection.java:209-225 \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 \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:151\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:150\u0060 calls \u0060getArgument\u0060 and \u0060integrations/embedding-models/openai/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/openai/OpenAIEmbeddingModelConnection.java:208\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f134050a9ab77687e8b96492e2f3ddc4d1c240e977739bd5aa2c1fac4f9a4a3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/context/RunnerContextImpl.java:1036-1052 | runtime/src/main/java/org/apache/flink/agents/runtime/context/RunnerContextImpl.java:1406-1422 \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":"runtime/src/main/java/org/apache/flink/agents/runtime/context/RunnerContextImpl.java"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6e7c417663e108cee40b36de945f1f4637df6a266aef9c414e3a99a4a05837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:1021-1037 | runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:1990-2006 \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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:1021\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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b38091120a684aeb5db4f91df94840b5b199746635ebb735ab9ec71b7611e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:507-520 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:385-399 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:507\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36b752f69784ef9b5576ff218d243d6f3df7314e51cf1dbcd52a42f266578bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:519-533 | integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:723-737 \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":"integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"321e5d4bd77e633a68f77fe8535ac1fa20ca85704fe1f85be9a00552b597ae46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:856-869 | runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:891-903 | runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:1125-1137 \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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:856\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad42cacab404d1b81ff9337b5b07637c6325eb0b2550a0297861d91f8087c874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:241-253 | plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:416-429 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:241\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac8f64c9d51ccda77210a3e3ebc1a2ebe6579d8d4e04aaf676542ac3888e575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:260-273 | plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:431-442 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:431\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4579ea0f0440602415131caaf4cbff50896c105978c9e9197495d610a34327ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:1006-1019 | runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:1975-1988 \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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java:1006\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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"7899a7d6369d295ea9070ae248889655b08b8dd3bccf024deb1f829d0612ab5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:100-112 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:90-102 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:100\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7c09e315a4e49e53696ede8329e5f046d3a2a1276e289731609d9ec06e13d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java:202-214 | integrations/vector-stores/s3vectors/src/main/java/org/apache/flink/agents/integrations/vectorstores/s3vectors/S3VectorsVectorStore.java:135-147 \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 \u0060integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java:202\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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cb6117d8e50f7200a4e371cda798d88b8caf0b54179836b0c4f7a7fe5233b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:281-301 | plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:454-466 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:281\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"79137189ab031a472dbed7e5c6abf9e520b9a15bf4c4f6c01e19915dcab6a751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonSerializer.java:132-144 | plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonSerializer.java:78-90 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonSerializer.java:132\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonSerializer.java:131\u0060 calls \u0060writeFieldName\u0060 and \u0060plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonSerializer.java:77\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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonSerializer.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea511829d67261a1f818128c803dae86e70da6918b7e5cba1f68fc8db26dfe9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java:154-166 | runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java:137-149 \u2014 before extracting anything, compare \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java\u0060 and \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java:133\u0060 calls \u0060ensureLog4j2AppenderConfigured\u0060 and \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java:150\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":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"194835e5071aa18441284f3d3d304d57c3c8383bb165a420e38fc1f126c7a869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:164-175 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java:137-148 \u2014 before extracting anything, compare \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java\u0060 and \u0060integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:164\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 \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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98cf94ab7300925e8240e8b587a8b1081761db62d81a7bd7ff8c1b8a6172b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:482-493 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:356-367 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:482\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 after the matched lines, \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:370\u0060 calls \u0060strict\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:495\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6e05f61e1d2aff3d976548a8b4ea3c2abaf0ec3bc4561bb0cf5fd4afc70e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java:72-83 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java:94-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3870d347c3f0a1a8b3287ee3d4770d60c2702751efbd742f585436b02e2eefb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java:77-88 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java:99-109 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java:77\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":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eccb8d6049352bfb3c7c0ebb2b3740d758d0858b16915eaa90e2ede5f03e9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java:101-112 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java:155-166 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java:101\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":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0682d4407dd038487df1e4159bea0e826a06607c5e2913eab13be99e1c60fee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/JsonTruncator.java:112-123 | runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/JsonTruncator.java:183-194 \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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/JsonTruncator.java: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":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/JsonTruncator.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3c4b529c45535c8eaadeb306cbe6275bf610b847d69673817016cf532a64c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java:448-459 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:513-523 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:392-402 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesUtils.java:382-392 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java:448\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. Note first that the copies are not typed on the same thing: \u0060JsonValue\u0060 names \u0060com.anthropic.core.JsonValue\u0060 in one and \u0060com.openai.core.JsonValue\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"90882fa1c596233afcc8c881e9595201497fe7a9c99c8a10bd4f79a6d41e6f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java:462-472 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesUtils.java:333-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. 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. Note first that the copies are not typed on the same thing: \u0060JsonValue\u0060 names \u0060com.anthropic.core.JsonValue\u0060 in one and \u0060com.openai.core.JsonValue\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e627fc76b5495036a886c52a7a08811e11935b152728fd695b8bb17d57c3aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:378-388 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:271-281 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:378\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0a4a1590edc25d4b5fc62d3f7405876616d13a22534488cc6d83978b851736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:429-439 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:317-327 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e869507ea983afcda071da9af24feb627b4463c9a892ba0881e3229bfda12449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:526-536 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:405-415 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8d91329f8a19a3b744af2f63bacede4b6d481f294ff2852d12311479bc77e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:170-180 | integrations/embedding-models/openai/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/openai/OpenAIEmbeddingModelConnection.java:232-242 \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 \u0060integrations/embedding-models/openai/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/openai/OpenAIEmbeddingModelConnection.java:232\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060raw\u0060 to \u0060Number\u0060 in one and \u0060Object\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f58e95f9b16b6ea7b33fd4fb1eab701140a3a418c91d3ec4d12e3b35306bcd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:93-102 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:77-86 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:77-86 \u2014 before extracting anything, compare \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f223cc286c2d5c7bc7ba85d82b56cb04698308c73cbca0e98872e65a68ce8854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelSetup.java:80-89 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:82-91 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:82-91 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelSetup.java: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:93\u0060 calls \u0060getArgument\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:93\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelSetup.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e794660e24887707ef2b439aa62f0ca3cfecffca79d4b6e279600fdca550b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/AgentsExecutionEnvironment.java:225-234 | api/src/main/java/org/apache/flink/agents/api/agents/Agent.java:154-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/src/main/java/org/apache/flink/agents/api/AgentsExecutionEnvironment.java:225\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":"api/src/main/java/org/apache/flink/agents/api/AgentsExecutionEnvironment.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b687e182be556c772a3b3e0e6a4742f848c2a7c2d0ff062035bc24b71c7161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/chat/messages/MediaFieldDeserializers.java:49-58 | api/src/main/java/org/apache/flink/agents/api/chat/messages/TokenUsage.java:135-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":"api/src/main/java/org/apache/flink/agents/api/chat/messages/MediaFieldDeserializers.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30dcef6af41402286c9b217c24dc09586dd66a9722fbbe3f762fe4457790f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java:86-95 | api/src/main/java/org/apache/flink/agents/api/event/DecisionResponseEvent.java:80-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 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":"api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b43e1241b157c3e4405dcc60152dd30e317662f183946789bf263e96d1cb5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:117-126 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:109-118 \u2014 before extracting anything, compare \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:117\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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ab4ad289f889bec743436aa5be0a6534fe2592dd3a6a10c25c84fe832d037a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java:94-103 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java:121-130 \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":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddc3d9e1571b0cce5e4afef2e43c0792c1aface9c2b637092670adaced4e630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:56-65 | plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java:56-65 \u2014 before extracting anything, compare \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java\u0060 and \u0060plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b3846f4198b251335ee1ac24c9f85e1cb48df44f82aa45d8465f62c8c041db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupCoordinator.java:441-450 | runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupPlan.java:139-147 \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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupCoordinator.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"f730b9d2d4665a1acdc8c099f0debfc9eb2bed4af943a83bf3f90aae0f566b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:92-99 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java:75-82 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:76-83 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:75-83 \u2014 before extracting anything, compare \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java\u0060 and \u0060integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba336dd4e70d557588d2038f332c9a1f2671728be0a39a3f8c9ae17d7f0e67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:168-176 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java:141-149 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:207-215 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:203-211 \u2014 before extracting anything, compare \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java\u0060 and \u0060integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java:168\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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b561289430bada25afbb9b4f1ff55900f9937582ed9b64aad97d603fe9e0aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonChatModelConnection.java:83-90 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonChatModelSetup.java:79-87 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonChatModelConnection.java:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonChatModelConnection.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd2322681ab0942d1926ce64fe8fecf0c3b4d1233e513b1ec1088c7fe70cd0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java:82-90 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java:87-95 \u2014 before extracting anything, compare \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java\u0060 and \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java:82\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":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3444d6ee2b886db0f8cb1155d1fe3f28d45527250d8142bbcf417a7123e3a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelSetup.java:76-83 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java:153-160 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java:147-154 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelSetup.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1653f027e0c39a912327d25c9b622d9b05594a575e2a571dcbab4aa734ebe98c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:405-412 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:295-302 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:405\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f674a6bf60408bcacd87e108f23ba2a989e98487c10529b23471c5e09c215d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java:302-309 | integrations/vector-stores/pgvector/src/main/java/org/apache/flink/agents/integrations/vectorstores/pgvector/PgVectorVectorStore.java:373-380 \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 before the matched lines, \u0060integrations/vector-stores/pgvector/src/main/java/org/apache/flink/agents/integrations/vectorstores/pgvector/PgVectorVectorStore.java:371\u0060 calls \u0060put\u0060 and \u0060integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java:300\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":"integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b37fc9eb607c8bd83c880661c651965996260fc9455d0dd81d3496c8253595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java:221-228 | runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java:191-198 \u2014 before extracting anything, compare \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java\u0060 and \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java:221\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":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c7d1b2a3dfd18b4c00c3329452cacaf871863fdef6c8ef478060a3e33647b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java:106-112 | api/src/main/java/org/apache/flink/agents/api/event/DecisionResponseEvent.java:100-106 \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 \u0060api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java:106\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":"api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac43e4aba9a35ac37b5496eb5c048252934cf896fb783e47524553dc8096feca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:181-187 | plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:201-207 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java:181\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83f0c97ac22be20d6a85279323721d8f5bd27088407857adb2549cf5ba4c496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryObjectImpl.java:101-107 | runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryObjectImpl.java:142-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryObjectImpl.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14a7b5694988a33d8fe11c5e4be61ef4fb31f733ec8f8221fb9b7eea5e12a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/SkillMaterializer.java:159-165 | runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/SkillMaterializer.java:259-265 \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 \u0060runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/SkillMaterializer.java:159\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":"runtime/src/main/java/org/apache/flink/agents/runtime/skill/repository/SkillMaterializer.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"793bfe3652d1cb98e7aa2c4054deede58807a4276ffbdf1e0ebe37d1a4d9839f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/chat/messages/UnsupportedContentBlockException.java:62-67 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:369-374 \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 \u0060api/src/main/java/org/apache/flink/agents/api/chat/messages/UnsupportedContentBlockException.java:62\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":"api/src/main/java/org/apache/flink/agents/api/chat/messages/UnsupportedContentBlockException.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"974e602daa873e29a70d39f33836e0ee8723b178de87f584cfba0b6b8ff5150e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/tools/FunctionTool.java:65-70 | plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionTool.java:272-277 \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":"api/src/main/java/org/apache/flink/agents/api/tools/FunctionTool.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"463058f68fd04ab8e41fe129f65acfae979ef51fd27c753bd6f1078ce14ec8c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:683-690 | integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java:657-662 \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 \u0060integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:683\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, \u0060integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java:654\u0060 calls \u0060resolveCollection\u0060 and \u0060integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java:679\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":"integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd511dfbdfd80e557438165fdd764fbf38f90485fba23d6aa4fd0ab4dfd025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java:345-349 | integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatUtils.java:273-277 \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 \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java:345\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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a01432c23bd670b1086df66ad964326cb4004e4879902475eb913b4059b6839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java:174-178 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java:187-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonVectorStore.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05fc624319fa01ad4785befbde8ccf4545dfebf630535a54bd9680118835120"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/logger/TraceLogLevel.java:1-65 | api/src/main/java/org/apache/flink/agents/api/logger/TraceLogScope.java:1-49 \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 \u0060api/src/main/java/org/apache/flink/agents/api/logger/TraceLogLevel.java:1\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":"api/src/main/java/org/apache/flink/agents/api/logger/TraceLogLevel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a826fed158b527ff831b9b3e58e840dfd6836e8e45fcfe5cdfcfbf0d9ce801a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/chat/messages/ChatMessage.java:124-129 | api/src/main/java/org/apache/flink/agents/api/chat/messages/ToolResultBlock.java:93-98 \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":"api/src/main/java/org/apache/flink/agents/api/chat/messages/ChatMessage.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f011bead1a4dea59fbb367983cb5ec901624ca84df40730c4f4e5af941714e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java:223-229 | api/src/main/java/org/apache/flink/agents/api/event/DecisionResponseEvent.java:187-193 \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 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":"api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77a3da3a6a51202c5a83a64e3453168f12dc0f04def5d1cd675aea7cc7bb41c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): api/src/main/java/org/apache/flink/agents/api/event/ContextRetrievalResponseEvent.java:108-114 | api/src/main/java/org/apache/flink/agents/api/event/ModelRoutingEvent.java:148-154 | api/src/main/java/org/apache/flink/agents/api/event/ToolResponseEvent.java:120-126 \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. 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":"api/src/main/java/org/apache/flink/agents/api/event/ContextRetrievalResponseEvent.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"322de16db81346ae04eda7b6ce5b89ae7278ad1012503335bc5c645e104e6a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): api/src/main/java/org/apache/flink/agents/api/function/JavaFunction.java:73-78 | api/src/main/java/org/apache/flink/agents/api/function/PythonFunction.java:57-62 \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 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":"api/src/main/java/org/apache/flink/agents/api/function/JavaFunction.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8464984f40aaf9e154161dcfc1607b50c34805bd2b3bedb23c097012225f43c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:155-162 | integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelConnection.java:190-197 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java:194-201 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java:210-217 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:164-171 \u2014 before extracting anything, compare \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java\u0060 and \u0060integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:155\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 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 first that the copies are not typed on the same thing: \u0060Tool\u0060 names \u0060com.anthropic.models.messages.Tool\u0060 in one and \u0060org.apache.flink.agents.api.tools.Tool\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbb6cc9c73a1ecc8d9402642e5274ce473c9710e09940e4d984e297a04e1649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java:193-200 | integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java:244-251 \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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ac2e081bbff0871c40cf9774ad716b0252ebc0d0e2b25b060e382086f2b37b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelConnection.java:240-246 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java:198-204 \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":"integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelConnection.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a4ddbd07953a7be4765e9db11ce415fd1cca051a10e1be77f5aaaa9ed017c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelConnection.java:440-447 | integrations/embedding-models/bedrock/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/bedrock/BedrockEmbeddingModelConnection.java:189-196 \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":"integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelConnection.java"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21bb4d0bbb4f2f38bceab4afcdd41349639fdeea50fe03607b58fab323ffdd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPTool.java:139-145 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonMCPTool.java:117-123 \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":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPTool.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d81f08421aed687a99f0eefc3ee9fa67c67522d01e1a54714c747c35fdac25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/resourceprovider/JavaResourceProvider.java:32-38 | plan/src/main/java/org/apache/flink/agents/plan/resourceprovider/PythonResourceProvider.java:66-73 \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":"plan/src/main/java/org/apache/flink/agents/plan/resourceprovider/JavaResourceProvider.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d968e04ad50fb6edf1cd58be1f2130348f436a38ea2f2feb3f37edd43a8af68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/routing/DecisionModelRoutingExecutor.java:412-419 | plan/src/main/java/org/apache/flink/agents/plan/routing/RuleBasedRoutingExecutor.java:83-90 \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 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":"plan/src/main/java/org/apache/flink/agents/plan/routing/DecisionModelRoutingExecutor.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0f3076038dbd1d54ff76a7219376b85bcddbb3e87da5c6939e46ccf679990f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:114-118 | plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java:93-97 \u2014 before extracting anything, compare \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java\u0060 and \u0060plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0048552ad7ce2bd999cac8f1bdde99c36d21fe0f177358f31cf2663ab568f4e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupCoordinator.java:317-321 | runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupPlan.java:254-258 \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 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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupCoordinator.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec32cd95bc0ccb258ecf95e308fc3f54fe124741bda8c0c918b016ccd943fb2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): runtime/src/main/java/org/apache/flink/agents/runtime/subagent/DeferredSubagentFuture.java:95-103 | runtime/src/main/java/org/apache/flink/agents/runtime/subagent/InternalSubagentFuture.java:127-135 \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":"runtime/src/main/java/org/apache/flink/agents/runtime/subagent/DeferredSubagentFuture.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce205e26c563c8fce7de085584adabe1d9e3a62fa02f6ad0e85c512b381d8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): api/src/main/java/org/apache/flink/agents/api/chat/messages/Base64Source.java:39-44 | api/src/main/java/org/apache/flink/agents/api/chat/messages/UrlSource.java:44-49 | api/src/main/java/org/apache/flink/agents/api/chat/model/routing/RoutingDecision.java:154-160 \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 \u0060api/src/main/java/org/apache/flink/agents/api/chat/messages/Base64Source.java:39\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":"api/src/main/java/org/apache/flink/agents/api/chat/messages/Base64Source.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b100d203227ad627aab10a5027c9e841f81da299351b7c152bd668e48ea12036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java:458-467 | integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesUtils.java:321-330 \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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c901a89cac150856731bc1070a9cf187cb3696077142d195ba23bc8bdc89ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java:126-135 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java:139-148 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java:131-140 | plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java:144-153 \u2014 before extracting anything, compare \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java\u0060 and \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelSetup.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java:139\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 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":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonEmbeddingModelConnection.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f03f1f031552d502ba513ee671e62be4ae3e03a34b0885aceefae4cbc24c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java:307-311 | integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java:333-337 \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 \u0060integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java:307\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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30654f8845c2f20eed70fbdd376e2900117d1b9b2e4ba820eb8dea6072d8473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java:152-156 | plan/src/main/java/org/apache/flink/agents/plan/serializer/AgentPlanJsonDeserializer.java:82-86 \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 \u0060plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7493a3803c06d80bfc2639e7eb72a18547ca0deb08d5566a49249446f6ab3bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): python/flink_agents/runtime/flink_runner_context.py:272-292 | python/flink_agents/runtime/flink_runner_context.py:335-355 \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 \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":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ce7a175350556d1e53f396fd82301fa81310e7c352dfa5de024dd05d5e28a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): python/flink_agents/api/events/chat_event.py:283-290 | python/flink_agents/api/events/decision_event.py:259-266 \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 \u0060python/flink_agents/api/events/chat_event.py:283\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":"python/flink_agents/api/events/chat_event.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ea4ff24a8a6cd804cb3a40f1106d34f0cca9a6344686c07b509ee2f7aa26f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py:465-478 | python/flink_agents/integrations/chat_models/openai/openai_chat_model.py:227-240 \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":"python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ae441f24ebef27b020ccf1b14a5da05a2b96613eb47ab9bdc1ed3d432c1d6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py:787-795 | python/flink_agents/integrations/chat_models/azure/azure_openai_chat_model.py:180-188 \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":"python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"339ee1c0871a5a3a4e9a77035862a08592094d86f8963ffacc30355b3f9e829e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): python/flink_agents/integrations/chat_models/azure/azure_openai_chat_model.py:213-227 | python/flink_agents/integrations/chat_models/dashscope_chat_model.py:172-186 \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":"python/flink_agents/integrations/chat_models/azure/azure_openai_chat_model.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2b905faabf0cf3839bfd322a3a50660a4cbe3c7c9cb141e0c5bb1e8f113b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): python/flink_agents/integrations/chat_models/dashscope_chat_model.py:150-163 | python/flink_agents/integrations/embedding_models/dashscope_embedding_model.py:77-90 \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":"python/flink_agents/integrations/chat_models/dashscope_chat_model.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945fabb94f314434fda3fa50bdb2932d1c4da7dcfd5937763faae1755c1183c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): python/flink_agents/integrations/chat_models/dashscope_chat_model.py:472-482 | python/flink_agents/integrations/chat_models/watsonx/watsonx_chat_model.py:615-625 | python/flink_agents/integrations/embedding_models/dashscope_embedding_model.py:194-204 | python/flink_agents/integrations/embedding_models/local/ollama_embedding_model.py:147-157 \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":"python/flink_agents/integrations/chat_models/dashscope_chat_model.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"18558c8f35fd9a18535188cc1bad6814dcef063ee439ba2dfbaa1dccd6d8be93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): python/flink_agents/plan/resource/java/java_chat_model.py:143-156 | python/flink_agents/plan/resource/java/java_embedding_model.py:124-137 \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":"python/flink_agents/plan/resource/java/java_chat_model.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7690bd90e331ae2fbbbf9d6678dd80e2f702b20ea8d609ba8633e5a76afad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): python/flink_agents/runtime/deferred_subagent.py:69-78 | python/flink_agents/runtime/internal_subagent.py:138-145 \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 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":"python/flink_agents/runtime/deferred_subagent.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"76184e8a2517d100d13e52026c570ab853df6ac9809f205c7419310d229e2c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): python/flink_agents/runtime/deferred_subagent.py:117-123 | python/flink_agents/runtime/internal_subagent.py:189-195 \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 \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":"python/flink_agents/runtime/deferred_subagent.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e91ec4684317fc9246fca329393303ce9d01a955f00108443d1bce1d3b9bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): python/flink_agents/api/events/chat_event.py:71-83 | python/flink_agents/api/events/context_retrieval_event.py:160-171 \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":"python/flink_agents/api/events/chat_event.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"437a2bd54e3ce24d0bf842db3d0e67ef41a7b2b1a484df6df02f973aecffbed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): python/flink_agents/plan/tools/bash/bash_tool.py:78-89 | python/flink_agents/runtime/skill/skill_tools.py:71-82 \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":"python/flink_agents/plan/tools/bash/bash_tool.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"038ee2d565372d89b53acca13afbeb63f85c6a0a4d0f1ecac2ed25fceec5a5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/openai/OpenAiDecisionRoutingExample.java:67-93 | examples/src/main/java/org/apache/flink/agents/examples/openai/OpenAiModelRoutingExample.java:59-86 \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 \u0060examples/src/main/java/org/apache/flink/agents/examples/openai/OpenAiDecisionRoutingExample.java:67\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/src/main/java/org/apache/flink/agents/examples/openai/OpenAiDecisionRoutingExample.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0441fe55fa56753ca42d9d9c2284ee2f9018ad501fe9bf804d11928b5fbfa092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java:108-134 | examples/src/main/java/org/apache/flink/agents/examples/agents/TableReviewAnalysisAgent.java:134-160 \u2014 before extracting anything, compare \u0060examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java\u0060 and \u0060examples/src/main/java/org/apache/flink/agents/examples/agents/TableReviewAnalysisAgent.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ef5e9a9ef540873d14ff11032512ca2c718d866493e2b56f8469f6d36ecf4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201323 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java:57-79 | examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingJudgeExample.java:57-74 \u2014 before extracting anything, compare \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java\u0060 and \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingJudgeExample.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java: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 after the matched lines, \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingJudgeExample.java:74\u0060 calls \u0060addResource\u0060, \u0060ollamaModel\u0060 and \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java:79\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/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9e2dde7612effadcae8a600c2f8f2963556866c2e507d7bc5642dc08548f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java:87-104 | examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingJudgeExample.java:89-106 | examples/src/main/java/org/apache/flink/agents/examples/openai/OpenAiModelRoutingExample.java:93-109 \u2014 before extracting anything, compare \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java\u0060 and \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingJudgeExample.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java:87\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 before the matched lines, \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java:86\u0060 calls \u0060fallback\u0060 and \u0060examples/src/main/java/org/apache/flink/agents/examples/openai/OpenAiModelRoutingExample.java:92\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/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c903a5227e6dd3e72549b243e13110ac417802d577c4876f607d0a5632941d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/WorkflowSingleAgentExample.java:76-91 | examples/src/main/java/org/apache/flink/agents/examples/YamlWorkflowAgentExample.java:75-91 \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":"examples/src/main/java/org/apache/flink/agents/examples/WorkflowSingleAgentExample.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a3f4292c430c9b7e3eea01cdce58f9c4157d4be14fc4df45afab1096657cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java:65-72 | examples/src/main/java/org/apache/flink/agents/examples/agents/TableReviewAnalysisAgent.java:82-89 \u2014 before extracting anything, compare \u0060examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java\u0060 and \u0060examples/src/main/java/org/apache/flink/agents/examples/agents/TableReviewAnalysisAgent.java\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"examples/src/main/java/org/apache/flink/agents/examples/agents/ReviewAnalysisAgent.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c1493b54de2e82c338f2b5fed5a151e453ede69cac95876570835f9fc43a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java:48-53 | examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingJudgeExample.java:48-53 \u2014 before extracting anything, compare \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java\u0060 and \u0060examples/src/main/java/org/apache/flink/agents/examples/ModelRoutingJudgeExample.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/src/main/java/org/apache/flink/agents/examples/ModelRoutingExample.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e498db8aa408738141b7f2010a4ee7bd63aaa8e171aa3b0045bffa6b4d598070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/agents/MathAgent.java:89-95 | examples/src/main/java/org/apache/flink/agents/examples/agents/ModelRoutingAgent.java:46-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/java/org/apache/flink/agents/examples/agents/MathAgent.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fe07a2c81970e884ad3fc79137778f59bebc15ddd963d9ef06f027fac6a1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/src/main/java/org/apache/flink/agents/examples/openai/OpenAiDecisionRoutingExample.java:57-63 | examples/src/main/java/org/apache/flink/agents/examples/openai/OpenAiModelRoutingExample.java:49-55 \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 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/src/main/java/org/apache/flink/agents/examples/openai/OpenAiDecisionRoutingExample.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe43dae9c0caee4b961e28af130afb9c7b3c6016ed1e443f2c592ff00e347c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 3): python/flink_agents/examples/quickstart/react_agent_example.py:72-91 | python/flink_agents/examples/quickstart/workflow_single_agent_example.py:60-79 | python/flink_agents/examples/quickstart/yaml_workflow_agent_example.py:56-71 \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 \u0060python/flink_agents/examples/quickstart/react_agent_example.py:72\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":"python/flink_agents/examples/quickstart/react_agent_example.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5a3577075301d95dfe3850425546c87be1fc11e6a489badb8bb6483b4ad13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): python/flink_agents/e2e_tests/e2e_tests_integration/chat_model_integration_agent.py:169-185 | python/flink_agents/e2e_tests/e2e_tests_resource_cross_language/chat_model_cross_language_agent.py:134-150 \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":"python/flink_agents/e2e_tests/e2e_tests_integration/chat_model_integration_agent.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f319a7be18c2c6494f250c45a8ff6e7cad0803ab0ae65793a50a4703ffcefa28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): python/flink_agents/e2e_tests/e2e_tests_integration/chat_model_integration_agent.py:190-194 | python/flink_agents/e2e_tests/e2e_tests_resource_cross_language/chat_model_cross_language_agent.py:155-159 \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":"python/flink_agents/e2e_tests/e2e_tests_integration/chat_model_integration_agent.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcc11dbf304cb4f5ab741520cead9b3c335b8264bca020c7fce9901c36f149b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): python/flink_agents/examples/quickstart/agents/review_analysis_agent.py:82-90 | python/flink_agents/examples/quickstart/agents/table_review_analysis_agent.py:106-114 \u2014 before extracting anything, compare \u0060python/flink_agents/examples/quickstart/agents/review_analysis_agent.py\u0060 and \u0060python/flink_agents/examples/quickstart/agents/table_review_analysis_agent.py\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"python/flink_agents/examples/quickstart/agents/review_analysis_agent.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ecba50df1b7b2ffa4dc1bd9074acea9a6ad240c82e20882ed0cac7573ea071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): python/flink_agents/examples/quickstart/agents/review_analysis_agent.py:115-132 | python/flink_agents/examples/quickstart/agents/table_review_analysis_agent.py:146-163 \u2014 before extracting anything, compare \u0060python/flink_agents/examples/quickstart/agents/review_analysis_agent.py\u0060 and \u0060python/flink_agents/examples/quickstart/agents/table_review_analysis_agent.py\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/examples/quickstart/agents/review_analysis_agent.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbb1c3a4256f063b2e65c853ce94c9c9db6275090c7b86c13d1c6b26aec47ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): python/flink_agents/e2e_tests/e2e_tests_integration/subagent_external_integration_agent.py:138-147 | python/flink_agents/e2e_tests/e2e_tests_integration/subagent_external_integration_agent.py:151-160 | python/flink_agents/e2e_tests/e2e_tests_integration/subagent_integration_agent.py:84-93 \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. 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":"python/flink_agents/e2e_tests/e2e_tests_integration/subagent_external_integration_agent.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aea11a70489403f07baf2635f30bf06f4469926821acdc299cfdad4fb2f7e1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: flink-agents-integrations-embedding-models-ollama: flink-agents-integrations-embedding-models-ollama: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a8ee2c46dbbe562f043b0bedb5bf8e027c7a0fa0449839d3954e3cba1d286647"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: flink-agents-integrations-vector-stores-elasticsearch: flink-agents-integrations-vector-stores-elasticsearch: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0fce10a56d7fe1fa14298c5c484f06d0c370c7d0827ac35cbf5cfea69cd2a273"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: flink-agents-api: flink-agents-api: abstractness 0.27, instability 0.00, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 19 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"703d3a796bbdb672950b74cce2a11b234950afb6c3222b6b38a29c833c2170db"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlinkAgentsMetricGroupImpl (LCOM4 5): FlinkAgentsMetricGroupImpl\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":"runtime/src/main/java/org/apache/flink/agents/runtime/metrics/FlinkAgentsMetricGroupImpl.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"082c4967fb1db8a937de51d3f10af6aba485f7b9b19d229f44d13f3128ab5ab4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ChatSubgraphDefinition (LCOM4 4): ChatSubgraphDefinition\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":"runtime/src/main/java/org/apache/flink/agents/runtime/chat/ChatSubgraphDefinition.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7495a10db95bc8eb963a695f0467588655c6c66a9e2e645a6c09de132e939b85"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: distinctNamesAndUnrelatedTypesAreAllowed: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/src/test/java/org/apache/flink/agents/api/chat/model/routing/RoutingResourceValidationTest.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"21026acdbe20cab86c052c795579d5b54a55dc2c7c0430a3e75ec233681744d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: closeIsIdempotent: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/test/java/org/apache/flink/agents/runtime/operator/ActionTaskContextManagerTest.java"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b62ab37b976e54461b43ea05304356a8d9e17fa01d7578c08ba08bdbe8e2c39"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOpenAndCloseLeaveThePythonOwnedResourceUntouched: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/test/java/org/apache/flink/agents/runtime/python/resource/PythonRuntimeResourceTest.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a3abc0cc614ead671fc786630d58e6baec6b651ff402c09ca008a1e1c741ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: missingIdentityAndTargetAreRejected: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/test/java/org/apache/flink/agents/runtime/utils/DeterministicIdAllocatorTest.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a5030c80da61cd972b4c5d0029a2ccc6b81a3c3e532ee27b6f654161f78b61"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testClose: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/mcp/src/test/java/org/apache/flink/agents/integrations/mcp/MCPServerTest.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75bdd9e6b831265bd23448c4a033705f909c0b4d2c478ecf3a0709fa048b4e3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: planBackstopAllowsDistinctNamesAcrossRegistries: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/test/java/org/apache/flink/agents/plan/AgentPlanRoutingBackstopTest.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"be80eacceb2a33feabc021eec5b39a891361d8a56cea58b46238e85a4cea7dee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: pythonFunctionCheckSignatureIsLazyNoOpForAnyArity: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/test/java/org/apache/flink/agents/plan/PlanFunctionDispatchTest.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75d2b72cc1a9ceb1248dbba983f1a6623cee78ed9a6e4c34dcbbdc65cad8cf4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testActionSignatureLegal: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/test/java/org/apache/flink/agents/plan/TestAction.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6107df2766941f2e812809a3bdc75854cd804414be17d4dc0f2e58242137dee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEventInitSerializable: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/test/java/org/apache/flink/agents/plan/TestEventSerializable.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9c43348121f3d9d0688fd7ade725a9d6425efc0062fca396c0af2492eb51f9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEventSetAttrSerializable: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/test/java/org/apache/flink/agents/plan/TestEventSerializable.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fe3f1ad7eb204555601115cd52927d5803c361cfc15020ff4b33b588aa3fb6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSignatureSameClass: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/test/java/org/apache/flink/agents/plan/TestFunction.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"623c8421312c398b183c6e9bb42dcbbdc2312a9d8516923c4bd0fa61fafdee92"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSignatureSamePrimitive: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/test/java/org/apache/flink/agents/plan/TestFunction.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97cea4199a8055d4219f59a868f599122c8ab51adb5d7c33d35f74823a62e93"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSignatureSubClass: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/test/java/org/apache/flink/agents/plan/TestFunction.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e2235b58076c2ee804498c2fac201548cd21cce00b0bbe006552794596d9e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java: plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in AgentPlan.extractResourceProvidersFromAgent at line 491. 1 of those changes was a fix/bug commit, and the other 16 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java\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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"752faec543442e7160f55ab551ca0dabeb32b365cd285d0bfe1e485352d0f035"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java: runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ActionExecutionOperator.processActionTask at line 921. 4 of those changes were fix/bug commits, and the other 23 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-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java\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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"9408df564bc0bfff674e495b702a6499e13ceef4e5d8e7edbc96adaecd3c2782"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/runtime/flink_runner_context.py: python/flink_agents/runtime/flink_runner_context.py changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in _BatchAsyncExecutionResult.__await__ at line 367. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/runtime/flink_runner_context.py\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":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e878d17fa60e7eff57e2c3296d74011bce964c9e835a029d5a1a14dcc6cc3d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/plan/actions/chat_model_action.py: python/flink_agents/plan/actions/chat_model_action.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in chat_model_action._chat_with_retries at line 632. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/plan/actions/chat_model_action.py\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":"python/flink_agents/plan/actions/chat_model_action.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a970962439209e40ddd7f1bc07710d9bdaedb82136aafe78aaea1efa7d59018"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/api/chat_models/chat_model.py: python/flink_agents/api/chat_models/chat_model.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in BaseChatModelSetup.open at line 486. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/api/chat_models/chat_model.py\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":"python/flink_agents/api/chat_models/chat_model.py"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4420ed528f1a1b15a15e72a03a302d58e48b8bb305f041b544c7fc9e89e04f8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/plan/agent_plan.py: python/flink_agents/plan/agent_plan.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in agent_plan._get_resource_providers at line 353. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/plan/agent_plan.py\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":"python/flink_agents/plan/agent_plan.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"311b6b30bd85545dcc3e53748df8299b60e8392317bcffb39488d0a8388c9934"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java: plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ChatModelInvoker.chatWithRetries at line 167. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelInvoker.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fb36f35c8ae67628d32a405dad21694346a45b9373ea6c57eeed5cd205613b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py: python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AnthropicChatModelConnection.chat at line 552. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py\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":"python/flink_agents/integrations/chat_models/anthropic/anthropic_chat_model.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5e781d0e65a621be074647b5c2588517b94c3f2bb39e89db074b7c16a65393"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java: integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AnthropicChatModelConnection.buildRequest at line 507. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java\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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3a7ab91c9e9b53644eae7ebebe2202e58afcdaa2d78f76ae473b354647e499"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java: plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ChatModelAction.chat at line 358. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java\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":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4ad19ed3d82a08527c3b2075f22fd3643b9cae11a4c12bcd09b5a0bee78b22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/src/main/java/org/apache/flink/agents/runtime/context/JavaRunnerContextImpl.java: runtime/src/main/java/org/apache/flink/agents/runtime/context/JavaRunnerContextImpl.java changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in JavaRunnerContextImpl.resolveAsyncBatch at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- runtime/src/main/java/org/apache/flink/agents/runtime/context/JavaRunnerContextImpl.java\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":"runtime/src/main/java/org/apache/flink/agents/runtime/context/JavaRunnerContextImpl.java"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcec2a5a96e10d5af5266ac08ba450d3feea82eb299f4482615d15627f45c2ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/integrations/chat_models/watsonx/watsonx_chat_model.py: python/flink_agents/integrations/chat_models/watsonx/watsonx_chat_model.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WatsonxChatModelConnection.chat at line 441. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/integrations/chat_models/watsonx/watsonx_chat_model.py\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":"python/flink_agents/integrations/chat_models/watsonx/watsonx_chat_model.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a2c590a0dad9420bac6232e1f54676428f6bb6eef5f043c075eda6d5bf4466"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/integrations/chat_models/dashscope_chat_model.py: python/flink_agents/integrations/chat_models/dashscope_chat_model.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in DashScopeChatModelConnection.chat at line 265. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/integrations/chat_models/dashscope_chat_model.py\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":"python/flink_agents/integrations/chat_models/dashscope_chat_model.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e7e85b1dc0336d984ba8efca230c30967b207ffa19fb63f0d1f4f718bde99e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java: api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ReActAgent.startAction at line 286. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java\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":"api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"72401205ea540ee5eb815cf4a48a2de863b89c9285aefe8bd1d5f01ccbb1044d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java: integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in AzureOpenAIChatModelConnection.buildRequest at line 392. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java\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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"9990a236d851124499ad31da8f28a95b5d5ad8619a977dfe9c508c8982cb8862"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/src/main/java/org/apache/flink/agents/api/yaml/YamlLoader.java: api/src/main/java/org/apache/flink/agents/api/yaml/YamlLoader.java changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in YamlLoader.buildAgents at line 293. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- api/src/main/java/org/apache/flink/agents/api/yaml/YamlLoader.java\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":"api/src/main/java/org/apache/flink/agents/api/yaml/YamlLoader.java"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a4c1d1bb46d7065c38466d40df4fe110c8bdfb1465e8e8bcb00c94a9452a9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java: integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in WatsonxChatModelConnection.buildPayload at line 504. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java\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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48268a108328907f8de108fb89454efee8aa9e3e91b6c168f5169b14e64d268"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashTool.java: plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashTool.java changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BashTool.call at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashTool.java\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":"plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashTool.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ba00614bc7d3e090c39546d71358eeb49191d90512976fdd50035714a101b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/src/main/java/org/apache/flink/agents/api/chat/model/routing/RoutingStrategy.java: api/src/main/java/org/apache/flink/agents/api/chat/model/routing/RoutingStrategy.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in RoutingStrategy.validate at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- api/src/main/java/org/apache/flink/agents/api/chat/model/routing/RoutingStrategy.java\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":"api/src/main/java/org/apache/flink/agents/api/chat/model/routing/RoutingStrategy.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d66ba63db42fd4e0d5307285b43978a890674749f9e37f978d4a2d98b5c10b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/integrations/embedding_models/openai_embedding_model.py: python/flink_agents/integrations/embedding_models/openai_embedding_model.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in OpenAIEmbeddingModelConnection.embed_with_usage at line 320. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/integrations/embedding_models/openai_embedding_model.py\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":"python/flink_agents/integrations/embedding_models/openai_embedding_model.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4cc17993bc75bcd100d437283b83ed3757b3e06e641c65ccae8623b5a0944a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/cli/trace_tree.py: python/flink_agents/cli/trace_tree.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in trace_tree._normalize_event_record at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/cli/trace_tree.py\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":"python/flink_agents/cli/trace_tree.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2601926048bda3c1df58df83794bcc1d003c05142f445a5d529fc4cd2bb6c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java: plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BashValidator.walk at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java\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":"plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eb73cd545c740cee2408bb8cb5ae14f0e7f6f728437ffee8666aca0b3ba6b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: python/flink_agents/plan/tools/bash/bash_validator.py: python/flink_agents/plan/tools/bash/bash_validator.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in bash_validator._walk at line 120. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 17:40:49 \u002B08:00\u0027 --until=\u00272026-11-09 17:40:49 \u002B08:00\u0027 --full-history --no-merges -- python/flink_agents/plan/tools/bash/bash_validator.py\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":"python/flink_agents/plan/tools/bash/bash_validator.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0631daece9f351dfb618e844cc3318d0d0af80cde1393a47f7fccf94b2db3f4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: python/flink_agents/e2e_tests/e2e_tests_integration/checkpoint_recovery_job.py, api/src/main/java/org/apache/flink/agents/api/chat/model/StructuredOutputStrategy.java, tools/check-skill-schema.py, tools/check-agents-md.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ca0f6e495c17c65c0e66614bc6285ec5ee5fad9ba55b17b4adff51704d073199"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 7 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 (13 single-owned of 494 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; 494 of the 663 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)) (\u002B1 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: python/flink_agents/runtime/_python_dependency.py, runtime/src/main/java/org/apache/flink/agents/runtime/operator/PythonDependencyGenerationManager.java, plan/src/main/java/org/apache/flink/agents/plan/routing/ResolvedModelRoute.java, runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryUpdateReplayer.java, runtime/src/main/java/org/apache/flink/agents/runtime/context/AsyncFutureImpl.java, python/flink_agents/runtime/durable_exception.py, plan/src/main/java/org/apache/flink/agents/plan/actions/Utils.java, python/flink_agents/e2e_tests/e2e_tests_integration/multimodal_chat_agent.py (\u002B1 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#926): execute the prepared calls as one batch once durable execution supports"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/subagent/SubagentFutureGroup.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb43f5f296684a6fd940696160cb0b282e37ce64f54d37aae9a15904b574ff2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a temporary workaround. In the future, we should add an interface in \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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58ab94c531387e9337d4976fc6b4686f8dd1db0497757adf93b1c7b066d198f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unlike the executed path below (and the parallel engine\u0027s Work.commit), this \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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperator.java"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60e07a641284510e0e9da9261b011d155643cfcbcad4dc601e009bd5e2d2101"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize throughput via batching \u002B flush() once Fluss supports it \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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/FlussActionStateStore.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"389399686d0c1b70fa4258932bf96161d263c8b52d1b5215c4ef9c2c95b37d7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(#926): wait for the issued calls as one batch once durable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/runtime/subagent_handles.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1f5271d1a518047c0ccf2e6fe59ac3a15a5ca8ba140df7f6d1cc6977e8cb45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: support other tool type. \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":"python/flink_agents/plan/agent_plan.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eae1b524164f78a79cd6abcd567c6533fed426c94107965e0917182f9c37b67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Currently, we construct a global agent skill manager for all skill \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":"python/flink_agents/plan/agent_plan.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e61cee85818c6759e38584f66dfd08521dd8461e8a31d0a82f960ef672513a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: support function of inner class. \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":"python/flink_agents/plan/function.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b7fe2358a2c9881c02781fbbe1b8904b2e08e62e4dd65d7a6d30df23697d04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implementation \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":"python/flink_agents/plan/resource_provider.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e7cdacd45d5b0bbb25148e70c24bd26e43f866bcad44a3d0f2f1316f7ad588"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Update expected signature after import State and Context. \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":"python/flink_agents/plan/actions/action.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7b0fd1794d03534e48d6b4d46fd216634f16c11d8df9d724c66eea68b1db88"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Because memory doesn\u0027t support remove currently, so we use \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":"python/flink_agents/plan/actions/chat_model_action.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f687d0ddfa8b363ed0a18934f5c757c48030fe29e0164805f826ae894cef40d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # KEYWORD = \u0022keyword\u0022  # TODO: term-based retrieval \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":"python/flink_agents/api/vector_stores/vector_store.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"45337ea9db6711367981f7b15cbf8e9c3585b473826cd016ce7757f71ea4ffd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # HYBRID = \u0022hybrid\u0022  # TODO: semantic \u002B keyword retrieval \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":"python/flink_agents/api/vector_stores/vector_store.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"df66222978c0053f81c639b101280e990bb86ce66b5fead26459a0d01b7162a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support nested map/list with non primitive type value. \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":"plan/src/main/java/org/apache/flink/agents/plan/actions/Action.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9769beaa0228d68ca0d8f088934b78aa85b47d46fecf0d096c41b73a824112c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Aws4Signer is legacy; migrate to AwsV4HttpSigner from http-auth-aws in a follow-up. \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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c769794b3ac54104aecbe2d77ebc189190d9a09f772c5b73a9a21ab23e38203"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support type information which is not basic. \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":"api/src/main/java/org/apache/flink/agents/api/agents/OutputSchema.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa803288ae25cf679af92cc68b693eea6b67c1beff6066f1788d31d71a2ba9eb"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 22 project(s) overshoot their size bounds, lowering Project Cohesion to 6.4/10. The most over is \u0060python\u0060 (35052 LoC, 474 module-visible types across 44 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":"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":"6e6fa22ff565607642ec465bcb16434fbd539fa62a4e32f9a16d8a9957fb355a"},"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":"06dcad718e8706fb64f7365adb3a13102155b85d6053fe4c2d1dbcf4ba5335ef"},"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":"ff65f55d45a491b50f87b073e1ea8688a162501daa6ac3760957d110dfb28916"},"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":"525995df4b4c02501cfb6c5fc78317217432a8e7c65676c1358ed472b7a46898"},"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":"ab67c3b20b4691dd36bff8d81ff41e644a3b1aa7a81296e6cbecbb82a79bd514"},"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":"e4978e59a5da6e6277305c311ca9d2f5ade739e9923702532abc33d2572359e6"},"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":"97d110b29d3ca27a7744472f347b5de5a6c0d23f3a842732a02026fb0539f9c7"},"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":"3a91698e9178fa65cdaf2f294ff2fceb6e45471edfa0685783cb3c9a20ea402d"},"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":"924dc54477bdf3ea676a6009e4f536b237cb0b14674d8d7b5b8ea1da94e54a24"},"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":"efc208f5201716f6e7210aa60ad1eb6746f5684cade6509663666259aa6952c6"},"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":"4b3f73ced87c272954ceff31cb4dd3148a6b76b736db171331056e773b02dbb3"},"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":"277a301fb4380ea4e52938a9a4528be9965b4dc2ce34fe074c13467b5c6acae4"},"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":"c44d34a55c7d4720373be01eb9d20516dae9fb49ee37cb1e665d284f33fad02a"},"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":"fdcff3333130a765adb105c948c9a9b44fb1593f50ae80a03706a06fcef01eda"},"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":"d7ed108d3a17192db4428cf4120b554c694478c03bdf092ef36aef425a7fce05"},"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":"bf33598e19da3de78eda02df00a185986bc6c22c71f757f05cfbf349b559f68b"},"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":"017351f83abef83196496f4d88897fd33efcf2696532405ff317e4b59dd75abd"},"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":"990bd2823f38a228b9facfbf34075d5b4aa16a608b440b2cf92878e6f049b2b2"},"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":"4c121dae179293d1f415ce8fe861f57a45525d6d92c8703f6e69e67f5792f176"},"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":"45e4ab3c3c54ce51892671bf78366c0769b36035763fbb7201773c1af8288dc8"},"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":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"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":"04cc6ef8b2713c5ae671a21c5adfc62ed3d32eec231bd27236ea49e066082d50"},"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":"9545660e6add0322e3f7b23092a9bdb2b9ecacff6395f93e694cf9dc97bdaaa2"},"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":"8a7c60d84ec124dea0266da2cf23510056e10aadd6ac2dae11dd81d8528da72e"},"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":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"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":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"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":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"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":"ee6da1b051ddff31eece62e737e90827fa671274985f5a26bd0f59d7c044006f"},"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":"8a576c2eb4557ec919dde1f57741e7000330d3588051cb43168711e3c5592e1d"},"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":"6b562a86ba4fad32d6ccdcd6ca2d4c34c2236a59e5d8276adbfb83a1790cdee0"},"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":"baa151beff35ac46ee2536907cc918a207da07c42b004fec4c9aab8d58a6df6d"},"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":"9efc61085c90fbe1ede50aca3f9690f82fe1c1cc9bd1ace2abe757c1e913f452"},"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":"6f82ba811a55e4f68d450f7d8dbc65b35b7fede1012b2931a6e55809c9fa22b6"},"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":"ab979ab2dc46515c14a5a4f004fc991e04e40404eedb88f91aeaa5242f0df4a2"},"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":"77e2e71a4329e551cbe8be7023c7191820e375353d80fbebb52a3572f6943665"},"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":"49423b6754fd89d4f177efe19a91488e8e6b0e174dc46f41bec86e14f72877cf"},"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":"281606016eebcd97732923e5f2bb7aa7e56a98a062a20a5502616040b467c23e"},"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":"c4014e7719155abad9ee780737c6a29d8c31bcf1e70b94286734d74edc799576"},"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":"417c80d37e40c8c101c97e32ba9af1a95439f85918a11b7f2f630d08f638a53d"},"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":"c92107f92612c817c486377def33d41825f5a95565ee3c603aaac89e8b80cfba"},"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":"0311938bc87c150e5184985c43f31a7b4f5da30f1a3fe82f5f0cea5594b84207"},"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":"2ba1bd8cd7cc00ffea37dae7b5e07643f624b23874e3cb0759fc3e4878f73406"},"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":"a618793b2757574d28796da0abb139eb5b5fe27e487d02dc63636e793f0a8158"},"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":"1fe915542e9ef9e0e2030d13e5e967c9edc93ad44e0043112709e63c307bce8b"},"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":"0a5c7a5c8262c14d7ceade84922b20594a601737a67ff26aa6d53e142ee6f117"},"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":"9607c41e2efdec713e91c6465be74f11d53838472a9a6b1b4b4662cc3f635cba"},"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":"cd7e8461fcb93d0510d4031b77414ad16dd424c322416a435c1e25a497fff781"},"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":"b7ee1f9a8123e37fd58333da134b655090c111609cea3184716d7a079b1564fa"},"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":"8527d0b0344ef48f56eaab8234a99700e3701b5c35285e13ba63123b2dbefcdd"},"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":"7d04c6b3fd3667fb68b6a082b6881d963b78c70b0b611b316479c7f5096f25fa"},"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":"f4a794d5e904f1b06bd341f197a87a95c20ec8b1b75ab5d58d26e4ca58fa9ff6"},"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":"7a58bd3d346c9e42f7e7c7c5874b59c04e234cfdcd565a7325ce740d1df236bc"},"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":"b66e2ee25791cede18435ce98172a515131280f4da572b26845faa66859b2c77"},"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":"91691b22678cd96e6334f5599a0b799badc161fb5bb809b2b188ff843c817fc1"},"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":"76b8e71d92bc03d4c35af7663738ed4fcfc0ca58348efb439a69194b09e38a66"},"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":"c8638f04118d35a8134bb6ad4cc7c88819decaa851b1ca87b8313dca51d82e0a"},"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":"a6ca70f657dc6b891cd74ed2b987734fa4d8a9dbaa15dea20afe263026e2d03c"},"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":"5d58bc632e1f74832ab19c8778cd985ea4c35a23c7bcbb743879812ebb95eeb8"},"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":"e7f854f8d3181612d723e86a54c481fb53fa6031e725d04b72bd95df01b2e2ac"},"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":"4e4c30cfcf15f74c014000404984b6d6f550eeb4e59200dc2e408287f9048f79"},"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":"6a97d1d933239560f135045b42285ee123dc1dfc45c836d02bb9fcefc2c29308"},"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":"67322285c9b435d2c41c977d8575f4ae05fe08c1fb2476189326465f655a12b4"},"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":"4c41c686c7c7e6553ad5b25f80fbfdf8cf9318441f7e75b1b8214aff9fb0f5e8"},"taxa":[{"id":"CWE-829","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":"2834956230b42c4c4f76791704bf66934abf4b019381c53280155650d41ae1f2"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","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":"d1f7bc2692911ac08733f03ea8cc678a5d743ad3b36272df0ff589eea7ff7f28"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","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":"c4dd2d82d97e5dd48c721e39912e4cbbd094080460931965ac43e9303053a028"},"taxa":[{"id":"CWE-89","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":"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":"84899f3bb8fa26fa7f11c6a9b69374fbea2f282fe9d05679c0da44e99cf69b4a"},"taxa":[{"id":"CWE-89","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":"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":"53e05f9f2c72764b548133a92d35339d2a6b63de698fed832535f6916e363117"},"taxa":[{"id":"CWE-89","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":"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":"fdf34c0a6fe606b806f9e31dc5d24d5c3d90d166232eea2bc637aee19e856911"},"taxa":[{"id":"CWE-89","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":"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":"cac56d081a99fe80b8f27cf1215cbc25d09e6ff1bd7b7ccc362a09f9b2df27cc"},"taxa":[{"id":"CWE-89","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":"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":"3535a04f881fa2878110a72b796c8aa83a3b3c6f2b6d4d79cb9a58443bafeb99"},"taxa":[{"id":"CWE-89","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":"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":"8ef8c57f1fbc12646924449f3e0d22e8e6adf33996901842001252d1287a3c1f"},"taxa":[{"id":"CWE-89","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":"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":"f4e6b02a3d2608e00c208ac37544014208387bf3a129652de001e0090d71b0c4"},"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":"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":"4fc7ed2e8f1305a914fe022c9164b67bf54abe2c604c6514c4f159b9f2528e1c"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"3afd7bc6d9f69b4b660bf15b44e3d7d0ccd9ac2f2a517c50761ba7239c361c3a"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-core","version":"2.18.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"b89e84eb0c4dd3bcf07797de94bdac3a96773cdea1bfd13954c7f8cb4dfac4f3"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-databind","version":"2.18.2","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"8744a086c31307c771e3a12f1195947ed4554abfc3227b1570dd93e3a3a220b0"},"properties":{"dependency":{"package":"org.xerial.snappy:snappy-java","version":"1.1.10.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"a1b57720ac845766370c6bc2def2e427518162d2d6ddb5972a780422e5fcd92e"},"properties":{"dependency":{"package":"at.yawk.lz4:lz4-java","version":"1.10.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"b632a838a0274dcc4ad3a95403616fefbbfe4059caa47b2cc4735e1f236cbeae"},"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":"228d061f317614259f44e90b1eb1f0b6506059585d48927a7055f4d6a149d1c7"},"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":"76dfa1a22bd3d2043ccc5a4244434c519f28d4b36acf8d97ac79107800d48e7e"},"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":"248cb0c1ca36bbae65656dc35cfb8b47d12c96fe764d87fdd89bbeeec93ec7c2"},"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":"a1a9e6141f52535f74c58bfa4129a45f9e99a4c66039bf0283aaceee6dea6ac0"},"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":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d740f7e5e3a88fa509928475de284e67b8b207e87d7874214f1e09376fc4907"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 51 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPPrompt.java, runtime/src/main/java/org/apache/flink/agents/runtime/logger/UnboundedFeedbackLogger.java, plan/src/main/java/org/apache/flink/agents/plan/AgentConfiguration.java, integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPTool.java, python/_build_backend/backend.py, python/flink_agents/runtime/flink_metric_group.py, python/flink_agents/integrations/embedding_models/local/ollama_embedding_model.py, plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java (and 43 more) (52 orphaned of 494 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; 494 of the 663 production source files in this repository met that bar). 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":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPPrompt.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b28e926169081712561edd1e20ef06474a1026bc566821393afc61d8420adec"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/logger/UnboundedFeedbackLogger.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c077ffb6b98f8677bed1f28bddf0810441eb4c696034d0c5384c255d6decd5c"}},{"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":"python/flink_agents/plan/configuration.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"149ca090ee5133b84b7cdedd0e80c46f4fec4415c8da339c2f1dd1e7142efd3c"}},{"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":"api/src/main/java/org/apache/flink/agents/api/logger/TraceLoggerConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfeee1cff97d00ec6b70d146ea4482229499e0959e417b2f14288b5cde8db37"}},{"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":"plan/src/main/java/org/apache/flink/agents/plan/AgentConfiguration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d842b02da4f8e374355d480d56ab96f43334210d7a5785178b769de2aa641874"}},{"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":"python/flink_agents/api/version_compatibility.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e6b014def497c052b82621866df9c65b708a57ae57d43c01633a50121dae63"}},{"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":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPTool.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f938d2e5bc4e9b57a9456864a159b196c44ca85d728f13db808b29e07528d09"}},{"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":"python/_build_backend/backend.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77014bcf3d249e15e8e1602d2dfdb6f574f495c877ed0debd5928faa9c545923"}},{"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":"api/src/main/java/org/apache/flink/agents/api/logger/TraceLoggerFactory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fd5e9eadf80b32e43fb80f08f8e5f4857b40858e7b71c03b966691825e64b5"}},{"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":"python/flink_agents/runtime/flink_metric_group.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a51510703f021d2835ac6a7019595666267324011013e8a56d2769dbe7daad1"}},{"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":"python/flink_agents/integrations/embedding_models/local/ollama_embedding_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"310998c544bc4dc07109631ff4c3264145c21d4af3c36b1ce4edc6f3ca39656d"}},{"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":"python/flink_agents/api/configuration.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a63eb7e7c044ddca6676becc585880815b5ed212c92b85d205604e730ffeea"}},{"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":"plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonDeserializer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20dfe0ad9b6ee092f116490acfc590edb105542c65bd08538ccf1982027b886"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/feedback/FeedbackChannel.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed1829e170dcb3ebdaf7b8129b397bc90d8bdba3b441b638ea698c328c7f030"}},{"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":"python/flink_agents/api/tools/tool_parameter_injection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d813620aac51c3adaf504e5654843cc8e1b3b57a84462b6382f6d3e4e11e51"}},{"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":"integrations/embedding-models/ollama/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/ollama/OllamaEmbeddingModelConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed79d2a55a8191495bf3eb99a21f37d300e6766b6765a41fe9f9d0b764def46c"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/env/PythonEnvironmentManager.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2125c5ef397914ea3b50d63a033c67a8e9b82b19bf0e60025ab54d720a32be"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/metrics/FlinkAgentsMetricGroupImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"640fe39d9519d434a7cb16be2b3d31f458574b449c5df2a21c3ff7364e2f6045"}},{"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":"python/flink_agents/api/metric_group.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13708564cc421882c1dcd5f3f95ac5bda04dd6d4c02b9987c56a4367d02d3939"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/logger/Loggers.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c25cbb3276bcc72376087cd7b3600fd1b89cea894646a84ec0b47300651142"}},{"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":"api/src/main/java/org/apache/flink/agents/api/embedding/model/EmbeddingModelUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"478147f86ce16e2be47fab37a5776c9630351911a7c11dba7de87e919b5b5d09"}},{"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":"api/src/main/java/org/apache/flink/agents/api/embedding/model/BaseEmbeddingModelConnection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af4944c2ce4b2d7d7f6360511ebe5beb4d399a966e327aa91a07d6b0985f656"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/logger/KeyGroupStream.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01b98681798ce26ae2543004452272308bb51351764e9a85d14dd2089a2352c"}},{"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":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPContentExtractor.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe3f7c9591f29ac3da0190c49c7a5e805ede6f67b45a2364b8e6cbf907850fc"}},{"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":"api/src/main/java/org/apache/flink/agents/api/tools/ToolParameters.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4177894ec93536583368f13828aa03363e21e325ae9973ae6ef97acc821902"}},{"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":"plan/src/main/java/org/apache/flink/agents/plan/tools/serializer/FunctionToolJsonSerializer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a0add8bc7e1d1b4f84d562db77a5788308e7c427c9d69fe7023a5ac031594e"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/queue/SegmentedQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82da3e07f570467ea235c1c2f817c07121eb586753852a2746b7f2295f2a4232"}},{"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":"plan/src/main/java/org/apache/flink/agents/plan/resourceprovider/JavaSerializableResourceProvider.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"962a50b18b9d1025736f678ad9878c361deaeec1b7e7b27af7bfe9ba7a80fbbf"}},{"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":"api/src/main/java/org/apache/flink/agents/api/annotation/ToolParam.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42e6fc56d27ac60db156019fc6c07f9a0f36468b85cbd3832970bb68298092f"}},{"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":"plan/src/main/java/org/apache/flink/agents/plan/resource/python/PythonTool.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4faa7e467f59f267565a5c2be3aaa0a892e23d13b62cb74cb0d04a412446601"}},{"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":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/auth/BasicAuth.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7358ec8102ac1e6b5e4bce7c83367bb937e6887f12a9650b7eac48890027c1"}},{"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":"api/src/main/java/org/apache/flink/agents/api/metrics/FlinkAgentsMetricGroup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb199d2a5587e249a9b99632048113d2f80919acc73137c0de7e3100190b0512"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemorySegmentPool.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbe4c75c8f6fe1d5f24dc0a5e8c9349228327e66011ffc3ea613459ea98afba"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/utils/StateUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edab6e4d6fc78f8ba1b08e31b2217447819e110da5a56cc5a58e673ee817c115"}},{"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":"api/src/main/java/org/apache/flink/agents/api/tools/ToolParameterInjectionValidator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ed34673f7d582e376bad9b18f33c8de3afe485a96187c2519741abe8324dfd"}},{"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":"integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelSetup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a1b7d97fc9c792ed85d563fa9282c8b6afee696add2f20c03860c42d0ea2d2"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/queue/MpscQueue.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5e217a9343bd87bd6f2df035df9cc3354d0306592291e388c398695c6aa91a"}},{"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":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/auth/ApiKeyAuth.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdf902103e1d4faf17d7dbce4856bb87e746bdd1cc51d06a991058e8f4e18f1"}},{"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":"api/src/main/java/org/apache/flink/agents/api/configuration/ReadableConfiguration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69834cc3e7b3605cd81b533f0986ff17463365a9b068560fa8476accd1d14956"}},{"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":"api/src/main/java/org/apache/flink/agents/api/tools/ToolMetadata.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc73042cd091a988b0479cd0b122d6554afe6c0f649e4db7bb7820d9dd3266bf"}},{"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":"api/src/main/java/org/apache/flink/agents/api/annotation/MCPServer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d46d4d678446088ba0719b17b7ae79edcf6cdf5ff505a0669698349eca3a606"}},{"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":"api/src/main/java/org/apache/flink/agents/api/configuration/ConfigOption.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23123e09b41e75dbbdd0993073b2ac8aa5bfa6ade579f98a56fefb07244d4d26"}},{"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":"api/src/main/java/org/apache/flink/agents/api/tools/ToolParameterInjection.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dcc27c7be4b05479eaf3a2c76e91927856e60e1e7f1c263473cac1bc155473"}},{"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":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/auth/BearerTokenAuth.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0284b7db56804d32149622aec5e7d2c1d0aa564866106fc042c0efce1427a5c2"}},{"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":"api/src/main/java/org/apache/flink/agents/api/function/JavaFunctionUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87c9d2686443a802416f4cedbb9c4c45ef6f95f82c614f1136c7b6056d7046d"}},{"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":"integrations/embedding-models/bedrock/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/bedrock/BedrockEmbeddingModelSetup.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f750a580ca15a5ad67611883146038028dfa47970cf990965c6b5819076c9713"}},{"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":"api/src/main/java/org/apache/flink/agents/api/configuration/WritableConfiguration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ee11a22c8a77734e58d1ef755096d250bd31354db66422dbe59034e24b38e5"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/feedback/FeedbackChannelBroker.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2320e9eeb91220785c2aa39b9320e4e8de0f36b7b21a82daba5bb307c875bc19"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/feedback/Checkpoints.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dafc312a2b043bb33e434fdf544962a6efe3f53c9df745618139e3b3e5f8f56"}},{"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":"api/src/main/java/org/apache/flink/agents/api/logger/LoggerType.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9443fbe973fd4ebc241471f11d07d3e1ff2c4dacb8b44a15af6249ba8b735c8"}},{"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":"runtime/src/main/java/org/apache/flink/agents/runtime/queue/Locks.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6784a246e8f02978545ad386276163d2ae2ea2937d56a1ce6a696b57b2d8067"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: ChatModelAction.java \u2194 chat_model_action.py: \u0060plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java\u0060 (context plan) and \u0060python/flink_agents/plan/actions/chat_model_action.py\u0060 (context python) sit in DIFFERENT parts of the tree yet change together 67% of the time (12 of the 18 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060c4a29ac6\u0060 [integrations][plan] Handle finish_reason in OpenAI-family connection\u2026; \u0060cddd1e6c\u0060 [api][plan][python] Use request-scoped metric groups for chat token m\u2026; \u0060e94da402\u0060 [metric] Add key-value metric group for model and action dimensions (\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/actions/ChatModelAction.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"045a72729a239962d36a22b26f60c6e380330a81a0aa3dd5f216e46a02193965"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: flink_runner_context.py \u2194 PythonActionExecutor.java: \u0060python/flink_agents/runtime/flink_runner_context.py\u0060 (context python) and \u0060runtime/src/main/java/org/apache/flink/agents/runtime/python/utils/PythonActionExecutor.java\u0060 (context runtime) sit in DIFFERENT parts of the tree yet change together 60% of the time (15 of the 25 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u0060403261d5\u0060 [runtime][python] Release bridge-owned Pemja objects (#944); \u0060aa74b12c\u0060 [runtime] Support configure the thread pool size for async executor.; \u0060893e5232\u0060 [log] Improve the event log content for PythonEvent \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"337147f259a6b956f324b2a275e07b43ac22b41c5e5a4fd32c85c55e715372f3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MemoryObjectImpl.java \u2194 PythonRunnerContextImpl.java: \u0060runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryObjectImpl.java\u0060 and \u0060runtime/src/main/java/org/apache/flink/agents/runtime/python/context/PythonRunnerContextImpl.java\u0060 change together 50% of the time (5 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 5 shared commits counted here, the most recent 3 are \u0060db94efff\u0060 [api][runtime][java] Introduce sensory memory in java.; \u0060824b0936\u0060 Revert \u0022Introduce sensory memory in python.\u0022; \u0060a2fef7ef\u0060 [runtime] Only persist memory changes to flink state when action is f\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/memory/MemoryObjectImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4481fa9875a3cfb0e79142e809c25e5c8eb3db10a2f3241ca19938acc65e1d96"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"2bbd18aee409f525c2799520cd4250f4f9cdca929f603b9d10787ca44fa44bbc"}},{"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":"822dbfe41f6b609a9fd49fedbe2824342b1889e9b9c621be48a7e7a17f138f1e"},"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":"9837b69f567e4ee8eec8da607f3aacf89cc52b2c3bb94a0387bb260a6ed8aa0d"},"taxa":[{"id":"CICD-SEC-4","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":"080be73197fcc5ce71adb2d7aaef7d12be11c9ec2efce64663b5702e521a38ed"},"taxa":[{"id":"CICD-SEC-4","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":"0ee254eb873e78085337e46360f3629448c02801782b648d29aec7d0aa0006bb"},"taxa":[{"id":"CICD-SEC-4","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":"591b252c885298a693cf7e9ee17a49140ff726dab3e6fa49b738c52b044a41c3"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: flink-agents-integrations-chat-models-anthropic (Domain) \u2192 flink-agents-api (Web): \u0060flink-agents-integrations-chat-models-anthropic\u0060 is a Domain project but references \u0060flink-agents-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0b62e300f0c4d0f205b1a6cde5751939c5efcc779de5561c77faf963a4625081"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: flink-agents-integrations-chat-models-bedrock (Domain) \u2192 flink-agents-api (Web): \u0060flink-agents-integrations-chat-models-bedrock\u0060 is a Domain project but references \u0060flink-agents-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c104756b817a805aca48d731b6d272e0f51d99e8f7dc06fe5db3762f99a5a8df"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: flink-agents-integrations-chat-models-gemini (Domain) \u2192 flink-agents-api (Web): \u0060flink-agents-integrations-chat-models-gemini\u0060 is a Domain project but references \u0060flink-agents-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"78840cd9e08f38ccd86edf38c96b6ea0a4f4b215d1f360a4f711c08c1fe658b0"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: flink-agents-integrations-chat-models-ollama (Domain) \u2192 flink-agents-api (Web): \u0060flink-agents-integrations-chat-models-ollama\u0060 is a Domain project but references \u0060flink-agents-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"26e77d9a298d7df28066953344dc4879c59a905813f3447451affef85fcaf626"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: flink-agents-integrations-chat-models-openai (Domain) \u2192 flink-agents-api (Web): \u0060flink-agents-integrations-chat-models-openai\u0060 is a Domain project but references \u0060flink-agents-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d28a3fd3218f0efbcfee3f7326bcbb65b6f978b3062bd43a087f1092daae6c60"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: flink-agents-integrations-chat-models-watsonx (Domain) \u2192 flink-agents-api (Web): \u0060flink-agents-integrations-chat-models-watsonx\u0060 is a Domain project but references \u0060flink-agents-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a3fd424bf00e696dfc7cb44cc11684648c7ac2de6cdd6c545b53664e874a47f0"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: flink-agents-integrations-embedding-models-bedrock (Domain) \u2192 flink-agents-api (Web): \u0060flink-agents-integrations-embedding-models-bedrock\u0060 is a Domain project but references \u0060flink-agents-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd652c1f5449b734fc76bbd2704df7a8f124d626e6b4fbf6bebb3d4f41217dd5"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: flink-agents-integrations-embedding-models-ollama (Domain) \u2192 flink-agents-api (Web): \u0060flink-agents-integrations-embedding-models-ollama\u0060 is a Domain project but references \u0060flink-agents-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"11b7534fa15cff5b58eeb5509258e8cef577c3141e08372854c5359e22d929fc"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: flink-agents-integrations-embedding-models-openai (Domain) \u2192 flink-agents-api (Web): \u0060flink-agents-integrations-embedding-models-openai\u0060 is a Domain project but references \u0060flink-agents-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f643076a9caa62390a7423fef35559bb84f9f4dd1a9c65ddf9f547a76033857f"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: flink-agents-end-to-end-tests-agent-plan-compatibility \u2192 flink-agents-plan (test-jar): \u0060flink-agents-end-to-end-tests-agent-plan-compatibility\u0060 (production) references the test project \u0060flink-agents-plan (test-jar)\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9598500b5713c044c51f945859ecd1ff60a801afa3add4c23102b26289620390"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060setChainStrategy\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/src/main/java/org/apache/flink/agents/runtime/operator/OperatorUtils.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7845050e86fd2ecb3413936826fdb7559a3261e586af2bbdedbe41718d80528"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 8 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060process_decision_request\u0060 is async and calls time.sleep \u2014 a blocking call inside async code stalls the event loop \u2014 every other task on it waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/actions/decision_model_action.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ba4e8b8236554017ae46e0ecd5bd9f71e4e0b93f2ed1ae61dc176fb5f03e48"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060time.sleep\u0060 inside an \u0060async def\u0060: This \u0060async def\u0060 runs on the event loop\u0027s thread, and \u0060time.sleep\u0060 blocks that thread: for the whole delay no other coroutine, request or callback on the loop makes progress \u2014 the Python form of blocking on a task. Use \u0060await asyncio.sleep(\u2026)\u0060, which suspends only this coroutine. Where the blocking work is not a sleep but a synchronous call that cannot be made async, move it off the loop with \u0060await asyncio.to_thread(\u2026)\u0060 (or \u0060loop.run_in_executor(\u2026)\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/actions/decision_model_action.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4779d193b4cac24d7c7d720ccdfa892e0a6d9935d6e86c66cea07a3f6fead0ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060FAILED.equals(status) \u0026\u0026 response == null \u0026\u0026 error instanceof String \u0026\u0026 !((String) error).isEmpty()\u0060 appears character-identically in 2 files \u2014 api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java, api/src/main/java/org/apache/flink/agents/api/event/DecisionResponseEvent.java. 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":"api/src/main/java/org/apache/flink/agents/api/event/ChatResponseEvent.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9591eac7a982127d7c817805993cafdb063eaa6a25f449e02690d7c8ed9dae30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060additionalArguments != null \u0026\u0026 !additionalArguments.isEmpty()\u0060 appears character-identically in 4 files \u2014 integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java, integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java. 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelSetup.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2f614c8173153893d147167ab70a9306f7a4aaedb1c1d07330cf791eb6588d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060apiBaseUrl != null \u0026\u0026 !apiBaseUrl.isBlank()\u0060 appears character-identically in 2 files \u2014 integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java. 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37e19f4cf690b00c32c36ef46f94a0fd3a5a451dd65a82149e4d30e98cebb44"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arguments == null || arguments.isBlank()\u0060 appears character-identically in 2 files \u2014 integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesUtils.java. 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ff89a62095e02002f4929bb863c2de708c476695cf15acd1394eebbf552757"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configNode != null \u0026\u0026 configNode.isObject()\u0060 appears character-identically in 2 files \u2014 plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java, plan/src/main/java/org/apache/flink/agents/plan/serializer/AgentPlanJsonDeserializer.java. 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":"plan/src/main/java/org/apache/flink/agents/plan/serializer/ActionJsonDeserializer.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f778e88f2a837f4f2b4b4a75e13007f8efc4b8e5c3f7f34c354282bb051013fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060defaultHeaders != null \u0026\u0026 !defaultHeaders.isEmpty()\u0060 appears character-identically in 2 files \u2014 integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java. 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7da245e998265a74100b1769368169302d0d651f9ac1a463da443e8f6dd2a49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060documents == null || documents.isEmpty()\u0060 appears character-identically in 4 files \u2014 api/src/main/java/org/apache/flink/agents/api/vectorstores/BaseVectorStore.java, integrations/vector-stores/elasticsearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/elasticsearch/ElasticsearchVectorStore.java, integrations/vector-stores/milvus/src/main/java/org/apache/flink/agents/integrations/vectorstores/milvus/MilvusVectorStore.java, integrations/vector-stores/pgvector/src/main/java/org/apache/flink/agents/integrations/vectorstores/pgvector/PgVectorVectorStore.java. 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":"api/src/main/java/org/apache/flink/agents/api/vectorstores/BaseVectorStore.java"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c7601b63e05ad7a78ec737d61637bf22b712c95157d7fce64bd03f920fc7e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effectiveModel == null || effectiveModel.isBlank()\u0060 appears character-identically in 2 files \u2014 integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelConnection.java, integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java. 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":"integrations/chat-models/bedrock/src/main/java/org/apache/flink/agents/integrations/chatmodels/bedrock/BedrockChatModelConnection.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc0c3724cde6c92c51007571c9def7c466c26476b7298d3b66a8284cb8f4b9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entityName == null || entityName.isBlank()\u0060 appears character-identically in 2 files \u2014 runtime/src/main/java/org/apache/flink/agents/runtime/metrics/LlmExecutionMetricRecorder.java, runtime/src/main/java/org/apache/flink/agents/runtime/metrics/SubagentExecutionMetricRecorder.java. 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":"runtime/src/main/java/org/apache/flink/agents/runtime/metrics/LlmExecutionMetricRecorder.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"393c99e1ae40c191db91920bacf3edbec4c29eea77ed2e7e9f7ca0bf4abeaab3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing != null \u0026\u0026 !existing.equals(injection)\u0060 appears character-identically in 2 files \u2014 plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java, plan/src/main/java/org/apache/flink/agents/plan/tools/FunctionTool.java. 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":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfadb6153b948d410fb2cf33ebee5f902fae42951134df49e4648475fe4bcee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060level == TraceLogLevel.STANDARD \u0026\u0026 truncator != null\u0060 appears character-identically in 2 files \u2014 runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java, runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java. 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":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"04eccfa53841b0c40ecca97b5acbce063ae1fa837fc490a5ef717e65ae50c78f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelName == null || modelName.isBlank()\u0060 appears character-identically in 4 files \u2014 integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java, integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelConnection.java. 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0609c3fa91e604c7541a5f44da80fb0dd28d0360cdc289043fcec77b56018375"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060retries.signum() \u003C 0 || retries.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) \u003E 0\u0060 appears character-identically in 2 files \u2014 integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java, integrations/embedding-models/openai/src/main/java/org/apache/flink/agents/integrations/embeddingmodels/openai/OpenAIEmbeddingModelConnection.java. 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIChatCompletionsUtils.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e280dab75786f969b20d80492b27c9c6412ff971e2873305f1b1988615bd0ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.maxTokens != null \u0026\u0026 this.maxTokens \u003C= 0\u0060 appears character-identically in 3 files \u2014 integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelSetup.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java. 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelSetup.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc2cefc7c5cf5d2aa8335e0a54a59fad14756064fb7f79dcb3c3cd81aedf3a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.reasoningEffort != null \u0026\u0026 !VALID_REASONING_EFFORTS.contains(this.reasoningEffort)\u0060 appears character-identically in 2 files \u2014 integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java. 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":"integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f1fb12dbd183799ad8cdec60fabefce4340357e318984871cab0c5a43fccd6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.temperature \u003C 0.0 || this.temperature \u003E 2.0\u0060 appears character-identically in 3 files \u2014 integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsSetup.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesModelSetup.java. 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":"integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelSetup.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7b4048369d12423f69e5b18d70e10b00e9ddfbaed36104315539088ebad7cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timeout == null || timeout.isZero() || timeout.isNegative()\u0060 appears character-identically in 2 files \u2014 runtime/src/main/java/org/apache/flink/agents/runtime/async/AsyncBatchExecutor.java, runtime/src/main/java21/org/apache/flink/agents/runtime/async/ContinuationActionExecutor.java. 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":"runtime/src/main/java/org/apache/flink/agents/runtime/async/AsyncBatchExecutor.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9908e66c9a2d470334e42c9871e59dbc9c304845778b721af8c9bafc071b9319"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timeoutSeconds != null \u0026\u0026 timeoutSeconds \u003E 0\u0060 appears character-identically in 2 files \u2014 integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java, integrations/chat-models/gemini/src/main/java/org/apache/flink/agents/integrations/chatmodels/gemini/GeminiChatModelConnection.java. 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatModelConnection.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32b4b34f9810bbee8d95c8175f71eef6577b3f045ce80da652949e07cbe2a1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060truncated \u0026\u0026 truncatedRecordsCounter != null\u0060 appears character-identically in 2 files \u2014 runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java, runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/Slf4jTraceLogger.java. 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":"runtime/src/main/java/org/apache/flink/agents/runtime/tracelog/FileTraceLogger.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4c4cda57425359abbb0efe8476622beccde244c37030ca350810b24f2a763b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value != null \u0026\u0026 !value.trim().isEmpty()\u0060 appears character-identically in 3 files \u2014 runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupCoordinator.java, runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupPlan.java, runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupTool.java. 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":"runtime/src/main/java/org/apache/flink/agents/runtime/actionstate/KafkaActionStateCleanupCoordinator.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9ac3939089459f8606b09ba154e439b8749bd758e6db3e7fc0897cf6cc1b18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || value instanceof String || value instanceof Boolean\u0060 appears character-identically in 2 files \u2014 api/src/main/java/org/apache/flink/agents/api/decision/DecisionJson.java, plan/src/main/java/org/apache/flink/agents/plan/utils/ToolResultUtils.java. 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":"api/src/main/java/org/apache/flink/agents/api/decision/DecisionJson.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9867192114273294397ba9b5026d85ec88e69dd4606a61e2a14f35092d98cf8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value instanceof String || value instanceof Number || value instanceof Boolean || value == null\u0060 appears character-identically in 4 files \u2014 integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/AzureOpenAIChatModelConnection.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAICompletionsConnection.java, integrations/chat-models/openai/src/main/java/org/apache/flink/agents/integrations/chatmodels/openai/OpenAIResponsesUtils.java. 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":"integrations/chat-models/anthropic/src/main/java/org/apache/flink/agents/integrations/chatmodels/anthropic/AnthropicChatUtils.java"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04f7e692f2fe6391ea86c823b8cfb8fc73f10f0f8cedd517789a47a3b9eb7ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060api_key or os.environ.get(\u0022DASHSCOPE_API_KEY\u0022)\u0060 appears character-identically in 2 files \u2014 python/flink_agents/integrations/chat_models/dashscope_chat_model.py, python/flink_agents/integrations/embedding_models/dashscope_embedding_model.py. 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":"python/flink_agents/integrations/chat_models/dashscope_chat_model.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b37d5fb7c0b1a4127d7970be75e5b4db07d840261478548a815b6acb3c9567"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(data, dict) and \u0022injected_args\u0022 in data\u0060 appears character-identically in 3 files \u2014 python/flink_agents/api/tools/function_tool.py, python/flink_agents/api/yaml/specs.py, python/flink_agents/plan/tools/function_tool.py. 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":"python/flink_agents/api/tools/function_tool.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b8b9ff1d14839e3284f1002c8f2f5e425b8848b00e394e0b06ed7e1c58a911"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(output_schema, type) and issubclass(output_schema, BaseModel)\u0060 appears character-identically in 2 files \u2014 python/flink_agents/api/agents/react_agent.py, python/flink_agents/plan/actions/chat_model_action.py. 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":"python/flink_agents/api/agents/react_agent.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"129eea2ebc27ec5606eb54bdb00f549276aef635f398968bc4ee66094a5538b4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060to_row\u0060 is public, takes a document from its caller (line 263) and hands it to \u0060_to_row\u0060, which calls itself at line 290 (\u0060_to_row\u0060) with a piece of \u0060value\u0060 (and at line 300) \u2014 and nowhere in \u0060_to_row\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_to_row\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/runtime/output_type_utils.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7081cef5749690456d45b4837ad3a597a9c3f2f07a2e21bf456074500965a0da"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060flatten_dict\u0060 is public and takes \u0060d: Dict\u0060 from its caller, and it calls itself at line 65 (\u0060flatten_dict\u0060) with a piece of \u0060d\u0060 \u2014 and nowhere in \u0060flatten_dict\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060flatten_dict\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/configuration.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dec8e99c14c0270a61d936d787ab7972e3e60d3162e6c459b92ea55d3d14e9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060check_type_match\u0060 is public and takes \u0060actual: Any\u0060 from its caller, and it calls itself at line 88 (\u0060check_type_match\u0060) with a piece of \u0060actual\u0060 \u2014 and nowhere in \u0060check_type_match\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060check_type_match\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/utils.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"93859fd172178cacd323627ec2144f5d356f4be8731f3108a11d1f1b6628223a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060normalize_agent_result\u0060 is public, takes a document from its caller (line 73) and hands it to \u0060_require_json_compatible\u0060, which calls itself at line 136 (\u0060_require_json_compatible\u0060) with a piece of \u0060value\u0060 (and at line 140) \u2014 and nowhere in \u0060_require_json_compatible\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_require_json_compatible\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/actions/tool_result_utils.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ec69dcce670b76b2a8bde4a0df1a0180c7b743dbd5f99b2880b46aff1d000a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060same_json_value\u0060 is public and takes \u0060left: JsonValue\u0060 from its caller, and it calls itself at line 64 (\u0060same_json_value\u0060) with a piece of \u0060left\u0060 (and at line 70) \u2014 and nowhere in \u0060same_json_value\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060same_json_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/integrations/decision_models/decision_model_utils.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd59cb9993b4efacc0ff0752d722e984034cab8a08210b947ac912e468e09a5"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validate_memory_value\u0060 is public, takes a document from its caller (line 36) and hands it to \u0060_validate\u0060, which calls itself at line 66 (\u0060_validate\u0060) with a piece of \u0060value\u0060 (and at line 77) \u2014 and nowhere in \u0060_validate\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_validate\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/api/memory_object.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4ce9d867473762177ebaf7e53e0e1f6a01fcb4d207782a8a6432732d682a97"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060copy_user_context\u0060 is public, takes a document from its caller (line 62) and hands it to \u0060_copy_user_context_value\u0060, which calls itself at line 84 (\u0060_copy_user_context_value\u0060) with a piece of \u0060value\u0060 (and at line 86) \u2014 and nowhere in \u0060_copy_user_context_value\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_copy_user_context_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/api/events/event.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf447682d68f8665535d307e6f513f061ba218adb4039f09265842a3fcba487d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"runtime/src/main/java/org/apache/flink/agents/runtime/skill/LoadSkillTool.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e51f4991f6b44cf92d97535ae741784b6a2892c11217e5b54b7611194f9208c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"python/flink_agents/runtime/durable_exception.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"58215c3ae5afb7cb3fca54a988ef74c17f8464ff274a5f0b38bd513c07eda7bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"python/flink_agents/runtime/skill/skill_tools.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"09966cb489236612a5291f719514070820bddb01c90aaef6d7a92b18eb2f58ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except BaseException\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":"python/flink_agents/plan/exceptions.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f2f0761328718c7651c04cc47514a5cf013cd743115258049b0a704d81fb93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except BaseException\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":"python/flink_agents/plan/exceptions.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf256955196479b8d58ddf50fab6b21e42839bf8f01169cd1403458e65bb84d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except BaseException\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":"python/flink_agents/plan/exceptions.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bf1e182e7ec28ec65cadcbac6220b9ba323cf37887e03d8d4ed24afe4efae7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"python/flink_agents/plan/exceptions.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"949c4537bc5fadba733b87dac2241af5f2f3e1c54bd027687871a12c328ab894"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"python/flink_agents/plan/exceptions.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"840f151d0e0c169388ad3f8acc67eef07cc964635b68b34313672623a615f8f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"python/flink_agents/plan/actions/utils.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa38fd0f1a95a0838e60f5d873f8c71f03af021269e31ad94ad23c157ca3522"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"python/flink_agents/integrations/mcp/mcp.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1f8b5019e51e83e6a805cbe1c4593d54e57db5e032445c57106989fcbc8083"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/integrations/mcp/mcp.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"291e4e094fad1ab56d82082d84d943fc8f8a2b8af7afa74f44f4cc7396ef4f5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"python/flink_agents/api/version_compatibility.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd6ff12e7ebc29341a90f2c5174f03a7c6fd858e7aaedb5fe3af70ec0ac74d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"python/flink_agents/api/agents/types.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9cd9461110ac4af1fee63de277e2fcdd08f498567e590b83e20611bd8ca03c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e173dfa8d91d9576c13b3f909522c6f71adaecf4911c6d5c9b8e42aa5c1c8826"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"43af01dbe3f6300ac20731d3215a79d8d24f01fac43750b972c49a9b38354803"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"plan/src/main/java/org/apache/flink/agents/plan/tools/bash/BashValidator.java"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e2d1ed93078b22c29e8707cf42d62334ffb182e0ccfa7546f05d9e597e8341"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"integrations/vector-stores/opensearch/src/main/java/org/apache/flink/agents/integrations/vectorstores/opensearch/OpenSearchVectorStore.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64a09eb9209818770134e8ef16541d82b0244d78e30ffc01b59107b38a5a0a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (RuntimeException)\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":"integrations/observability/otel/src/main/java/org/apache/flink/agents/integrations/observability/otel/TraceLogOTelExporter.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19c810898ab217d8bee7ca88b47d1fae22c77f635b20b8d7f050943edfb1b9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPServer.java"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"3416091ddec47455b546efe513ea9aec4f2548b13b63b6d21641059511bb8df5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPServer.java"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"53590c2e865408dfd6211cccae223f71838f55a54170192d144320330f072f5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"integrations/chat-models/watsonx/src/main/java/org/apache/flink/agents/integrations/chatmodels/watsonx/WatsonxChatModelConnection.java"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"8376ca8ca47f704c866b174a20dfab47720d128d74d5ea2ff7716eedf7524eb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\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":"api/src/main/java/org/apache/flink/agents/api/agents/ReActAgent.java"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9c1a2f98c808b152e26b802d5d0934df9be9cf8f8f55223362659ebfa14674"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2013 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/runtime/flink_runner_context.py"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a55c5f2dfa144e828f0d51a8c38288a7710667ee56c739982f70b1adb1771f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 449 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/runtime/remote_execution_environment.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1bb369f8805a92784777464a7eabbf5fde91a76ed071f4f87bc8975af7a256"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 469 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/runtime/remote_execution_environment.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"477684deb8e5410b408a880e750f26d33f18c0f7129dc0a01dfc93884fbe9eba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/runtime/skill/skill_tools.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b2ab2d91c27770f692f540a493323857abff0fc7d857c0907fbe7c0ac0a653"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 215 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/function.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acd5caa9d81ede93b82e23ed4796526c426e812cfe94c329dd19138346a6bbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/tools/bash/bash_tool.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"89447a6dfa0cb8d0193468c3cfeb502a40c73f7ba8c1f3c299b5a5c3ec7472d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 713 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/actions/chat_model_action.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"04765d317bec15c7f418027466bbd43adb3efd3a64a24d196658e84f0438a7df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 51 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"python/flink_agents/plan/actions/utils.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b98bf7ac3a84cbe864bed98ae708a975dbfcd6cac6629d1266e11eeced5aa7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 603 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/AgentPlan.java"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"e389e6126f23d5d2dcb543fcfcbc460275090297f5a4d48e65a07cddfd4649f0"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/87 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}},{"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 JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plan/src/main/java/org/apache/flink/agents/plan/routing/LlmJudgeRoutingExecutor.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac310cf735d77c5537c9864aead509eb60e7cc2a4ba64f80d235e04ecb08e7c6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060serializeInputSchema\u0060 swallows every exception into \u0060return \u0022{\\\u0022type\\\u0022:\\\u0022object\\\u0022,\\\u0022properties\\\u0022:{}}\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/mcp/src/main/java/org/apache/flink/agents/integrations/mcp/MCPServer.java"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"242b41205e352af09b113c2d59a5f7e47f0747d04f96b22fef4b40e6de5fa492"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060redact_skill_url\u0060 returns \u0060\u0027\u003Credacted\u003E\u0027\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"python/flink_agents/api/skills.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98c1a90c2b84647e5964e24162c8cf85ec5702e38fe669485394d68f5a57d2f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_message\u0060 swallows every exception into \u0060return \u0027\u003Cmessage unavailable\u003E\u0027\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":"python/flink_agents/plan/exceptions.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7bbfcd0e6a701dfc21e68c923c3084c0f2f6dada640ba3882a76bea368edb8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_trace\u0060 swallows every exception into \u0060return \u0027\u003Ctraceback unavailable\u003E\u0027\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":"python/flink_agents/plan/exceptions.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a2ddaa63ec956bb4d2f4d6a2d184c40a479d1f5eba1608d5c478cdf5575bc6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060durable_exception_message\u0060 swallows every exception into \u0060return \u0027\u003Cmessage unavailable\u003E\u0027\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":"python/flink_agents/runtime/durable_exception.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd7f05fd6647a6c998fed34daa5cae01272fe6a4687344648b4e235c194bbd1"}}],"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-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-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-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-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-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-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"}]},{"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/"}]},{"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"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":94,"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."]}]}