{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"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":"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":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"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":"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":"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":"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":"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":"dialogue.dialogue_page (cyclomatic 64): dialogue.dialogue_page has cyclomatic complexity 64 (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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0372d84b468c7c396cdf9aa3590370bb1c15d98cd84881a565df69ea763cf12b"}},{"ruleId":"D1","level":"warning","message":{"text":"dialogue.mcp_management_page (cyclomatic 48): dialogue.mcp_management_page has cyclomatic complexity 48 (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":"libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89e02e50c7ab15a4809267abfb8bf38ab0a27a3bc657fcac1777a017eb71d5a"}},{"ruleId":"D1","level":"warning","message":{"text":"knowledge_base.knowledge_base_page (cyclomatic 37): knowledge_base.knowledge_base_page has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/webui_pages/knowledge_base/knowledge_base.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecc7f640bd5940960d324fc079694b92c8a0a10816c3f31d6c35aa7b2c317a8"}},{"ruleId":"D1","level":"warning","message":{"text":"dialogue.add_new_connection_form (cyclomatic 33): dialogue.add_new_connection_form has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4265a0af03c126687f3c960015618e63de7a8d5ef2f7b86d137650b25fe9479"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.parse_ai_message_to_tool_action (cyclomatic 25): tools.parse_ai_message_to_tool_action has cyclomatic complexity 25 (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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/tools.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1bb45aa143c8388a63a6debfde5c188713e616d8627de6bd219c054f20f0e7"}},{"ruleId":"D1","level":"warning","message":{"text":"kb_chat.kb_chat (cyclomatic 20): kb_chat.kb_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":"libs/chatchat-server/chatchat/webui_pages/kb_chat.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"307eb680f4efc4e2d05882367f9b5788f370e0d5c4df2af0fc497379248906f8"}},{"ruleId":"D1","level":"warning","message":{"text":"ESKBService.do_init (cyclomatic 19): ESKBService.do_init 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/es_kb_service.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6177e3671984eca9a1bbb23a9056df66693ffeeba607f59bf217a4b85f0863a"}},{"ruleId":"D1","level":"warning","message":{"text":"base._convert_delta_to_message_chunk (cyclomatic 19): base._convert_delta_to_message_chunk 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":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a62006483b5698b4c6a779d84f335e71582e5b41bc7692c89bdbc48cd7de8d"}},{"ruleId":"D1","level":"warning","message":{"text":"platform_tools_message._paser_chunk (cyclomatic 18): platform_tools_message._paser_chunk 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":"libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e72b2c53b4e2750bfcf7c1538497974b04bbd34049052c87e6e0313aa6b7dd"}},{"ruleId":"D2","level":"warning","message":{"text":"dialogue.dialogue_page (cognitive 117): dialogue.dialogue_page has cognitive complexity 117 (threshold 15). Drivers by points: if/else 41 (81 pts), loops 6 (20 pts), boolean chains 10, error handling 2 (6 pts) (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a17462770938160a80dc4a872934cc4c5f354c9937f5888024949bbbd152d15"}},{"ruleId":"D2","level":"warning","message":{"text":"knowledge_base.knowledge_base_page (cognitive 89): knowledge_base.knowledge_base_page has cognitive complexity 89 (threshold 15). Drivers by points: if/else 31 (74 pts), loops 2 (7 pts), boolean chains 4, ternaries 1 (3 pts), error handling 1 (nesting depth added 50). 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":"libs/chatchat-server/chatchat/webui_pages/knowledge_base/knowledge_base.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8f42563d9176ec891cd45836a3a236a0e46c8cdc71d56003b8463bc8339a6d"}},{"ruleId":"D2","level":"warning","message":{"text":"dialogue.mcp_management_page (cognitive 88): dialogue.mcp_management_page has cognitive complexity 88 (threshold 15). Drivers by points: if/else 36 (54 pts), loops 6 (12 pts), error handling 5 (11 pts), ternaries 2 (6 pts), boolean chains 5 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d864baa92a97b8e2b313bb643c2a0727fa7ef43c0ed6c0b89798057e42bd3e"}},{"ruleId":"D2","level":"warning","message":{"text":"dialogue.add_new_connection_form (cognitive 56): dialogue.add_new_connection_form has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (36 pts), boolean chains 7, error handling 2 (6 pts), loops 3 (4 pts), ternaries 1 (3 pts) (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":"libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"948092b4ea24db76392e9e5517c0c12c3e7e35f6815f657862bff8c7d3fd7b21"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPlatformAI.stream (cognitive 41): ChatPlatformAI.stream has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 2 (6 pts), ternaries 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b37d80739408af6280313f0b0d814f1614deda895c26c9a05db29dad2aac79c"}},{"ruleId":"D2","level":"warning","message":{"text":"platform_tools_message._paser_chunk (cognitive 39): platform_tools_message._paser_chunk has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 2 (5 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0d0ae68733ec7c929df13ffa88f0165b61060a192b6ec2a72c39e7ad4299f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ChineseTextSplitter.split_text (cognitive 38): ChineseTextSplitter.split_text has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (29 pts), loops 3 (9 pts) (nesting depth added 27). 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":"libs/chatchat-server/chatchat/server/file_rag/text_splitter/chinese_text_splitter.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa09a1ae99b9007eeb838810a31f21cc3938749f1967c74074fa14a0a6511de7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPlatformAI.astream (cognitive 37): ChatPlatformAI.astream has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (23 pts), error handling 2 (6 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7eed032ba39ae973f344dfaa4be021f88c646d27bf9a84e110395ee5d8c757"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.parse_ai_message_to_tool_action (cognitive 33): tools.parse_ai_message_to_tool_action has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (26 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/tools.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2b06e031006369aac0dafc1c42e28045eb60b000f4dcfaf20e9a3578d05cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"PlatformToolsAgentExecutor._acall (cognitive 32): PlatformToolsAgentExecutor._acall has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (8 pts), error handling 1, ternaries 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a05d89d0074588cd53ad2155be5603bfbeca18769d8dae015ef2ab2f0982a9"}},{"ruleId":"D2","level":"warning","message":{"text":"PlatformToolsAgentExecutor._perform_agent_action (cognitive 28): PlatformToolsAgentExecutor._perform_agent_action has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 4 (11 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (PlatformToolsAgentExecutor._aperform_agent_action) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3393499e3d7ef0986faad08523a82ba4d89de6d0eed89f442c14e8315095a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlatformToolsAgentExecutor._aperform_agent_action (cognitive 28): PlatformToolsAgentExecutor._aperform_agent_action has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 4 (11 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (PlatformToolsAgentExecutor._perform_agent_action) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8b208b9a0f536228b1e017455ab2bec5078110e32808ffb282098b4ad4d288"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_config_models (cognitive 27): utils.get_config_models has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (9 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"679edfcf411f04671ba05958817d42f9a44e84fa15af8d6b3fe491c8617ab7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.paser_ai_message_to_tool_calls (cognitive 26): tools.paser_ai_message_to_tool_calls has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 4 (7 pts), error handling 1 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/tools.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dec60671afe6ea4d0c9ac842bf4f00a21dcaa1ec1a98f1b17070ea4d3a92983"}},{"ruleId":"D2","level":"warning","message":{"text":"kb_chat.kb_chat (cognitive 25): kb_chat.kb_chat has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (20 pts), error handling 1 (2 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":"libs/chatchat-server/chatchat/webui_pages/kb_chat.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd98b88a3cc450f508dcc0ed1c0fb8ba9d45340e594b5c95c783096121b25364"}},{"ruleId":"D2","level":"warning","message":{"text":"all_tools.format_to_platform_tool_messages (cognitive 25): all_tools.format_to_platform_tool_messages has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (24 pts), 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":"libs/chatchat-server/langchain_chatchat/agents/format_scratchpad/all_tools.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1cb2ddfe198898b0157bd54be90d78fbf9354a4d6c2f959a377a6741a20239"}},{"ruleId":"D2","level":"warning","message":{"text":"ESKBService.do_init (cognitive 23): ESKBService.do_init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 6, boolean chains 4 (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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/es_kb_service.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c643854616ae1203669c308ba123541bfc342257898037694d60f130d8c152"}},{"ruleId":"D2","level":"warning","message":{"text":"ChineseRecursiveTextSplitter._split_text (cognitive 22): ChineseRecursiveTextSplitter._split_text has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 3 (4 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/file_rag/text_splitter/chinese_recursive_text_splitter.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0780306225cd7598d68eca6bc261c4d6059dce04ebf1e04d81f65e3e7e5a0c31"}},{"ruleId":"D2","level":"warning","message":{"text":"kb_doc_api.update_docs (cognitive 22): kb_doc_api.update_docs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2 (5 pts), loops 3, ternaries 2 (3 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_doc_api.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c868d71a062f537e4b7791285ba314b47eadc695ec48b1946863587ac95fb2"}},{"ruleId":"D2","level":"warning","message":{"text":"startup.start_main_server (cognitive 21): startup.start_main_server has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 5 (8 pts), 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":"libs/chatchat-server/chatchat/startup.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa098592a74c95dac634c7abb9ca8e13d495b86521614a1d2e4e711b3550f305"}},{"ruleId":"D2","level":"warning","message":{"text":"chat_routes.chat_completions (cognitive 19): chat_routes.chat_completions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 1, error handling 1, ternaries 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":"libs/chatchat-server/chatchat/server/api_server/chat_routes.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"db21772a7cbde27bc7b7e3f349e47ddce0a5e2cf8c7e3a57c1781e0694e34f59"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp_connection_repository.update_mcp_connection (cognitive 19): mcp_connection_repository.update_mcp_connection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (19 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":"libs/chatchat-server/chatchat/server/db/repository/mcp_connection_repository.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6728af2a4637702b8140e5c498ff6a9a2b88fb07616cf62f03ecf62fcd99ddfa"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.make_text_splitter (cognitive 19): utils.make_text_splitter has cognitive complexity 19 (threshold 15). Drivers by points: error handling 4 (9 pts), if/else 6 (9 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":"libs/chatchat-server/chatchat/server/knowledge_base/utils.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60753d47db6d1cae37fa28bf179da136660aa4261846e129793818389bc64a2"}},{"ruleId":"D2","level":"warning","message":{"text":"platform_knowledge_bind.render_knowledge_mcp_tools (cognitive 19): platform_knowledge_bind.render_knowledge_mcp_tools has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (6 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf559ff7a71edf3e6182246a885ab741c2b17397bcc850b9cd82c78762a9bf2e"}},{"ruleId":"D2","level":"warning","message":{"text":"platform_knowledge_bind.render_knowledge_tools (cognitive 18): platform_knowledge_bind.render_knowledge_tools has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (6 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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4ddbd290003f40426ff65461a866a16825e14f2be4d870ac2c17adbe43a8ea"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.schema_dict_to_model (cognitive 16): tools.schema_dict_to_model has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, 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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/mcp_kit/tools.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc3036bd992756020f91a2dd7e84e0191c0919bd134a36a82fc4fc77384e54f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatPlatformAI._combine_llm_outputs (cognitive 16): ChatPlatformAI._combine_llm_outputs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 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":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd99b145cda2d217a79a0b9446c1276f7caac50f0b27c40e6fbf9cff59bfbe76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webui_pages/utils.py: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 204 over it, 1.41\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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a64c7b7e8b95d754633f85039753f6b0187dcd258c92e8320ca7f84e3ac5653"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ApiRequest: 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea8d02c2e057421f1225a9bfa4b36079134813b4116d911aa6c06dc00ae4f3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/utils.py: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 170 over it, 1.34\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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"996df9b977988f99278273eec9807df06dc842aeafbfc0ea9fac7bf84a066afc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat_models/base.py: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 over it, 1.15\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":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cac4f268861b88f63d3b996ec1bdad6d9883f1bff11690e62455c60b0d320a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KBService: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/base.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"26724b90d2b6d8ed73a85a0159197d6fb613a640907144a6c14de95d1f4bcc48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py:22-56 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py:61-89 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87c8be482085f8a72867e5098b59a75bb583789ebb0e509dd015ffb2c590647"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:204-249 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:256-288 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:510-544 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:549-578 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:583-612 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/api_server/mcp_routes.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"360775deed8e00eee893a6fd51373b281dc1bbc565220e919384957050a17bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py:39-70 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py:39-70 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/function.py:27-58 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/web_browser.py:39-70 \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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efad868edfca17fa75c766c05d97b26dcc5143e6d85039ccdf39d5f77e84ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/chatchat-server/langchain_chatchat/agents/structured_chat/glm3_agent.py:57-107 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_tools_bind.py:26-110 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/qwen_agent.py:44-94 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/structured_chat_agent.py:25-77 \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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/glm3_agent.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba35094edf8df7d76958473d377f68a5f7abccbdc191cde823b07f8fabbe4e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): libs/chatchat-server/langchain_chatchat/chat_models/base.py:471-544 | libs/chatchat-server/langchain_chatchat/chat_models/base.py:554-643 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aca3af6a6e5828256d34e0338d7df06a4713ac3ac864728512a4f5e80a8ec33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py:239-303 | libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py:322-388 \u2014 These two members are one piece of code written twice and then edited apart: 65 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":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4909a45d470389369f87d9ff5005427a0bb9187248235a05553e1ba812edd19d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 49\u002B corresponding lines): libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py:79-131 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py:79-132 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/web_browser.py:79-127 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 49 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2df2ef50660debd96cd40537a3a690136a1d55af8533ee143c7d245145568d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py:32-116 | libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py:132-200 \u2014 These two members are one piece of code written twice and then edited apart: 69 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3608b69ba65986f174fbd3c3a6da48a464ab7791deae8d047279a411af220f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): libs/chatchat-server/chatchat/server/file_rag/retrievers/milvus_vectorstore.py:21-54 | libs/chatchat-server/chatchat/server/file_rag/retrievers/milvus_vectorstore.py:59-96 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"libs/chatchat-server/chatchat/server/file_rag/retrievers/milvus_vectorstore.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d50bf89e9d56d956c41228ea3e6d249c039de219bba47cb39b9213374758b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/chatchat-server/chatchat/webui_pages/utils.py:334-361 | libs/chatchat-server/chatchat/webui_pages/utils.py:500-533 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1695dcb3f701461e86a8a4eabc8a72199f28a4ec8e3b3875b0767373cbcc9d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): libs/chatchat-server/chatchat/webui_pages/utils.py:244-273 | libs/python-sdk/open_chatcaht/api_client.py:239-268 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f17ecac2a4839b08dca7765387e7d38db869f27690eb32a7b34106dd3141c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): libs/chatchat-server/chatchat/server/knowledge_base/kb_api.py:54-73 | libs/chatchat-server/chatchat/server/knowledge_base/kb_doc_api.py:365-397 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_api.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d701e9aa8bd1d74aaedf61d5a841e79d7248d945c3ebbaab41508108581c36be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): libs/chatchat-server/chatchat/server/utils.py:236-267 | libs/chatchat-server/chatchat/server/utils.py:322-349 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"406de0dcc730a3003fa41b58d519cd89986b8f3e94a785bdf4117da4bcbdacf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:80-102 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:107-129 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"libs/chatchat-server/chatchat/server/api_server/mcp_routes.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e804f819b7caf17b923e1d85cdfcfae077e20242ab8d9231cdf5b994f4126c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): libs/chatchat-server/langchain_chatchat/chat_models/base.py:766-812 | libs/chatchat-server/langchain_chatchat/chat_models/base.py:821-857 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f9b78375a77cf9f4d968a62b194bc019f11cdc4768ca324d179ddb94cfbcc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py:92-102 | libs/chatchat-server/chatchat/server/knowledge_base/kb_service/zilliz_kb_service.py:83-93 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8a2a97fe30aaefa88c8637e72ff43c3767756898b19b6875b659db333104f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/tool.py:162-200 | libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/tool.py:208-247 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/tool.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0faf6f51034887df5158dca13989b555beeb120fc9e59abfade25cb5eb988d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): libs/chatchat-server/chatchat/webui_pages/utils.py:56-65 | libs/chatchat-server/chatchat/webui_pages/utils.py:76-88 | libs/chatchat-server/chatchat/webui_pages/utils.py:99-110 | libs/chatchat-server/chatchat/webui_pages/utils.py:121-132 | libs/python-sdk/open_chatcaht/api_client.py:71-80 | libs/python-sdk/open_chatcaht/api_client.py:91-105 | libs/python-sdk/open_chatcaht/api_client.py:116-127 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d9451beafd29c19da3824a5c2ebe0d00de8a9eea87c3ee9872a10176208d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): libs/chatchat-server/chatchat/server/knowledge_base/migrate.py:212-226 | libs/chatchat-server/chatchat/server/knowledge_base/migrate.py:230-242 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"libs/chatchat-server/chatchat/server/knowledge_base/migrate.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd427555942c44fdd1faa9b0e2cdac9230f77230744a3e19b6024c31b0d3d6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): libs/chatchat-server/chatchat/server/chat/feedback.py:15-22 | libs/chatchat-server/chatchat/server/chat/human_message_event.py:19-28 | libs/chatchat-server/chatchat/server/chat/human_message_event.py:44-53 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/chat/feedback.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"503aa7a776064d50a8d27a2ae421d7b6a79e35fb9dc7978e2af02e6563b2f1a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py:29-38 | libs/chatchat-server/chatchat/server/knowledge_base/kb_service/zilliz_kb_service.py:27-34 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cd44187eb1c8648f6486aae06f5b8895bc8d60a77c3156fc727d2bf804a567"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/drawing_tool.py:68-75 | libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/web_browser_tool.py:68-75 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/drawing_tool.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae9399cd5d52f6b177214fac3d72e68c2dd2261db3af4bcc6f762dad5567208"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): libs/chatchat-server/chatchat/server/api_allinone_stale.py:31-41 | libs/chatchat-server/chatchat/server/api_server/server_app.py:67-76 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"libs/chatchat-server/chatchat/server/api_allinone_stale.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc658a5273128d474453f48c70f3110f3703e4832bc4b6aa7fb50c50e9d6f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): libs/python-sdk/open_chatcaht/api/chat/chat_client.py:45-60 | libs/python-sdk/open_chatcaht/api/chat/chat_client.py:74-87 | libs/python-sdk/open_chatcaht/api/knowledge_base/knowledge_base_client.py:179-189 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/python-sdk/open_chatcaht/api/chat/chat_client.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8128ab9b3d34b015b93080b6abfce301ee69afa751003e9f291006411d70916f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): libs/python-sdk/open_chatcaht/api/knowledge_base/knowledge_base_client.py:300-311 | libs/python-sdk/open_chatcaht/api/knowledge_base/knowledge_base_client.py:314-321 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"libs/python-sdk/open_chatcaht/api/knowledge_base/knowledge_base_client.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cda13abe2c482f7effb1c0524c83290db5300094e9cac7b2d8afd4598dc92e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/chatchat-server/chatchat/webui_pages/utils.py:950-959 | libs/python-sdk/open_chatcaht/utils.py:141-149 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"1990e823f22d6d1930f891098960410abfcbd7bdc846f82f28cc96be23701b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): libs/chatchat-server/chatchat/server/utils.py:42-50 | libs/chatchat-server/langchain_chatchat/agents/platform_tools/base.py:94-102 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf366bcfda4816d5f0bc23345fcbd80e060037cbce69197db6e3b40508c55bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): libs/chatchat-server/chatchat/server/agent/tools_factory/amap_poi_search.py:13-23 | libs/chatchat-server/chatchat/server/agent/tools_factory/amap_weather.py:30-41 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_poi_search.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fcc3d2d30e56d8a2c67fcf824f80b72862f235725e5e846a47f355638af53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): libs/python-sdk/open_chatcaht/api/chat/chat_client.py:23-29 | libs/python-sdk/open_chatcaht/api/knowledge_base/knowledge_base_client.py:107-116 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"libs/python-sdk/open_chatcaht/api/chat/chat_client.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1eb158ec1993324feaa4fc3cf744b6dc63f6ead24d2296aca2286d213d9774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): libs/chatchat-server/chatchat/server/knowledge_base/kb_service/pg_kb_service.py:88-90 | libs/chatchat-server/chatchat/server/knowledge_base/kb_service/relyt_kb_service.py:98-102 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/pg_kb_service.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f947055fa85710ff75ded87337b90d081abb06d80e78fcd7029a70635c7b70ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): libs/chatchat-server/chatchat/webui_pages/utils.py:678-684 | libs/python-sdk/open_chatcaht/api/tools/tool_client.py:10-14 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1a05a6c9f8f3da92d16bb2cf487b068dbd92eb352f9e64285bcf168031b299"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): libs/chatchat-server/chatchat/webui_pages/utils.py:404-410 | libs/python-sdk/open_chatcaht/api/knowledge_base/knowledge_base_client.py:87-88 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddfa04d4691a5651c27d7bbb65beb7faf1d47abccb4bd115635491e20c0ccd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): libs/chatchat-server/chatchat/server/knowledge_base/kb_service/chromadb_kb_service.py:94-100 | libs/chatchat-server/chatchat/server/knowledge_base/kb_service/es_kb_service.py:138-144 | libs/chatchat-server/chatchat/server/knowledge_base/kb_service/pg_kb_service.py:79-85 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/chromadb_kb_service.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4824c72bff4434d31412b6bed56f4180e1260c0b4f9b505c9c8a3d7c207e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): libs/chatchat-server/chatchat/server/utils.py:845-902 | libs/python-sdk/open_chatcaht/utils.py:22-79 \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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecde93126bcb294eb3787963da2223222a7ceac816553ad7056b69f03048a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201353 lines \u00D7 2): libs/chatchat-server/langchain_chatchat/agents/structured_chat/qwen_agent.py:44-94 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/structured_chat_agent.py:25-77 \u2014 before extracting anything, compare \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/qwen_agent.py\u0060 and \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/structured_chat_agent.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/qwen_agent.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37ede06aed6dd0662c2ae5375bfecafaf29b0e99b4c77d9561caaec0419349d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): libs/chatchat-server/chatchat/server/utils.py:740-790 | libs/python-sdk/open_chatcaht/utils.py:87-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060timeout\u0060 to \u0060float = Settings.basic_settings.HTTPX_DEFAULT_TIMEOUT\u0060 in one and \u0060float = HTTPX_TIMEOUT\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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbd780777f5077a2e1fee98363a9f73e43d6c5c67399aadd3d4192dc41ae517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): libs/chatchat-server/langchain_chatchat/chat_models/base.py:137-180 | libs/chatchat-server/langchain_chatchat/utils/history.py:29-72 \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 \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":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4efaf39badc490e083cd37b006fdef187fe6cf50d0b642b9e265ca402175683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:154-186 | libs/chatchat-server/chatchat/webui_pages/utils.py:199-231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/chatchat-server/chatchat/webui_pages/utils.py:154\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8485c1256838c02fad6e909a93b62a2378f6302631306982f617f49c4c5dff8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/python-sdk/open_chatcaht/api_client.py:149-181 | libs/python-sdk/open_chatcaht/api_client.py:194-226 \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 \u0060libs/python-sdk/open_chatcaht/api_client.py:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fd4068850bd1570570542b84b29b0c9f1176cb973c16098017559622a1b6af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:334-354 | libs/chatchat-server/chatchat/webui_pages/utils.py:500-524 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/chatchat-server/chatchat/webui_pages/utils.py:526\u0060 calls \u0060isinstance\u0060, \u0060dumps\u0060 and \u0060libs/chatchat-server/chatchat/webui_pages/utils.py:356\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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aebe5168bfbed0e34b8937a4b31d19929e6dc74d77d80b31a91ec0f3a93da76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/chatchat-server/chatchat/server/localai_embeddings.py:178-200 | libs/chatchat-server/langchain_chatchat/embeddings/zhipuai.py:94-116 \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 \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":"libs/chatchat-server/chatchat/server/localai_embeddings.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fb587786f17f7ccb13a7a77822e2e11eec1f0ec45390039a02332230837cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py:79-100 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py:79-100 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/web_browser.py:79-100 \u2014 before extracting anything, compare \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py\u0060 and \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4192d8f9b4b564ced5509900bde36c3462c806cbd4134e63a9df13316f0efe1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py:253-273 | libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py:337-358 \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 \u0060libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py:253\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":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e71b4b90f8d7d8443096fe49ff571a57e48a6e2f21e740e39887e9ff16ca31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py:45-65 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py:45-65 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/web_browser.py:45-65 \u2014 before extracting anything, compare \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py\u0060 and \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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 \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py:45\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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e5087e7e139cf1de870d9cf09268a1912f1161ee1db814bef992edb80084d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:139-157 | libs/python-sdk/open_chatcaht/api_client.py:134-152 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/utils.py\u0060 and \u0060libs/python-sdk/open_chatcaht/api_client.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d8f1f88bb96313de769ac4b171718994debd8893e46af0009bc54c3f42d98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:255-273 | libs/python-sdk/open_chatcaht/api_client.py:251-268 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/utils.py\u0060 and \u0060libs/python-sdk/open_chatcaht/api_client.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5517c4c1bf1652bbdcf68b049d6fa304a0353888e998f10e276d6913cbfe2bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:271-288 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:527-544 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:561-578 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:595-612 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:271\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/api_server/mcp_routes.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9910d7063ef6d50ccd7195f6f01c9250528996985a9694965d667e45a7b3d451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py:53-70 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py:53-70 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/function.py:41-58 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/web_browser.py:53-70 \u2014 before extracting anything, compare \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py\u0060 and \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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 \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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce9aaddd99256832a07558996322e12b5f0ef61bed97a6ad2be567acfc51c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/chatchat-server/chatchat/server/agent/tools_factory/tools_registry.py:46-63 | libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/tool.py:137-154 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"libs/chatchat-server/chatchat/server/agent/tools_factory/tools_registry.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14e6fe06fc5fdf0248aab91b0ff86f1cb517709793d38057875f9d90db9859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:185-202 | libs/python-sdk/open_chatcaht/api_client.py:181-197 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/utils.py\u0060 and \u0060libs/python-sdk/open_chatcaht/api_client.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30d60e7c9da82c572da45f42ea130f2533ec8f252a13577167b76e60020d280"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py:95-112 | libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py:124-141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"435ffc22859d104cbeb4e8f0d06bcc69c6cd4d7781b2e0a2d0ecc17542069be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:86-102 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:113-129 \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 \u0060libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/api_server/mcp_routes.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70c35312bd4d1c4e6158a0757f7f60fd86767abb5aee536edc762b155e80b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py:24-39 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py:62-78 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tools\u0060 to \u0060List[MCPStructuredTool]\u0060 in one and \u0060List[BaseTool]\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py:42\u0060 calls \u0060join\u0060 and \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py:81\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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ead8574067619448b530b8fe22afcca30644a141c86620ecba1e5c531d1e7ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py:197-213 | libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py:221-237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py:197\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":"libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ae5a4b325c888ee3d5d0c59b358d26d4e2b28e61f1b35b9baca73ab94636ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py:62-77 | libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py:156-171 | libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py:233-248 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py:59\u0060 calls \u0060drop_kb_summary\u0060 and \u0060libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py:153\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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e78df23c07153e061fa17a9e1121eb01340ea9bbf50b89eeeda00083d67f341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py:193-208 | libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py:217-232 | libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py:241-256 \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 \u0060libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py:193\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":"libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afd9de9233be45b8453347f5148bb6b6403f38dff7ef62812f1ee95c61f78bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py:568-583 | libs/chatchat-server/chatchat/webui_pages/kb_chat.py:240-255 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py\u0060 and \u0060libs/chatchat-server/chatchat/webui_pages/kb_chat.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eadc6e8141171a805da3f9f96f3a306c0df0fb3bfdd70f5f0c40c18ad4aaad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): libs/chatchat-server/chatchat/webui_pages/utils.py:148-162 | libs/chatchat-server/chatchat/webui_pages/utils.py:193-207 | libs/python-sdk/open_chatcaht/api_client.py:143-157 | libs/python-sdk/open_chatcaht/api_client.py:188-202 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/utils.py\u0060 and \u0060libs/python-sdk/open_chatcaht/api_client.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec9cf104f1725ce15d3cdfc0afcea75245aa416c94b17f357e45ccd6bee6cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 4): libs/chatchat-server/chatchat/webui_pages/utils.py:163-176 | libs/chatchat-server/chatchat/webui_pages/utils.py:208-221 | libs/python-sdk/open_chatcaht/api_client.py:160-171 | libs/python-sdk/open_chatcaht/api_client.py:205-216 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/utils.py\u0060 and \u0060libs/python-sdk/open_chatcaht/api_client.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3178b2b9f6670ea3c969b1a4a4ccffb321a74b42f1f4187ecc9683ec4a29a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 3): libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py:117-130 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py:119-131 | libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/web_browser.py:117-126 \u2014 before extracting anything, compare \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py\u0060 and \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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 \u0060libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"99022f4b7218460702e75f8a2ea6cadcd7742d656ac8ea7bc5841f23fd1ce5f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py:162-202 | libs/chatchat-server/chatchat/webui_pages/kb_chat.py:45-85 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py\u0060 and \u0060libs/chatchat-server/chatchat/webui_pages/kb_chat.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd234b453a988ddc92f5df38c8430c8a757340bf0a0e6abed3376f0ed58085e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/chatchat-server/langchain_chatchat/chat_models/base.py:502-514 | libs/chatchat-server/langchain_chatchat/chat_models/base.py:594-607 \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 \u0060libs/chatchat-server/langchain_chatchat/chat_models/base.py:594\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":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c8dc6581850a1891d91067852c2b935738e424c15f2eb5ab112c108b65c883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py:301-313 | libs/chatchat-server/chatchat/webui_pages/kb_chat.py:155-167 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py\u0060 and \u0060libs/chatchat-server/chatchat/webui_pages/kb_chat.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 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 \u0060libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py:301\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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a686a2de13848525c10687f31cccd89160bb9e51077bbe2793a2783f137b4e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/chatchat-server/chatchat/server/utils.py:251-262 | libs/chatchat-server/chatchat/server/utils.py:332-344 | libs/chatchat-server/chatchat/server/utils.py:366-377 \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 \u0060libs/chatchat-server/chatchat/server/utils.py:332\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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b69d2b6d5eba2ec12153ea19b0a3500453e3601a651bf8c46579cac63c220c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/chatchat-server/chatchat/server/agents_registry/agents_registry.py:158-170 | libs/chatchat-server/chatchat/server/agents_registry/agents_registry.py:186-197 \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":"libs/chatchat-server/chatchat/server/agents_registry/agents_registry.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca10497639f07c9ccd1fbeb74dfb27a755399ec6a5f54b059676b774ed11a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/chatchat-server/chatchat/server/localai_embeddings.py:44-55 | libs/chatchat-server/chatchat/server/localai_embeddings.py:66-77 \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 \u0060libs/chatchat-server/chatchat/server/localai_embeddings.py:44\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":"libs/chatchat-server/chatchat/server/localai_embeddings.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f31d3f65ed85515ae3069faaa82d91e7a1cab25a9984e2c7e8e57315c2dff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py:345-356 | libs/chatchat-server/chatchat/webui_pages/kb_chat.py:172-180 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py\u0060 and \u0060libs/chatchat-server/chatchat/webui_pages/kb_chat.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 82 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 \u0060libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py:345\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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"921dfa07cfe412861d2022dc33aff0c259db05be539c7c435a6954f8813161cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 5): libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:235-245 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:269-278 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:525-534 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:559-568 | libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:593-602 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/chatchat-server/chatchat/server/api_server/mcp_routes.py:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/api_server/mcp_routes.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"665e237197c1e7f59b41758165010d5f3d4e0f55a9fa1d188ee79909a384c2db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): libs/chatchat-server/langchain_chatchat/agents/structured_chat/glm3_agent.py:84-93 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/qwen_agent.py:71-80 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/structured_chat_agent.py:52-62 \u2014 before extracting anything, compare \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/qwen_agent.py\u0060 and \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/structured_chat_agent.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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 \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/glm3_agent.py:84\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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/glm3_agent.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10841de77b5029b4672507d068a431deeaba731e656a363a4647d51693d0be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/chatchat-server/chatchat/server/chat/chat.py:287-297 | libs/chatchat-server/chatchat/server/chat/kb_chat.py:217-227 \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":"libs/chatchat-server/chatchat/server/chat/chat.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b176d4bf69e50377d092249e0b9b1c551434c3556556bb6fbf5be20eda058b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/chatchat-server/chatchat/server/chat/file_chat.py:161-172 | libs/chatchat-server/chatchat/server/chat/kb_chat.py:126-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/chat/file_chat.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b4cfcc243a28868330f815ad6e61e4e2c4a6436576523bb98a3f4aa330b59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/chatchat-server/chatchat/server/api_server/openai_routes.py:75-84 | libs/chatchat-server/chatchat/server/api_server/openai_routes.py:91-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/api_server/openai_routes.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"88262c0da005096e457f3cef2b760a24004dd121c432c0dfb820a04c1fba6e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:99-108 | libs/python-sdk/open_chatcaht/api_client.py:116-125 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/utils.py\u0060 and \u0060libs/python-sdk/open_chatcaht/api_client.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02dc1513013fbe9a98b979b370376113efa1126d4f2650911f9b03c3314234f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py:84-93 | libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py:135-144 \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 \u0060libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py:84\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":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6327f90d6179fbd20f390f2a7e72ee00bdcd30d11dc187251abdced8102731e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): libs/chatchat-server/langchain_chatchat/agents/structured_chat/glm3_agent.py:84-92 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_tools_bind.py:53-61 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/qwen_agent.py:71-79 | libs/chatchat-server/langchain_chatchat/agents/structured_chat/structured_chat_agent.py:52-60 \u2014 before extracting anything, compare \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/qwen_agent.py\u0060 and \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/structured_chat_agent.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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 \u0060libs/chatchat-server/langchain_chatchat/agents/structured_chat/glm3_agent.py:84\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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/glm3_agent.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b2157fd84726354ff53c0542417166e6ff017386b85e2aed206b4f1684a9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/chatchat-server/chatchat/server/chat/chat.py:153-163 | libs/chatchat-server/chatchat/server/chat/file_chat.py:163-173 | libs/chatchat-server/chatchat/server/chat/kb_chat.py:129-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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/chat/chat.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e244a7d7698702604fa8303500bf6e9c0503791e9a5748d5e7c2f66cbda898c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/chatchat-server/chatchat/server/knowledge_base/kb_doc_api.py:244-252 | libs/chatchat-server/chatchat/server/knowledge_base/kb_doc_api.py:347-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 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_doc_api.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecce26a723e29e9bd1eb3245965ede5cf6e6da58d72971ccf4e227231ede02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/chatchat-server/chatchat/webui_pages/utils.py:339-346 | libs/chatchat-server/chatchat/webui_pages/utils.py:505-512 | libs/python-sdk/open_chatcaht/utils.py:247-254 \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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65fa1117a35edd740d1a505debdb8518d685602dbe7041b70f7f7749ee0463d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/chatchat-server/chatchat/server/knowledge_base/kb_doc_api.py:421-428 | libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py:49-56 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/chatchat-server/chatchat/server/knowledge_base/kb_doc_api.py:419\u0060 calls \u0060get_service_by_name\u0060 and \u0060libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py:48\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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_doc_api.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"1342b106a88565402f1186732dfb41b540ec5a475e6e0065242cc1e1f987fde8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:56-63 | libs/python-sdk/open_chatcaht/api_client.py:71-78 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/utils.py\u0060 and \u0060libs/python-sdk/open_chatcaht/api_client.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04bfac2a1bb060dc8155d232c58112a248db1dd954d18a75438d276cda4a2b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/chatchat-server/chatchat/server/chat/utils.py:30-44 | libs/chatchat-server/langchain_chatchat/utils/history.py:91-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"libs/chatchat-server/chatchat/server/chat/utils.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a070f69a50dc337970ae84cb0a5070f3dc6483d7ebdd0a20ed36cb9910e648ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/chatchat-server/chatchat/server/chat/utils.py:48-53 | libs/chatchat-server/langchain_chatchat/utils/history.py:109-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"libs/chatchat-server/chatchat/server/chat/utils.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0df84d5443c09d4bb837d9565ba326479140b03f6ff07b1d96c541cc98cd71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:42-46 | libs/python-sdk/open_chatcaht/api_client.py:57-61 \u2014 before extracting anything, compare \u0060libs/chatchat-server/chatchat/webui_pages/utils.py\u0060 and \u0060libs/python-sdk/open_chatcaht/api_client.py\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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 \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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2028b0069c8a68bc17d3c877f8caa1ca8674dc5c6278426080d0cf6b2dc529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:924-932 | libs/python-sdk/open_chatcaht/utils.py:167-175 \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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f2096b7b28b1a5bd6a1342e731d7f409e2f492abd40823e4d86e131285c557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/chatchat-server/chatchat/webui_pages/utils.py:936-946 | libs/python-sdk/open_chatcaht/utils.py:153-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. 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6e7db00d48e36190fc393533d94065ec502412fba8a338f180aea0c58462eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py:45-52 | libs/chatchat-server/chatchat/server/knowledge_base/kb_service/zilliz_kb_service.py:41-48 \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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd17c3521c20a9eb2b1d0c3c43b052ce6c6bc7ff985b4698c82b7bd63f401e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py:79-89 | libs/chatchat-server/chatchat/server/knowledge_base/kb_service/zilliz_kb_service.py:73-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb3b18db813f335c5ac7b2c6664973f761c1a4f50cd1d92e254d4642eac25a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/drawing_tool.py:52-58 | libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/web_browser_tool.py:52-58 \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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/drawing_tool.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d8c5f1341cae078c9186d824e7fe4fc1904077e6a36b99e9b13ab0b45de688"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: text-unidecode: \u0060text-unidecode\u0060 1.3 is published on PyPI under \u0060GPL-2.0-or-later\u0060, which this policy bans, and it is in the SHIPPED closure of this repository \u2014 so it is installed by everything that depends on this repository, not just by its test environment. A distribution offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"85b792ddfe32801c013ee8ebcbb674d3f6d61cfd12a7d8f517aaeecfab7ee72e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.py: libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in dialogue.mcp_management_page at line 10. 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 2025-08-12..2025-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-08-12 17:27:42 \u002B08:00\u0027 --until=\u00272025-11-10 17:27:42 \u002B08:00\u0027 --full-history --no-merges -- libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.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":"libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21833258e9162bb786582a80609b3255a7758e1cbef9c18c42ac884edfb86c7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.py, libs/chatchat-server/chatchat/server/api_server/mcp_routes.py, libs/chatchat-server/langchain_chatchat/agents/platform_tools/base.py, libs/chatchat-server/chatchat/server/db/repository/mcp_connection_repository.py, libs/chatchat-server/chatchat/server/agents_registry/agents_registry.py, libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py, libs/chatchat-server/langchain_chatchat/agents/output_parsers/platform_knowledge_output_parsers.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e18688b06a1af42f369f46cc0bd4f46c13c2c22e1141e900c72a9674b2a04c2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo \u4E4B\u540E\u6539\u4E3A\u6807\u51C6\u6D4B\u8BD5 \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":"libs/python-sdk/tests/chat_test.py"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa7bfa064e023da0806536f335f8dc2eac1e959a47e73b40f48d37b7611a2d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u4E0E tool \u914D\u7F6E\u9879\u91CD\u590D \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":"libs/python-sdk/open_chatcaht/_constants.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a78041263e6eef4802b3bdd1cd8a2507dcd70162994ebc3142f33ff95b12bcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u4E0E tool \u914D\u7F6E\u9879\u91CD\u590D \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":"libs/chatchat-server/chatchat/settings.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7013496973ce41e804b91bf24b24455fcba16b3375e8722aeaaa5a24469287"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo \u5F85\u5B8C\u6210 \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":"libs/python-sdk/open_chatcaht/api/standard_openai/standard_openai_client.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a6b3dc2757305ef839b0c1eff938befd9be052b6982db7ceb6d9214268faa5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO agent params of PlatformToolsAgentExecutor or AgentExecutor  enable return_intermediate_steps=True, \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":"libs/chatchat-server/langchain_chatchat/callbacks/agent_callback_handler.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"643e94a26a7fd4a418f3dc7fb244b8e973331e34f7fbab5a7599e64a55813b47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO agent params of PlatformToolsAgentExecutor or AgentExecutor  enable return_intermediate_steps=True, \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":"libs/chatchat-server/chatchat/server/agents_registry/agents_registry.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c03fd7604bf983a74bc291e75d035d7a3dc5d677d4b331f829975d332b335fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: platform adapter status control, but langchain not output message info, \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":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"849f6a5530c2755f98519c2921fa98e438ec669ef869fffd807db372f1a2fd7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: platform adapter tool for all  tools, \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":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab5f8cb8e40492e4daeedbddabdf6d29aaa63f59a5546efe3ac3628ba8e25bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: platform adapter tool for all  tools, \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":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ed31afde5aa806544c89b54966cc17175329837d4ce5c6e712dd7026bd893d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: platform tools built-in for all tools, \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":"libs/chatchat-server/langchain_chatchat/agents/platform_tools/base.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"132adf4c16140e9f7c6a42a1666d4df484a58d32316b0316065c599ae0ae43b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: return type here not supported by current mypy version \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":"libs/chatchat-server/langchain_chatchat/agents/platform_tools/schema.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d302fe8564e072dbf915e95c6644477e97703c8b99fd104446778e81e4648ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO Annotate this code \u201C\u6709\u6982\u7387key\u4E3Acommand\u800C\u975Equery\uFF0C\u9700\u4FEE\u6539\u201D \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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/qwen_output_parsers.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82c6fdd9680000835d84a32f63c0dfe7bb144064b684191cfef12a6d02fa2f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: parse platform tools built-in @langchain_chatchat.agents.platform_tools.base._get_assistants_tool \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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/tools.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"785e11cea3234e310c6af7d4b65b5f8dd79c58f9b6ab5913c1d7849ee7f1998a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: parse platform tools built-in @langchain_chatchat \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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/tools.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28fa0f2f6cdf0904e39054c5418c988accbb51f1389de45d9e1f53876efea62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: refactor so these are properties on the base 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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/struct_type.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a75ce81b1cc17cbf25a14201dd1d4a3f96e6025241ad88420d6b622038e1a47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u90FD\u5B58\u5728\u6570\u636E\u5E93\u4E86\uFF0C\u8FD9\u4E2A\u914D\u7F6E\u9879\u8FD8\u6709\u5FC5\u8981\u5417\uFF1F \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":"libs/chatchat-server/chatchat/settings.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de7312939490fbd8c0c233fdc282a9e295e857a9038dd7bc10c139e09993edf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u4F3C\u4E4E\u4E0E LLM_MODEL_CONFIG \u91CD\u590D\u4E86 \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":"libs/chatchat-server/chatchat/settings.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aea67270797542e5053e895abff868a3901b0f58dd99a4e87a1c643a79358a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u4F3C\u4E4E\u4E0E LLM_MODEL_CONFIG \u91CD\u590D\u4E86 \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":"libs/chatchat-server/chatchat/settings.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a397ed61f1b64d696c5a7e79a8b317c9358f531605d22abaa9457226ac53cc1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: remove lite mode \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":"libs/chatchat-server/chatchat/webui.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bead598bc8c8706ed70fb334b9e7fc634bce65b78322170298f38c2d06e0225f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u641C\u7D22\u672A\u914D\u7F6EAPI KEY\u65F6\u4EA7\u751F\u62A5\u9519 \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":"libs/chatchat-server/chatchat/webui_pages/kb_chat.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dbb1ec9526344cfc3f6fa4ec731b6f3dc25d6c96cadd137f96f13d4c2eaab4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u9700\u8981\u66F4\u7CBE\u7EC6\u7684\u63A7\u5236\u63A7\u4EF6 \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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d77cd583a0ef0950de71d7fcf370350c2815975b29e14a9c71193b945292cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u8FD9\u91CC\u7684\u5185\u5BB9\u6709\u70B9\u5947\u602A\uFF0C\u4ECE\u540E\u7AEF\u5BFC\u5165Settings.model_settings.LLM_MODEL_CONFIG\uFF0C\u7136\u540E\u53C8\u4ECE\u524D\u7AEF\u4F20\u5230\u540E\u7AEF\u3002\u9700\u8981\u4F18\u5316 \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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0696f1dec3ee3a3fb857bf9cbfd76ac695c0e53d57d787dc69b7f50af41495"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO\uFF1Axinference qwen-vl-chat \u6D41\u5F0F\u8F93\u51FA\u4F1A\u51FA\u9519\uFF0C\u540E\u7EED\u770B\u66F4\u65B0 \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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3ebab67b0067009abd98edfc5a50f37323c6be9fec1548f9fcd4777a3b9466"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: insert text directly not shown \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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bf4468d68e81c227d316330cd343605bcafff84f8fb302e5e2b3268d4606c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO\uFF1A\u7279\u5B9A\u5DE5\u5177\u7279\u522B\u5904\u7406\uFF0C\u9700\u8981\u66F4\u901A\u7528\u7684\u5904\u7406\u65B9\u5F0F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"d948c5cb8c249b72b4588fd6421adc59f2b405d8fee8b1be41a4fee35f612399"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO\uFF1A\u5F53\u524D\u4EC5\u652F\u6301 xf \u81EA\u52A8\u68C0\u6D4B\u6A21\u578B \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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae63dc04bb653acd439b686cb2bf6c9b2ec96e1c69839a9ab8d002256dbb437e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u4ECEAPI\u83B7\u53D6\u6A21\u578B\u4FE1\u606F \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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce689db9e56193093746497625f290c4bcbce91b9caa3156f670e8b57c61c3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u79FB\u51FA\u6A21\u578B\u52A0\u8F7D\u540E\uFF0C\u8FD9\u4E9B\u529F\u80FD\u9700\u8981\u5220\u9664\u6216\u6539\u53D8\u5B9E\u73B0 \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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"153f627132861c6b8eb2a7f4532caf307115b60e7b35993b5ea6614dec3e9c8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Chroma can do batch querying, \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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/chromadb_kb_service.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"923604c3a56e3141a5f19a60a75e610e2dc9c942c2eb48127a5884cc8453b98c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u6362\u4E2A\u4E0D\u7528torch\u7684\u5B9E\u73B0\u65B9\u5F0F \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/file_rag/retrievers/ensemble.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb12c14353841cd9af7c114643e592a56e73f22bc5a1f8ec7057f677e6923f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u56E0ApiModelWorker \u9ED8\u8BA4\u662F\u6309chat\u5904\u7406\u7684\uFF0C\u4F1A\u5BF9params[\u0022prompt\u0022] \u89E3\u6790\u4E3Amessages\uFF0C\u56E0\u6B64ApiModelWorker \u4F7F\u7528\u65F6\u9700\u8981\u6709\u76F8\u5E94\u5904\u7406 \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":"libs/chatchat-server/chatchat/server/chat/completion.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fc224f4f3cbfd560ce47caae0e0c698e68bde6683980a3da84fa889d76b275"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO\uFF1A \u89C6\u60C5\u51B5\u4F7F\u7528 API \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":"libs/chatchat-server/chatchat/server/chat/kb_chat.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24477fee8148232b030182b1d87b37f3c4328435b11a257822010c20243fd25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: \u524D\u7AEF\u652F\u6301\u914D\u7F6E\u6A21\u578B \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":"libs/chatchat-server/chatchat/server/api_server/chat_routes.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"323c495b54fec6c58c0df3794768ad0fe0e34f1281e243abd4ae5e7e660b814d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ################################### TODO: workaround to langchain #15855"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/agent/tools_factory/tools_registry.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05e786d8009783a9eb83547e96fa5218028a457d1528e1313bef44fab88caa1"}},{"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. ADRs are expected here because \u0060libs/chatchat-server/pyproject.toml\u0060 makes this repository a deployable product (line 12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/pyproject.toml"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"39afbedc01c3f2d09f9fc0b0ca4d789b1acfd6220f055b341a3252d315df8b92"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 3 project(s) overshoot their size bounds, lowering Project Cohesion to 3.3/10. The most over is \u0060libs/chatchat-server\u0060 (20155 LoC, 242 module-visible types across 40 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb6edffad409bfc3090228068773c0be17362c8857f0bf170ed967f7f2f8819d"},"properties":{"commitSha":"5afee735a925ecad3718ba10fc449d12096b024e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d8eb2dc9a292943b7d1aaa5f19ad19cdf779b3293190fb0d2aeada7481946bc"},"properties":{"commitSha":"24ffa2f362f8605b5afb8a7a674d5a13f478fdf0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a411759c1f06d050a96dfaf9a58f96a89f17362ac478bcc85db074ba6e69d53"},"properties":{"commitSha":"24ffa2f362f8605b5afb8a7a674d5a13f478fdf0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6f779cc315c5afc627359698a24aaed361e3841e3a3517f6fc10e92a5412d61"},"properties":{"commitSha":"24ffa2f362f8605b5afb8a7a674d5a13f478fdf0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0319731559050df0f509f4d4b16ba1fa21487d754eb928ad6a524374ada4cbd4"},"properties":{"commitSha":"24ffa2f362f8605b5afb8a7a674d5a13f478fdf0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9dc70d6bff692a347be01136ed4c8c37a39b6e73fcc49ca690ef995c291decb4"},"properties":{"commitSha":"24ffa2f362f8605b5afb8a7a674d5a13f478fdf0"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1f64a1a101c4853adda42bb447895ee72f3c480e5468b8486082a07c662aa1e"},"properties":{"commitSha":"4873d136b517bd7422d1c3a7d6016666cbd204b2"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bb94e8020dd9200fe5e99fd3666875bbfe808dd54c877890ed991c9be76bbce"},"properties":{"commitSha":"c389f1a33aae22bb9cfb1bf68b4ab1642475db77"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6d44177647f01d74f5bc67c36ce14ee2383ad47b2e7bf2e508931f8e3e85fff"},"properties":{"commitSha":"d316efe8d3112d7badf3a62da92a8c797ae7bb4f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0c326924bf888a8341c08b5fe9d988ed249a1b988e46f4d7df5e0faa17d9e9a"},"properties":{"commitSha":"2c8fc95f7a1b32e7a41263cae18a62faf2169bf7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e1ab4ae8b8c3eddf4341337805986812557bbf3f8a46139f093498289934162"},"properties":{"commitSha":"5702554171f7fd090b0b49440034abdfd52721b5"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5dc68e7e3e4e90b3c5a23309610ee9d65d79d854a101eaf1b648df6620daded"},"properties":{"commitSha":"06af3f4c5e34216e12b2328ef7a16a0bd2d1068a"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2694bdc5330793643579b1af821fe0ca0229718ef0483d0064dab7d339c80570"},"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":"cc369495696578c56eabe713699b910f2042e73b2c2697a0c2801de5362a4d5f"},"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":"403a4db758209b3e3ff501fad8913d9f9fdd913c6e962d6d14409588df877e1d"},"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":"5a6144a321e1dd24e882b815b50aace9cb4418c44270d838c87eba979ac87add"},"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":"0ec644d242adb310779a0b4bf4178548e75ee4f99ee64c94e558e649b5d895cd"},"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":"4fbe061ba5cfd6417039b6b64477eeeea3ba05a94b5c58d900f0afea5cbf6a1d"},"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":"401b160602f5e5fa41de08eaf3bca274b3c9446ab8b54eacffae86c427bdf746"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"aa6765faa5652b76c2c2d4e0402257c6c2ecaecf18063a42ea05c72842970a2f"},"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":"32e09d90dc432180fa391274db5ba432e8c64c50f66b5579f8c13fb071878b12"},"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":"520f4c264aa8c2a557cedb0e4407cbbbd9ea686e526d7e9cabd417915c24d345"},"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":"0cd1fc7cd6045564600c435043afba3e0bda9bad6c8aec1e1cdbb6ee33889bde"},"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":"7928f9e4e5afe38dc98ccda25f3ac4759c6b561b6e2c6edb7edaf424616142bc"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"961a06820625dceec75b12c2c8a524b75afb3cb329f7dd91d128238b348aa0fa"},"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":"75b398409bef277b9e8753cef16d16f76e4a2da5da15a90008f998876d64a497"},"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":"0d9a64881687f09038dc6d303a4bafed5f36c5412f1e8e7ea35ed93261df15aa"},"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":"4b2362600d2a86c17e4a126ee475c094930741c204e107fcbb7cccec3af40972"},"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":"b278fd580e9fd673e4ab6cf2b0b45c8cc7468ecdeec64a4a5356de3895c530c4"},"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":"6fa327c3559200e9b124e0b29c6d677a44f751015fc4df5e9ebef8d5522e7799"},"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":"7d191abf61f31d326649781c00ab394fc1fbbd6f2ec1a6a6be3f0b1cb38a5c2a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"32209e84c7c7afe627203146618216fe1f69481976d02465511e78667e953d3c"},"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":"464c7865d0ad73bad4e8281d4c6f7d6ea84de850fbe01646efeaa2504ff32533"},"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":"2e3512e9433830968f6450974a1bbfa301346e7405648a354006d6f66316f18f"},"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":"d8e9040c15edbf51e98cd552f7bd75e0a268805fb382740aaf6562710a58f135"},"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":"72a548a5fdee838847d6519f99d333144f895af8ecaa2786c94c4d9f478aa0f9"},"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":"3352bfc81f6bd9ffd35633f8728f295029400e055ef579a49db2a5df44bd01ff"},"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":"454ff5e10f81e8f832021bba183f44b4e4fc78b6f7ed6a484be16c5ce9152f66"},"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":"40146fafffdb398beba2704dfc664af7995e0c9277b5df6fac246d63b5ddfeb4"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3095b40ebe5cc34c53d19ec3666e0aa6355ed278c97d89c6c0c86e30e9e57789"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"26f6d59349c38cea4c55ce881c88c6f10b5ca774c5deaabcf798004b0c952c82"},"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":"c4f2c47593a6d165011f98c55d1982652ee407d36b87d8bedbacb304d3703243"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"ffdbfdff7bf61cb4145e2badc878f55d92f113f743267b073318c12aea4d8db8"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"71c0fed41e5729e4b4d17737191ca655d8b9dc915231c255926c5d4b5f56c51f"},"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":"b0ca7c3b81c3d0f77703a8db86eec5befd4e239b12f7617b401b0dfe424e11c8"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"8faca3526676e7f9e84aabae8d9466d2c79fc01e8b499c3e08ba0d6172e248f3"},"taxa":[{"id":"CWE-494","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":"72b3d4e5ee8e40d58fbbe47fad83d619db9c983eead3a7638698b6360fe49110"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0a3747497533070e8b0ef9e1f0546593c1ffcea28005e14352fd129f13585ea"},"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":"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":"0b89c0be551ebe126edcdef1acdffb6c9460fd6867181718183c0d43effb8a1c"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d53e4c371ca029e29fa12cf3408c7a43509d72722c30b2a818df7ef8909cf948"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d447c1266ef4da713baa2de36caa349e82b7df4318f968d801db57972cce6753"},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4b3c56970a269b641164b8dab894f800d30d095258cfb21e2c50810b529311d9"},"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":"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":"46caf3d429473c8bb2cead6b78190678abe1ea292df02c4ab929712715d4ed6b"},"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":"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":"dba60d9b7c8f16f8d4e290310629616eee3174a12c4c4914a984a5a0376fe805"},"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":"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":"466762d42c5a61b3b6c9b533970b591be32fc6f63b9e731422ddadafbe0b7eaf"},"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":"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":"a106a953ac695cc8e5d1f66f3a83e1062a79c409f789622d6331d315c0f06364"},"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":"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":"9af581e78f718b092f6711fdee13ce796e23103baade3f812cecc1d023cfe443"},"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":"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":"f6557ff3383a9a076d1b326866c7203dec4cb6e9fd8b21c05997c0ac9ffe64f2"},"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":"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":"b77cf79aae8e4b36f592fd2005e2908bb29fe4212f9ab13d283497f3559dcaea"},"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":"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":"58b1e63db5ffec98c5c773028bb91c6eb66e5dc290d50db906727b18c568b9fb"},"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":"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":"28dd29c6df17ef253f629924d83cf64244d94e3d9d031625a41558861bb29f1b"},"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":"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":"4c19eb382837e85ed7d9bca9e0872da933d06100248c7afa12261afcf361bd74"},"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":"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":"d7112d5236ed3b71eb333810e03b7ec126f86d602df53fbdc1e2c8e0044faace"},"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":"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":"c3ecf3b18d877b73a3ad6bd502cb0878c7c0ea9d451ac9aa474c284f965eaf39"},"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":"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":"4b28fe5485750a67b5175df625b21fca89251ea8cd58c94d419b7297eeb2292c"},"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":"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":"37d82cdca8032982634376ade88581b65dba6633ceb81aa711ac874828de3284"},"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":"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":"2e9283b90b27b30d1ca94dcbfc3e2e1868062d52be33d78ab5e00af987e7cf17"},"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":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9deb0b3e9568df1171bacf908174d514cb7e71041f1c1975b38340d1bde8fc0"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf43daa8c761dc5acdbf4a314b7c6d335803158118566e41bbdab27f110f774a"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0155ab2d966b0068bb58a9e149d4f7fdc903157fc78faed63e2e82859ea6e1d5"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-653","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"456d2c3f511799653c765ed1632fec68481d07b1aa9db4d76a6f5dab8c714fd8"},"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":"1aa90bbd26a580d5147a1be2c0dbc2d394678862719c0fae5d0a5ba408cb0364"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"a057910f84944b88972d166d876e40e5b46f2396fd4ecdff32d3cd4dfd5c2666"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"4f922ade00e1480db9bbc3fbf3b45b99a905f40b6c188e273d7867fc9c0f0f24"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e2f326a7f112422e3023a57c7ceda82a4f9dc3f994ad2b3e1290ddeee0544e14"},"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":"ee455962a93cc2915fb2b26101debd60824281c58bbd88e7f64eb88179b43cac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccc0cc717a360059224d480b2bc872b7f88a881960a07fa78798e15be3c752b9"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 98 of 98 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 98 separate risks. Counted over 98 of the 240 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/settings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0250b777101d656e5b57b1da1b3ee6c344597ecbdc10168afa1a198fc149222"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/webui_pages/mcp/dialogue.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b00f675e38fd6cc794b649b7a5e014c10070c21dd8f628e0ae25005a546776"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c17309d8b41b0ba51ae4a378e4cb128b9b5fda68afbc9e169058299a25baf2"}},{"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":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e1086d5e489413ae461ec1c9c5a8abede4c5c3efe5b0acfa1e0eadcb7d2304"}},{"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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63689573e0b08f56b798bf2b20e3b8f35af8c0965990ffc6b4b1aed673670a9d"}},{"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":"libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"233fbf43711cb25baa97d3bd0fbf4777bf6e84ad4d0da126a2ef8f60778a5088"}},{"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":"libs/chatchat-server/chatchat/server/api_server/mcp_routes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b4f6e971f29a75de4b7ab76a3b4dfc2a97b1187a535dffbd805f6c19b9834f"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_doc_api.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1176df91d93149522def5f57905e58a4e0e78a5aac362314a3d5c7a2285971ba"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11edfa6190cdddbe8c4898be1c79b459d1fabe5e5735cd39629a01e4a6c36869"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd111ca30a00831cb989750fbf59c8377b48d7ce4ed2d9bf253ba524b9125070"}},{"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":"libs/chatchat-server/chatchat/webui_pages/knowledge_base/knowledge_base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeea80514996aa0f19142fda64f9dcc95d15f49deef3f7b0d309d2c7a0d7f26"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25488f1449f78fc98e953e292eee6bdccea7cdd77d38592dcbb48950fe25707f"}},{"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":"libs/python-sdk/open_chatcaht/api/knowledge_base/knowledge_base_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"729061ac998b4ac6adf5918b45fc7cb289c3d9fb1a0372961c2ad21999819b63"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/platform_tools/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14531090281cc7b090350bf9f450140a5e5fa7240c97e795688665a030ec037"}},{"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":"libs/chatchat-server/chatchat/server/localai_embeddings.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c75fb726f9e061acb940ba9c1c7dd250b4161077801ac2cd27da039a34f76e3"}},{"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":"libs/chatchat-server/chatchat/server/chat/chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b392c643c47ab4497672214c4501d49a7106add1728a2dc3b80f3e90efce091"}},{"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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eae39451ff09fae85544880950a6a8fc387c405938d20e6ab61bcf4d5f1897"}},{"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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/mcp_kit/client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd291f3b4bb3a2105c11715cdb7cb8bde588a565e719d75dcba659a371d87bd"}},{"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":"libs/chatchat-server/chatchat/server/db/repository/mcp_connection_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48398efdf90379f9c1686f7e0ecd475f2ec9e34adb3ee6928df4e1e7b66072d4"}},{"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":"libs/chatchat-server/chatchat/webui_pages/kb_chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5efe7ed5a445ea6b0dd6da72ae3e8b94cce22667ef181a3ecde81471ae7f397"}},{"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":"libs/chatchat-server/chatchat/startup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"206a101aaa7fa77bbe8a1a96a35cb3a3861a2f7b108f1dd63005afe143d217c1"}},{"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":"libs/chatchat-server/chatchat/server/chat/kb_chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4787cdd076ffa910058cde33ad41adb259448082217f18b62ff2bf2766d51db2"}},{"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":"libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c12180eae4bbfa92facf1798a12f0b7ea5d6ae6d867a4d429744d4936a26059"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_summary_api.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"638b7422475d9dd347f2a3f7c9af751632a1effdb012ca338b563a60333b980d"}},{"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":"libs/chatchat-server/langchain_chatchat/callbacks/agent_callback_handler.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"393385afa819db84f7dbade295eb759a28bec068b912878732676a079ce77c15"}},{"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":"libs/chatchat-server/chatchat/server/api_server/openai_routes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f85f72bb549d2f7b942feb24cb05cfdbc164c2e7033601311c87db4356b6da"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/es_kb_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78d90ec202476dccf0e21389d4e1da6ac0914181cf76405c84488d9e1426fc1"}},{"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":"libs/chatchat-server/chatchat/server/llm_api_stale.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c026a22b98ad3bf76e09fb264b0c25f7304e22bea7331ed1d259d825559bf79"}},{"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":"libs/chatchat-server/chatchat/server/agents_registry/agents_registry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4f6495ca0defb9b77e613e07d9642751c1f04391b1747eae61f304f387c694"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_summary/summary_chunk.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af57a426bf45e39a53a338f7cdf7db6f00e8e640a56212ce348bc52e4d6fe43"}},{"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":"tools/model_loaders/xinference_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99381c81cc4000e2762cf8b72d723385a2f50f4ddfff11a395902be1ef303cbf"}},{"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":"libs/chatchat-server/chatchat/server/chat/file_chat.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05c8cdc6a5710586d76ad467eb4ccb4c0c2c39afea1373e500a6adc3d46a5b6"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/migrate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1706decbd1a2dad26ce968576c199d1d6c18fa5b17a84d777bddc5dff89f5e9a"}},{"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":"libs/chatchat-server/chatchat/server/api_server/api_schemas.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdfc325e3f4a748b3432c8251242dca45e95523d9701f4f317eb5a1cfd27868"}},{"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":"libs/chatchat-server/chatchat/pydantic_settings_file.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"912e45a5248eef36be4aec3edd173280a9899845d6971a6451b5d4397d575e51"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aab948b7b9b6eff24384b3c77b81c1cc6a5ad0afa533ee36e3a64dc532011ad"}},{"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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/tool.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77169b19beb133a9c5214fee2547894efeccd81646cacc10f17362468416351"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/react/create_prompt_template.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f33dc8c2b018ef5d6fd030e83764edb16c4d03f77e8472fa0b5e773eb9fa93"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_cache/faiss_cache.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4e9fdb0c7be10ac29f3249e6b7b9f47fa5cb9200fc572ccffa67ceab78c3df"}},{"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":"libs/chatchat-server/langchain_chatchat/embeddings/zhipuai.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f6453caef1327adff6fb189e94fed1613423c2343953cc5f258322a8141be0"}},{"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":"libs/chatchat-server/chatchat/server/db/repository/knowledge_file_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4269ac1d9a0f025dd9b89000ea266a87259e41ce280f22fdc31c5d30079b28f5"}},{"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":"libs/python-sdk/open_chatcaht/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8fbda1dae959cd939700da632710523b0563f4225d0ad6104562866f1218dc"}},{"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":"libs/chatchat-server/chatchat/server/file_rag/text_splitter/chinese_recursive_text_splitter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"480a05ea423cc077f0cb281c115d60391a9ccbe9f6913d36eb125c8441565838"}},{"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":"libs/chatchat-server/chatchat/server/agent/tools_factory/text2sql.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8feaaed101ad2be6e6411c768af4b8431ca12975bc452f08bf945220e532e64"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/format_scratchpad/all_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"181f953e628fb1fccd0c2cdbe8e61dd73f5130f8e8f5d4d596a623613a075733"}},{"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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"977f735da2ab203df432b6497345e79b610f67060c6449053fbf00c0d17ae3a0"}},{"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":"libs/python-sdk/open_chatcaht/api/standard_openai/standard_openai_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb808de238b344f04f39382b8ce97ec35772a9c88f3d4e19ce905963d2bee15b"}},{"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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/mcp_kit/tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5dcc5e5b5f6c65e8179d3e7f00b2cab9aa98b3c39015aaef8020c64d61769b"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/platform_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8d42005f0b1b5b76e2fef97ba268b0069352b4e43ed4728ecfc7bd2d25ef10"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8191471eed1f761d831d96cc850ab2a495e0a44f5f590032d9bf0ace88f4a2db"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_knowledge_bind.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba6d5bb8200c9d5639524466431ae85652ff51318102954618e5527fac742d9"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/relyt_kb_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c14d02e5f6cd195de3161dc4294d04c631e4c5d64cc63a4633fbe5375c5f475"}},{"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":"libs/chatchat-server/chatchat/server/file_rag/retrievers/milvus_vectorstore.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22b0394dcbf583992a1c7dc35036a37ec5b885de9f74440a236d67574f780cc"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ce33a0fa740c5303cca951fa22e9f4785b7cb2c27eb79b541415f864340c4f"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7674394e2ec55e05db55c7f8469802e9aefcbfa2292730385e3d8505084f1a"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/web_browser.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ec1fc8c8107b1845c1f0bf0b1df79ca82faab70f239b17016253f56067e76e"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/pg_kb_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c71c45ae5a5faf5e37b39d3d3bfc3f0142089075de5a9556f9b62b604e433"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/platform_knowledge_output_parsers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"039a50eafeb1f7e300e77ac718a038354dc2ecf4320bd1694d3677efbee99d84"}},{"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":"libs/chatchat-server/chatchat/init_database.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f51e5902330724a3937b9f590c262fe17f437e133d742767ada63321ca2719"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/faiss_kb_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21afcc205a0a64b40f0274b8cbb38650d8f87efb46d8a55d4dcb29eefe776f9d"}},{"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":"libs/chatchat-server/chatchat/server/agent/tools_factory/search_internet.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"985576588da93beecd8524d2e69f318145d6e2fdd2b589ff3da91a79f3537882"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/chromadb_kb_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db4ce6c2af3e68a78c83a9a430bb1e85cf683ac51d1696dab9aee9ae2d0a113"}},{"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":"libs/chatchat-server/chatchat/server/agent/tools_factory/text2promql.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee20c4b2faf9e9b76719c40657711714358c57422ab51b9a30865aa7a04f0e9"}},{"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":"libs/chatchat-server/chatchat/server/api_server/kb_routes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6350feff18a21fa268469fdf2e4207ed26997e6c20586eee9ec30395d14fb650"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/platform_tools_bind.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c9c46169ce2b7e165df443935fa6def1865789ad5830890015f352b889c2b3"}},{"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":"libs/chatchat-server/chatchat/server/api_server/chat_routes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ef71c7f33d3a8e3b01e94af0187d8924d47c1d6af8124e6046b21bb30ea723"}},{"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":"libs/chatchat-server/chatchat/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac35b951b4b095ffa2710253933343802bd24cf390b3629549cffc8e9f8f842"}},{"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":"libs/chatchat-server/chatchat/server/reranker/reranker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41de5c14dce08d2b05211431d37b3955457d76c4327b2269f954ed6d3255b197"}},{"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":"libs/chatchat-server/chatchat/server/agent/tools_factory/tools_registry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca02ab9d40d6201c5f74c596c9593ec9a3a0e87d69279473b5849f10dfde32e"}},{"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":"libs/chatchat-server/chatchat/server/file_rag/document_loaders/mypdfloader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"582633cf74480829177bfbc749c61afd6a8a8e72a44a730b17381be6387b4be5"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/glm3_agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf1c93887f40766e2a7b6e13fb696d86246a5da0017b48c268a5f79515bbf5b"}},{"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":"libs/chatchat-server/langchain_chatchat/utils/history.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78abf4f87aa58ebbcb5becc93823e4030132fd09f387543f3d5c24f17ab0b5c9"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/zilliz_kb_service.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b84a0ab7ed94447a0292760abd5225a3e70e95ad6db12c80a3a0db67278657e"}},{"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":"libs/chatchat-server/chatchat/server/file_rag/text_splitter/chinese_text_splitter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"220799536cb383a09886168e8543bdbebe23f4bdeda4bbbf85ce0c318461eb2d"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/qwen_agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ef072a970d072f2855598950f306932522c2fc5a57a382985341daf7ae74ce"}},{"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":"libs/chatchat-server/chatchat/server/webui_allinone_stale.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8351aa4d1c4a5e1f416d0c165b62a8a0cf0f2d362ba773dc50a4584fabb791"}},{"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":"libs/chatchat-server/chatchat/server/db/models/mcp_connection_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"468b4e118fad5fd86cade8326724b18996858b3c7c7b333154d787710310de9d"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/function.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e495a0bf491c01e1d970a3a8697a12d89f668dc255079d3c92678ceeff9925e"}},{"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":"libs/python-sdk/open_chatcaht/api/chat/chat_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8ffc68489b48284a4e1fe28a520c1b204fa1f89347ebe91919ce50b8d434c4"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/platform_tools/schema.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec037474848b9bd24ec0c58846da23ae98ad26e8bf47348f937217490c87b2a3"}},{"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":"libs/python-sdk/open_chatcaht/exceptions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecf8a582a40bac5cee08d2b916ccb7267a74db60a5bddf82df94ab8cc71cc13"}},{"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":"libs/chatchat-server/chatchat/server/api_server/server_app.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ace77990f5c5390a6638c106917c2536d005236b4ff816e940f524977f5a7a"}},{"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":"libs/chatchat-server/chatchat/server/file_rag/document_loaders/mydocloader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fee1c7a857f2a7bb1eff531f9d7a27238dcd0d591001777024799aaff6dd903"}},{"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":"libs/chatchat-server/chatchat/cli.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c7cfc456068d6bdb797e864b0085763b479f4167044f717819a96e4f72074f"}},{"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":"libs/chatchat-server/langchain_chatchat/utils/try_parse_json_object.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12dc15558a7cd12ba2604b69d30d3af6b8ce3a50695d8e09fb206c36f17d1ad"}},{"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":"libs/chatchat-server/chatchat/server/file_rag/text_splitter/zh_title_enhance.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d920dfc272a5dbeef58a408a93dbed9089341726c0fe3bc22956951ec19798"}},{"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":"libs/chatchat-server/chatchat/server/file_rag/document_loaders/FilteredCSVloader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d465c022e8a81813d2bef7dde13fdf09b7729219fa7ec188280059160c6a41e"}},{"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":"libs/chatchat-server/langchain_chatchat/agents/structured_chat/structured_chat_agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"304745ecd811fce836821fb74b6da9b4eb62ed0b1ce6fdfe44562e5aa9a475ad"}},{"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":"libs/chatchat-server/chatchat/server/chat/completion.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c3c0a98cdb6d7975a554c923f6519e7aaa87af4e5811dd07174b9afbb66ac8"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_cache/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a6341acd3af12f595bb18ec87f8cf3ee1ccd6ebeb466e1157fc3e33c576648"}},{"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":"libs/chatchat-server/chatchat/server/agent/tools_factory/text2image.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9350d0d0f01938bcb61e855eae6cd5707ac119f2ccad6bfedb26be98c5838d"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_api.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77510286f861a4fa4c29a1255b1967f6235887ead661707355f8bf69b9c1d0bf"}},{"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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/web_browser_tool.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6b84f6eddcfc43ffb0205cc10a1253c04c7a604ff4b44e1ff18629d6738094"}},{"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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/drawing_tool.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c2e1f5b6c5ec4b490dad396b493aa2013e4b3fef3b85e82c7a0119796636d0"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_summary/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25d8762ddaad9a757abf19924ece57e5ea28a9b755ba40de8bfb1e6a5e516e3"}},{"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":"libs/chatchat-server/chatchat/webui.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"980c1cf773c12bb27ab8fc00842eaa1761ecbf516b997b031d542bf23bfa3a2d"}},{"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":"libs/chatchat-server/chatchat/server/file_rag/document_loaders/mypptloader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c5b71cf253a208b77b3ab6966ef13b73d2d0d5040f74f70cb18059f2b7f45f"}},{"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":"libs/chatchat-server/chatchat/server/db/repository/knowledge_base_repository.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"831903523cc952387a8cffccf889a910032d05a1f811b9d04588091adf22f8a7"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"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":"128f72ff5b0dd265797de76a594a9a2b53e0e736d7568747edf9209d812ce934"},"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":"f3d49b7f7b7b6c494f156fa682fdb709eaf25456782307b0796be8e34750a901"},"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":"b312909aca3f5154e24b5c4c9f8dc74ce5d316ed29e8471fe0086c211dd88aa1"},"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":"cdc69b6fd7f42d50f91d6742ef28bba6a789af19fd7c4133cf4350b65fed749e"},"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":"a67968686520bfb873cc1dbaf77ebf3ec4f15befbb51915dbf9a76ac7847838f"},"taxa":[{"id":"CICD-SEC-5","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":"3f69348a3110e3df3f0f3e238e23d0399614e5e4ec65154d9410ebd8ba55ebdf"},"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":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 a request handler (uvicorn.run() (libs/chatchat-server/chatchat/startup.py:69) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/startup.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"25943a2608768ae664ba3f7e89c252abca6374be50fdcf2afe817c4cd2b41c5e"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 1 application file(s) sit at the repository root beside the build and tooling files (\u0060release.py\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: libs/chatchat-server/tests/data/knowledge_base/test_kb_for_migrate/content/readme.md links to \u0060README_en.md\u0060, but \u0060libs/chatchat-server/tests/data/knowledge_base/test_kb_for_migrate/content/README_en.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/tests/data/knowledge_base/test_kb_for_migrate/content/readme.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b595beba357635d37ba410444588869402ab4cf2b93d5262dd5ae2f85d2ddc59"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P6","level":"warning","message":{"text":"Release pipeline publishes an empty version: \u0060.github/workflows/docker-build.yaml:92\u0060 writes \u0060image_tag=$RELEASE_VERSION\u0060 to \u0060$GITHUB_ENV\u0060, but \u0060$RELEASE_VERSION\u0060 is assigned nowhere in that \u0060run:\u0060 block, and nowhere else in the workflow. POSIX shell expands an unset variable to the empty string, so \u0060env.image_tag\u0060 is empty on every run and whatever consumes it is handed no version at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/docker-build.yaml"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d6c9b089f81db1f8af8c390331a1c6bf5235e81040315d6a4c8e05fdd2eaae"}},{"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":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_poi_search.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0fd4b43f5e7a4e07888a49e15a9451ce258682e7c6e81eb7bef430351b6333"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_weather.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edb63b71b360f8b5c32602dc77ac8f406913adfa6793c7b40bbde59bf9ad70a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/agent/tools_factory/amap_weather.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7e101af44b697e9427f2923269dd217374c997f9fadc158220959969b58f81"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/agent/tools_factory/text2promql.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e1af0f898106310b3b1bfab918ebcfc9108add052774a26363279d6b27616a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/agent/tools_factory/weather_check.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"327e218634fa13d1e5dc84d56343aec3d9ca9b4cbc74ddb6554a548d83a3f9c9"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by SQLAlchemy create_all() (no migration path): SQLAlchemy create_all() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt Alembic (\u0060alembic revision --autogenerate\u0060 \u002B \u0060alembic upgrade head\u0060), so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/knowledge_base/migrate.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86770c7cb3657ac9d7a64adc6d798148ccf68ef250b9ff7e0dcb13e5e0a4d7a"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by SQLAlchemy create_all() (no migration path): SQLAlchemy create_all() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt Alembic (\u0060alembic revision --autogenerate\u0060 \u002B \u0060alembic upgrade head\u0060), so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/milvus_kb_service.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7887c05b6e9b44cad4a5332bf9f0e1384ecf59d6a4a0a4b62dcb086f3fa9c62d"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by SQLAlchemy create_all() (no migration path): SQLAlchemy create_all() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt Alembic (\u0060alembic revision --autogenerate\u0060 \u002B \u0060alembic upgrade head\u0060), so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/relyt_kb_service.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e12ee438495a4a783d080b4463c42784aced9d760b651f4d7f1c1bd0b29ab3"}},{"ruleId":"P8","level":"warning","message":{"text":"Schema created by SQLAlchemy create_all() (no migration path): SQLAlchemy create_all() builds the schema from the model at startup and keeps no migration history, so there is no reviewed, repeatable upgrade path for an existing production database \u2014 a renamed column is dropped and re-added rather than migrated. Adopt Alembic (\u0060alembic revision --autogenerate\u0060 \u002B \u0060alembic upgrade head\u0060), so every schema change is a versioned file applied the same way in every environment."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/zilliz_kb_service.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa776e67971899e920daa64ab6af017264212950cf85519d2d81c33210104c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filename or os.path.split(file.name)[-1]\u0060 appears character-identically in 2 files \u2014 libs/chatchat-server/chatchat/webui_pages/utils.py, libs/python-sdk/open_chatcaht/utils.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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7f87c6b5ed541ba1c855580ec09255db56ad673db6335d18286b83e4168230"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(data, dict) and key in data and \u0022code\u0022 in data and data[\u0022code\u0022] == 200\u0060 appears character-identically in 2 files \u2014 libs/chatchat-server/chatchat/webui_pages/utils.py, libs/python-sdk/open_chatcaht/utils.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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"c333b9d05c879c9b9488612eefe397259dc37bace7bd4c81b8709fe06975bf8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(h, (list, tuple)) and len(h) \u003E= 2\u0060 appears character-identically in 2 files \u2014 libs/chatchat-server/chatchat/server/chat/utils.py, libs/chatchat-server/langchain_chatchat/utils/history.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":"libs/chatchat-server/chatchat/server/chat/utils.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b7742d9e565cafc6b19f3244be7a392e67e0c48d6ffed381b955f670b5dd03"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(max_tokens, int) and max_tokens \u003C= 0\u0060 appears character-identically in 2 files \u2014 libs/chatchat-server/chatchat/server/chat/completion.py, libs/chatchat-server/chatchat/server/chat/file_chat.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":"libs/chatchat-server/chatchat/server/chat/completion.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"670eeb65888dfbd9067585a672474b3a2515558f0ddc6d0f23f20caa2b91b8e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060kwargs.get(\u0022ssl_keyfile\u0022) and kwargs.get(\u0022ssl_certfile\u0022)\u0060 appears character-identically in 2 files \u2014 libs/chatchat-server/chatchat/server/api_allinone_stale.py, libs/chatchat-server/chatchat/server/api_server/server_app.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":"libs/chatchat-server/chatchat/server/api_allinone_stale.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"66989480ed2825cc9418d7f3b7e1df92421091a7b880489b9d51df58ca4ed671"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060langfuse_secret_key and langfuse_public_key and langfuse_host\u0060 appears character-identically in 3 files \u2014 libs/chatchat-server/chatchat/server/chat/chat.py, libs/chatchat-server/chatchat/server/chat/file_chat.py, libs/chatchat-server/chatchat/server/chat/kb_chat.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":"libs/chatchat-server/chatchat/server/chat/chat.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae1f23a0604c025216f1e26756aba408ecb5527ef53ef6d9c13c1853460fb3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022all_proxy\u0022) and len(os.environ.get(\u0022all_proxy\u0022).strip())\u0060 appears character-identically in 2 files \u2014 libs/chatchat-server/chatchat/server/utils.py, libs/python-sdk/open_chatcaht/utils.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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a52e1adcea766438d1f690d4c59779d8d59f88455f73da91385689e1573adc2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022http_proxy\u0022) and len(os.environ.get(\u0022http_proxy\u0022).strip())\u0060 appears character-identically in 2 files \u2014 libs/chatchat-server/chatchat/server/utils.py, libs/python-sdk/open_chatcaht/utils.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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3200de08b157a4d9d44564d8ad70059a39ec7274416f4330db066f80c4d6a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022https_proxy\u0022) and len(os.environ.get(\u0022https_proxy\u0022).strip())\u0060 appears character-identically in 2 files \u2014 libs/chatchat-server/chatchat/server/utils.py, libs/python-sdk/open_chatcaht/utils.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":"libs/chatchat-server/chatchat/server/utils.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abfb3695d75bb3144996b1d3aa3602baee6ea50efc8da2f6b30e7807c82f8ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outputs is None or str(outputs).strip() == \u0022\u0022\u0060 appears character-identically in 3 files \u2014 libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py, libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/drawing_tool.py, libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/web_browser_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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad216148b9d63a5fb0eead851d7c459a7f37c3226b2cf88f159325d67cf310d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060outputs is None or str(outputs).strip() == \u0022\u0022 or len(outputs) == 0\u0060 appears character-identically in 3 files \u2014 libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py, libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/drawing_tool.py, libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/web_browser_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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d2d1a27b8575b4d294118002676851d29e788cbe2db612715098ebb418cffb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self._client is None or self._client.is_closed\u0060 appears character-identically in 2 files \u2014 libs/chatchat-server/chatchat/webui_pages/utils.py, libs/python-sdk/open_chatcaht/api_client.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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8233ba2d6b019d38c2734b538a501af43d4f980fc938e517719e7190f49c8a"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060processes.values()\u0060 is a live view over \u0060processes\u0060 by the \u0060for\u0060 on line 305, and line 308 calls \u0060processes.pop(\u2026)\u0060 inside the loop body \u2014 a change to the size of a dict this file builds. The loop\u0027s next step raises \u0060RuntimeError: dictionary changed size during iteration\u0060, so every pass that reaches this call ends the loop by exception and the remaining items are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/startup.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2749992b344e738f258d87ac728e64ba013e12818db380dd2be49b61760a2388"}},{"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":"libs/chatchat-server/langchain_chatchat/chat_models/base.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"826bdff8949ae089b59c723eeebc78fddc8e83e3f347e0f755e87baa9d023e30"}},{"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":"libs/chatchat-server/langchain_chatchat/chat_models/platform_tools_message.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be916af6dabf8ea17bd799088df4f079f6f72c3f73cd0a48cf25268bd648d10"}},{"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":"libs/chatchat-server/chatchat/startup.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae40dd328b82b64ea3cc4d311a26ddeacfff1a263de0b8990711ddd05cc76eb"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/faiss_kb_service.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fed3e6f19d7b454369bec4d6c0f96b57dfcb20fc02abdee9d580ab664ef944"}},{"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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/faiss_kb_service.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ba6d3cec5fb5d1630f69613bdeaf581dc24b9704aaba117f4aa199d7771239"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\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":"libs/chatchat-server/chatchat/server/file_rag/text_splitter/zh_title_enhance.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf486a812b56ae99ed4b28e36abeb9e823cb7ceb7c328284ec30f8e963d0e56"}},{"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":"libs/chatchat-server/chatchat/server/chat/chat.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7428aa4f7aecde5e15e9cde5c129a35c75afdac2321634d2e9fc7b4961eff53e"}},{"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":"libs/chatchat-server/chatchat/server/chat/chat.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b0f1e5801664499207139a8e65eb0e9a3ba85299207e96a14187c11581f685"}},{"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":"libs/chatchat-server/chatchat/server/api_server/openai_routes.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dabc89191e94ad4f5f4616c79375777a0b111ec583495a381f78b74ddbc35d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 79 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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c267e12287309e481bee4839bbf021847b746db313dde625f7522f8f9b9eab06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 100 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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d0a346c086ca283f2d92d33bd59608e0f4ce3f6ad608d4d7c7381b239d5cb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 104 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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5f44d40922cac580b941df0e9f3a4ab0f19ff5da064edd62d6dbe446c16598"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"703d7bd5734aad7c00062eb8f8a4dccc5eeb91b6198c75ebcedf98d11c47fa05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 158 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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed299720010fad852a8d27e981e6680db149db04d2f9d90ccc6209f778a2849"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 180 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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a465bc2d89b3519b924577b186257e8e90408edc47e666c89fa795a78c22999f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 203 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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0d70846b4a1bf1aebe873a0ffb6e96f67b8b642f460be4842ba2e9e5cdbeac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 225 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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0956ad25db2a5ec9e62f4b9b265abd6adf2323ec26242e35f8d7c0532c3e8073"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 250 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":"libs/python-sdk/open_chatcaht/api_client.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a23af47d5c3fa530439581d899cbc9ddb30aada355dcc94b02341043af4875"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 59 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":"libs/chatchat-server/langchain_chatchat/agents/all_tools_agent.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8856b54729994cabfc4b2b671bbf6e27151c54e32bfd07092ccea9d1bce0777b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 99 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":"libs/chatchat-server/langchain_chatchat/agents/platform_tools/base.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a717fc2fbf609b7110c226e7daddceb5c09b257cc9780ecb3fd79d61cfc7f1db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 128 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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/code_interpreter.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e807cd2e4e2bc4818892602bb30e42a7b55e3dd6ad858f1466d87d20ca97da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 129 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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/drawing_tool.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed06b1aa8d0bb723e0f3014c383c7d46086ad37049da8fbccdd9f074f60db4bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 95 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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/function.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b432b42d79c43dcba19e0c478db81b8a1feadb616a86654a792645fd753eef5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"libs/chatchat-server/langchain_chatchat/agents/output_parsers/tools_output/web_browser.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cc9b889eb0f0ad2ff8dcc08c8da22ca464e75e98c4595b1cc126dcbee44c19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 100 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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c710f526cae1e04e59c6ad6b63da1dc6d51b0319a926e0f67d40178772ab815b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 129 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":"libs/chatchat-server/langchain_chatchat/agent_toolkits/all_tools/code_interpreter_tool.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d6956bde7b72221ef180941aa7b27d01f1ce2dcf4ebd43c0597d591d04affa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 64 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"752335be2a2f51d332808f5fb2b97937005c5e9db52f79a5b4f6564a110e0e36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 87 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32d503c57ef71845a1bd6b07ebb7dbf1f2b1e55f1aa87788b0f34e9adec87e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 109 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9a6c984f26f21e9e759e784e3101abe169d83287113092b2771cfdbf6452cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 131 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c17131d5980c0381dec45aaf2be5897f17c1e6f9e257250687b2bf32d07fd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 163 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8431cb43f6cb51ab2a79fafee5fac75d04a9dccc4cb9630b27c96b4f3f32b4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 185 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c652932b62c329f30b993c05c29cdb4b8ecd85727ef027f0b458d01518c947"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 208 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3f2e8fa9a53f0c08eaad8be6b3b1daa9b17c401c9f4ae19d84b9746b5a7be5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 230 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e500c86dc4b7264c0a6bd77e78db05a7060a2e8ed07303e948616a0b66aa8340"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 255 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":"libs/chatchat-server/chatchat/webui_pages/utils.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd15516f38b136184f6942608c9a56d5153bbe0ce9d0082fb6050f381f30177"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 61 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/es_kb_service.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf0c5255ebd003e6e8890bd309dd6f9074cef4a75ae918affb02c8b10194c91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 108 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/es_kb_service.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b9de0c88f0ca4cfeb27943e3e8080109993595f8ae041da041ed9478909cb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 157 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/es_kb_service.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6da7d8f5a1f8adeb4ed08947131ea9a026d4401a0f8d482c975e648bdb8324"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 167 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/es_kb_service.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed8e70c0b84d15ad3d986817b0c345b1b00dd60b0beca32d76dd1f462e63116"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 195 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":"libs/chatchat-server/chatchat/server/knowledge_base/kb_service/es_kb_service.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"476314731d11d9c43a29eda2ad540fd304ed004e106be312df12af2fa489b8b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 108 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":"libs/chatchat-server/chatchat/server/chat/file_chat.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"520f84af94ede8e24eaac1d56e5bcd208b22524c7960342e45a76d0079a02dc9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 84 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":"libs/chatchat-server/chatchat/server/agent/tools_factory/text2promql.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5234ae214d8815af6a50d80e834ebc5cb094cfc33262ac5c62f9afa7c65caee5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 93 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":"libs/chatchat-server/chatchat/server/agent/tools_factory/text2promql.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"317fbf1e63635629bbc6251708b9d443b9bda57cbc64677cd338db3bfd757d6b"}},{"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 JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/api_server/static/swagger-ui-bundle.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b85ea9023b7e6812fd5c36ebcf50f6c3792af4df60eb3aefb940f15e2fe088"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060under_non_alpha_ratio\u0060 swallows every exception into \u0060return False\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/chatchat-server/chatchat/server/file_rag/text_splitter/zh_title_enhance.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"951c00ab850017ed7e0f01d8f8872e055f5317c2ee252d69a390536324c01157"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"Use of Insufficiently Random Values","shortDescription":{"text":"Use of Insufficiently Random Values"},"helpUri":"https://cwe.mitre.org/data/definitions/330.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-653","guid":"aa3e371b-590e-225d-a56c-cd490a1dca63","name":"Insufficient Compartmentalization","shortDescription":{"text":"Insufficient Compartmentalization"},"helpUri":"https://cwe.mitre.org/data/definitions/653.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-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-942","guid":"a5e9f9ae-e5c1-215b-b5ef-9b85aa6b4828","name":"Permissive Cross-domain Policy with Untrusted Domains","shortDescription":{"text":"Permissive Cross-domain Policy with Untrusted Domains"},"helpUri":"https://cwe.mitre.org/data/definitions/942.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-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":89,"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."]}]}