{"$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":"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"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":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"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":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"openfang_cli::cmd_doctor (cyclomatic 189): openfang_cli::cmd_doctor has cyclomatic complexity 189 (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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"279e41fde42c528164a0ec6fcfa1522229191e8427a971ef6c9094bb14500c2b"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.chatPage.handleWsMessage (cyclomatic 123): chat.chatPage.handleWsMessage has cyclomatic complexity 123 (threshold 15). Of this number, 113 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d030b4a82082ceaf3b302eaa68c239129080cd356cbc90fe811b0a17359f46"}},{"ruleId":"D1","level":"warning","message":{"text":"chatPage.handleWsMessage (cyclomatic 123): chatPage.handleWsMessage has cyclomatic complexity 123 (threshold 15). Of this number, 110 points are the body\u0027s own statements and 13 belong to 8 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfbf76f33101c6b5f1579e430ebceeddb201b64323bed67c04d551bc48ea2fb"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::main (cyclomatic 115): openfang_cli::main has cyclomatic complexity 115 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"a520e5c92fb82e995817a061ea544b7efae0cbcfdb4c8efec66c481d4d7d6e8d"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_event (cyclomatic 109): App::handle_event has cyclomatic complexity 109 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0e593112655a395122d414920fec4a722920d92a340245a1b3876468367f1b"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::channel_bridge::start_channel_bridge_with_config (cyclomatic 107): openfang_api::channel_bridge::start_channel_bridge_with_config has cyclomatic complexity 107 (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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"967596cb3ce5036a2489dd632bbb0940b95be3b095cde6a3253b98216f1c4d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::tool_runner::execute_tool (cyclomatic 106): openfang_runtime::tool_runner::execute_tool has cyclomatic complexity 106 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"253dd2079fda2c72670eb0fd74b9ca105f961879c197c86c3256538bcb6cca86"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::boot_with_config (cyclomatic 96): OpenFangKernel::boot_with_config has cyclomatic complexity 96 (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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"79931d97a723c58bc2b825d7562fedcc328fb637dbd30b2a543c1c6ad60450b2"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelConfig::validate (cyclomatic 94): KernelConfig::validate has cyclomatic complexity 94 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/config.rs"},"region":{"startLine":3382}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0db3c73e0274e0ae2ef58f7b0a225db5c3b118d792ebb8a5de0b639dc1b9abf"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::tui::screens::init_wizard::run (cyclomatic 93): openfang_cli::tui::screens::init_wizard::run has cyclomatic complexity 93 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"518e1f0689752a95f18490ea0378cac11b272db97e16bc386e7ce6b7badf892a"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIDriver::stream (cyclomatic 92): OpenAIDriver::stream has cyclomatic complexity 92 (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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"4346d32c0d8459f9ae381ca5fa219c8c5b6e10450a8b5052d995c9ef17a97758"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::agent_loop::recover_text_tool_calls (cyclomatic 89): openfang_runtime::agent_loop::recover_text_tool_calls has cyclomatic complexity 89 (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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a047216c5ec4ff445991598366f711414cb99c43c2d48f55f62ce8e84145569a"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_kernel::metering::estimate_cost_rates (cyclomatic 88): openfang_kernel::metering::estimate_cost_rates has cyclomatic complexity 88 (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":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48e43de8ab61bcc3290e7cc30e878de3233d8483e7cd3492d7242efe6e6234a"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_channels::bridge::dispatch_message (cyclomatic 84): openfang_channels::bridge::dispatch_message has cyclomatic complexity 84 (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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcd2d5f721a7ca0946813245a3a37bd84bfb94dc7f8d600b26cc7fc45bd4b06"}},{"ruleId":"D1","level":"warning","message":{"text":"chatPage.executeSlashCommand (cyclomatic 75): chatPage.executeSlashCommand has cyclomatic complexity 75 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 21 belong to 19 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"070ab22ae19ce846dcbbfa1326c8ec81dbaeafb95aa40d0cbb60fddb96520866"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_migrate::openclaw::migrate_channels_from_json (cyclomatic 69): openfang_migrate::openclaw::migrate_channels_from_json has cyclomatic complexity 69 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"be180f9a4a18ba020a4b29e6bbefa5b8bad2e81a13ea6bc7a8f75aecf25ec987"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::agent_loop::run_agent_loop_streaming (cyclomatic 68): openfang_runtime::agent_loop::run_agent_loop_streaming has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"28eebc8e57edb16528cf2305afd029cbfc44424a7d4df48e0b6f472adaecdbf8"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.chatPage.executeSlashCommand (cyclomatic 67): chat.chatPage.executeSlashCommand has cyclomatic complexity 67 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 21 belong to 9 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1918c3aeb9c61dea981e787c37af39bcc1e95062639464df87585d03b3d3381"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::agent_loop::run_agent_loop (cyclomatic 65): openfang_runtime::agent_loop::run_agent_loop has cyclomatic complexity 65 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8b20d0583e69867df31c656282f66f8b86eb01e51c79359cfe14fddfe1e870"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_key (cyclomatic 64): App::handle_key has cyclomatic complexity 64 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f981bea24c19444bbdeb46835da0924c948c23633d598e8190d5eb0d6f185"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIDriver::complete (cyclomatic 63): OpenAIDriver::complete has cyclomatic complexity 63 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e477dce41467c67b444a553d0ffaae0894e84804d2a40b87b29cac7a5dec0a"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_channels::bridge::handle_command (cyclomatic 56): openfang_channels::bridge::handle_command has cyclomatic complexity 56 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4772ed4148d1b6306b7fe7a08c16c1a3c829f81ce3b533592c12089e1a8c63"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiDriver::stream (cyclomatic 56): GeminiDriver::stream has cyclomatic complexity 56 (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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05d6d245ba294d68ded2fbd462dde62bf7e2cd854e9aa2b64ee2cd3e1a64248"}},{"ruleId":"D1","level":"warning","message":{"text":"wizard.wizardPage (cyclomatic 54): wizard.wizardPage has cyclomatic complexity 54 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d7ddc739e8919679be6d0307f117d5013aa82df0b493a4db7874769f0ba9db"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicDriver::stream (cyclomatic 53): AnthropicDriver::stream has cyclomatic complexity 53 (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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f2b5cbcdcb21148fef429ead5b86f2bd24995752c28aa820d0e21d44c83787"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::middleware::auth (cyclomatic 48): openfang_api::middleware::auth has cyclomatic complexity 48 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/middleware.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5a65d69d586a5c5dcf617a775b451dc9fe117a0bb3efc995d7dbbf29832b67"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscordAdapter::start (cyclomatic 47): DiscordAdapter::start has cyclomatic complexity 47 (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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28b80bebf6d15aa5a68b748ea347b76d091e1782f661f8ba91a4d86e1d2ac61"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::start_background_agents (cyclomatic 47): OpenFangKernel::start_background_agents has cyclomatic complexity 47 (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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24658c380247b65832ea9ceba394cd02b86dcae3c9fda52590f7587abe66788"}},{"ruleId":"D1","level":"warning","message":{"text":"app.document.addEventListener(\u0022alpine:init\u0022) (cyclomatic 40): app.document.addEventListener(\u0022alpine:init\u0022) has cyclomatic complexity 40 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7aa5f50108692295cca4ac47f9a166cdafc78bf4168283014c5721cb2a8959"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 40): (anonymous) has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 2 of the 40 points are its own statements and the rest belongs to 13 function items inside it that branch (checkAuth, checkOnboarding, refreshApprovals, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d90340dbee80ce3f27d766ee1d14c88db75ef76e515e42d8dccf6137e0640e"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatState::handle_key (cyclomatic 38): ChatState::handle_key has cyclomatic complexity 38 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"244c420af226c4e9fb1b6adf554c0bdc013d2fcdc62277ec89b5e83fedb1aaa0"}},{"ruleId":"D1","level":"warning","message":{"text":"MatrixAdapter::start (cyclomatic 37): MatrixAdapter::start 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":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e75014f7b0d1f12af04c940171bcd9c91f722a0809b6a44195aecca026a826"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::send_message_streaming (cyclomatic 37): OpenFangKernel::send_message_streaming 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a20b9ecfa19ca2d91a5a6d6ef11bfbc88f663b406403b6b1dbe9646f687248"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowEngine::execute_run (cyclomatic 37): WorkflowEngine::execute_run 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":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d43aa18831714958e2c5be65207f590f21fd0ff5566217f2539c127ed1a7a5"}},{"ruleId":"D1","level":"warning","message":{"text":"hands.handsPage._renderCharts (cyclomatic 37): hands.handsPage._renderCharts has cyclomatic complexity 37 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c00520d9879b1f72e6ea82e4e9a3217ca00db39223bab872c6324e762c74171"}},{"ruleId":"D1","level":"warning","message":{"text":"handsPage._renderCharts (cyclomatic 37): handsPage._renderCharts has cyclomatic complexity 37 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 2 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c9beddbeb45f419f9b1b1f55b584970ac13c027e909527001fb59ce7e479ce"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::routes::patch_agent_config (cyclomatic 35): openfang_api::routes::patch_agent_config has cyclomatic complexity 35 (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. This is NOT this file\u0027s highest cyclomatic complexity: openfang_api::routes::is_channel_configured (cyclomatic 43) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9712}}}],"partialFingerprints":{"codehealthFindingId/v1":"9625b73d6525a2e3429829f129cbf1dc292e28797b2b6f3300055e144a79dc5b"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::ws::handle_command (cyclomatic 35): openfang_api::ws::handle_command has cyclomatic complexity 35 (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":"crates/openfang-api/src/ws.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcf6bbde11878adf56b81655748ee824d1c49d76070415f2f0e4ac879fabee1"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::llm_errors::classify_error (cyclomatic 35): openfang_runtime::llm_errors::classify_error has cyclomatic complexity 35 (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":"crates/openfang-runtime/src/llm_errors.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8767d69c133cebab90f319faca69415e314ff8ef06539d5f0fb7f58a62c6bcc7"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_slash_command (cyclomatic 34): App::handle_slash_command has cyclomatic complexity 34 (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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7759476fe3971e05d2604c180e64f27d748209ce555b03ce37032cc2366a04"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::tui::screens::chat::draw_messages (cyclomatic 34): openfang_cli::tui::screens::chat::draw_messages has cyclomatic complexity 34 (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":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"4babcabf6ca1cecf75abf41ceb1510b5b7dde420cc09eca656e1ca4687e444d3"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::prompt_builder::build_system_prompt (cyclomatic 34): openfang_runtime::prompt_builder::build_system_prompt has cyclomatic complexity 34 (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. This is NOT this file\u0027s highest cyclomatic complexity: openfang_runtime::prompt_builder::tool_hint (cyclomatic 47) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/prompt_builder.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a55288c99059ef95c6b218caeb6b96cf56fe63ed12b285a3ec98c20bb0d6e7"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.settingsPage (cyclomatic 34): settings.settingsPage has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 408, 326, 390, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ff938d710cb6413e030179230f4622b47aa65b0fb781d7f44b59d1a07a2a0e"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow-builder.workflowBuilder.generateToml (cyclomatic 34): workflow-builder.workflowBuilder.generateToml has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cda5cf5ae23895af62b3474008dae399c3a133545494434bf6b9a2551bbe412"}},{"ruleId":"D1","level":"warning","message":{"text":"index.startConnection (cyclomatic 34): index.startConnection has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 119, 62). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab8e801841ed2202c5f6a7e1710ebc152dbf89350fb9d5baa9a9fb1d9fbe696"}},{"ruleId":"D1","level":"warning","message":{"text":"workflowBuilder.generateToml (cyclomatic 34): workflowBuilder.generateToml has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"134710953d6aea9d772810c94b043b725053571986b10357abb86001e2857071"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::ws::handle_text_message (cyclomatic 33): openfang_api::ws::handle_text_message 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":"crates/openfang-api/src/ws.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1575d8085c0fad2664d97b6c0b0df2f463b72a351089975f0d961f65c6b20ca"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_channels::telegram::parse_telegram_update (cyclomatic 33): openfang_channels::telegram::parse_telegram_update 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":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfefadc5d87690ce14ca806fc7c348dbf96c08e7300cc608a1075a535c630b7"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::referenced_providers (cyclomatic 33): OpenFangKernel::referenced_providers 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5339}}}],"partialFingerprints":{"codehealthFindingId/v1":"729e9491dc01c2aa94eab46f2d9c109287c41fc273401c5a6ebac049f629b8d7"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.chatPage (cyclomatic 33): chat.chatPage has cyclomatic complexity 33 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 14 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2e369462cf41839e2b731cb9d03f6425633c4b547c845cf59f41f29aa2a252"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::execute_llm_agent (cyclomatic 32): OpenFangKernel::execute_llm_agent has cyclomatic complexity 32 (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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2631}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef2b5cc3b179c5e79cee89d3aa2dde085d1541f8e08bc1eaabff19d8c5340e3"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::apply_patch::parse_patch (cyclomatic 32): openfang_runtime::apply_patch::parse_patch has cyclomatic complexity 32 (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":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6077b1ce92154555fef41a6df176e97d4e78f68e63029eb9761713dcfba27"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::tool_runner::tool_channel_send (cyclomatic 32): openfang_runtime::tool_runner::tool_channel_send has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e61933b26546e7bf9b9250abf204d526f9641b28fbe91ec532356fdd522bb5a"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::session_repair::reorder_tool_results (cyclomatic 31): openfang_runtime::session_repair::reorder_tool_results has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a51328ab1fe38a1a60908de69504382798a593dc36e029e9fe1684e52bcb547"}},{"ruleId":"D1","level":"warning","message":{"text":"chatPage.init (cyclomatic 31): chatPage.init has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 170, 149, 223, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ac7f3ae6e111836c96437cb026d7105cd907785e33f2b9da160d0f27e804c5"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::cmd_channel_setup (cyclomatic 30): openfang_cli::cmd_channel_setup has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3956}}}],"partialFingerprints":{"codehealthFindingId/v1":"be86e1bdf56eaf70ee5d33e622bd31945111933479339c958ffc894f7b7a1bcb"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.chatPage.init (cyclomatic 30): chat.chatPage.init has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 5 of the 30 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 170, 149, 216, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bd34d715620e914c9d0f4aac398ff22425376148bc33df4de58d55047ddb4d"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_migrate::openclaw::scan_from_json5 (cyclomatic 29): openfang_migrate::openclaw::scan_from_json5 has cyclomatic complexity 29 (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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"350b2b56d9569cc5a272782bed8349c92e2b183c420589b4481d4618dafbdf1f"}},{"ruleId":"D1","level":"warning","message":{"text":"workflow-builder.workflowBuilder.renderCanvas (cyclomatic 29): workflow-builder.workflowBuilder.renderCanvas has cyclomatic complexity 29 (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":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1f005e7acb3d5dda15440c8553ed2cdefe023236efe0f38b793a272a772afa"}},{"ruleId":"D1","level":"warning","message":{"text":"workflowBuilder.renderCanvas (cyclomatic 29): workflowBuilder.renderCanvas has cyclomatic complexity 29 (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":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f074cf1df0d25d27b812e11404a89d3a9e10d504e34f2dd3b5d056e5282082"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::routes::get_agent_session (cyclomatic 28): openfang_api::routes::get_agent_session has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: openfang_api::routes::is_channel_configured (cyclomatic 43) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"393f41d744bbf2278312549cc72b0460ca19e4365ca27c8c5494d096c2c4ecdd"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::routes::install_hand_deps (cyclomatic 28): openfang_api::routes::install_hand_deps has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: openfang_api::routes::is_channel_configured (cyclomatic 43) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4486}}}],"partialFingerprints":{"codehealthFindingId/v1":"beea81c18457447cbbf23346898ff2f1c5c64042a3a3308384d4572dd36f8344"}},{"ruleId":"D1","level":"warning","message":{"text":"IrcAdapter::start (cyclomatic 28): IrcAdapter::start has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b9bf40ba549159abb671ba4979e039b020cd678d645c5bee1a643844ab1462"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelState::handle_list (cyclomatic 28): ChannelState::handle_list has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51f9fd6fbd833846afee86b7c7bfbddf923c04be045bb9949251483562476f5"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::drivers::create_driver (cyclomatic 28): openfang_runtime::drivers::create_driver has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: openfang_runtime::drivers::provider_defaults (cyclomatic 42) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/mod.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4861839b4a271b87bce26470524da6d96698d1cb79cd465178986340072f16"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_kernel::kernel::infer_provider_from_model (cyclomatic 27): openfang_kernel::kernel::infer_provider_from_model has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6876}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec21d344ca9bd5ac8333f92de86f9179227137ef98dcedc6b4285df71da90df"}},{"ruleId":"D1","level":"warning","message":{"text":"hands.handsPage._applyKvToData (cyclomatic 27): hands.handsPage._applyKvToData has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eb3e96b78039423550f0fdf1f779def5853b8ab3e9528d6b0b775d28f82bb3"}},{"ruleId":"D1","level":"warning","message":{"text":"handsPage._applyKvToData (cyclomatic 27): handsPage._applyKvToData has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c243be69ae1e6e4c242f5ab06a1622eb31781f92cb55fe69262bc151694e33"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackAdapter::start (cyclomatic 26): SlackAdapter::start has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"44052f413ebf97e34443febe3a088230aa655c88f729113c5f62134e7083db7f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::spawn_agent_with_parent (cyclomatic 26): OpenFangKernel::spawn_agent_with_parent has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"26210d8ae7e0d4dbcfce5ab4138bc2479ef3a3fdc782679e0dfb10a7a8c1b425"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_kernel::config_reload::build_reload_plan (cyclomatic 26): openfang_kernel::config_reload::build_reload_plan has cyclomatic complexity 26 (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":"crates/openfang-kernel/src/config_reload.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"180add00d3d496eab7e6e1669efff48a7abf337f60d56dd332e1dccd7c9bf3a8"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::drivers::bedrock::relocate_stray_tool_results (cyclomatic 26): openfang_runtime::drivers::bedrock::relocate_stray_tool_results has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/bedrock.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"183125aed308252981880cba718700e4823829d7c96e56ff16b1232d923fa362"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::tool_runner::parse_schedule_to_cron (cyclomatic 26): openfang_runtime::tool_runner::parse_schedule_to_cron has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5e1a6c76ec14ebf0e92a5172b71438fae9e6dfb9eb1bb27ac29b445418ff3c"}},{"ruleId":"D1","level":"warning","message":{"text":"scheduler.schedulerPage.describeCron (cyclomatic 26): scheduler.schedulerPage.describeCron has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c89adb99fc1eb32eabcc60d1724dec76ecb662c34a79b413f7c5a6d2ca8bf43"}},{"ruleId":"D1","level":"warning","message":{"text":"schedulerPage.describeCron (cyclomatic 26): schedulerPage.describeCron has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4615904ecd2ccdfff7ea98c340c6031930aca808e51efba6a0af64187a7941"}},{"ruleId":"D1","level":"warning","message":{"text":"ZulipAdapter::start (cyclomatic 25): ZulipAdapter::start has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbb7314fc3fda53c7cd9aab8b9fec9a8b886c2cb993b80c083a12b6aaced095"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::activate_hand (cyclomatic 25): OpenFangKernel::activate_hand has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3754}}}],"partialFingerprints":{"codehealthFindingId/v1":"455e69db1d278e3926f4607f08f8a8d1c6637c2f37d340ef2f3a9c15ac6ef2e4"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::resolve_driver (cyclomatic 25): OpenFangKernel::resolve_driver 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5562}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c7abc79635700c17b10c153dc92fe5e491edf3965d8e43edfac099d17163b8"}},{"ruleId":"D1","level":"warning","message":{"text":"MastodonAdapter::start (cyclomatic 24): MastodonAdapter::start has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7913be872eee48bd56fd7d573a03a68aa9069a2c43c6ea38a367f411cb297c68"}},{"ruleId":"D1","level":"warning","message":{"text":"WebexAdapter::start (cyclomatic 24): WebexAdapter::start has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1548808dfecfe9fb828f64a5253f051e25867dee16d0b98623b938bbfec51b7a"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_channels::discord::parse_discord_message (cyclomatic 24): openfang_channels::discord::parse_discord_message has cyclomatic complexity 24 (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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1034630a21222ef057e8f192e26bf83dd96e1935a18ba950956286f94a7480"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_migrate::openclaw::convert_agent_from_json (cyclomatic 24): openfang_migrate::openclaw::convert_agent_from_json has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: openfang_migrate::openclaw::map_provider (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ecf318da73a1e4d447a42a6dce9cc949a17a5a43db41e9e58ec6de2f141e94"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_migrate::openclaw::parse_legacy_channels (cyclomatic 24): openfang_migrate::openclaw::parse_legacy_channels has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: openfang_migrate::openclaw::map_provider (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa5492067592d803af681b7c5ca705389c7feff89a9bddc10ae4b4dcca01d89"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_types::tool::normalize_schema_recursive (cyclomatic 24): openfang_types::tool::normalize_schema_recursive has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/tool.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"19012a30745aff5d62cb13e1e6e30b087a77d303acfc7907026a5aee01c0d529"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::routes::clone_agent (cyclomatic 23): openfang_api::routes::clone_agent has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: openfang_api::routes::is_channel_configured (cyclomatic 43) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9991}}}],"partialFingerprints":{"codehealthFindingId/v1":"b668288e081a48a2390986521915cb0e634f37a16549c186c31a392988c9e71c"}},{"ruleId":"D1","level":"warning","message":{"text":"GuildedAdapter::start (cyclomatic 23): GuildedAdapter::start has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd853e19387f81c3f11f39688fbdf0274600478a8a2df3499f0794431a3fb12"}},{"ruleId":"D1","level":"warning","message":{"text":"NostrAdapter::start (cyclomatic 23): NostrAdapter::start has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d51206e4d4722a5b617a4132bc81efb02eb04128a951fa4ac24fed324717f6"}},{"ruleId":"D1","level":"warning","message":{"text":"RevoltAdapter::start (cyclomatic 23): RevoltAdapter::start has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3bbeb6cd429687f86b8f24793f3c3a5da6c1c2591e7c7ffd6108294ae0cbf4"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_channels::slack::parse_slack_event (cyclomatic 23): openfang_channels::slack::parse_slack_event has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"45861979d66e77b0b013fa1138307f0b550d09964cdf4fdb526d64b7efa80bbe"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::python_runtime::run_python_agent (cyclomatic 23): openfang_runtime::python_runtime::run_python_agent has cyclomatic complexity 23 (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":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bb57b20f7ef647a2b28f4698e15f01e8a0435fdc2e06a000f4760fee4b393e"}},{"ruleId":"D1","level":"warning","message":{"text":"NextcloudAdapter::start (cyclomatic 22): NextcloudAdapter::start has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8def4ce93b42bd44a0640ae8c634b9dde6349e795f239db3e7117a2cec065983"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_channels::formatter::markdown_to_telegram_html (cyclomatic 22): openfang_channels::formatter::markdown_to_telegram_html has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9e7ea0343b4f9f642d4de00cc32f8a3868ccaf58600a0461d6c0d5045f26ad"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::available_tools_with_registry (cyclomatic 22): OpenFangKernel::available_tools_with_registry has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6148}}}],"partialFingerprints":{"codehealthFindingId/v1":"12632a69035129b1efe9ea3c4c3ca7c1bd68cce67aa16d02827dcae3a207295a"}},{"ruleId":"D1","level":"warning","message":{"text":"usage.analyticsPage._extractProvider (cyclomatic 22): usage.analyticsPage._extractProvider has cyclomatic complexity 22 (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":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42c8625e099303399163de5181e2631d516c68bc268511fc11408a28df57df4"}},{"ruleId":"D1","level":"warning","message":{"text":"analyticsPage._extractProvider (cyclomatic 22): analyticsPage._extractProvider has cyclomatic complexity 22 (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":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aaa67f44460cbaa9da5640a3d0efe8d03bcde69d0bb57a439628cb42901412"}},{"ruleId":"D1","level":"warning","message":{"text":"GoogleChatAdapter::start (cyclomatic 21): GoogleChatAdapter::start has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f9fd45e6bedf31b5032d3e09cda3eade5fa12ef1d873a543a578865b4c954b"}},{"ruleId":"D1","level":"warning","message":{"text":"MumbleAdapter::start (cyclomatic 21): MumbleAdapter::start has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b182465c2976784d4be349f5bac478a745450adaa13dab08f78d8aca06fe405"}},{"ruleId":"D1","level":"warning","message":{"text":"TwitchAdapter::start (cyclomatic 21): TwitchAdapter::start has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twitch.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87e8451c5833bc9f2f5268e3eed194ab3a975fe91b2f9b0a1a2e155faa42dfa"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionsState::handle_key (cyclomatic 21): SessionsState::handle_key has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/sessions.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"78459df4876ceb1515f80290a5aa70694a13196ed0b9836ad2e0e870b90a91fd"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::cmd_uninstall (cyclomatic 21): openfang_cli::cmd_uninstall has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6796}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa9099d76ecab367be16795ee0132e5408c3f724f5b2c06dd3f0ae3e9e21bda"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupWizard::build_plan (cyclomatic 21): SetupWizard::build_plan has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/wizard.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5d9327142ad1d6ad30269350ea5216298d086a9fa61b43693821b9e375b70e"}},{"ruleId":"D1","level":"warning","message":{"text":"VertexAIDriver::stream (cyclomatic 21): VertexAIDriver::stream has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/vertex.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"c819722e72b668650e2d317965ce947d8ed43390e187b998b9e086481d024656"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::agent_loop::call_with_retry (cyclomatic 21): openfang_runtime::agent_loop::call_with_retry has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (openfang_runtime::agent_loop::stream_with_retry) 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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3bf14b73e7518d1273152468b460f606b47651e237d2c9810724f713bc5f53"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::agent_loop::stream_with_retry (cyclomatic 21): openfang_runtime::agent_loop::stream_with_retry has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (openfang_runtime::agent_loop::call_with_retry) 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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5debc5205182dc2664151f16e70bf80153a0d3046feb8733f4ffd11247d9790c"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::compactor::build_conversation_text (cyclomatic 21): openfang_runtime::compactor::build_conversation_text has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/compactor.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"000fdebc41f2ccbba29f1545eec6709dc4be1fe02807e311b0836f916bb83260"}},{"ruleId":"D1","level":"warning","message":{"text":"app.toolIcon (cyclomatic 21): app.toolIcon has cyclomatic complexity 21 (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":"crates/openfang-api/static/js/app.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"27667b65cf80a1700bbfa7e5b8c35a0d2d3d7835b6edfea2dd03dbc72793d833"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::routes::audit_append (cyclomatic 20): openfang_api::routes::audit_append has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: openfang_api::routes::is_channel_configured (cyclomatic 43) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3777}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a3d2f894548f9fdc68ddeb6136ff51203794430304e9cced414b89ca7187a7"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::routes::create_schedule (cyclomatic 20): openfang_api::routes::create_schedule 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. This is NOT this file\u0027s highest cyclomatic complexity: openfang_api::routes::is_channel_configured (cyclomatic 43) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46157519a40a1ca136b12629a32008489379e900beab58bfe1e99bc0f6de609"}},{"ruleId":"D1","level":"warning","message":{"text":"RocketChatAdapter::start (cyclomatic 20): RocketChatAdapter::start 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":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"81583978bab8e746cc30dccceb5a989dfe445ef866f9d71feaadb764a73ed186"}},{"ruleId":"D1","level":"warning","message":{"text":"TwistAdapter::start (cyclomatic 20): TwistAdapter::start 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":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7641e5519c7ae0c8b8568f1eda16f434269302bb2c81b35513a80ce0aa1f86"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::tui::screens::init_wizard::draw_complete (cyclomatic 20): openfang_cli::tui::screens::init_wizard::draw_complete has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2475}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b0558d87e5028ea75026177c0e00d76f0134ec420edc5c721e3ba12d4dd480"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::tui::screens::skills::draw_installed (cyclomatic 20): openfang_cli::tui::screens::skills::draw_installed has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/skills.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb968df9c4d5550574e3b4b2ee552ac360e27246157179e1d16be894ff03fe11"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_desktop::tray::setup_tray (cyclomatic 20): openfang_desktop::tray::setup_tray 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":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"045535e4549287d1690bd9966b4b2bc041cf8fc9338ec860a90db216c2f8066a"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_kernel::kernel::manifest_to_capabilities (cyclomatic 20): openfang_kernel::kernel::manifest_to_capabilities has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6757}}}],"partialFingerprints":{"codehealthFindingId/v1":"44493186b71f0f76057453365ff55c29e1347a1df2aca5cfb11d87fa24b5380c"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_migrate::openclaw::scan_from_legacy_yaml (cyclomatic 20): openfang_migrate::openclaw::scan_from_legacy_yaml 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. This is NOT this file\u0027s highest cyclomatic complexity: openfang_migrate::openclaw::map_provider (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d98693c0fd3f134b880e52c92f42ec3a407920620c703581b1aef96c55b58d0"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCodeDriver::stream (cyclomatic 20): ClaudeCodeDriver::stream 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":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"74899e715771d53107ea6eabfe28ef8166b389356594a00b561b8d04a3f097a7"}},{"ruleId":"D1","level":"warning","message":{"text":"WebFetchEngine::fetch_with_options (cyclomatic 20): WebFetchEngine::fetch_with_options 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":"crates/openfang-runtime/src/web_fetch.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9344577937bb2b53dd3b1262e68f1b9e2297988b2b47d4caa3dd47b64748926"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::context_budget::apply_context_guard (cyclomatic 20): openfang_runtime::context_budget::apply_context_guard 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":"crates/openfang-runtime/src/context_budget.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6775fac3749f763ec0c63353d3ec534fa8219f0e8aa3657bffd39aeeb4c311"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::subprocess_sandbox::wait_or_kill_with_idle (cyclomatic 20): openfang_runtime::subprocess_sandbox::wait_or_kill_with_idle 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":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b661ae1eda9eb0df075ebb32f65de4b04d1ebb69ca656667fb69f0fc424031a"}},{"ruleId":"D1","level":"warning","message":{"text":"ClawHubClient::install_with_options (cyclomatic 20): ClawHubClient::install_with_options 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":"crates/openfang-skills/src/clawhub.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"883e3f61ff7f82081ccc8fd5cd5d82192912c7c81e868bf60bc4ad5294f5f718"}},{"ruleId":"D1","level":"warning","message":{"text":"hands.handsPage (cyclomatic 20): hands.handsPage 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":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e71365e859b6b6451c939a6682f0528633b36be306a16a1cec25e8295c60d1c"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.skillsPage (cyclomatic 20): skills.skillsPage has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bf9f5692f5b06527e7d89f5635ba64d936b3c6aac461ba830cd83f744e5f9b"}},{"ruleId":"D1","level":"warning","message":{"text":"skillsPage.categories (cyclomatic 20): skillsPage.categories has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c8aa5ada342e9dd2f5dad897f120080a3c57cb43a581a1ba43a434da9a8744"}},{"ruleId":"D1","level":"warning","message":{"text":"BlueskyAdapter::start (cyclomatic 19): BlueskyAdapter::start 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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0300399d3ce483544dcc3b7ddbd3b229d85c4c426eb97cda04cd33b454691a41"}},{"ruleId":"D1","level":"warning","message":{"text":"MattermostAdapter::start (cyclomatic 19): MattermostAdapter::start 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":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9013280e7611615e295d1019d3a2699fcbf46dd1bdf5b62db496e8cf7e79bca7"}},{"ruleId":"D1","level":"warning","message":{"text":"NtfyAdapter::start (cyclomatic 19): NtfyAdapter::start 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":"crates/openfang-channels/src/ntfy.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a372418f68a69540e323e2b550991f431e350cf0348b188e50bdd5bf9541ed95"}},{"ruleId":"D1","level":"warning","message":{"text":"RedditAdapter::start (cyclomatic 19): RedditAdapter::start 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":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f402f20263ebe6e61d102d6ae8e190fa7ad3f48e2289b7ce18262f58426803c7"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_channels::bridge::dispatch_with_blocks (cyclomatic 19): openfang_channels::bridge::dispatch_with_blocks 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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"965bef5c2e6a168d5ed341dcf97bdcd1e2c385fdf7174eb91d0a8e03b24a98a5"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenFangKernel::start_heartbeat_monitor (cyclomatic 19): OpenFangKernel::start_heartbeat_monitor 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4832}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da45df902428beb60a527456e0267a094262b86e8b128c5786a15200fb161ba"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_migrate::openclaw::migrate_memory_files (cyclomatic 19): openfang_migrate::openclaw::migrate_memory_files 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. This is NOT this file\u0027s highest cyclomatic complexity: openfang_migrate::openclaw::map_provider (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e7c750d5491640bf5b4cf3b1a8923c0d6f5fa03ad67edd16e80ad27bdf8f41"}},{"ruleId":"D1","level":"warning","message":{"text":"AuditLog::with_db (cyclomatic 19): AuditLog::with_db has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/audit.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"550ca8e30a495cb771c1bbc6223036744bf339740397ea6e2869630f31b5211f"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::apply_patch::apply_patch (cyclomatic 19): openfang_runtime::apply_patch::apply_patch 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":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e168d8b906caeb230623bbd47a425813fd4cfbca8e18a3890f6c37aae46566"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::drivers::gemini::sanitize_gemini_turns (cyclomatic 19): openfang_runtime::drivers::gemini::sanitize_gemini_turns 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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baf5525d43b7a5f6ee2498cb7610bae0bbd84c5ae8df41e7a1a2c08778cd36e"}},{"ruleId":"D1","level":"warning","message":{"text":"scheduler.schedulerPage.validateTarget (cyclomatic 19): scheduler.schedulerPage.validateTarget 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":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1012c1df5f7fb30a853aa562c41adbc2f6c8960adbcb51b4067167419bbbd14c"}},{"ruleId":"D1","level":"warning","message":{"text":"schedulerPage.validateTarget (cyclomatic 19): schedulerPage.validateTarget 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":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29bc8fb37e70c71b130d14e34655e31ab2f1c046cf4a3b9a718eb6b67bdb150"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscourseAdapter::start (cyclomatic 18): DiscourseAdapter::start 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":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe683f17007161eb6cc125e9e43fe5f6ceb11e987dba9f296ed7e1f16c66c4f"}},{"ruleId":"D1","level":"warning","message":{"text":"GitterAdapter::start (cyclomatic 18): GitterAdapter::start 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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0291f236cee08ef9bfb1479c37124aa1f3e25cd38330edeebebeb932b7b7f8a3"}},{"ruleId":"D1","level":"warning","message":{"text":"GotifyAdapter::start (cyclomatic 18): GotifyAdapter::start 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":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c715a15720b88a53d5dab38e89404d9cc9d05521b920ae4b99f57b951cef97f"}},{"ruleId":"D1","level":"warning","message":{"text":"KeybaseAdapter::start (cyclomatic 18): KeybaseAdapter::start 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":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6816bf262caf5cecb093bf060680fa78cf2c3db40b076c40e4c2ae83a901aa45"}},{"ruleId":"D1","level":"warning","message":{"text":"TelegramAdapter::start (cyclomatic 18): TelegramAdapter::start 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":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"776eb3817b20b0cf6768151eb45f0ccfad5fc44464a4c5352ce31c8bf80efc4c"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::tui::screens::init_wizard::handle_routing_key (cyclomatic 18): openfang_cli::tui::screens::init_wizard::handle_routing_key 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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cd33f7e1cfc16431510d360f9dfddd138b716d017ddc62573868f17d649059"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::drivers::openai::assemble_assistant_message (cyclomatic 18): openfang_runtime::drivers::openai::assemble_assistant_message has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3529d7744ed6f08d75604cb3d9d61504bf621b4a6ce7ac0ec992eaae6e87324"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::shell_bleed::extract_env_var_refs (cyclomatic 18): openfang_runtime::shell_bleed::extract_env_var_refs 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":"crates/openfang-runtime/src/shell_bleed.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f088a5bf4dcbfbae4d582b078823d56dee05bbc293e1c9740b2db382c44475e7"}},{"ruleId":"D1","level":"warning","message":{"text":"app.app.init (cyclomatic 18): app.app.init has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 3 function items inside it that branch (a function literal at line 343, handleHash, a function literal at line 309). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52441b4ae4c99236bf8c49e39bf032f80cf219d27073bc8ca0668a8c4edd357"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.document.addEventListener(\u0022alpine:init\u0022) (cyclomatic 18): runtime.document.addEventListener(\u0022alpine:init\u0022) has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 3, 49). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/runtime.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a04b9e45a805691963b6a5d3c41d70821ea9908c21c289ee6d715a678c0d3a2"}},{"ruleId":"D1","level":"warning","message":{"text":"wizard.wizardPage.createAgent (cyclomatic 18): wizard.wizardPage.createAgent has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"02363eb64a7321121b8e379b15b316593f6a2afc2aca79500b62ec6da3727f37"}},{"ruleId":"D1","level":"warning","message":{"text":"index.server (cyclomatic 18): index.server has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ff8c8f65445093409b5182d5b4de23799a0bad660b20834e931d608fa3c529"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 18): (anonymous) has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0baae99f4f2daac9aad36b4258958915cf70614c070c513755c9b8b64d8df4"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)._doConnect (cyclomatic 18): (anonymous)._doConnect has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (onclose, onopen, onmessage, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/api.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4651db0b209d1328b474292dce70475c78b808b0bc9e0cb3b333040c8c4d5a59"}},{"ruleId":"D1","level":"warning","message":{"text":"app.init (cyclomatic 18): app.init has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 343, handleHash, a function literal at line 309, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d9e2baa3774edf10d8763694bfac3d740f970772376a717f2814141007cc82"}},{"ruleId":"D1","level":"warning","message":{"text":"wizardPage.createAgent (cyclomatic 18): wizardPage.createAgent 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":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8445133a6e19aec38662cfa097e04d0d6090766a37bacd28ac25521a3e335e4"}},{"ruleId":"D1","level":"warning","message":{"text":"KernelBridgeAdapter::manage_schedule_text (cyclomatic 17): KernelBridgeAdapter::manage_schedule_text has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: KernelBridgeAdapter::channel_overrides (cyclomatic 44) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1107338bfb8585b27fc23ab2fbd2e33879a8ccdd5b815dc3ac7c516124b489"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::server::build_router (cyclomatic 17): openfang_api::server::build_router has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd75e71403ab8aad728180d6603ba6ee97af6bd3f6e76af2fface1679cc55d6f"}},{"ruleId":"D1","level":"warning","message":{"text":"MqttAdapter::start (cyclomatic 17): MqttAdapter::start has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mqtt.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1d7ae2bd6e7433c5db70bc35d79a8fe032f9cda6dd85327d88faad0f2da7ef"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreemaAdapter::start (cyclomatic 17): ThreemaAdapter::start has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/threema.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60a229d980b17d2f0c2d38c77132e510e1b5984c8551faa2b140f58299bfd24"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_channels::bridge::sanitize_agent_error (cyclomatic 17): openfang_channels::bridge::sanitize_agent_error has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e9a17152b043528e00ceb3189a58bc850068730544e12bd228ddf91cff1355"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_channels::formatter::strip_inline_markdown (cyclomatic 17): openfang_channels::formatter::strip_inline_markdown has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"965dac9a8b4aa7849d081ba89339b0912da66cd4fdebe94bc91938bbf06dedcc"}},{"ruleId":"D1","level":"warning","message":{"text":"App::draw_tab_bar (cyclomatic 17): App::draw_tab_bar has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: App::draw (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"31210b908bdb84aaa7b50252882dba8288335994dfc3367a94fab503ea6b8820"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSelectState::handle_agent_list (cyclomatic 17): AgentSelectState::handle_agent_list has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: openfang_cli::tui::screens::agents::draw (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc626e248628772d833233cf9c6e08840ecfae73f17ca9bec83ffbd98158178a"}},{"ruleId":"D1","level":"warning","message":{"text":"LogsState::handle_key (cyclomatic 17): LogsState::handle_key has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/logs.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b7124dae019fb9c40c0b338f62d0920c60672fe644d96ae117843205da1115"}},{"ruleId":"D1","level":"warning","message":{"text":"UsageState::handle_key (cyclomatic 17): UsageState::handle_key has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/usage.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"874b2fe0a540bceecbe285f761345786f5651aadc52db56bb3bcb038ce0dc144"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::launcher::draw (cyclomatic 17): openfang_cli::launcher::draw has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7681eb4015a54c739ca999744e59ced2713aab4243b66dbad90b6d4312023dc1"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::tui::screens::chat::draw_model_picker (cyclomatic 17): openfang_cli::tui::screens::chat::draw_model_picker has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c9abc3aa726bc43f05ad256b61581c92e9f57f5367c0e1fb0e4819851162bf"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_hands::registry::check_chromium_available (cyclomatic 17): openfang_hands::registry::check_chromium_available has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-hands/src/registry.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48d9046dfa9ede0e94455f443cc3757ee5c65607bf8f11eb84d5613ad691f82"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeCodeDriver::complete (cyclomatic 17): ClaudeCodeDriver::complete has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"454c593cb5217e94ba908b1db227f4e70af84a5e1a81873458d54a10c2e1510b"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::context_overflow::safe_drain_boundary (cyclomatic 17): openfang_runtime::context_overflow::safe_drain_boundary has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/context_overflow.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6989bfc3d5abe228d38ce51716bae8ac48bf9f470229b3a0b8ef8220911f254"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::session_repair::insert_synthetic_results (cyclomatic 17): openfang_runtime::session_repair::insert_synthetic_results has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce2043a0ad49eb82a660db73f315f742a29560e35f1896dd5b81ff8bb2c8eff"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageGenRequest::validate (cyclomatic 17): ImageGenRequest::validate has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/media.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb01868874062d3379bf88187c226316fca6af99677c3f175c58e209dca72bc"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.chatPage.sendMessage (cyclomatic 17): chat.chatPage.sendMessage has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef5356658173ef84605adabdbbce70832560652d5c5d1c816710949f8cae8dc"}},{"ruleId":"D1","level":"warning","message":{"text":"hands.handsPage.installDeps (cyclomatic 17): hands.handsPage.installDeps has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b408edbad73a0dd34cc13c36471254cccf37164e89519d8811c6ae9728160684"}},{"ruleId":"D1","level":"warning","message":{"text":"hands.handsPage.getInstallCmd (cyclomatic 17): hands.handsPage.getInstallCmd has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"836ac8a0a7f040e648a221d10aca044ae89ec60389c874d2dab254f80f9e1578"}},{"ruleId":"D1","level":"warning","message":{"text":"usage.analyticsPage.modelTier (cyclomatic 17): usage.analyticsPage.modelTier has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc80d7d31abcfc2dafc32c0b57036615a32d200e5517a654d17352b139b1da62"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous).request (cyclomatic 17): (anonymous).request has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 161, 175, 191, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/api.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa6f8f1c52883ed04dddf2346b03f17519eebd758334966d2986543bb9dc5a8"}},{"ruleId":"D1","level":"warning","message":{"text":"chatPage.sendMessage (cyclomatic 17): chatPage.sendMessage has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba3c52d83c073e17a3742fe373d52180f940d2fb4d13b5e855cc439a5c3932"}},{"ruleId":"D1","level":"warning","message":{"text":"handsPage.installDeps (cyclomatic 17): handsPage.installDeps has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5418fc66210a2e33ae18ef823de0b01c40aef0f56a526392cdc603d047b238cc"}},{"ruleId":"D1","level":"warning","message":{"text":"handsPage.getInstallCmd (cyclomatic 17): handsPage.getInstallCmd has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c23a5d4de0b1dfefa560729912499aa79431adc91828dfcd5399b07ef7dbe8"}},{"ruleId":"D1","level":"warning","message":{"text":"analyticsPage.modelTier (cyclomatic 17): analyticsPage.modelTier has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc4c8fffbc0d60a577c21685a98134a6909f4fad7af1ae2da15a696af9c544b"}},{"ruleId":"D1","level":"warning","message":{"text":"wizardPage.suggestedMessages (cyclomatic 17): wizardPage.suggestedMessages has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"789052dd4f2bd6a51bbeb3ca7bb471179538709aa3c0b28c131b068843844816"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_api::server::run_daemon (cyclomatic 16): openfang_api::server::run_daemon has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cbbdbd14376770352b791bd252b799546516f50a1719ebcb52a2119c7d0195"}},{"ruleId":"D1","level":"warning","message":{"text":"WeComAdapter::start (cyclomatic 16): WeComAdapter::start has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/wecom.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be1b4535e059ccb22a80252515159bf19145217314d48d884a3cb9ec64c098c"}},{"ruleId":"D1","level":"warning","message":{"text":"StandaloneChat::handle_slash_command (cyclomatic 16): StandaloneChat::handle_slash_command has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1610756edc624deb2dbc3001867163fd19a2162d3050fb727102b2aa6f41f3e"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_agent_action (cyclomatic 16): App::handle_agent_action has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: App::draw (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4662ad30c4ee7d46d26cd2e200ee32df68562716dfb7210161d9eb5f83e8ae58"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryState::handle_kv_browser (cyclomatic 16): MemoryState::handle_kv_browser has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fead1a53d1900f4a9407a0f52735203dc2a4dfb07e8a2996a84a6f3599c7c31"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsState::handle_clawhub (cyclomatic 16): SkillsState::handle_clawhub has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/skills.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"104742e3bd2e61ee6a3a2a02f07082186f709be382dbc93b3a3570d3bff81184"}},{"ruleId":"D1","level":"warning","message":{"text":"TriggerState::handle_create (cyclomatic 16): TriggerState::handle_create has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/triggers.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3bda3878f251d46417461c28449c56052d37eadec1ec129e9d92e8831b7dd1"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::cmd_skill_install (cyclomatic 16): openfang_cli::cmd_skill_install has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3564}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa8438d59e224768a62e1e9a65619bcc783ca8ff0fa75ba7e7f568218e0d496"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::launcher::run (cyclomatic 16): openfang_cli::launcher::run has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6a19b3ce6afadc7416627cd2112dec3801ca8f2dcb24dd6f5dc58c56aac5a4"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_cli::tui::screens::welcome::draw (cyclomatic 16): openfang_cli::tui::screens::welcome::draw has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/welcome.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebcc6dd2424ea69222faf896fe338cec6a1aef06840975c295f9636601f2b69"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_desktop::server::load_dotenv_files (cyclomatic 16): openfang_desktop::server::load_dotenv_files has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/server.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c75285515012db6db64c778a99114ab159e845e051b30b44bfe7d01c7cfbb2"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_kernel::whatsapp_gateway::start_whatsapp_gateway (cyclomatic 16): openfang_kernel::whatsapp_gateway::start_whatsapp_gateway has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4090d796cd8f2c702b51351b24dbc55cc5e3eff3257788e77eb1434d1f85e6b2"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_migrate::openclaw::migrate_workspace_dirs (cyclomatic 16): openfang_migrate::openclaw::migrate_workspace_dirs has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: openfang_migrate::openclaw::map_provider (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10a1d2430a45a25d7a084f3a136af126ff8e73d3e127a2a5e4fd8d963009d51"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::context_overflow::recover_from_overflow (cyclomatic 16): openfang_runtime::context_overflow::recover_from_overflow has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/context_overflow.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1801ab67cd29c0c7a995f70667e0faa0a9cd7d5017eebc507ea1ab1c6734f906"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::drivers::gemini::convert_messages (cyclomatic 16): openfang_runtime::drivers::gemini::convert_messages has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"620c6dd48faf4578fe121e06e0e71d27de1efca5041aee24940673a1ab8b7e29"}},{"ruleId":"D1","level":"warning","message":{"text":"openfang_runtime::session_repair::validate_and_repair_with_stats (cyclomatic 16): openfang_runtime::session_repair::validate_and_repair_with_stats has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"db88f0f44d9cddd443b73cd1d721857f3a923050d62de0be0680f23ae6d91da0"}},{"ruleId":"D1","level":"warning","message":{"text":"CronJob::validate_action (cyclomatic 16): CronJob::validate_action has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/scheduler.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae372bc7b9fbe20a8e610dc3e45bf40f66f71f3567a3a18b9a45134667f6cf0"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.chatPage.loadSession (cyclomatic 16): chat.chatPage.loadSession has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"1779c063b14f5cb23aedda4949338e2b921e4f49e83590367795189b45b71765"}},{"ruleId":"D1","level":"warning","message":{"text":"hands.handsPage._fetchDashboardData (cyclomatic 16): hands.handsPage._fetchDashboardData has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee43b641e99159a66b488f9b88c270d41a1aa1afb6e40703e8130d0001e51266"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.settingsPage.formatConfigValue (cyclomatic 16): settings.settingsPage.formatConfigValue has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed5316c7fe5abb6cbfb9d68f5713aa7dabc36c9b150cace26c0ec1eb396916f"}},{"ruleId":"D1","level":"warning","message":{"text":"chatPage.loadSession (cyclomatic 16): chatPage.loadSession has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 655, 661, 652, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a54415d6ce4fe61ac031d587e5a6e93c75d52625addca17f2d229d8c071599"}},{"ruleId":"D1","level":"warning","message":{"text":"handsPage._fetchDashboardData (cyclomatic 16): handsPage._fetchDashboardData has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b1c6f417bdd4f3018975fb9275fb477740f4a10ab4f8c6ae553403f30f72e2"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::(anonymous)::loadData (cyclomatic 16): (anonymous)::(anonymous)::loadData has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/runtime.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73140271bd35a118ec6b278be4bbc69f7eb97ee4b4c3e29eacfe9c6b3d3276e"}},{"ruleId":"D1","level":"warning","message":{"text":"settingsPage.formatConfigValue (cyclomatic 16): settingsPage.formatConfigValue has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c21fa945c787c6331a4bc3cdf7ae33d74c379544617aaa2f20d1f6f01e063d"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::cmd_doctor (cognitive 582): openfang_cli::cmd_doctor has cognitive complexity 582 (threshold 15). Drivers by points: if/else 176 (517 pts), match/switch 14 (31 pts), loops 9 (26 pts), boolean chains 8 (nesting depth added 375). 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb799c24161f696ebd7ecad697de4dce83d2f0c7b82b60e9b2032aeaeb614a6"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::init_wizard::run (cognitive 281): openfang_cli::tui::screens::init_wizard::run has cognitive complexity 281 (threshold 15). Drivers by points: if/else 46 (158 pts), match/switch 17 (99 pts), loops 4 (15 pts), boolean chains 9 (nesting depth added 205). 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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cffa8f32de59a4e18bd8b091666fdaad875bac15424b6887e95e0868b1654c0"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDriver::stream (cognitive 273): OpenAIDriver::stream has cognitive complexity 273 (threshold 15). Drivers by points: if/else 56 (188 pts), loops 12 (40 pts), match/switch 8 (28 pts), boolean chains 17 (nesting depth added 180). 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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c897f15a61bed57439badd81ee4e7e3183e0b7297dba90c3882a6239332d80"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiDriver::stream (cognitive 220): GeminiDriver::stream has cognitive complexity 220 (threshold 15). Drivers by points: if/else 33 (156 pts), loops 8 (32 pts), match/switch 5 (26 pts), boolean chains 6 (nesting depth added 168). 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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4199c30769062dca305f2552f0a5e70d32a87d4233fd2e199cfb944f52ae4d3"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.chatPage.handleWsMessage (cognitive 214): chat.chatPage.handleWsMessage has cognitive complexity 214 (threshold 15). Drivers by points: if/else 47 (123 pts), boolean chains 43, ternaries 11 (29 pts), error handling 2 (12 pts), loops 2 (6 pts), match/switch 1 (nesting depth added 108). Of this number, 202 points are the body\u0027s own statements and 12 belong to 4 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f456acd2a6de708d0629c8355f87faae3f3135127733d0621b76968d680c9e"}},{"ruleId":"D2","level":"warning","message":{"text":"chatPage.handleWsMessage (cognitive 213): chatPage.handleWsMessage has cognitive complexity 213 (threshold 15). Drivers by points: if/else 47 (123 pts), boolean chains 42, ternaries 11 (29 pts), error handling 2 (12 pts), loops 2 (6 pts), match/switch 1 (nesting depth added 108). Of this number, 198 points are the body\u0027s own statements and 15 belong to 8 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f9467a8907178eff51e7a0c401d37d171cd3b5dbcf083e94dc7b94318136b0"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::boot_with_config (cognitive 207): OpenFangKernel::boot_with_config has cognitive complexity 207 (threshold 15). Drivers by points: if/else 64 (129 pts), match/switch 23 (54 pts), loops 11 (18 pts), boolean chains 6 (nesting depth added 103). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"4699a8fe5946c716c4faa968558c07aa0606a5dbc3e8801d30aba0221dc04d75"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::agent_loop::recover_text_tool_calls (cognitive 194): openfang_runtime::agent_loop::recover_text_tool_calls has cognitive complexity 194 (threshold 15). Drivers by points: if/else 55 (153 pts), boolean chains 16, loops 13 (14 pts), match/switch 5 (11 pts) (nesting depth added 105). 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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3696ef8756224c5332f2edd3acc5f53004c3f0bd8cca70139fd3af4e9a8372e2"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::agent_loop::run_agent_loop_streaming (cognitive 191): openfang_runtime::agent_loop::run_agent_loop_streaming has cognitive complexity 191 (threshold 15). Drivers by points: if/else 57 (154 pts), match/switch 7 (23 pts), loops 4 (9 pts), boolean chains 5 (nesting depth added 118). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedd509567c93f3804edaa5df2122773e03d0f32905b88166ea4f528d9784494"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::agent_loop::run_agent_loop (cognitive 182): openfang_runtime::agent_loop::run_agent_loop has cognitive complexity 182 (threshold 15). Drivers by points: if/else 55 (146 pts), match/switch 6 (21 pts), loops 4 (9 pts), boolean chains 6 (nesting depth added 111). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad3f37b48399d79369e5e3c7b95a6a55beea0cdf25a8165f1cb106561aa3362"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::channel_bridge::start_channel_bridge_with_config (cognitive 177): openfang_api::channel_bridge::start_channel_bridge_with_config has cognitive complexity 177 (threshold 15). Drivers by points: if/else 101 (159 pts), match/switch 4 (12 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 67). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbb6d6aae2d272246f6f3f8075bb1f387b629d91b0db1709aae4b6a71016fe7"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::migrate_channels_from_json (cognitive 170): openfang_migrate::openclaw::migrate_channels_from_json has cognitive complexity 170 (threshold 15). Drivers by points: if/else 68 (169 pts), loops 1 (nesting depth added 101). Of this number, 166 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5e5edaa421269fa7af1f114029dacd760ca98e20b5d9deff8e1d8161a5bcf9"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicDriver::stream (cognitive 152): AnthropicDriver::stream has cognitive complexity 152 (threshold 15). Drivers by points: if/else 26 (109 pts), match/switch 7 (29 pts), loops 5 (12 pts), boolean chains 2 (nesting depth added 112). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"90696531af46875f9dbafdb644612406ad65ee8fddfcb4e770814d687afb6a66"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::bridge::dispatch_message (cognitive 148): openfang_channels::bridge::dispatch_message has cognitive complexity 148 (threshold 15). Drivers by points: if/else 41 (87 pts), match/switch 18 (44 pts), loops 4 (14 pts), boolean chains 3 (nesting depth added 82). 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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c977e452e33ece724bd6a78699acb40fa0fdf092ccd8b9ad783951818a2c6aed"}},{"ruleId":"D2","level":"warning","message":{"text":"MatrixAdapter::start (cognitive 147): MatrixAdapter::start has cognitive complexity 147 (threshold 15). Drivers by points: if/else 30 (119 pts), loops 4 (13 pts), match/switch 4 (13 pts), boolean chains 2 (nesting depth added 107). 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":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42f6f9c7c33afb5a99144984d9775bd1ff863b016f2b01a831bf75b8cdaa569"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelConfig::validate (cognitive 141): KernelConfig::validate has cognitive complexity 141 (threshold 15). Drivers by points: if/else 86 (135 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/config.rs"},"region":{"startLine":3382}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b4f4e357f2eb610a55bd60e7188de6dbf46ebcecbd293e32394aeb0d80f2fd"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscordAdapter::start (cognitive 132): DiscordAdapter::start has cognitive complexity 132 (threshold 15). Drivers by points: if/else 23 (91 pts), match/switch 9 (31 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 94). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"761c5183f2df814937715aad923d565cf56e3e49764b358a94f1e7da23487505"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIDriver::complete (cognitive 122): OpenAIDriver::complete has cognitive complexity 122 (threshold 15). Drivers by points: if/else 38 (88 pts), boolean chains 13, match/switch 4 (11 pts), loops 5 (10 pts) (nesting depth added 62). 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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"530fb9436cab6cc0d2b70c63f099b675c639c49e317e29b61d2fa59f7a729ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine::execute_run (cognitive 108): WorkflowEngine::execute_run has cognitive complexity 108 (threshold 15). Drivers by points: if/else 20 (79 pts), match/switch 5 (16 pts), loops 5 (13 pts) (nesting depth added 78). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b684708cad225a5c31cf21d8db53b579e54306a1fff593c43b92eed82130d2b"}},{"ruleId":"D2","level":"warning","message":{"text":"chatPage.executeSlashCommand (cognitive 106): chatPage.executeSlashCommand has cognitive complexity 106 (threshold 15). Drivers by points: if/else 24 (41 pts), ternaries 10 (25 pts), error handling 9 (23 pts), boolean chains 16, match/switch 1 (nesting depth added 46). Of this number, 80 points are the body\u0027s own statements and 26 belong to 19 function items inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5173b74ea37bdac4047dd8737fb8e2f0e6d2fb2488a7d01e88401a2a575abce"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::ws::handle_text_message (cognitive 103): openfang_api::ws::handle_text_message has cognitive complexity 103 (threshold 15). Drivers by points: if/else 22 (78 pts), match/switch 8 (21 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 71). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"363c483738c19f4307a1f14bc1229d41cda8492eae1b08a142ec9b4416142993"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::start_background_agents (cognitive 103): OpenFangKernel::start_background_agents has cognitive complexity 103 (threshold 15). Drivers by points: if/else 31 (77 pts), loops 8 (12 pts), match/switch 4 (11 pts), boolean chains 3 (nesting depth added 57). 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4390}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ccfd875c033e8db9bbba38af3501dada9badaef6f9ea0ab8d5e02dfd8420de"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_kernel::metering::estimate_cost_rates (cognitive 88): openfang_kernel::metering::estimate_cost_rates has cognitive complexity 88 (threshold 15). Drivers by points: if/else 75 (76 pts), boolean chains 12 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae5c725ff600feafc3512165fdf9de06e9e0acfeff0ba4ea6b78d1e070a795b"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::tool_runner::execute_tool (cognitive 88): openfang_runtime::tool_runner::execute_tool has cognitive complexity 88 (threshold 15). Drivers by points: if/else 29 (58 pts), match/switch 15 (26 pts), boolean chains 4 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0909d8332b03c4a8bf64c6e8d2ee19600085623a6f1bd2132ece35ad51cfb9c"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::apply_patch::parse_patch (cognitive 86): openfang_runtime::apply_patch::parse_patch has cognitive complexity 86 (threshold 15). Drivers by points: if/else 28 (68 pts), loops 4 (12 pts), boolean chains 6 (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f265a800f39a8efa8048f3d6ce9ef6e0f711e3bf307827c9d9f5069978dcea0"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::get_agent_session (cognitive 85): openfang_api::routes::get_agent_session has cognitive complexity 85 (threshold 15). Drivers by points: if/else 11 (57 pts), loops 5 (15 pts), match/switch 5 (11 pts), boolean chains 2 (nesting depth added 62). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e837d0e2a18210baaa2fcc97af6b13012cbfb20bfedfb69c2e9d27197886fe58"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::session_repair::reorder_tool_results (cognitive 84): openfang_runtime::session_repair::reorder_tool_results has cognitive complexity 84 (threshold 15). Drivers by points: if/else 22 (65 pts), loops 9 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 51). 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":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"156177b4b466bed197b42c5f5c1c1522cc53a7e2c790d45b5206771a488431d4"}},{"ruleId":"D2","level":"warning","message":{"text":"MastodonAdapter::start (cognitive 80): MastodonAdapter::start has cognitive complexity 80 (threshold 15). Drivers by points: if/else 14 (56 pts), loops 4 (12 pts), match/switch 4 (12 pts) (nesting depth added 58). 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":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eea11e2b19d62d4a912d0b2c715f1c865ebfdb76d9826db82e0ea647493b12f"}},{"ruleId":"D2","level":"warning","message":{"text":"ZulipAdapter::start (cognitive 78): ZulipAdapter::start has cognitive complexity 78 (threshold 15). Drivers by points: if/else 19 (60 pts), match/switch 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 51). 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":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"036f7572eaaf7fe9a1685a4205a51d5ef3a4d22cb4c62050c1edf44b71517747"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_slash_command (cognitive 78): App::handle_slash_command has cognitive complexity 78 (threshold 15). Drivers by points: if/else 15 (42 pts), match/switch 7 (20 pts), loops 4 (16 pts) (nesting depth added 52). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc3e7dbfc81d9ae070ce82fcd4f32a003f9cba43f07804c8eb047b6381302d6"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::install_hand_deps (cognitive 77): openfang_api::routes::install_hand_deps has cognitive complexity 77 (threshold 15). Drivers by points: if/else 17 (50 pts), loops 4 (16 pts), match/switch 5 (9 pts), boolean chains 2 (nesting depth added 49). 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4486}}}],"partialFingerprints":{"codehealthFindingId/v1":"082d877bfe0b4242b6e69b2e6d86abc717e2622ad2f66ef48b56f8a4197d3edc"}},{"ruleId":"D2","level":"warning","message":{"text":"IrcAdapter::start (cognitive 75): IrcAdapter::start has cognitive complexity 75 (threshold 15). Drivers by points: if/else 12 (49 pts), match/switch 5 (17 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3715dea1340878d47e68a3e803bd4286acf16a761ebe385bb38e9628e1fd100d"}},{"ruleId":"D2","level":"warning","message":{"text":"MumbleAdapter::start (cognitive 75): MumbleAdapter::start has cognitive complexity 75 (threshold 15). Drivers by points: if/else 16 (64 pts), loops 2 (6 pts), match/switch 2 (5 pts) (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a494149672c8b09df4ac5a7990972960af999ab6d42eb42f3c23bad77a0911"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.chatPage.executeSlashCommand (cognitive 73): chat.chatPage.executeSlashCommand has cognitive complexity 73 (threshold 15). Drivers by points: if/else 24 (41 pts), boolean chains 22, ternaries 3 (7 pts), error handling 1 (2 pts), match/switch 1 (nesting depth added 22). Of this number, 48 points are the body\u0027s own statements and 25 belong to 9 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06755ca5a6b66a6a4a834d519d8d777ab1473241483c9a57ef99cdbe06a651b"}},{"ruleId":"D2","level":"warning","message":{"text":"handsPage._renderCharts (cognitive 70): handsPage._renderCharts has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 15 (40 pts), if/else 8 (11 pts), boolean chains 10, loops 3 (9 pts) (nesting depth added 34). Of this number, 64 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f7c8ed56f7ccc701b367ef3305898b880ed0b9646faf3ddc11892e6b57021f"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::chat::draw_messages (cognitive 69): openfang_cli::tui::screens::chat::draw_messages has cognitive complexity 69 (threshold 15). Drivers by points: if/else 25 (46 pts), loops 6 (14 pts), match/switch 2 (5 pts), boolean chains 4 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d90d6cde17b36703419a7b96ac0def13f989432177f439c53c845b73296af26"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexAIDriver::stream (cognitive 68): VertexAIDriver::stream has cognitive complexity 68 (threshold 15). Drivers by points: if/else 15 (45 pts), loops 4 (13 pts), match/switch 1 (8 pts), boolean chains 2 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/vertex.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"223385396301799d95f68b7bd84a2d6b9edeb8e2bfd64a601791dbd6fc571eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::patch_agent_config (cognitive 66): openfang_api::routes::patch_agent_config has cognitive complexity 66 (threshold 15). Drivers by points: if/else 32 (62 pts), boolean chains 3, match/switch 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9712}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef3ed8fbdf0d443ada685d8096c314214204802f908eef63b2adc7b977764c8"}},{"ruleId":"D2","level":"warning","message":{"text":"NostrAdapter::start (cognitive 65): NostrAdapter::start has cognitive complexity 65 (threshold 15). Drivers by points: if/else 12 (39 pts), match/switch 5 (19 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"177bf8416b8e2684619fe19221538260e1518ee7e75d71ca57c85ff9050492c4"}},{"ruleId":"D2","level":"warning","message":{"text":"TwistAdapter::start (cognitive 65): TwistAdapter::start has cognitive complexity 65 (threshold 15). Drivers by points: if/else 13 (44 pts), match/switch 4 (11 pts), loops 4 (10 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"14507ce0a7360e305a3504ee78a6c97627ea34e989ec7bc023a88ac77a6f9a38"}},{"ruleId":"D2","level":"warning","message":{"text":"GitterAdapter::start (cognitive 63): GitterAdapter::start has cognitive complexity 63 (threshold 15). Drivers by points: if/else 10 (45 pts), match/switch 3 (9 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f76a29821d2b130e03153d80ac7d9c6a0721f4bf719335bcbd4789e5c247e"}},{"ruleId":"D2","level":"warning","message":{"text":"NtfyAdapter::start (cognitive 62): NtfyAdapter::start has cognitive complexity 62 (threshold 15). Drivers by points: if/else 11 (44 pts), match/switch 3 (9 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/ntfy.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9226aa4b29fd16fb68b62f3ea2ce8a674e1fa9ae7d26beaafa362cb6669c01"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::bridge::handle_command (cognitive 62): openfang_channels::bridge::handle_command has cognitive complexity 62 (threshold 15). Drivers by points: if/else 20 (34 pts), match/switch 10 (16 pts), loops 3 (9 pts), boolean chains 3 (nesting depth added 26). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7febca1c2435fbb47929e143f79045d60d8a772085fa553c721a62b7bc345d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::send_message_streaming (cognitive 62): OpenFangKernel::send_message_streaming has cognitive complexity 62 (threshold 15). Drivers by points: if/else 34 (52 pts), match/switch 4 (6 pts), boolean chains 4 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"860455780bb6cf2a2547602debbe6810cee1c3a3e26208bd8e7d7b68680cce90"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::scan_from_legacy_yaml (cognitive 62): openfang_migrate::openclaw::scan_from_legacy_yaml has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (51 pts), loops 4 (11 pts) (nesting depth added 42). 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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8fab9414c719014fef4ce43e308168f63cf0bd64e88d2c05f5b5d833c57203"}},{"ruleId":"D2","level":"warning","message":{"text":"NextcloudAdapter::start (cognitive 59): NextcloudAdapter::start has cognitive complexity 59 (threshold 15). Drivers by points: if/else 14 (39 pts), match/switch 5 (13 pts), loops 4 (7 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c38d6f377305bd3b4c2a8fbd6cd992fa6a9123d025859c094638aefded5bbdb"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackAdapter::start (cognitive 59): SlackAdapter::start has cognitive complexity 59 (threshold 15). Drivers by points: if/else 9 (33 pts), match/switch 8 (21 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"179610e87e38f263ef4d046dca9f920b52928d6c746b2004bc8e7b6bc7add56b"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::referenced_providers (cognitive 59): OpenFangKernel::referenced_providers has cognitive complexity 59 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 13 (24 pts), boolean chains 6 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5339}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd60a9dfa59a235c7f5be30278455f19eddc03d7477f1440ed67ca9d1e0cd41d"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::apply_patch::apply_patch (cognitive 59): openfang_runtime::apply_patch::apply_patch has cognitive complexity 59 (threshold 15). Drivers by points: match/switch 10 (34 pts), if/else 6 (23 pts), boolean chains 1, loops 1 (nesting depth added 41). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e4d0e630f1d00f1d0e56e7180b44561474d44409d0c95c583a16c2fbc868f5"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow-builder.workflowBuilder.generateToml (cognitive 59): workflow-builder.workflowBuilder.generateToml has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (33 pts), boolean chains 14, loops 3 (7 pts), ternaries 1 (5 pts) (nesting depth added 26). Of this number, 58 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b8fdd22fa2e46a22575500112a2da9cf22bd298c4bb75c8f68f63d01e58bce"}},{"ruleId":"D2","level":"warning","message":{"text":"workflowBuilder.generateToml (cognitive 59): workflowBuilder.generateToml has cognitive complexity 59 (threshold 15). Drivers by points: if/else 15 (33 pts), boolean chains 14, loops 3 (7 pts), ternaries 1 (5 pts) (nesting depth added 26). Of this number, 58 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5601fba78cf38d91189d4bbd6368f639bb1a4f0b72d9d7c99b2124bf23c77d"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::ws::handle_command (cognitive 58): openfang_api::ws::handle_command has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (35 pts), match/switch 10 (23 pts) (nesting depth added 29). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"1036adf20b112d7eb7d87d87d75b53f5abe21eee36459e28e83b9a0fc99e63ac"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::drivers::bedrock::relocate_stray_tool_results (cognitive 58): openfang_runtime::drivers::bedrock::relocate_stray_tool_results has cognitive complexity 58 (threshold 15). Drivers by points: if/else 18 (43 pts), loops 9 (13 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/bedrock.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"97837134bdb0ec8a984fa4b071d3260b02e6ed69052db8ff668ddea7699d4681"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_event (cognitive 57): App::handle_event has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (49 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 26). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a880f94a0e040fb973af90db71fbd415563cbaaf619225e25f7d2b654b388d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::start_heartbeat_monitor (cognitive 57): OpenFangKernel::start_heartbeat_monitor has cognitive complexity 57 (threshold 15). Drivers by points: if/else 14 (52 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 39). 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4832}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a66377f1bc346ff6eebd97c03fe0a577fb7d4aa716cf55bb64d0933c6829269"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::compactor::build_conversation_text (cognitive 57): openfang_runtime::compactor::build_conversation_text has cognitive complexity 57 (threshold 15). Drivers by points: if/else 14 (44 pts), match/switch 3 (8 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/compactor.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e9d69dd85e3c24d2e366a922ebaa25398771b1e47d0bc7ca710b5b94c9a5d6"}},{"ruleId":"D2","level":"warning","message":{"text":"startConnection (cognitive 57): startConnection has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (29 pts), ternaries 5 (16 pts), boolean chains 7, error handling 2 (4 pts), loops 1 (nesting depth added 23). None of this is in the body itself: all 57 points belong to 3 function literals inside it that branch (lines 119, 62, 104). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb13f10c0e1b9b3e744f48eadb3ec4013e3e7a23c9a964108a54268675d11a5"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::telegram::parse_telegram_update (cognitive 56): openfang_channels::telegram::parse_telegram_update has cognitive complexity 56 (threshold 15). Drivers by points: if/else 28 (40 pts), match/switch 8 (13 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2789ac40c24ef123d3a5d60ab06dcb1c9fb3b767d9df605350090d14f431df2"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::execute_llm_agent (cognitive 56): OpenFangKernel::execute_llm_agent has cognitive complexity 56 (threshold 15). Drivers by points: if/else 34 (51 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2631}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8e8cec1d5a5c4f473946f002fdc702dd07e7d85999b65899f759202e1ea22e"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::cmd_channel_setup (cognitive 55): openfang_cli::cmd_channel_setup has cognitive complexity 55 (threshold 15). Drivers by points: if/else 14 (26 pts), match/switch 10 (25 pts), loops 2 (4 pts) (nesting depth added 29). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3956}}}],"partialFingerprints":{"codehealthFindingId/v1":"877c35d05645da395f7a5befb7129238de162703a99ee051a615b13242dd050c"}},{"ruleId":"D2","level":"warning","message":{"text":"WebexAdapter::start (cognitive 54): WebexAdapter::start has cognitive complexity 54 (threshold 15). Drivers by points: if/else 11 (30 pts), match/switch 7 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"01498eff293cbfab5c2748c0ced8aaacf7124ea7380c08e1875f4d8b85a100da"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_kernel::config::load_config (cognitive 54): openfang_kernel::config::load_config has cognitive complexity 54 (threshold 15). Drivers by points: if/else 10 (39 pts), match/switch 3 (9 pts), loops 1 (6 pts) (nesting depth added 40). 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":"crates/openfang-kernel/src/config.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ee36acccb19c5c468d7548f750b13d21c92fdd41213a30640fcf34886c5c93"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::migrate_memory_files (cognitive 54): openfang_migrate::openclaw::migrate_memory_files has cognitive complexity 54 (threshold 15). Drivers by points: if/else 15 (47 pts), loops 3 (7 pts) (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc42e7812318fbec7f77e9cb769ea10e158b61235362ec7b9225c59b820cd986"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_types::tool::normalize_schema_recursive (cognitive 53): openfang_types::tool::normalize_schema_recursive has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (40 pts), loops 3 (9 pts), boolean chains 3, match/switch 1 (nesting depth added 30). 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":"crates/openfang-types/src/tool.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7002954055b2556226e1fc8d72a12ff1ac2f4a5f6b0740a8df6da6734e911314"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::middleware::auth (cognitive 52): openfang_api::middleware::auth has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 36, if/else 12 (16 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/middleware.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfe2eecef49d588741df968a8d94acff97bcb83a827a39b5d8c24342385b419"}},{"ruleId":"D2","level":"warning","message":{"text":"RocketChatAdapter::start (cognitive 52): RocketChatAdapter::start has cognitive complexity 52 (threshold 15). Drivers by points: if/else 12 (32 pts), match/switch 5 (13 pts), loops 4 (7 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1613ab34e03cdac48c81b790b73fcf90bead50f53ea3f93a1d8be29d885b07e"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::formatter::markdown_to_telegram_html (cognitive 52): openfang_channels::formatter::markdown_to_telegram_html has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (35 pts), loops 6 (15 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdde29181ab46ece4b7de537cc594740ba544915f49cee7d3fe0951bbdb3834"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::prompt_builder::build_system_prompt (cognitive 52): openfang_runtime::prompt_builder::build_system_prompt has cognitive complexity 52 (threshold 15). Drivers by points: if/else 29 (48 pts), boolean chains 4 (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":"crates/openfang-runtime/src/prompt_builder.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"12df9f4daa3250c5f7c1962123aa2bdb5e7abece47e6c3f4ea09f20e32cb7a02"}},{"ruleId":"D2","level":"warning","message":{"text":"wizard.wizardPage (cognitive 52): wizard.wizardPage has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 29, ternaries 19, if/else 4. Of this number, 51 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91c10dba093c2029b675e28ebb5680a2bda1210a3c22f81100576e8b2463638"}},{"ruleId":"D2","level":"warning","message":{"text":"KeybaseAdapter::start (cognitive 51): KeybaseAdapter::start has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (37 pts), match/switch 3 (7 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f53fc44b1df1f0e88fddd10210d0350e684abbd9186771982fe9d16a3f44c9"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::agent_loop::call_with_retry (cognitive 51): openfang_runtime::agent_loop::call_with_retry has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (28 pts), match/switch 5 (17 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent 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 (openfang_runtime::agent_loop::stream_with_retry) 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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41f2f15438d4e2582ce81b30422d28a39b3c3c895bc17dedb1d9eaf739f916a"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::agent_loop::stream_with_retry (cognitive 51): openfang_runtime::agent_loop::stream_with_retry has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (28 pts), match/switch 5 (17 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent 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 (openfang_runtime::agent_loop::call_with_retry) 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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdd2b875520a1b130b29597c97970c72ccbf3639902f59e78245a9e9353c9b4"}},{"ruleId":"D2","level":"warning","message":{"text":"GotifyAdapter::start (cognitive 50): GotifyAdapter::start has cognitive complexity 50 (threshold 15). Drivers by points: if/else 9 (33 pts), match/switch 4 (14 pts), loops 2 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67bbec73037b96b45500f4a00b5d814b628b80a99cd0ad142b4e8511b13065d"}},{"ruleId":"D2","level":"warning","message":{"text":"RedditAdapter::start (cognitive 50): RedditAdapter::start has cognitive complexity 50 (threshold 15). Drivers by points: if/else 8 (25 pts), match/switch 6 (16 pts), loops 4 (9 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ff1cf99969591486d495a4e8953982be981f6a8a7c63e2554d135801ce16f0"}},{"ruleId":"D2","level":"warning","message":{"text":"RevoltAdapter::start (cognitive 50): RevoltAdapter::start has cognitive complexity 50 (threshold 15). Drivers by points: if/else 6 (27 pts), match/switch 5 (19 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7096da517909dcac8b5dcea42e3c0ed1c5acaec0e2d150cd02e9cb1a71d3c5"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitchAdapter::start (cognitive 49): TwitchAdapter::start has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (34 pts), match/switch 3 (8 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twitch.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"04899788ef5665bbb45b71752cc768a55925c06b100707a65e6fa0af1cb350c3"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::shell_bleed::extract_env_var_refs (cognitive 49): openfang_runtime::shell_bleed::extract_env_var_refs has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 6 (13 pts), boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/shell_bleed.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb702c26abc6a36a1cd9411e3b857b4164502a8c68dcf26530a252ef4726fce"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::convert_agent_from_json (cognitive 48): openfang_migrate::openclaw::convert_agent_from_json has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (40 pts), loops 3 (8 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffd322cf4ff32e552ab0a6c69fb4cc9d845086d7391e236a527419d8578df45"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillRegistry::load_all (cognitive 48): SkillRegistry::load_all has cognitive complexity 48 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 3 (13 pts), match/switch 2 (6 pts) (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":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfe17c5de6d56e269c70f58c012be6d64a0b10b969893ed1ad9377ceb8d9c40"}},{"ruleId":"D2","level":"warning","message":{"text":"GuildedAdapter::start (cognitive 47): GuildedAdapter::start has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 6 (16 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3ce03ed72b136b4fa96f07b481cb4b2503f654d6a5143e9636dfc92feb9eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"GoogleChatAdapter::start (cognitive 46): GoogleChatAdapter::start has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (33 pts), match/switch 4 (8 pts), loops 2 (3 pts), boolean chains 2 (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":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c716c2652de784daefef17d50fa02266ad73de79c7f8d6018a202e96961ef60"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelState::handle_list (cognitive 46): ChannelState::handle_list has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (43 pts), match/switch 2 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bb5631c2c1198224021e91be4025f142ea273feec657365db98cd0a56bdd46"}},{"ruleId":"D2","level":"warning","message":{"text":"BlueskyAdapter::start (cognitive 45): BlueskyAdapter::start has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (29 pts), match/switch 6 (13 pts), loops 2 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"776e20a6dea1727acf4473baf1f0914152748daf0d28fc49bbfcefd1313b0a7e"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::main (cognitive 45): openfang_cli::main has cognitive complexity 45 (threshold 15). Drivers by points: match/switch 20 (39 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 20). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eaaa66fae9a595e9635f6f1d7d40c058d5d7d1a3c6a7bb9ce5a20c5d669a464"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::migrate_workspace_dirs (cognitive 45): openfang_migrate::openclaw::migrate_workspace_dirs has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (38 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05c728abe2c8c7f5dcc03c153042e0d238027a8a92e214feaa92de0f8d2e0ea"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::context_budget::apply_context_guard (cognitive 45): openfang_runtime::context_budget::apply_context_guard has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (39 pts), loops 4 (6 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/context_budget.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"002c0ac51a78145420484185bfac1753c7c217cfd06e5ee331499b4f5439a46f"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_key (cognitive 44): App::handle_key has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (24 pts), match/switch 7 (16 pts), boolean chains 4 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"183083f05c3b18c172be942e96291632573d135ce692ca1c9a8577adf72917d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCodeDriver::stream (cognitive 44): ClaudeCodeDriver::stream has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (38 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5ae2836cd94e0ddfd63c977d1489e7649095cfeb009f9b3a0774d959877f6c"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::subprocess_sandbox::wait_or_kill_with_idle (cognitive 44): openfang_runtime::subprocess_sandbox::wait_or_kill_with_idle has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (27 pts), match/switch 5 (16 pts), loops 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d795cd6296a244f623aa45cf6bbb93f130517d33184cb6108dab26687f2c713"}},{"ruleId":"D2","level":"warning","message":{"text":"MattermostAdapter::start (cognitive 43): MattermostAdapter::start has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (25 pts), match/switch 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c7282aad32b9a885ad7b496bea7bac89094242624ee77d52228fce3ffc4bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::bridge::dispatch_with_blocks (cognitive 43): openfang_channels::bridge::dispatch_with_blocks has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (29 pts), match/switch 7 (14 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc04346736bf90a16887f224cde86bae6e176dda1d1e4a00a7ef1734311c39c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::resolve_driver (cognitive 43): OpenFangKernel::resolve_driver has cognitive complexity 43 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 5, match/switch 3 (5 pts), loops 2 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5562}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c59256ea1e78cb35c7dfadc0db978f0e17861483336a73225f8a402861d8e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::session_repair::insert_synthetic_results (cognitive 43): openfang_runtime::session_repair::insert_synthetic_results has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 6 (11 pts), boolean chains 1 (nesting depth added 24). 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":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d669e62ea2ffa120b6f7b42a70b54fd40857cf73ffb4854e106a50dd27205416"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawHubClient::install_with_options (cognitive 43): ClawHubClient::install_with_options has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (30 pts), match/switch 2 (6 pts), loops 2 (5 pts), boolean chains 2 (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":"crates/openfang-skills/src/clawhub.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e8d1638b145f2129dd9f5c27b9dee9462b907fa66a5407753c2ac652bb7a88"}},{"ruleId":"D2","level":"warning","message":{"text":"MqttAdapter::start (cognitive 42): MqttAdapter::start has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (36 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mqtt.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"28af6ea729368500185b2210bd2308c7fe3d1428bb33db52aa1dabb755b4151d"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::launcher::run (cognitive 42): openfang_cli::launcher::run has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (37 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 29). 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":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d544116078c7c3aaa5011c6db761aa645a8bb143a075de3376db7bd348165175"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::scan_from_json5 (cognitive 42): openfang_migrate::openclaw::scan_from_json5 has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (29 pts), loops 4 (10 pts), match/switch 2, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e01d5efd321c04d687a7cd3d84a6c00e8669045c1b111de1da27d4ad888d86"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 42): (anonymous) has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 14, error handling 8, ternaries 2 (nesting depth added 5). Most of this is not in the body itself: 1 of the 42 points is its own statement and the rest belongs to 13 function items inside it that branch (checkAuth, checkOnboarding, refreshApprovals, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"028de731f18d039a5d547591a8feda73da4ac117a8aafdb8a4c4fc6241d176bb"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::activate_hand (cognitive 41): OpenFangKernel::activate_hand has cognitive complexity 41 (threshold 15). Drivers by points: if/else 25 (34 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3754}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb39d70307993d2c4af7e3eca7ff127a78914b3b25b59906b3214e03d839b36"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::context_overflow::safe_drain_boundary (cognitive 41): openfang_runtime::context_overflow::safe_drain_boundary has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 3 (12 pts), boolean chains 3 (nesting depth added 25). 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":"crates/openfang-runtime/src/context_overflow.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"811175dec3a530fb719d65fbecbd9e90d15bb0bbda4f062cd3d4d038952356a4"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::drivers::create_driver (cognitive 41): openfang_runtime::drivers::create_driver has cognitive complexity 41 (threshold 15). Drivers by points: if/else 20 (33 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/mod.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"52da0703b48f102ee471cc9636159169519eb03e5696db89ea3fd090bc03235b"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::clone_agent (cognitive 40): openfang_api::routes::clone_agent has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (29 pts), match/switch 5 (7 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9991}}}],"partialFingerprints":{"codehealthFindingId/v1":"3068ab9c3f3af2237a91be9f9a344e5eb83bcab052d8aaa3daacd2de58567f06"}},{"ruleId":"D2","level":"warning","message":{"text":"app.document.addEventListener(\u0022alpine:init\u0022) (cognitive 40): app.document.addEventListener(\u0022alpine:init\u0022) has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 13, error handling 8, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c546bd005b064a9520678cc3255cef0162fdf4d773057acc365ca9a4aea608c"}},{"ruleId":"D2","level":"warning","message":{"text":"hands.handsPage._renderCharts (cognitive 40): hands.handsPage._renderCharts has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 10, ternaries 5 (10 pts), loops 3 (9 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6f0d2e779ed56a716fbab1d57b01c45574a3400b38afd15c3149d3b8c5942b"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscourseAdapter::start (cognitive 39): DiscourseAdapter::start has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (30 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 2 (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":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1207e645fdecf00b22128fbfd296cdb0d90d8110f759a8dfe5ef122d881e4155"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::llm_errors::classify_error (cognitive 39): openfang_runtime::llm_errors::classify_error has cognitive complexity 39 (threshold 15). Drivers by points: if/else 29 (35 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/llm_errors.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"864d4e4938c2a553b6e01b90ec6565acdec240f88143ea8a7e0f28dd75e762cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreemaAdapter::start (cognitive 37): ThreemaAdapter::start has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (27 pts), match/switch 3 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/threema.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f0ba00428debf676a1fa68d11db0f290ee14bdb041cd2add3ac243cb1ce4ed"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::cmd_skill_install (cognitive 37): openfang_cli::cmd_skill_install has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 4 (12 pts), boolean chains 2 (nesting depth added 22). 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3564}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb4a570f08ad2bacd447c4bf35bc342deca5d3287ef59c05a0cdb6f53093cda"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow-builder.workflowBuilder.renderCanvas (cognitive 37): workflow-builder.workflowBuilder.renderCanvas has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 10, ternaries 4 (8 pts), loops 5 (7 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":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acc4c35850303cb0d4e93509c6ddca8bb42d9e7cb0ea0f6fa5c69b349cd23bc"}},{"ruleId":"D2","level":"warning","message":{"text":"chatPage.init (cognitive 37): chatPage.init has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 11, error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 3 of the 37 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 170, 223, 149, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d28f69f8123bc479ce831bae7aacae1f6a90317a28d3b003748a2391c6cada"}},{"ruleId":"D2","level":"warning","message":{"text":"workflowBuilder.renderCanvas (cognitive 37): workflowBuilder.renderCanvas has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 10, ternaries 4 (8 pts), loops 5 (7 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":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bfdc14d856f18227ce3e8dc4b72182d493ec8c088b88401a18e7ab8b0391dd"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::dingtalk_stream::handle_frame (cognitive 36): openfang_channels::dingtalk_stream::handle_frame has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (34 pts), match/switch 2 (nesting depth added 25). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e202384edcc2b749a6b0b8dfdb17a0ef35a102fc16cd0226ae80a8badbc84540"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::init_wizard::handle_routing_key (cognitive 36): openfang_cli::tui::screens::init_wizard::handle_routing_key has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (31 pts), match/switch 3 (5 pts) (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7afa78e7befbab4523f3e8f2ce7817fe3430a7316232e193a048adf4aac9d96"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupWizard::build_plan (cognitive 36): SetupWizard::build_plan has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 5 (12 pts), match/switch 2 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/wizard.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbde28f1d73be193ff4c46cfe1680411175d908cd7cf71c384f480530c4618e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::spawn_agent_with_parent (cognitive 35): OpenFangKernel::spawn_agent_with_parent has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4451dada02aca4a8f4ac5107614863acba456bde704feee49071cff68d4bb63"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::context_overflow::recover_from_overflow (cognitive 35): openfang_runtime::context_overflow::recover_from_overflow has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 3 (10 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/context_overflow.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe830e0000b566d765aff9864d906f884456facbecc5884f4539e70f72f101b"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::server::build_router (cognitive 34): openfang_api::server::build_router has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28b2266bcafa95de578371a9b425edbe2d82351a9e5715b22d894d021fc8141"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::server::run_daemon (cognitive 34): openfang_api::server::run_daemon has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (28 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"549b020a7d61cafcd52acca45ac5869209497432c493ff4a1f9753d7398aba91"}},{"ruleId":"D2","level":"warning","message":{"text":"TelegramAdapter::start (cognitive 34): TelegramAdapter::start has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 7 (13 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"df02d955dab04f746331e5eeef9342a4f6688f383e1f86e48c67c4bfe8ece6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::init_wizard::draw_complete (cognitive 34): openfang_cli::tui::screens::init_wizard::draw_complete has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25 (30 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2475}}}],"partialFingerprints":{"codehealthFindingId/v1":"439cdcc6928a62b31f24b3e93555a5adc0a26f93c7023b139fc81554b3019aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_desktop::server::load_dotenv_files (cognitive 34): openfang_desktop::server::load_dotenv_files has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (24 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/server.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e44759a10e31e90b9d20dc5d97690603bb67582fda03d22c5681b8a605889f"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::available_tools_with_registry (cognitive 34): OpenFangKernel::available_tools_with_registry has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 5, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6148}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3662cdaf81ae4e3f8fd2c792628c66d9b3e46b34aad375164a31db0ee24482"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.settingsPage (cognitive 34): settings.settingsPage has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 16, if/else 14 (16 pts), ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 408, 326, 390, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02339c93dcdfd02a8c8907e0accc933315e8322a1a81096066e97505b8ea789"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::create_schedule (cognitive 33): openfang_api::routes::create_schedule has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (23 pts), match/switch 5 (7 pts), loops 1 (2 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9185}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec1063f083b94417802ac656f6f96c85aab257bccdc1a4491e4567c2db9f89c"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::slack::parse_slack_event (cognitive 33): openfang_channels::slack::parse_slack_event has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d09b20987fe2d610d1c7a1a0273073b476e4ed1cde5503d8b73decc96ef2419"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::cmd_uninstall (cognitive 33): openfang_cli::cmd_uninstall has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (26 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6796}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1560951902c8808e2ba0548d628b6303005b81484f487e7d35e138e23f33d0"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::launcher::draw (cognitive 33): openfang_cli::launcher::draw has cognitive complexity 33 (threshold 15). Drivers by points: if/else 24 (30 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6cf3f684b05ad3d76cdb0fccb13b7ae2ac62784fc57581420c8cd661e6ee5a"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_kernel::whatsapp_gateway::start_whatsapp_gateway (cognitive 33): openfang_kernel::whatsapp_gateway::start_whatsapp_gateway has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (23 pts), match/switch 5 (9 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda5bf636a8ed2341cc14373c03bb5bc078069ac91be3a31c60839689c3ef408"}},{"ruleId":"D2","level":"warning","message":{"text":"ClawHubClient::get_with_retry (cognitive 33): ClawHubClient::get_with_retry has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (29 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/clawhub.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8e7e99b860947c9c5518d0230a564b5ea84caa3f5b3bfa10635c7ccf1ef24b"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillRegistry::load_workspace_skills (cognitive 33): SkillRegistry::load_workspace_skills has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d53c6e878d670785b1f5092c3b9855d79d7689dc901ba106e141c89ab08024"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::discord::parse_discord_message (cognitive 32): openfang_channels::discord::parse_discord_message has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (23 pts), match/switch 2 (5 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1d515fcef8ee81a04f79b6ccb3174e08c230f06c88c5c8aa318da6edac913d"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_hands::registry::check_chromium_available (cognitive 32): openfang_hands::registry::check_chromium_available has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-hands/src/registry.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff1f600afaff0044bed57b3d4ad948cdf9733a27f094c9c64f9c787ba56a62f"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingThinkFilter::process (cognitive 32): StreamingThinkFilter::process has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (31 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/think_filter.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27ec6bbc59ba05dd7ab59b9253381768982cac05f08f5a05a1b5070357da105"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::session_repair::validate_and_repair_with_stats (cognitive 32): openfang_runtime::session_repair::validate_and_repair_with_stats has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 4 (8 pts), loops 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"898761e62172270b3f8a1920e84a889122f0dcfa75614ba076455f1dc3c9b1a1"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::tool_runner::parse_schedule_to_cron (cognitive 32): openfang_runtime::tool_runner::parse_schedule_to_cron has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 8, match/switch 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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e56be68ed7ac2f72880bdb7c0edb1f664f3544c3bdba3b75d0fa0710913ac9b"}},{"ruleId":"D2","level":"warning","message":{"text":"CronJob::validate_action (cognitive 32): CronJob::validate_action has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (31 pts), match/switch 1 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/scheduler.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4322e7236a784ef948ce1ee856b2d4dbe69b472ef2ddf4eec38f3e5fa8409a2"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::channel_bridge::reload_channels_from_disk (cognitive 31): openfang_api::channel_bridge::reload_channels_from_disk has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (23 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 18). 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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff042e9a314e56bc2eb606ebadd442e002aab514cab732c33e734a0edfa724a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatState::handle_key (cognitive 31): ChatState::handle_key has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), match/switch 3 (5 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"238408d3a5d35fddeeb81c0e75a5d5b518c85f5475773c8cd1c8aa0803eba873"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::welcome::draw (cognitive 31): openfang_cli::tui::screens::welcome::draw has cognitive complexity 31 (threshold 15). Drivers by points: if/else 25 (30 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/welcome.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"62000f566bdf843b8fffe0bcf64054db688d39d09fdfaaa7c67eac6efc4af061"}},{"ruleId":"D2","level":"warning","message":{"text":"QwenCodeDriver::stream (cognitive 31): QwenCodeDriver::stream has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (24 pts), match/switch 2 (5 pts), loops 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/qwen_code.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dc2a98326dcc1d5451877c3420fec632cb8a865552172bb7b201b93ff66c75"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopGuard::count_ping_pong_repeats (cognitive 31): LoopGuard::count_ping_pong_repeats has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (6 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/loop_guard.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f04889058f0eb969d5cb8d5fb938105319f04ba436a09546a94e207b58b5cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::browser::find_chromium (cognitive 31): openfang_runtime::browser::find_chromium has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db547f5f4c04913d0a3b86063e06a6bba97454bddf66eff8026cbc201da5cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::load_skill_declared_config (cognitive 30): openfang_api::routes::load_skill_declared_config has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 1 (nesting depth added 19). 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6aca252350c0941f12eb2065cbfbdd5aeba2d5a3e5cbdbf1d0c9bab8a043b21"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkedInAdapter::start (cognitive 30): LinkedInAdapter::start has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 3 (7 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/linkedin.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5c0927319fe154b97bb83647fd177fa98471dd8f09a0d347509374ab5528f7"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::formatter::strip_inline_markdown (cognitive 30): openfang_channels::formatter::strip_inline_markdown has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 4, loops 4 (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":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f8997be56a28ee752f319f1ffcc105fd28ae0c432e1a0d74d591c907e7a1a7"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::event::spawn_daemon_stream (cognitive 30): openfang_cli::tui::event::spawn_daemon_stream has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (25 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 18). 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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44db98ca9ffbc771335e73cac4134c457ae5b6cf67659f464fb20f6832f4c11"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::agent_loop::parse_dash_dash_args (cognitive 30): openfang_runtime::agent_loop::parse_dash_dash_args has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bba891f9d84e08518fd94a5688aa4a788f307466c5005c1b81470465797bebe"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::drivers::gemini::sanitize_gemini_turns (cognitive 30): openfang_runtime::drivers::gemini::sanitize_gemini_turns has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 4, boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dca43b23a5e2d3275b20d040f1f5d6944dd6fe317d689a129355f976888e70a"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::drivers::openai::assemble_assistant_message (cognitive 30): openfang_runtime::drivers::openai::assemble_assistant_message has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 5 (14 pts), loops 1 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a988fe799058102c49d187ce3b3b1082f21a82c00ee71a2d891f00ae97f145b"}},{"ruleId":"D2","level":"warning","message":{"text":"SignalAdapter::start (cognitive 29): SignalAdapter::start has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 3 (6 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/signal.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec16fe805f2c55c7dddf36495fbfb2c41f30846f18c2662f40f70cb5b1e1760"}},{"ruleId":"D2","level":"warning","message":{"text":"App::draw_tab_bar (cognitive 29): App::draw_tab_bar has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (24 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a3288bebf6ee4f59945baefe9551ad625f369013ce457a4bb0708318764edd"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_kernel::kernel::infer_provider_from_model (cognitive 29): openfang_kernel::kernel::infer_provider_from_model has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6876}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b4287ac75f840eed8d2d57f95bc003b8bd67169a8b7181bdc79d968593980e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelCatalog::detect_auth (cognitive 29): ModelCatalog::detect_auth has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/model_catalog.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"632dc487346fe3449a66e898e7b5fed2e64c6ed210a107a50c7b05f635018d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.chatPage (cognitive 29): chat.chatPage has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 14, if/else 10, ternaries 3 (4 pts), match/switch 1 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9bc35252e8ad19ac119538477e35724cd6e8b8e907fc4e4f76b26e5afa795f"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::ws::check_ws_auth (cognitive 28): openfang_api::ws::check_ws_auth has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 2 (nesting depth added 14). 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":"crates/openfang-api/src/ws.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f0c407953d63baa81139ccb901c99915b80a35eaf675107c7d71eac3ae45dc"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::cmd_integration_add (cognitive 28): openfang_cli::cmd_integration_add has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (5 pts), match/switch 3 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5395}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc643199bb6e4825b35056c17332ff28a95047dd24b1f2f9d6aa8790562f41d"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::cmd_models_list (cognitive 28): openfang_cli::cmd_models_list has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5707}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79665d867f83de087ee1207aa9d1ad224ddba8afb60d9f062a2b9eee0b2b754"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::drivers::bedrock::validate_bedrock_tool_pairing (cognitive 28): openfang_runtime::drivers::bedrock::validate_bedrock_tool_pairing has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/bedrock.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba199dacf4a0cfad29fd9e9323c4f6b862edcb4d44cde979be8759a3edce2e3"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::drivers::gemini::convert_messages (cognitive 28): openfang_runtime::drivers::gemini::convert_messages has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 3 (8 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b628a6c04961ff15dd0654ab4f45d425c91f9e5ed196e4d5526a4e1c4b2914"}},{"ruleId":"D2","level":"warning","message":{"text":"handsPage._applyKvToData (cognitive 28): handsPage._applyKvToData has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"df411fe6a8d91c38e296ea8d16e247aed8f3e09dedfeec6ff41284773d4d21c8"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::formatter::render_inline_markdown (cognitive 27): openfang_channels::formatter::render_inline_markdown has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 4, boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1df873b33641e9e9bf2ab754b73aa3c695e42ce3d09f4c0183663dbbcfc2cf"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::resolve_default_tools (cognitive 27): openfang_migrate::openclaw::resolve_default_tools has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 1 (4 pts) (nesting depth added 18). 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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"839a151cd4550ab8c1c655d46444327ebf6b70be869af5cf3eab0619b674ec24"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::subprocess_sandbox::validate_command_allowlist (cognitive 27): openfang_runtime::subprocess_sandbox::validate_command_allowlist has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ff6f3edce9f5fa0df4d31f317fbf0934f3a27a76b96b1d95967e572060401f"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.chatPage.init (cognitive 27): chat.chatPage.init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 11 (nesting depth added 2). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 170, 223, 216, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c853d110edba9064d48a5466c6cb095e6a73baaed8d7dfe1475fc05b1af4d5"}},{"ruleId":"D2","level":"warning","message":{"text":"hands.handsPage._applyKvToData (cognitive 27): hands.handsPage._applyKvToData has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (23 pts), error handling 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2720f1ce784698f8fe07a52522b8570d4dccbb72cd8ce8deff1bb131bf0e607"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::logs_stream (cognitive 26): openfang_api::routes::logs_stream has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (3 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":5321}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58517bb45a8e8053f79bfcc656eeef5488f07da0d57f7a28d524ac63d85726a"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::templates::load_all_templates (cognitive 26): openfang_cli::templates::load_all_templates has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 3 (5 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":"crates/openfang-cli/src/templates.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e427057a7a67293c11a92b44d284fdcd3d49fee5b29145c0b1e211c35e6930"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::event::spawn_fetch_agent_mcp_servers (cognitive 26): openfang_cli::tui::event::spawn_fetch_agent_mcp_servers has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 1 (4 pts), match/switch 1 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"1769d1e6fb7f9258d9cecb7325dce692bf8acfbb4ed5234d22e8becf4dba7c28"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionStore::append_canonical (cognitive 26): SessionStore::append_canonical has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 1 (4 pts), loops 1 (3 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/session.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f17556389ef3c75f166b05e577fc4fc9c06bc62f70875fe56dbe8a1ca83a462"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::parse_legacy_channels (cognitive 26): openfang_migrate::openclaw::parse_legacy_channels has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (23 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"86117320d91596c2b9ab222bc7a42af0ed16085bb35d1428df1130458d250ede"}},{"ruleId":"D2","level":"warning","message":{"text":"WebFetchEngine::fetch_with_options (cognitive 26): WebFetchEngine::fetch_with_options has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 2, loops 1 (2 pts), match/switch 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":"crates/openfang-runtime/src/web_fetch.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e77da88458db62452d37ed0322ed9d8ca85ba539702599482335e177d2ba33"}},{"ruleId":"D2","level":"warning","message":{"text":"StandaloneChat::switch_model (cognitive 25): StandaloneChat::switch_model has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 3 (7 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"06495ea1734f615ed6358bf5f8d9809c2804613fac1d16305993d322dc915b34"}},{"ruleId":"D2","level":"warning","message":{"text":"App::switch_model (cognitive 25): App::switch_model has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 3 (7 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaa60b883ed571f5157ded3a0e3cb066929e16f1020fe450aa6f291fbc51dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_desktop::tray::setup_tray (cognitive 25): openfang_desktop::tray::setup_tray has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (22 pts), match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f53156952c209d640e91b3d81a5e6e323dd63330a3fb3aea51666222c14384"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_kernel::config_reload::build_reload_plan (cognitive 25): openfang_kernel::config_reload::build_reload_plan has cognitive complexity 25 (threshold 15). Drivers by points: if/else 25. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/config_reload.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b55a1c2a37df605db3cbcea96aa894c9fa6faefc61eb71269b36dbe35766228"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::python_runtime::run_python_agent (cognitive 25): openfang_runtime::python_runtime::run_python_agent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (16 pts), match/switch 3 (5 pts), loops 4 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"12771dd44f3362dce0ed9a48adbd8283d6697371eb6098fdfe4839b2fde7cad7"}},{"ruleId":"D2","level":"warning","message":{"text":"agentsPage.spawnAgent (cognitive 25): agentsPage.spawnAgent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (7 pts), boolean chains 2, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3614a0708de44f5fb5e3f258fee84f9e5b090ec15855aabaa551b2c84851e6be"}},{"ruleId":"D2","level":"warning","message":{"text":"KernelBridgeAdapter::manage_schedule_text (cognitive 24): KernelBridgeAdapter::manage_schedule_text has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 8 (18 pts), if/else 3 (6 pts) (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"13491c70051c4469636bfc4c4e307aa1cc9523722ebf1f4e857fbf248c284b7d"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::spawn_agent (cognitive 24): openfang_api::routes::spawn_agent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 4 (7 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c819f48a52e6490951bbbea8630803ba47e1b4b21bc99a7cab85c8479a7eddbe"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::comms_topology (cognitive 24): openfang_api::routes::comms_topology has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 3 (4 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":12119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42caff1d8038c95ec816a5356c9e6f00ad7fbfac27b41dacfe04d9339d0d256"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::telegram::sanitize_telegram_html (cognitive 24): openfang_channels::telegram::sanitize_telegram_html has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3969afa57b0ec54fb4f217b1493f6e126d4fc4d5e46d11fef0f115c79ad77ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"HandsState::handle_active (cognitive 24): HandsState::handle_active has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"be727998dca8bbdadb1a9e3f69428f80feea8a41dae0c1859c0ebcc78e818b11"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionsState::handle_key (cognitive 24): SessionsState::handle_key has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/sessions.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e6f14399bc9306f0674d0bda551f8760c1cb38545626381c569881a1c71fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsState::handle_installed (cognitive 24): SkillsState::handle_installed has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/skills.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb100cfcdbb20f76b03763920fc9a86db5c70aa90c683d5310728cd6b2507fd4"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_kernel::kernel::manifest_to_capabilities (cognitive 24): openfang_kernel::kernel::manifest_to_capabilities has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6757}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7c9d714c1a69e68e300efa519a8e40b2a892b679cf68cea2688a6c9fbd15d6"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::tool_runner::tool_shell_exec (cognitive 24): openfang_runtime::tool_runner::tool_shell_exec has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 1, match/switch 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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62ecd0b1e323718d8038d5d1c8aed8112f63d6372521657fe03a96fd648c081"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduler.schedulerPage.validateTarget (cognitive 24): scheduler.schedulerPage.validateTarget has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 7 (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":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"93819bcbe48d707a47e178540ddd8708206fcab213980eefc501a24135b29281"}},{"ruleId":"D2","level":"warning","message":{"text":"chatPage.sendMessage (cognitive 24): chatPage.sendMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 2 (4 pts), error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"865f8d8dee0ddf38da1ac63ef5fa8453da4fc557a731aefc738fc12441203cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"schedulerPage.validateTarget (cognitive 24): schedulerPage.validateTarget has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 7 (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":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec373dc458293322ff9cbc6238be3f90a8b7f1892ec1144614abcae0ed07f3a8"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::ws::handle_agent_ws (cognitive 23): openfang_api::ws::handle_agent_ws has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 4 (9 pts), loops 3 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"489609866894f908c21b23de7a793c76b7a498d25bd47f7d24db75c2a5c09398"}},{"ruleId":"D2","level":"warning","message":{"text":"WeComAdapter::start (cognitive 23): WeComAdapter::start has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 4 (7 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/wecom.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"72840ae464645a870fbfce938ed5b0a2293fff334cfd7421f7c272d80c6a5001"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::telegram::check_mention_entities (cognitive 23): openfang_channels::telegram::check_mention_entities has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc397f06ba92873b8ea43fd5510732ff1b936636c017507f6ec0c3a035f54528"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSelectState::handle_agent_list (cognitive 23): AgentSelectState::handle_agent_list has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d248aebd16de9dbb6b878670f148f4a91088c36e39f6fdf97c0492414c04e"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::chat::draw_model_picker (cognitive 23): openfang_cli::tui::screens::chat::draw_model_picker has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f3b7d21f6f81af823cfae05e454b116b991167f1e93eedd0461b1ba8173438"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduler.schedulerPage.describeCron (cognitive 23): scheduler.schedulerPage.describeCron has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 4 (9 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8889171c865f69409249d9f0bc61824c153da1aec132645520b60e550c26df5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous).request (cognitive 23): (anonymous).request has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 4 (7 pts), boolean chains 5 (nesting depth added 7). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 161, 175, 191, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/api.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"02321f35723718530e129e36ca7797b2e888ecf91803b559471f8bc1d6bd2d29"}},{"ruleId":"D2","level":"warning","message":{"text":"wizardPage.createAgent (cognitive 23): wizardPage.createAgent has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 7, if/else 5, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff94cb271a2505659721f66a3477c09993d6a3e64b31778d74526a41a1a2e940"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::build_field_json (cognitive 22): openfang_api::routes::build_field_json has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":2397}}}],"partialFingerprints":{"codehealthFindingId/v1":"add7aa8fd1634b7d0eed75f794331f6056103524b1aaaeac1f5773f0d5fcbda2"}},{"ruleId":"D2","level":"warning","message":{"text":"DingTalkStreamAdapter::start (cognitive 22): DingTalkStreamAdapter::start has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 2 (6 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f94084db428ac840d7e20dcc648e1e1819ed9bfafc71ac7af648ecf29eeb0a"}},{"ruleId":"D2","level":"warning","message":{"text":"StandaloneChat::handle_slash_command (cognitive 22): StandaloneChat::handle_slash_command has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 4 (9 pts) (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e583957ceb65bdf71e9cd9f37046d164ac1b22a3c03b06468a4b96400724b6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::init_wizard::handle_migration_key (cognitive 22): openfang_cli::tui::screens::init_wizard::handle_migration_key has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 2 (3 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"842430d4abb06cbcfc802bdb8fb1725bfecbad8fffc7d5f014cb525117e6fc19"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::subprocess_sandbox::extract_shell_wrapper_commands (cognitive 22): openfang_runtime::subprocess_sandbox::extract_shell_wrapper_commands has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f0b327551937a18cf1144e3c2b77a24e4f23896363fdbf928fa81f22e79148"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::tool_runner::tool_channel_send (cognitive 22): openfang_runtime::tool_runner::tool_channel_send has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f013eb8c9eac12fd0f09ea58dc684bf111a0a46cd433b621b85c795b7ba54e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::web_fetch::check_ssrf (cognitive 22): openfang_runtime::web_fetch::check_ssrf has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/web_fetch.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaf4f039a6ed816720872a938914ec4a1cca0a13fda30512e8604fed90c82fb"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.chatPage.sendMessage (cognitive 22): chat.chatPage.sendMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 2 (4 pts), error handling 1 (3 pts) (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c94e5628861e658e54ba4a68057176126dcee43483488ca42c2a079acb5a6bd"}},{"ruleId":"D2","level":"warning","message":{"text":"handsPage.installDeps (cognitive 22): handsPage.installDeps has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, loops 2 (5 pts), error handling 1, ternaries 1 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 2 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b738ce0d68661163104ad2882cc0e4152d0ae84f6bd5c2d7846a7859a462de74"}},{"ruleId":"D2","level":"warning","message":{"text":"schedulerPage.describeCron (cognitive 22): schedulerPage.describeCron has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 4 (8 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"5548c33242cb13876b781c0c4669fa90c24fc58700c517a89eabfbae4ee56fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"EmailAdapter::start (cognitive 21): EmailAdapter::start has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/email.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"6416a69c1c33a8198729e37c182fe254eadbb406ec95a0b47280c77997e9a86d"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::messenger::parse_messenger_entry (cognitive 21): openfang_channels::messenger::parse_messenger_entry has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 3 (5 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb9fdc9f7feaf20b7b0656a7b892b59522868f36c812795ecbd23d4f8cff9ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelState::handle_setup (cognitive 21): ChannelState::handle_setup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (19 pts), boolean chains 1, match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"f707647b9a7c50c85fa23167fdc29530cf71b0138245ee2e5cf18b0e8ba6b2a6"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryState::handle_kv_browser (cognitive 21): MemoryState::handle_kv_browser has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c773baddb187d423f485f18d26a771db41461e66e76a19481d19e6c190d87d2"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::skills::draw_installed (cognitive 21): openfang_cli::tui::screens::skills::draw_installed has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/skills.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"756a4205eb8556e77944df44583a5dfdae943d92924e255d213deca33e542bd1"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundExecutor::start_agent (cognitive 21): BackgroundExecutor::start_agent has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 2 (6 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/background.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7896e733b87f52c8d28b622cb63cb7668e9409139d231b2eddfce5bee6b7bdce"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_kernel::background::parse_cron_to_secs (cognitive 21): openfang_kernel::background::parse_cron_to_secs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (21 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/background.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0f06e7ea8dae88052434377adfb31ee3048ccecbec75aa50d89533b0d1c89f"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_kernel::config::resolve_config_includes (cognitive 21): openfang_kernel::config::resolve_config_includes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (3 pts), match/switch 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":"crates/openfang-kernel/src/config.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f19e7a606cb13e0a3e3cda54fd29127002b37b690119968f0387e138dd8a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingDirectiveAccumulator::consume (cognitive 21): StreamingDirectiveAccumulator::consume has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/reply_directives.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5c73c5279f7aefce51c24d3c7d6da02f349594062473ca095a1b72fbbd1977"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::docker_sandbox::validate_bind_mount (cognitive 21): openfang_runtime::docker_sandbox::validate_bind_mount has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/docker_sandbox.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a47b48987805c9c53b955c8d52da906066367b603ad071114aefac3e2a90d5"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_skills::openclaw_compat::convert_skillmd (cognitive 21): openfang_skills::openclaw_compat::convert_skillmd has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/openclaw_compat.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbdb3dd0e19a1fc7a4080d41c113f9e205e88fcf77d30a4a00745e482d963e8"}},{"ruleId":"D2","level":"warning","message":{"text":"hands.handsPage.installDeps (cognitive 21): hands.handsPage.installDeps has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, loops 2 (5 pts), error handling 1 (nesting depth added 6). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd7a667ee1a4df856067cf3afe358c2ee8bce7095f13d8a48f11ba50fa76526"}},{"ruleId":"D2","level":"warning","message":{"text":"_stream (cognitive 21): _stream has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/javascript/index.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2391f5948e9c62f25ad9c6a777f4d6d8cd0d75940015eca61fcaad876ad767"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::set_provider_key (cognitive 20): openfang_api::routes::set_provider_key has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 3, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7665}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20faf14d59fd31957e9aef0f9182781d7fe2ac6716ac36c768c91ed80a2be29"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::build_skill_config_snapshot (cognitive 20): openfang_api::routes::build_skill_config_snapshot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8264}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3a105fb4ddd5ff4ddb58abcdab0ad72493d1432965b95448ca3814d36dad4b"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::config_set (cognitive 20): openfang_api::routes::config_set has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 6 (7 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":11125}}}],"partialFingerprints":{"codehealthFindingId/v1":"794855ce6c321ac787d3b6a759a2e7271cbdd94f634f909445d6267279b502b7"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::email::fetch_unseen_emails (cognitive 20): openfang_channels::email::fetch_unseen_emails has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 3 (6 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/email.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacfb5bba211fbb55559c9b0fa265aac21e38f69658f25d1d079063aaf5b4e80"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::cmd_status (cognitive 20): openfang_cli::cmd_status has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (7 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2038}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85642b0863873590d6ed718288a17cef70418c7edd2af6c53201fbcde67c15c"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::init_wizard::draw_migration_offer (cognitive 20): openfang_cli::tui::screens::init_wizard::draw_migration_offer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 2, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78617770421b765483e92e5c27ef4e5e4b5481ab306b135b2c34696111968b8"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_hands::resolve_settings (cognitive 20): openfang_hands::resolve_settings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-hands/src/lib.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"626344dd49ee2910849c2df0655257069b9adb4c61e928b32b27e6cf90b236ad"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::reload_extension_mcps (cognitive 20): OpenFangKernel::reload_extension_mcps has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (7 pts), match/switch 2 (4 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5881}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd141d13a385943bbb6e6eafc554933c5683a4ef91547b9bc68b01fc9c9a925a"}},{"ruleId":"D2","level":"warning","message":{"text":"StructuredStore::load_all_agents (cognitive 20): StructuredStore::load_all_agents has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 4 (8 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9b4b22a8e5f13d668c9c20e07a3ee89a5543cbb03c656a76a99cfbafe3af09"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiDriver::complete (cognitive 20): GeminiDriver::complete has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"e320618736d658d75f8fbb3cd54949fef8ba26d31f9330eaf374b9d7082b41af"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::tool_policy::glob_match (cognitive 20): openfang_runtime::tool_policy::glob_match has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_policy.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e125e513d3a7b19e760d60f7300f02623698f889a8be91302548a87a7cc4d480"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::web_fetch::extract_host (cognitive 20): openfang_runtime::web_fetch::extract_host has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (20 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/web_fetch.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8beb2ef80d7590ede41605cb5492469723b4549143749362ef7306ccf1a53e"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFang._stream (cognitive 20): OpenFang._stream has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 2 (5 pts), loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/openfang_client.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"048744bbdf8f629ad4fcb0d727a8a37677c159b97edaf2d93a74dbd28cd4c6ee"}},{"ruleId":"D2","level":"warning","message":{"text":"app.toolIcon (cognitive 20): app.toolIcon has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4512d711fddb332754a6d09730137be9bb51e31e0730d7b3c62969d8cc8ef987"}},{"ruleId":"D2","level":"warning","message":{"text":"hands.handsPage (cognitive 20): hands.handsPage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, loops 2 (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":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a2854737853c8bea6cb67352daa93ed492adddcab1bd80801ef5fcef93e71b"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::update_schedule (cognitive 19): openfang_api::routes::update_schedule has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74deb7c1fa47d3e971f1ee80fefc99ef15c41a311fc848fa73bbc8c0d50cc31"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::upload_file (cognitive 19): openfang_api::routes::upload_file has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 7, loops 1 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10548}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2565e247958e4b9b89a007de2492cab219a0d5796255e1834053d206460e8cb"}},{"ruleId":"D2","level":"warning","message":{"text":"State::auto_select_routing_models (cognitive 19): State::auto_select_routing_models has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"da70c16b4d1018976f51d7e9044b82bfac811fbd86ef8067599ea247f581ebec"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsState::handle_providers (cognitive 19): SettingsState::handle_providers has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/settings.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5ff213c855c3a0f15822556a4e59ccf04a4bf880ea5e4e11c1d0423299e944"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::templates::discover_template_dirs (cognitive 19): openfang_cli::templates::discover_template_dirs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/templates.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e13b0196cee874ffb0ace87e689959c3b8bf543505ff7b148254fe8b01a00c4"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::event::spawn_fetch_skill_config (cognitive 19): openfang_cli::tui::event::spawn_fetch_skill_config has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ffcd19259a0a2b980ab9910d9d3236d7048d5d63a02cbb7be7f8f931630f11"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::init_wizard::draw_migration_done (cognitive 19): openfang_cli::tui::screens::init_wizard::draw_migration_done has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25f89d85312f5488d8ea90df959a338f63653ceb77c07b3714d97ca322ba18f"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::cron_run_job (cognitive 19): OpenFangKernel::cron_run_job has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 4 (7 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6573}}}],"partialFingerprints":{"codehealthFindingId/v1":"017349c7cd87a855d5d6d4726abd2a8b06a635b1ffbf7372c2c1336fc7dce8ee"}},{"ruleId":"D2","level":"warning","message":{"text":"SemanticStore::recall_with_embedding (cognitive 19): SemanticStore::recall_with_embedding has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/semantic.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f5205ab9a1223e30689b2a62e3eb5a661dc3910f108db3ff9bad3e5eb5c7dc"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::convert_legacy_agent (cognitive 19): openfang_migrate::openclaw::convert_legacy_agent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (17 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2983}}}],"partialFingerprints":{"codehealthFindingId/v1":"70536d7beb85108dd12d6d550f33a38743de2adfa18248599b74743ff9c031b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeCodeDriver::complete (cognitive 19): ClaudeCodeDriver::complete has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"9052aaff4d4c63c2f891b3b64ddfd9d8ec154552fb29652d47735c068ebc75b2"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::retry::retry_async (cognitive 19): openfang_runtime::retry::retry_async has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/retry.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"262b402a7f95a814b500320fdd33c4499942156dfbd7885135ef22acbff57714"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::session_repair::prune_heartbeat_turns (cognitive 19): openfang_runtime::session_repair::prune_heartbeat_turns has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, match/switch 1 (3 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":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0849ac5120fd610ef17d4e79629583378c3c5336cd08abdccb1906f1215e2c26"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::web_content::convert_links (cognitive 19): openfang_runtime::web_content::convert_links has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (nesting depth added 10). 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":"crates/openfang-runtime/src/web_content.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"382349764f2834a4cfa907414dd2de946b4d77381fb4fd8195136be3d7e062dd"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_skills::openclaw_compat::convert_skillmd_str (cognitive 19): openfang_skills::openclaw_compat::convert_skillmd_str has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/openclaw_compat.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99342d90bbc2ad052bb3223997f9f4faaf3d9864ee99e3d7b979828849b9342"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageGenRequest::validate (cognitive 19): ImageGenRequest::validate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, match/switch 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/media.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c48ec45d6253f81662a230f8eea456cbb0adb99a3404f0114e40ba5b163b22"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentsPage.spawnAgent (cognitive 19): agents.agentsPage.spawnAgent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, error handling 1, ternaries 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":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef0002e41d85946cffb5515bc66503be716beb0e51dd470ddd6dd2e02a08238"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.skillsPage (cognitive 19): skills.skillsPage has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 18, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a158bd0a8646e696f3a938fe433e77645827ec66a0012c9276fe2cf88e7d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.server (cognitive 19): index.server has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, loops 1 (2 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a515247bc3b528e28c20719e77986aaa3e995ee36248418d8a9bcc91f7f99180"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 19): (anonymous) has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, loops 1 (2 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"471e0e6a0b45b9615b4cf600c23365f8b96c2a6e0da81a26e7a91f67bccd850f"}},{"ruleId":"D2","level":"warning","message":{"text":"handsPage.launchHand (cognitive 19): handsPage.launchHand has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 2 (3 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":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf07a258395733139a056c19290b4f612cb9264bc54f3a6708b73956cfe6774"}},{"ruleId":"D2","level":"warning","message":{"text":"skillsPage.categories (cognitive 19): skillsPage.categories has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 18, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65c83603e0a0d282a136d867035d1df0500d5247a1dd648f23246f11536cd83"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::send_message (cognitive 18): openfang_api::routes::send_message has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"7653536e6e28691eb48536be38d4162549d6b621e80c87083b83443aa1176766"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRouter::binding_matches (cognitive 18): AgentRouter::binding_matches has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (18 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/router.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4461617b8b0870bec11e86b805af1f6b5aaf5fa6ea5adc569344e99a51eea628"}},{"ruleId":"D2","level":"warning","message":{"text":"State::build_provider_order (cognitive 18): State::build_provider_order has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, loops 2 (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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c41421edebb13f7ece904459eb7160b0a448eed92350fd6165db1cfdf88996"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageState::handle_key (cognitive 18): UsageState::handle_key has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 4 (6 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":"crates/openfang-cli/src/tui/screens/usage.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2861d57dde794c8bcb2539cd0c2f01f8151426efe7b33e695cefa66004b1cdfa"}},{"ruleId":"D2","level":"warning","message":{"text":"WelcomeState::handle_key (cognitive 18): WelcomeState::handle_key has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, match/switch 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":"crates/openfang-cli/src/tui/screens/welcome.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"068dd8f67cd3e875051d480d46d0e93768c6267f88ab863accd612ca47b13ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::pick_model (cognitive 18): openfang_cli::pick_model has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5921}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7de4e7e3157400cf78bd01687c9edc6ee2b040773400abd5defb6e6e8bec5be"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::event::spawn_event_thread (cognitive 18): openfang_cli::tui::event::spawn_event_thread has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca3658dcf40ffa86495b241462b3323416311a55c3f22871c8b1b0281ebf981"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::event::spawn_fetch_providers (cognitive 18): openfang_cli::tui::event::spawn_fetch_providers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98c81cc2e0ae4ef5a1990f13cf39582da02ce4af6b8529a9f143e6291752184"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::set_agent_mcp_servers (cognitive 18): OpenFangKernel::set_agent_mcp_servers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3442}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58d0a60ccd032ba128b7bb10741fe2115e5cb7333b213f9b7930946cc2585b9"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::connect_mcp_servers (cognitive 18): OpenFangKernel::connect_mcp_servers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5801}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2a091c0f40d2dbe0338fcf05e41dc0256c6759d1d8cb1dedb8eacf77a59898"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::collect_prompt_context_from (cognitive 18): OpenFangKernel::collect_prompt_context_from has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 2, loops 1 (nesting depth added 10). 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6525}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee08b2377ad5b6033b83f9047c96ff9ad6920523e155e08cbc78b8057066fe28"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::drivers::gemini::convert_response (cognitive 18): openfang_runtime::drivers::gemini::convert_response has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (6 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a76c3a8670c5ab4546a3984ca32a34e30a696dcc95bbde880f8cbd1c529517"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::shell_bleed::scan_script_for_shell_bleed (cognitive 18): openfang_runtime::shell_bleed::scan_script_for_shell_bleed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 2, match/switch 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/shell_bleed.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37df68f3af35482c90e7628b860cf499b0a042bc94ab333f65fd258452dd914"}},{"ruleId":"D2","level":"warning","message":{"text":"hands.handsPage.launchHand (cognitive 18): hands.handsPage.launchHand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (3 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":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a12813e2fac0f3b4107ccab8789bfdf8cc08b8f476f4cf27c37ebf1424a6c9"}},{"ruleId":"D2","level":"warning","message":{"text":"logsPage.startStreaming (cognitive 18): logsPage.startStreaming has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 2, boolean chains 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (onmessage, a function literal at line 71, onerror, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/logs.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4122655c5e64b7bf353bdd903702b11aca9a42794820718a6dca823c255e1c4"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::create_workflow (cognitive 17): openfang_api::routes::create_workflow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (5 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"310737227838c3925ca3a5feae02409a9a1a827bc9e33b51cd9cf237232df194"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::test_channel (cognitive 17): openfang_api::routes::test_channel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"69010fdafe6fafb786a442f6bd73c4f0dc95cda936d0ff9d43c4cce0f5edbe13"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::bridge::sanitize_agent_error (cognitive 17): openfang_channels::bridge::sanitize_agent_error has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84ae1c739630601d96e96d48dc8d6b3d299dee69ffc2c6e92c1377df2c4fb8d"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_channel_action (cognitive 17): App::handle_channel_action has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 1 (5 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a43d32562afe2c90adefec44a8bd4c15811fb37225b49075ab08c7be59aae1d"}},{"ruleId":"D2","level":"warning","message":{"text":"WizardState::handle_provider (cognitive 17): WizardState::handle_provider has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/wizard.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa50e445c8ae3270f1cbe76ef8c6568d757a0d920193aeb24727ee203fbfbf3d"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::config_log_level (cognitive 17): openfang_cli::config_log_level has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 pts) (nesting depth added 10). 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"c932d1ccd5a7510e691ea8aed60414d421800b64cc7edc3515f3ceaca07a72d2"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::memory::draw_edit (cognitive 17): openfang_cli::tui::screens::memory::draw_edit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed47abeb7990c2ba12ded08042dcf6cd50127cd7a3c03a4f85b21359c6b0b07"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::settings::draw_providers (cognitive 17): openfang_cli::tui::screens::settings::draw_providers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/settings.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b76379104ab6f099dddee1b31cb6704240c33f7675607cb2fab1edb0cf3b865"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::start_ofp_node (cognitive 17): OpenFangKernel::start_ofp_node has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (5 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4739}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed318b0ad267ca7d0e012ae40d883012dd4a641e1846ba99c83d0cbeeef7aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"PairingManager::notify_devices (cognitive 17): PairingManager::notify_devices has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (11 pts), loops 2 (6 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/pairing.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cec5931d42ddabbec52b17bd362c0c58727070d5fb15defce842a72e2f8580"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::detect_openclaw_home (cognitive 17): openfang_migrate::openclaw::detect_openclaw_home has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fc5fbfc2966a9bc25f34cb2ad015ffe12acdb43eb2c45282197b11c0ed18e0"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditLog::with_db (cognitive 17): AuditLog::with_db has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 1 (4 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/audit.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"41284515e7356a8b5e024ffa847bd57e36330821c441d61e7806b4e1392bb3fc"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicDriver::complete (cognitive 17): AnthropicDriver::complete has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bb297d477f65df3046934f40d9c12fe96ad5a83bd600b9ee433a0e044cb629"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::drivers::openai::extract_think_tags (cognitive 17): openfang_runtime::drivers::openai::extract_think_tags has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"23491771951b55f193f05cde5ade973dc0ab01eaae28406ae565870c5c5a436a"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::tool_policy::resolve_tool_access (cognitive 17): openfang_runtime::tool_policy::resolve_tool_access has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, loops 2 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_policy.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1450cb30e41773ec4f46e459af34d1df4fc28357396001d3c5c4fbb9405549f9"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_types::commands::render_help (cognitive 17): openfang_types::commands::render_help has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (7 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/commands.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cea1dbd6cef359588af7ff7bfee53e5753d7440840b5048a917f19cec0ac96"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)._doConnect (cognitive 17): (anonymous)._doConnect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 2, error handling 2 (nesting depth added 1). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (onclose, onopen, onmessage, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/api.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c56683e7eef5114a9a5aad8919fd53d6149a61e1a19b5350b18f2d668fafe1d"}},{"ruleId":"D2","level":"warning","message":{"text":"chatPage.loadSession (cognitive 17): chatPage.loadSession has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 3 (6 pts), error handling 1, if/else 1 (nesting depth added 3). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 655, 661, 652, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb40998a4d1d60dfb932532104913cb8f42519a8335b43599c8e0f761f9d7cb"}},{"ruleId":"D2","level":"warning","message":{"text":"handsPage.openSetupWizard (cognitive 17): handsPage.openSetupWizard has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 4, loops 2 (4 pts), error handling 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf18b223628419f83061525803e903a740269e7bc1125404d55fab164ea3b344"}},{"ruleId":"D2","level":"warning","message":{"text":"handsPage._fetchDashboardData (cognitive 17): handsPage._fetchDashboardData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, error handling 2 (3 pts), loops 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cdb7a3e39399a4d527e7b0927f9a0d2a29c7445abc7758fcf553b32da84ec3"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamChunker::try_flush (cognitive 16): StreamChunker::try_flush has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/stream_chunker.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb26141af37d3c85357598070f2f13d8594f044dcc51458e0f48f164c86d082"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::patch_agent (cognitive 16): openfang_api::routes::patch_agent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":6034}}}],"partialFingerprints":{"codehealthFindingId/v1":"c358a2043ca4c9d09cebb12c68c56d531b264ca5ccfa5410ba0b73f07f0f83a9"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::list_providers (cognitive 16): openfang_api::routes::list_providers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":6476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1225d31a1e654c4254561fb9e9c0616b1bc9c158eec661004a1fd2ba7ad2201"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_api::routes::audit_to_comms_event (cognitive 16): openfang_api::routes::audit_to_comms_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":12238}}}],"partialFingerprints":{"codehealthFindingId/v1":"090bcbc70fc6856a2bbf0357521ff05d44ecbadc67ac5fea43d83778b2213da1"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_channels::revolt::parse_revolt_message (cognitive 16): openfang_channels::revolt::parse_revolt_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f918500844f5eaf682891a00919f88292897ac7f3537cde555ac72c897f987a"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplatesState::handle_key (cognitive 16): TemplatesState::handle_key has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, match/switch 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":"crates/openfang-cli/src/tui/screens/templates.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b798e0b44193b3717d7b08bdd2cbf593684e7a135c0c248f3f0b63b44f37a13"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::cmd_config_set (cognitive 16): openfang_cli::cmd_config_set has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5034}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ec67d5df2f7d95d74fe4369a8c56d7f363fdc3b011c01f06ed4ffa73725338"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::cmd_logs (cognitive 16): openfang_cli::cmd_logs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (6 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6209}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea9d6da49e473cb2e361b4826ae1564ebb5b75878537e2cda98d92170632779"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::event::spawn_fetch_usage (cognitive 16): openfang_cli::tui::event::spawn_fetch_usage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"063a0d43ac32806b3b234029fa9c4997ba345bab89d61780938adcf3c2e3086b"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::agents::draw_detail (cognitive 16): openfang_cli::tui::screens::agents::draw_detail has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2db953fefcc24814e78bece3b6bbc94be6f348727db4120f89fab119b7a2e00"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_cli::tui::screens::audit::draw (cognitive 16): openfang_cli::tui::screens::audit::draw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f2ae9c2e2af0bac93eb5f25e369fba607398ffe7133cbf19055888f3a63e20"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenFangKernel::set_agent_model (cognitive 16): OpenFangKernel::set_agent_model has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (16 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8652970229ae750e0bbaeafbce9d18484f4e7292521c199d64fb969173fdcf"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowEngine::execute_step_with_error_mode (cognitive 16): WorkflowEngine::execute_step_with_error_mode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (8 pts), match/switch 3 (6 pts), loops 1 (2 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e8e4b4486fa4dcc7c676e41f6b5a56f64c26e7bddb9e79de7bba9a4db16296"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_migrate::openclaw::report_skipped_features (cognitive 16): openfang_migrate::openclaw::report_skipped_features has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"600c58cb307ef6c34b2b06c3abea737f05333948cbf30fb33192a83ecdf5e1af"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserSession::find_page_ws (cognitive 16): BrowserSession::find_page_ws has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddb8a09e3631c1037711583bc4d742f00d8763ad46fc0a11a8a5306a7eca90a"}},{"ruleId":"D2","level":"warning","message":{"text":"BedrockDriver::complete (cognitive 16): BedrockDriver::complete has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/bedrock.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f75b38a6218bded7d1f2258f6105dca45b0743478fae1d892708b650a98e004"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::drivers::vertex::convert_messages (cognitive 16): openfang_runtime::drivers::vertex::convert_messages has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 2 (4 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/vertex.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ac055cb678485b79d11052296cc07d15851dedb4ab5d724e4d31b6fd872eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_runtime::session_repair::strip_base64_blobs (cognitive 16): openfang_runtime::session_repair::strip_base64_blobs has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (8 pts), if/else 4 (7 pts), boolean chains 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45906f216bcc1b1302cca756ae50463a8d009f9fe70159afca7669f1f903711"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillVerifier::security_scan (cognitive 16): SkillVerifier::security_scan has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 2 (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":"crates/openfang-skills/src/verify.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0950072f4418b8743b004f980ddefb02ab23148de873d9e6697003e5c0678acf"}},{"ruleId":"D2","level":"warning","message":{"text":"openfang_skills::config_injection::resolve_skill_config (cognitive 16): openfang_skills::config_injection::resolve_skill_config has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/config_injection.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f3c8c58d84bfd4b08b1664e003b4477f37a7cd25e6055f1c892a17022808df"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.agentsPage (cognitive 16): agents.agentsPage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6 (nesting depth added 2). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 183, 196, 177). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c02492d42d602074885e8de1d4145e28424900aa8188ad6bb8c98287b1a1dba"}},{"ruleId":"D2","level":"warning","message":{"text":"hands.handsPage.openSetupWizard (cognitive 16): hands.handsPage.openSetupWizard has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 4, loops 2 (4 pts), error handling 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":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc46ba46eccd40bb42e5315c120be814f4ad722fad8a42175a8ebe2603b041d1"}},{"ruleId":"D2","level":"warning","message":{"text":"hands.handsPage._fetchDashboardData (cognitive 16): hands.handsPage._fetchDashboardData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f98215169b213775983476b9f2590cae33fc8ee3ee4e014f00c5ce0fa82de34"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduler.schedulerPage.sanitizeTarget (cognitive 16): scheduler.schedulerPage.sanitizeTarget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2804e66e2e41df1a68e4f863e11544a4aed65f18416d642925f20fc926b7947"}},{"ruleId":"D2","level":"warning","message":{"text":"usage.analyticsPage._extractProvider (cognitive 16): usage.analyticsPage._extractProvider has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f407b7cab2199006afd63b6017ae8c5d89a25edf52259ec526da061763012b"}},{"ruleId":"D2","level":"warning","message":{"text":"app.init (cognitive 16): app.init has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 1 (2 pts) (nesting depth added 1). None of this is in the body itself: all 16 points belong to 5 function items inside it that branch (a function literal at line 343, a function literal at line 309, handleHash, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b968d41cd1dca85c3df943238ee0305ca9704636860b30f8bebab6b7825be751"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 16): (anonymous) has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 4, error handling 1, ternaries 1. None of this is in the body itself: all 16 points belong to 3 function items inside it that branch ((anonymous)::loadData, a function literal at line 49, a function literal at line 3). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/runtime.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea239f015d81c8b57b1b2f22f3995b2e7883a0818a0514de8231b08c8da55aa"}},{"ruleId":"D2","level":"warning","message":{"text":"schedulerPage.sanitizeTarget (cognitive 16): schedulerPage.sanitizeTarget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61cdf20e3c59beeea9bf909670f0206c94f5b45e1851da1d0cf0db73d9a75a2"}},{"ruleId":"D2","level":"warning","message":{"text":"analyticsPage._extractProvider (cognitive 16): analyticsPage._extractProvider has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f31fc6d1e7d3786c73581dbb9095e7aa47725660a399934fa83d89640f3795"}},{"ruleId":"D2","level":"warning","message":{"text":"wizardPage.suggestedMessages (cognitive 16): wizardPage.suggestedMessages has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 15, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d53ba2110883e3b3aa92f949b6a2129280e67df2bb519f583dd23b70ecbca2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_runtime::model_catalog::builtin_models: FunctionTooLong \u2014 openfang_runtime::model_catalog::builtin_models runs 2667 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2567 over it, 26.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/model_catalog.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b8f8083a335c3e74a74e07a46b48bda09b384dc442f0e6edb91994acbe5443"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/routes.rs: FileTooLong \u2014 8252 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 223 free functions. The bar is 500 significant lines; this is 7752 over it, 16.50\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5315c263558cb2c1407cd9f9542b8e49561f29ee17e1f6cbd90f0730d597f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenFangKernel: ClassTooLong \u2014 4517 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 79 methods, 4 blocks, lines 60-7934. The bar is 400 significant lines; this is 4117 over it, 11.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"580949e0524dd0aeb30ff0522c1b191c75975e223734f56734982e8b756309d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat.chatPage: FunctionTooLong \u2014 chatPage runs 1031 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 931 over it, 10.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"358e1e6d52bec67a37a6ef2c00ac1abc0c58177c6259cc1a9e536858fafe5645"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/kernel.rs: FileTooLong \u2014 5068 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 89% of them inside a single declaration: OpenFangKernel (4 blocks, 60-7934). The bar is 500 significant lines; this is 4568 over it, 10.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"130df887c396cc0229006f2eea5b21cb1f0891eff6cda759570ecc6da15417dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 4698 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 139 free functions. The bar is 500 significant lines; this is 4198 over it, 9.40\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c613b11eda3f45dac9d4dc0a4112d8453999d4ff86d909f4d47992e44b6c2e84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hands.handsPage: FunctionTooLong \u2014 handsPage runs 684 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 584 over it, 6.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d756afe41e9551c7304b7cf0b72c46107b0eee5f7b3e34c095e996211140a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/model_catalog.rs: FileTooLong \u2014 3324 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2824 over it, 6.65\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":"crates/openfang-runtime/src/model_catalog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e542614eda8b9e3ec8b3767b60dc8e9f3f659633310912868068ae21140f5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.boot_with_config: MethodTooLong \u2014 boot_with_config runs 629 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 529 over it, 6.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"69da8830bcb24d35fc708d2e7c89da84a266c47c599075ade094d60ba817e4bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings.settingsPage: FunctionTooLong \u2014 settingsPage runs 601 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 501 over it, 6.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc702f20a2a68e68470e8dfcce885e72c63dcf770276dd66f0915861cf97d3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::cmd_doctor: FunctionTooLong \u2014 openfang_cli::cmd_doctor runs 596 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 496 over it, 5.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3821edc05f684c59f82af3db4301016c9bed59f823033eb0094ee371d68bfa93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agents.agentsPage: FunctionTooLong \u2014 agentsPage runs 575 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 475 over it, 5.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"919cc9323bba9c624d351b87925948941b1b3ef3b52ce726b5d2fd9d9aa57e6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::server::build_router: FunctionTooLong \u2014 openfang_api::server::build_router runs 539 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 439 over it, 5.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af3cd542a0560989ba897426c6e31cf2a7affb8245af5c0fb24f417e6da8c88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tool_runner.rs: FileTooLong \u2014 2507 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 76 free functions. The bar is 500 significant lines; this is 2007 over it, 5.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf74611bb003cc7a7b9f2562d60db164323181a76b53e525ce34ca74f1830e78"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_channels::bridge::dispatch_message: FunctionTooLong \u2014 openfang_channels::bridge::dispatch_message runs 471 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 371 over it, 4.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13740ea2b4242676ec37b1240254eec70b477f0d9623957f7331fc5600accf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::channel_bridge::start_channel_bridge_with_config: FunctionTooLong \u2014 openfang_api::channel_bridge::start_channel_bridge_with_config runs 470 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 370 over it, 4.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ee39414bfbb129e463a8d3af0008cfac794b6294da056ddfab8d951bda7eef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scheduler.schedulerPage: FunctionTooLong \u2014 schedulerPage runs 456 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 356 over it, 4.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a817689212d4095443eaea2fe17e1e97aca4a0fbcf285e68f2ce85c9692c6ab0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.rs: FileTooLong \u2014 2224 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1724 over it, 4.45\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":"crates/openfang-types/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7da18b925deec956570f000d11ab476d88c12d0d034b4e039186643c3c3d27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wizard.wizardPage: FunctionTooLong \u2014 wizardPage runs 443 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 343 over it, 4.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"431345835d094332cc8064ddda8a6406d8a4f6e31c7abcf58ad7f7502ff303dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workflow-builder.workflowBuilder: FunctionTooLong \u2014 workflowBuilder runs 443 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 343 over it, 4.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4fb59983d65b5997c10725442878db5754c641459c456e423b07475ef45543"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/openclaw.rs: FileTooLong \u2014 2186 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 42 free functions. The bar is 500 significant lines; this is 1686 over it, 4.37\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c687256e587d473f122df12cd281edc670ebd9953d1f830313a5c9205022c3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/agent_loop.rs: FileTooLong \u2014 2035 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1535 over it, 4.07\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"226126f245951d8d1b4d892ae23044bb82e5c379f2e9db434e02cf8d6ca55ee4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAIDriver.stream: MethodTooLong \u2014 stream runs 403 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 303 over it, 4.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7af0740c328ed924b2cb6cbbb62b341d80e864bf51bae7223bda8cb6200472"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/event.rs: FileTooLong \u2014 1930 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 64 free functions. The bar is 500 significant lines; this is 1430 over it, 3.86\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deaba095405df92182137e0a23f5f2e144544f4e7b08fd26e3f85f4ec22f27a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: App: ClassTooLong \u2014 1518 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 66 methods, 2 blocks, lines 139-2375. The bar is 400 significant lines; this is 1118 over it, 3.80\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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0dc04bf800bbd748a145a9c6406fe6b624b01b896f793f2e34ea935d130520"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/init_wizard.rs: FileTooLong \u2014 1887 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1387 over it, 3.77\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac83c6c11374551b820bb33f8bd51b23bc92de22ebe5664171f0abafcbad546"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills.skillsPage: FunctionTooLong \u2014 skillsPage runs 359 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 259 over it, 3.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"73834611f2170233cf3010b88f47e887054caf22a519b170706f3a8d2ac864d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.send_message_streaming: MethodTooLong \u2014 send_message_streaming runs 349 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 249 over it, 3.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f65ca274a7fdd3fc14820b058f75c31a44ec3562078216c2a47c1666ff5448b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_runtime::model_catalog::builtin_providers: FunctionTooLong \u2014 openfang_runtime::model_catalog::builtin_providers runs 338 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 238 over it, 3.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/model_catalog.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ec30515fa090ee115994ab2ddc0b6360bae3ebfb2723c83c1ff2e74c0add40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::init_wizard::run: FunctionTooLong \u2014 openfang_cli::tui::screens::init_wizard::run runs 332 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 232 over it, 3.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ae0cb27fc4301b4c7771c139228ba8a341fecb42c3a6237558da83ed99f0ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/mod.rs: FileTooLong \u2014 1658 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: App (2 blocks, 139-2375). The bar is 500 significant lines; this is 1158 over it, 3.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"345f42c42602519060a8c0afcd3ef7c8b0f897b73c16d675fcfa8b8c516e8875"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_migrate::openclaw::migrate_channels_from_json: FunctionTooLong \u2014 openfang_migrate::openclaw::migrate_channels_from_json runs 325 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 225 over it, 3.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"db91fd91fb66d945daa31c388cecf84eed879746acee08f77e006c061b7b1128"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KernelConfig.validate: MethodTooLong \u2014 validate runs 307 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 207 over it, 3.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/config.rs"},"region":{"startLine":3382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57a35eddf2b697da30922466233cc807ac8d2013a5caac987bed9286412ae94"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAIDriver.complete: MethodTooLong \u2014 complete runs 304 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 204 over it, 3.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"750f1c4841dc684e7a7d9fc3b1477b1fc6dabd3796a63133f63165b6cac0fbb2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GeminiDriver.stream: MethodTooLong \u2014 stream runs 291 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"228f5483a088dcf22109a43037d8995a8c582696af874f729b7a4bcefff1b4b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.execute_llm_agent: MethodTooLong \u2014 execute_llm_agent runs 287 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 187 over it, 2.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2631}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e06903733cfbf91f70e2947c1a16a63069e155325af3373fe5cce425877dd56"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_event: MethodTooLong \u2014 handle_event runs 285 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b0189fb7dadb1f7d5101c0c18846546d8b530018de902e236c9ae1d77c27f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bridge.rs: FileTooLong \u2014 1368 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 868 over it, 2.74\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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba7cde76e996ae1c3658faa01428128eba297e169f37f3e3d3798866ec56b19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::ws::handle_text_message: FunctionTooLong \u2014 openfang_api::ws::handle_text_message runs 266 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc382ed35ed1bbc461e8dece5a4ac8e51a5c0f3c0fbca992898a261c17e4b632"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/channel_bridge.rs: FileTooLong \u2014 1326 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 826 over it, 2.65\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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50cc64a472b77f6d9e0d1f6993846fbe63b1afb71c6ba1891511d31c2ca2e27"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenFangKernel: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e57c35528643d4a23b33dd89e7100ecc11e8a22b1a62d2f085e55314e4b1dd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnthropicDriver.stream: MethodTooLong \u2014 stream runs 239 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0a47bb0d6510764b38a9803140ec2627ce75dc1c7056140d5e1f655322c0f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: channels.channelsPage: FunctionTooLong \u2014 channelsPage runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/channels.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c3847869cc63f1e06cb3866f0925c2c656f27a12de2cfc9839b2f6fe6c2c2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usage.analyticsPage: FunctionTooLong \u2014 analyticsPage runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f35f1730fe7eb6caf88a935c25e1b71e0511a212f40c9643cf114e3dab7c14a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: App: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"552dc8e5831a58ac228bccf3fe9c2ccd0f9bc7de19b8c64465b8bdd01e6614ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drivers/openai.rs: FileTooLong \u2014 1081 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: OpenAIDriver (3 blocks, 20-1518). The bar is 500 significant lines; this is 581 over it, 2.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7870dca34b38d3d77abe086a11fed2ceefaf6cfd83717618b17adcaa7672941e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat.chatPage.handleWsMessage: FunctionTooLong \u2014 chatPage.handleWsMessage runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bfe67cd5538817b26dc6d91d422b724d3392afd61f0439498c684fdc5d421a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: overview.overviewPage: FunctionTooLong \u2014 overviewPage runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/overview.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bf6708a65a08e6803f0550bd3c90ae4600fcb21d2e4dacf200001d1d4a5d0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/agents.rs: FileTooLong \u2014 1034 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 534 over it, 2.07\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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bda4a9b635eb67a4992dbe5bf97aabefbfc3fb4393b24eb5d3eb0cbb50d45e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/chat.js: FileTooLong \u2014 1032 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: chatPage (4-1439). The bar is 500 significant lines; this is 532 over it, 2.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eecf0fe799262783d059271c28a9e22c7eaeab0f7f8411927a96555b7c439a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::cmd_channel_setup: FunctionTooLong \u2014 openfang_cli::cmd_channel_setup runs 202 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3956}}}],"partialFingerprints":{"codehealthFindingId/v1":"734346344b1a03096b4c2c2777f179949efe46208eed4af0107239501382a91a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ws.rs: FileTooLong \u2014 991 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 491 over it, 1.98\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":"crates/openfang-api/src/ws.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c354a6c976fca6d324c9d05c36c85390d3ab1f6caf7b24d86d02dfe68a9d524f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.start_background_agents: MethodTooLong \u2014 start_background_agents runs 197 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4d547727c11671be4bd738f2e1055a3ebdd6c549920d6a73e5f3d66254a409"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_migrate::openclaw::parse_legacy_channels: FunctionTooLong \u2014 openfang_migrate::openclaw::parse_legacy_channels runs 197 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"88df71ae4d47d46d18de59d87afc3fc5c2744e5f47067c82f9d1ad2ced813a8b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAIDriver: ClassTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 3 blocks, lines 20-1518. The bar is 400 significant lines; this is 364 over it, 1.91\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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edc5739a962267eba61351de31cba6e6e6d77bd6748a93bd42417539a764d26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_channels::bridge::handle_command: FunctionTooLong \u2014 openfang_channels::bridge::handle_command runs 187 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4aefbd6cc013087ef02df759c836498d2445ee9589d4621f79872457b977a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_key: MethodTooLong \u2014 handle_key runs 186 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dcfac6aa80e3cd7b9614052cc5ea5c9ec362b3dde46c8742a05e5b2661be5c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KernelBridgeAdapter: ClassTooLong \u2014 717 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 2 blocks, lines 67-1018. The bar is 400 significant lines; this is 317 over it, 1.79\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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc78635b5079338030f98ef73cebb932fc54fbc04ce1967b52dda025a361e818"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::main: FunctionTooLong \u2014 openfang_cli::main runs 179 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"f432f68041430b168d196f24501d42c529b079fe24b98bfb1a5be773bfb8a147"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::routes::channel_config_values: FunctionTooLong \u2014 openfang_api::routes::channel_config_values runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"669969624b5fc22699ea480f088b58e8d6afab5b94b87af41086e4f5d10e9cb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: logs.logsPage: FunctionTooLong \u2014 logsPage runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/logs.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8ea902be7b11f3e287fdd357b7897db9e51596b226e9d1e8d68af628db5286"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_channels::telegram::parse_telegram_update: FunctionTooLong \u2014 openfang_channels::telegram::parse_telegram_update runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"966d398da4ab78b9ae4e283db6e86383b7df8898265101a083d7d454a143d444"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: OpenFangKernel: TooManyFields \u2014 51 stored fields beside 79 methods. The bar is 30 stored fields; this is 21 over it, 1.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"65069448723db2c79fbc1d2e5acf3b401169b73c9a3c0a7781eecac23cb2ec01"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_runtime::drivers::create_driver: FunctionTooLong \u2014 openfang_runtime::drivers::create_driver runs 168 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/mod.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71b5d8cbebee4a0dcae7d6b7157771891ccc530777fe495892d88ee435541ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_runtime::drivers::provider_defaults: FunctionTooLong \u2014 openfang_runtime::drivers::provider_defaults runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/mod.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ad12ec9da1d0e7439673ee45b76ae07bb5757f41272314b8009d783fa0f556"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_channels::bridge::dispatch_with_blocks: FunctionTooLong \u2014 openfang_channels::bridge::dispatch_with_blocks runs 166 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbca23c11ec916afc633f0874ae89192c1c08a65f23919757851d69b7f4fdf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::init_wizard::draw_complete: FunctionTooLong \u2014 openfang_cli::tui::screens::init_wizard::draw_complete runs 164 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2475}}}],"partialFingerprints":{"codehealthFindingId/v1":"61365a950f38b5abb3da7257137a94c11161bf05611269fab2d4cdd02f90b278"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::routes::install_hand_deps: FunctionTooLong \u2014 openfang_api::routes::install_hand_deps runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4486}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d8127d651175cccc3d0e3a6778c33f72e3b1084e8d91421776dd8810928bf1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hands.handsPage._renderCharts: FunctionTooLong \u2014 handsPage._renderCharts runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e92ce76d9749e9a88a6450afcd7b9404e9630af559dcf4f7b6393a09b61d6d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::ws::handle_command: FunctionTooLong \u2014 openfang_api::ws::handle_command runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"816a3eb5978bb0df7bc698f1b4da7b67e6ab9c42368148533c081bb2cd397d14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.activate_hand: MethodTooLong \u2014 activate_hand runs 159 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3754}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3081d3d9a146c46b2a47895e5ffa6861ef017ee9cfec02d595ad194170b04b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/browser.rs: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 290 over it, 1.58\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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a89d2cb8e1defb03eeefcbd74ff24b7c295ce89ddffac4c53180cc319f66255"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::launcher::draw: FunctionTooLong \u2014 openfang_cli::launcher::draw runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"904481530219346030c39a31aa0485592bc09ebcf218d13bfdea48b4c369c9f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KernelConfig: TooManyFields \u2014 47 stored fields beside 4 methods. The bar is 30 stored fields; this is 17 over it, 1.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/config.rs"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bcbc4c3075a5b6cfc62f48702896749de5bff718296df8ce256bb10a396015"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/telegram.rs: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: TelegramAdapter (4 blocks, 41-817). The bar is 500 significant lines; this is 267 over it, 1.53\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fef163e00b75f084f78260a0a2fdfeea40c4d982989ed722fd9de27e89bc8fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_desktop::tray::setup_tray: FunctionTooLong \u2014 openfang_desktop::tray::setup_tray runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c29c6c01185715b443cc0a8a2306135e52a8f4d21ea68195c2e5bf2d7244e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_kernel::metering::estimate_cost_rates: FunctionTooLong \u2014 openfang_kernel::metering::estimate_cost_rates runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"998755db10458efa268991a972da9da63b0bb258d4ec00e1454c5b23c7cc7353"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::chat::draw_messages: FunctionTooLong \u2014 openfang_cli::tui::screens::chat::draw_messages runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fe34c529eaa6ec1f18f066b0a1650bf6f88e28464be53b7bd2d90198c3f10b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SemanticStore.recall_with_embedding: MethodTooLong \u2014 recall_with_embedding runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/semantic.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c48ccf3af500ee4a1a328765674040e1f8eb0ea7f990a9af2495c12bb5e43e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drivers/gemini.rs: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 249 over it, 1.50\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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c24f684eb4ff8eef28475053abdfb837b1bbc1deedfb2748d40281a03be8b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: comms.commsPage: FunctionTooLong \u2014 commsPage runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/comms.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"538e0379d119267f31bbe13cac32e174cb6d607380dd893652568717ae8173ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::welcome::draw: FunctionTooLong \u2014 openfang_cli::tui::screens::welcome::draw runs 147 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/welcome.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0545a1efaa1546a288ccf65d4b1a36606fdf68eeefce923d6c37cf824ec8528"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat.chatPage.executeSlashCommand: FunctionTooLong \u2014 chatPage.executeSlashCommand runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5bad6319f226fb372c15be83f4c218a8cb414d4456ed4932d410200af71d57"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ChannelsConfig: TooManyFields \u2014 43 stored fields. The bar is 30 stored fields; this is 13 over it, 1.43\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-types/src/config.rs"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"808745fc11c59c2cbb38c2a543ad0e9b61d05c60f88babe9e69d4dfb06a1d04e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClaudeCodeDriver.stream: MethodTooLong \u2014 stream runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b143a65d6a8bed4c7fa9b81c1f9d07f38046e2304a454a267f0d74dbd23bac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.rs: FileTooLong \u2014 701 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 201 over it, 1.40\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":"crates/openfang-api/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb1b381fefef9686c7593d9f7e936ea73d9c6f7b779cc95e516da142ddc7862"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MemorySubstrate: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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":"crates/openfang-memory/src/substrate.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd13a252e7f246561de2a2af1cd9a6074a7a9cf7adee81f9542f25fe779043d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/channels.rs: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 198 over it, 1.40\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":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aff335270c026691ec0a55dc519425560a21e73040f423141d9007ed52d0313"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.referenced_providers: MethodTooLong \u2014 referenced_providers runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5339}}}],"partialFingerprints":{"codehealthFindingId/v1":"80069f3ac830d29081700b1cd857ddb756c13987918eaeff088e0ca56997da66"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KernelConfig: ClassTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 4 methods, 5 blocks, lines 1145-3915. The bar is 400 significant lines; this is 149 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":"crates/openfang-types/src/config.rs"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1b4506775846d6d28062660313693d62af7a166062665283cd885addaa9c7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/hands.js: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: handsPage (4-962). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2768fa85ddd9f6fedd4ae3ac16e8ed7c9c5f2d3f385989e83835b3df2b8dfdb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.resolve_driver: MethodTooLong \u2014 resolve_driver runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5562}}}],"partialFingerprints":{"codehealthFindingId/v1":"05094dae4414528991779e71aa808e15db8480912cf7bc018a766094134e0d61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::routes::get_agent_session: FunctionTooLong \u2014 openfang_api::routes::get_agent_session runs 136 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c5bd24ac13d7d0a4f9358af2488016379f4993d634a2b056c153232031a4ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::routes::patch_agent_config: FunctionTooLong \u2014 openfang_api::routes::patch_agent_config runs 136 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9712}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a68c8db7320d4177949255cd7f8c238106fc0a285d9faefb3a7cd30b8031e63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_slash_command: MethodTooLong \u2014 handle_slash_command runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5570b73ae70f9a6943e25be96c9efbbb70ad0672114da7392001a208754cf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/discord.rs: FileTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 70% of them inside a single declaration: DiscordAdapter (3 blocks, 55-745). The bar is 500 significant lines; this is 142 over it, 1.28\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05879884a586cf350d1235444809700c169f9ba8957e8f2bc3aeb2768c9db29d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentSelectState: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 26 methods, 2 blocks, lines 58-844. The bar is 400 significant lines; this is 101 over it, 1.25\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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62c758d07390246d20c23b4cf9151cfe65b5d3e078a8b55bee947e548e8905e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClawHubClient.install_with_options: MethodTooLong \u2014 install_with_options runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/clawhub.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b5391f6de2a2b8704e97ce48d4ef4dbe8c94799f30bd7567a35c60e6591f97"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SetupWizard.build_plan: MethodTooLong \u2014 build_plan runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/wizard.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf5973d6194811b06e18528864e195bd3c8c104b7debe2dde2f35fec78d25be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_runtime::apply_patch::parse_patch: FunctionTooLong \u2014 openfang_runtime::apply_patch::parse_patch runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efd0343453b49f324ab013f470bb8a6844d8bdf3e81b07517b9b6311152ab3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_runtime::python_runtime::run_python_agent: FunctionTooLong \u2014 openfang_runtime::python_runtime::run_python_agent runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b56ed058275ab1b84e02264cfe7421b7f49229f9741e5f724bee28176249f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.cron_run_job: MethodTooLong \u2014 cron_run_job runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6573}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb0cc98079c4955120bdd8c81313301b0d208a8286cb5bfcd79322c550b2b6a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TelegramAdapter: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 4 blocks, lines 41-817. The bar is 400 significant lines; this is 86 over it, 1.22\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":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0923a10f270e181572604701dc8145c8334e7d41811d13b7db9e1b67807e5c49"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StandaloneChat: ClassTooLong \u2014 482 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 23 methods, 2 blocks, lines 29-754. The bar is 400 significant lines; this is 82 over it, 1.21\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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d154f79e9f1a67c6748d5b54e6bb04c263425fee2366ed454f73b9346d095ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/settings.js: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: settingsPage (4-819). The bar is 500 significant lines; this is 102 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64732b1c25044bf5fd0d4b74eaa518db9f253a2342c2ccbac09580b8554223cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::routes::set_provider_key: FunctionTooLong \u2014 openfang_api::routes::set_provider_key runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7665}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ac82f7c0ff8c5b1c016a19e5b18642fbf35b942644ed448190549b968e2672"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.spawn_agent_with_parent: MethodTooLong \u2014 spawn_agent_with_parent runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f345f9a9b91d2b1b90e735ff260a891d53428a41f6622840ef2418949a36c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/peer.rs: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 97 over it, 1.19\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":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6227035fa1333e51e58a9655245216a3f81a9528f91d634402f9f138d2bcfa49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: app.document.addEventListener(\u0022alpine:init\u0022): FunctionTooLong \u2014 document.addEventListener(\u0022alpine:init\u0022) runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7321c6b68b78ec9cc59e40374c727428b05576cbc4097d18120031f3e8a54bfc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClaudeCodeDriver.complete: MethodTooLong \u2014 complete runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f801fff87fa26fbe770383c39e9ecf8762b140af295ad28c0dc5d630ae05392e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::openai_compat::stream_response: FunctionTooLong \u2014 openfang_api::openai_compat::stream_response runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/openai_compat.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f760c44947d77cb3fc4d49f4607b3ea7f8f79bf20d461e3559fb91586859169d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::routes::create_schedule: FunctionTooLong \u2014 openfang_api::routes::create_schedule runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a683314987bc96a4a99493909367b43cc6a3d6f8e4d4da217b0d69cb46be463"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/chat.rs: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 89 over it, 1.18\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":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2e73e9eacdf8c8a405a7d1b3531992eca8768aa47f36be947d73f9914a0d57"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MemorySubstrate: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 42 methods, 3 blocks, lines 30-729. The bar is 400 significant lines; this is 67 over it, 1.17\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":"crates/openfang-memory/src/substrate.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d830038b11aae3fa53eb6db0eb203af1d968620c9ab3df1f7f11a7270ad336d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: State: TooManyFields \u2014 35 stored fields beside 10 methods. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b950986a951d008cd9e6656e2de4650dd6ad44daa1e4e633812b4cdebff1c245"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/agents.js: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: agentsPage (19-813). The bar is 500 significant lines; this is 80 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"171d87d5e870ba1ccda82a258dbfe08ff585c10d6a6b257c022fb4432d68c903"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::init_wizard::draw_migration_offer: FunctionTooLong \u2014 openfang_cli::tui::screens::init_wizard::draw_migration_offer runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88ece216bff2a3a4aabc4161198945d819d2c026d45d5cf7e4c0619c039e0b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_desktop::run: FunctionTooLong \u2014 openfang_desktop::run runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/lib.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb39b1e3e5b1f38560099b4fa4bc72fde7356a3d0171205c6508814741fe44d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_migrate::openclaw::convert_agent_from_json: FunctionTooLong \u2014 openfang_migrate::openclaw::convert_agent_from_json runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8a87024e4a8685c12fad6b00423884e5abfe51fbece159dd9908a33825df29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::middleware::auth: FunctionTooLong \u2014 openfang_api::middleware::auth runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/middleware.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"12084d5d190845cda45a6086428de5000af520481d565325292be7816f2b9023"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: App: TooManyFields \u2014 34 stored fields beside 66 methods. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"158f8db1f73877eb4dd358696fcab2026b9da0e732789825511f8fbb144f3caf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::ws::handle_agent_ws: FunctionTooLong \u2014 openfang_api::ws::handle_agent_ws runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"173408a16058c7dcd63dab259585ebd50d2d1759e2f97f99541b048889d2c16e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sessions.sessionsPage: FunctionTooLong \u2014 sessionsPage runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/sessions.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c84ecddb9f0ce034788f855da2d866aa597498ccfe3d8f3ee7e2cb0b340b7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::templates::draw: FunctionTooLong \u2014 openfang_cli::tui::screens::templates::draw runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/templates.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bea6ff7a7f8db816e9d84d80aa27a34d286d642dddc0306a357d5a05babcdae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiscordAdapter: ClassTooLong \u2014 448 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 3 blocks, lines 55-745. The bar is 400 significant lines; this is 48 over it, 1.12\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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd944e888c52f7b04b420e4ed6939bd21d2a8c77a3455fb937a36989f9c8e70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::cmd_skill_install: FunctionTooLong \u2014 openfang_cli::cmd_skill_install runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ba5fd1c3e837e4e6c96cb07fb34f1a055074f6363debd0e79f20c5736d0626"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.available_tools_with_registry: MethodTooLong \u2014 available_tools_with_registry runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6148}}}],"partialFingerprints":{"codehealthFindingId/v1":"63de647e8ef074b05437c840ab8738d5d01b9701f53771380f18b243d2435402"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::routes::clone_agent: FunctionTooLong \u2014 openfang_api::routes::clone_agent runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9991}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcda3198fc8c89420a586c903306258701331c937fbbe26493a77a79fcc8b590"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_api::routes::upload_file: FunctionTooLong \u2014 openfang_api::routes::upload_file runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10548}}}],"partialFingerprints":{"codehealthFindingId/v1":"10435396b536dba08f4225ad6f1dbef4f52f1f55ecadd517fdf691b4ce0e91cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StructuredStore.load_all_agents: MethodTooLong \u2014 load_all_agents runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a22e933d37920a4b12b628afc62e5b8a6c18245678db18cb83edfa918de33bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drivers/anthropic.rs: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 61% of them inside a single declaration: AnthropicDriver (3 blocks, 18-657). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"829e90d9cbe72400eeac76033337d9ea1e3063b13e1177abd430c318a4039cb1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VertexAIDriver.stream: MethodTooLong \u2014 stream runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/vertex.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"6498cdab1da67e3da24087e31960bf46404c848e0398af8fc5389b0b40f335f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PeerNode.handle_inbound: MethodTooLong \u2014 handle_inbound runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"777b5bb943e2b2b98c5acebfdcad597dea1b2e3cd1fa30b9b96608e7bf668dc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/comms.rs: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 33 over it, 1.07\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":"crates/openfang-cli/src/tui/screens/comms.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"979d9b998cbe9f5603780fcfc80838bd81ac9122539ee16e001f9715b1490814"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tui/chat_runner.rs: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: StandaloneChat (2 blocks, 29-754). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eacd3fd3559fb0c5354fb57c630adac1cb40be2c56477eb39b860d4322f6e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_channels::discord::parse_discord_message: FunctionTooLong \u2014 openfang_channels::discord::parse_discord_message runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6073d16234390b8cd766d3ab27a9c2de9df34a8617d87b58a3a78a80289b904"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/skills.rs: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 23 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/skills.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5221833301192ceb3d87087d6413c90f4c064b6cdd6b0d12002fdca2f379a5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workflow-builder.workflowBuilder.renderCanvas: FunctionTooLong \u2014 workflowBuilder.renderCanvas runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f495849a62204d3c1f286ba42fc156a714103186339e19329948133efb9c9d72"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::logs::draw: FunctionTooLong \u2014 openfang_cli::tui::screens::logs::draw runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/logs.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c9189516d4a5aeaac5ac92b1e1a3dc3c2fa563f1a27f95b847954e95ce49d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::agents::draw_agent_list_full: FunctionTooLong \u2014 openfang_cli::tui::screens::agents::draw_agent_list_full runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6bbfe4c99e0df0d4a6b4cea50e3e5cb92ab16f54a1962feb242101a731d2e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::audit::draw: FunctionTooLong \u2014 openfang_cli::tui::screens::audit::draw runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d270080267299b26f12cc3faf187ef509b367735bd4e8daf42ba87fac0524f67"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openfang_cli::tui::screens::init_wizard::draw_migration_done: FunctionTooLong \u2014 openfang_cli::tui::screens::init_wizard::draw_migration_done runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf62b19b25304d48060614bf42c904817cd8257ff4ff8277c1cddd07813813a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenFangKernel.start_heartbeat_monitor: MethodTooLong \u2014 start_heartbeat_monitor runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9ad9dd0add1a156a79909b0bee2324c84b20819ec7697566deb89b2dffaeee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MediaEngine.transcribe_audio: MethodTooLong \u2014 transcribe_audio runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/media_understanding.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59fc2984a928cfdae19c526bb3c7b617f831a62a4ea16bad1409a70a22f6abf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkflowEngine: ClassTooLong \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 3 blocks, lines 201-804. The bar is 400 significant lines; this is 1 over it, 1.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d3139d9a91e3b81d5ea4103834a6f9c67d73b0389b92aa2709c0550b5b72ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/workflow.rs: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: WorkflowEngine (3 blocks, 201-804). The bar is 500 significant lines; this is 1 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"476a94329b449cd878c55da06f73df4f571b9a2f16e6139e371bbe0fe69c9fb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drivers/copilot.rs: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1 over it, 1.00\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":"crates/openfang-runtime/src/drivers/copilot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bc269b7bd0eb2869edc8fe9eb83aefb32d79b6e645f06604acffbe02eda3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (732 shared lines): crates/openfang-runtime/src/agent_loop.rs:315-1146 | crates/openfang-runtime/src/agent_loop.rs:1543-2365 \u2014 These two members are variants of one another: 732 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26647141a012f0f49281f83b9da592ae01fda16619b3a6ffd9b241371dce252"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (166 shared lines): crates/openfang-runtime/src/drivers/openai.rs:452-901 | crates/openfang-runtime/src/drivers/openai.rs:907-1517 \u2014 These two members are variants of one another: 166 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46955b46ee8a49ddad80d1d62dc4a8bee08defd376ca2305c48d99a61f70558"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (154 shared lines): crates/openfang-channels/src/bridge.rs:761-1455 | crates/openfang-channels/src/bridge.rs:1711-1925 \u2014 These two members are variants of one another: 154 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d0e6f7308fc9486c6cfcd943e47b37d99c47f7ccf3007e377e5440b7af22b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (130 shared lines): crates/openfang-runtime/src/agent_loop.rs:1161-1331 | crates/openfang-runtime/src/agent_loop.rs:1346-1512 \u2014 These two members are variants of one another: 130 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1faa5c00b91499e23bc5c740a9c4769ddad5610517b61afd9098905c8f8ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (69 shared lines): crates/openfang-cli/src/launcher.rs:304-533 | crates/openfang-cli/src/tui/screens/welcome.rs:217-433 \u2014 These two members are variants of one another: 69 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"262d1296c4ba1908304b068a2f28db4aa8787a937af9718a0634fd2ad2d652a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): crates/openfang-cli/src/tui/screens/init_wizard.rs:1609-1777 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2253-2347 \u2014 These two members are variants of one another: 50 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"df859a55228d17cbef2ed03b70c21310c5b5f7e4a0ead40778d2e4aa3f26d2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): crates/openfang-cli/src/tui/screens/comms.rs:544-617 | crates/openfang-cli/src/tui/screens/comms.rs:619-695 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/comms.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ac18306c287eb7d6d5a4908339aefb6e02613b2d5e8b25a1dffbbb7da3db34"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): crates/openfang-cli/src/tui/chat_runner.rs:379-435 | crates/openfang-cli/src/tui/mod.rs:1870-1924 \u2014 These two members are variants of one another: 37 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"701869b55e670f880b228b2b9b051b73279365ad9e896c13fd477f0352263ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): crates/openfang-channels/src/flock.rs:246-310 | crates/openfang-channels/src/pumble.rs:222-295 \u2014 These two members are variants of one another: 36 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6343cd306e16126058eaf221c8b02771d01b9f611eb3f337e44bbe8aa598184d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): crates/openfang-channels/src/reddit.rs:108-153 | crates/openfang-channels/src/teams.rs:81-126 \u2014 These two members are variants of one another: 35 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4a58df3d70ef8698f94ca7817bfd55e6d3f8685c9cb37006c0e0c3a7ef4e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/openfang-channels/src/router.rs:163-205 | crates/openfang-channels/src/router.rs:214-239 \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":"crates/openfang-channels/src/router.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6c24bb3cf8e58152ee5c3719571634b6e1ae4e45f0ab722b3561320d363feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (27 members, 50\u002B identical tokens): crates/openfang-channels/src/bluesky.rs:259-336 | crates/openfang-channels/src/dingtalk.rs:140-268 | crates/openfang-channels/src/dingtalk_stream.rs:470-557 | crates/openfang-channels/src/discourse.rs:179-346 | crates/openfang-channels/src/flock.rs:158-231 | crates/openfang-channels/src/google_chat.rs:154-332 | crates/openfang-channels/src/guilded.rs:135-320 | crates/openfang-channels/src/keybase.rs:207-414 | crates/openfang-channels/src/line.rs:261-350 | crates/openfang-channels/src/linkedin.rs:228-363 | crates/openfang-channels/src/mastodon.rs:175-262 | crates/openfang-channels/src/matrix.rs:373-652 | crates/openfang-channels/src/messenger.rs:161-255 | crates/openfang-channels/src/nextcloud.rs:174-406 | crates/openfang-channels/src/nostr.rs:166-396 | crates/openfang-channels/src/pumble.rs:122-207 | crates/openfang-channels/src/reddit.rs:228-307 | crates/openfang-channels/src/revolt.rs:209-297 | crates/openfang-channels/src/rocketchat.rs:145-350 | crates/openfang-channels/src/signal.rs:107-216 | crates/openfang-channels/src/threema.rs:120-175 | crates/openfang-channels/src/twist.rs:270-503 | crates/openfang-channels/src/twitch.rs:118-277 | crates/openfang-channels/src/viber.rs:221-298 | crates/openfang-channels/src/webex.rs:244-448 | crates/openfang-channels/src/webhook.rs:180-302 | crates/openfang-channels/src/zulip.rs:193-425 \u2014 These 27 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 27 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 27 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0b21b90b29d276fd2d8824957e9db3fe2d6b4874243ed0986c71c763a98b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (26 members, 50\u002B identical tokens): crates/openfang-cli/src/tui/screens/audit.rs:191-334 | crates/openfang-cli/src/tui/screens/channels.rs:649-744 | crates/openfang-cli/src/tui/screens/channels.rs:869-944 | crates/openfang-cli/src/tui/screens/comms.rs:422-494 | crates/openfang-cli/src/tui/screens/dashboard.rs:200-258 | crates/openfang-cli/src/tui/screens/extensions.rs:346-420 | crates/openfang-cli/src/tui/screens/hands.rs:243-332 | crates/openfang-cli/src/tui/screens/hands.rs:334-429 | crates/openfang-cli/src/tui/screens/logs.rs:250-394 | crates/openfang-cli/src/tui/screens/memory.rs:272-337 | crates/openfang-cli/src/tui/screens/memory.rs:339-435 | crates/openfang-cli/src/tui/screens/peers.rs:84-201 | crates/openfang-cli/src/tui/screens/security.rs:198-326 | crates/openfang-cli/src/tui/screens/sessions.rs:170-299 | crates/openfang-cli/src/tui/screens/settings.rs:332-467 | crates/openfang-cli/src/tui/screens/settings.rs:469-544 | crates/openfang-cli/src/tui/screens/skills.rs:362-500 | crates/openfang-cli/src/tui/screens/skills.rs:571-666 | crates/openfang-cli/src/tui/screens/skills.rs:668-735 | crates/openfang-cli/src/tui/screens/templates.rs:235-392 | crates/openfang-cli/src/tui/screens/triggers.rs:268-357 | crates/openfang-cli/src/tui/screens/usage.rs:216-265 | crates/openfang-cli/src/tui/screens/usage.rs:292-356 | crates/openfang-cli/src/tui/screens/usage.rs:358-418 | crates/openfang-cli/src/tui/screens/workflows.rs:303-369 | crates/openfang-cli/src/tui/screens/workflows.rs:638-694 \u2014 These 26 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 26 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 26 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"526fbc5b5d73c0b9f64cc248713caef40715f6d1f64ed873e913bc0a012e5f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): crates/openfang-cli/src/tui/event.rs:533-586 | crates/openfang-cli/src/tui/event.rs:589-639 | crates/openfang-cli/src/tui/event.rs:642-687 | crates/openfang-cli/src/tui/event.rs:690-722 | crates/openfang-cli/src/tui/event.rs:729-763 | crates/openfang-cli/src/tui/event.rs:771-803 | crates/openfang-cli/src/tui/event.rs:812-845 | crates/openfang-cli/src/tui/event.rs:848-880 | crates/openfang-cli/src/tui/event.rs:891-926 | crates/openfang-cli/src/tui/event.rs:929-957 | crates/openfang-cli/src/tui/event.rs:960-1001 | crates/openfang-cli/src/tui/event.rs:1004-1061 | crates/openfang-cli/src/tui/event.rs:1068-1134 | crates/openfang-cli/src/tui/event.rs:1142-1176 | crates/openfang-cli/src/tui/event.rs:1184-1220 | crates/openfang-cli/src/tui/event.rs:2085-2135 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9386a4abc63b7cd1bef3b615945f26ca5b5c9fbbec9cfd30fc5de5a5d4250b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/openfang-cli/src/tui/screens/audit.rs:160-186 | crates/openfang-cli/src/tui/screens/channels.rs:465-565 | crates/openfang-cli/src/tui/screens/logs.rs:183-245 | crates/openfang-cli/src/tui/screens/peers.rs:59-79 | crates/openfang-cli/src/tui/screens/sessions.rs:85-165 | crates/openfang-cli/src/tui/screens/templates.rs:190-230 | crates/openfang-cli/src/tui/screens/triggers.rs:102-142 | crates/openfang-cli/src/tui/screens/workflows.rs:114-159 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef7e4e385e612e2088d197fcb7c531a1aa46b1baa85448398755f3c99740a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/openfang-memory/src/session.rs:146-183 | crates/openfang-memory/src/session.rs:264-298 | crates/openfang-memory/src/structured.rs:417-439 | crates/openfang-memory/src/substrate.rs:322-347 | crates/openfang-memory/src/substrate.rs:575-616 | crates/openfang-memory/src/usage.rs:234-265 | crates/openfang-memory/src/usage.rs:268-303 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/session.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2695aa87d74ebc0e0b8f0e6a47c133031a720814d79326bc97f7bda0b9c81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/openfang-runtime/src/drivers/anthropic.rs:199-302 | crates/openfang-runtime/src/drivers/anthropic.rs:308-656 | crates/openfang-runtime/src/drivers/bedrock.rs:693-775 | crates/openfang-runtime/src/drivers/gemini.rs:667-747 | crates/openfang-runtime/src/drivers/gemini.rs:753-1184 | crates/openfang-runtime/src/drivers/vertex.rs:497-570 | crates/openfang-runtime/src/drivers/vertex.rs:576-730 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d95acc1b96c48b7f6904a9357cea44ddb253a0f47e164f3566cbddf1e0e5105"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/openfang-cli/src/main.rs:4536-4555 | crates/openfang-cli/src/main.rs:4557-4579 | crates/openfang-cli/src/main.rs:4581-4597 | crates/openfang-cli/src/main.rs:4599-4615 | crates/openfang-cli/src/main.rs:6015-6032 | crates/openfang-cli/src/main.rs:6151-6168 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":4536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7394b3d3953aeceb780e85ce354a1dfde8fa2f1f246fc0a643a0cf8cd311429f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/openfang-cli/src/main.rs:5707-5785 | crates/openfang-cli/src/main.rs:5980-6013 | crates/openfang-cli/src/main.rs:6034-6080 | crates/openfang-cli/src/main.rs:6170-6207 | crates/openfang-cli/src/main.rs:6507-6539 | crates/openfang-cli/src/main.rs:6585-6617 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5707}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fa3ff0164243b433d95641d14afd1e56fa205b4aeda713014a4f8e28dad789"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/openfang-channels/src/discord.rs:826-995 | crates/openfang-channels/src/irc.rs:156-218 | crates/openfang-channels/src/mattermost.rs:149-227 | crates/openfang-channels/src/slack.rs:461-601 | crates/openfang-channels/src/teams.rs:186-270 \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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aaf4372c068a561122f98bf918de84672bfc6968d67932813b1f03244e0ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/openfang-channels/src/telegram.rs:184-236 | crates/openfang-channels/src/telegram.rs:245-266 | crates/openfang-channels/src/telegram.rs:275-297 | crates/openfang-channels/src/telegram.rs:347-364 | crates/openfang-channels/src/telegram.rs:373-395 \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":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"711bba56f0ace6bab3bf7eb1692ccf1ec63acb287486d5f24070aadb34234e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/openfang-cli/src/tui/screens/hands.rs:243-332 | crates/openfang-cli/src/tui/screens/settings.rs:546-589 | crates/openfang-cli/src/tui/screens/skills.rs:362-500 | crates/openfang-cli/src/tui/screens/skills.rs:571-666 | crates/openfang-cli/src/tui/screens/templates.rs:235-392 \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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb7ab1cee4f6fb4820d45fba4376731ff8a2b49c53b664782c3ac9d5c184d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/openfang-api/src/routes.rs:5676-5734 | crates/openfang-api/src/routes.rs:7411-7437 | crates/openfang-api/src/routes.rs:7496-7534 | crates/openfang-api/src/routes.rs:7575-7619 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":5676}}}],"partialFingerprints":{"codehealthFindingId/v1":"006a010fc241423352262f349f73a3c5772e96f4d82fa87785f85d04a448cbc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/openfang-api/src/routes.rs:7171-7200 | crates/openfang-api/src/routes.rs:7208-7228 | crates/openfang-api/src/routes.rs:7234-7260 | crates/openfang-api/src/routes.rs:7296-7347 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7171}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f0b90483adbba1ce21b65a461c1d7009fb58ac93d5f935e44160c69d0d96e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/openfang-channels/src/gitter.rs:162-328 | crates/openfang-channels/src/gotify.rs:158-306 | crates/openfang-channels/src/mqtt.rs:246-388 | crates/openfang-channels/src/ntfy.rs:153-321 \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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0992bb4b1a20a9c60b5d4174393fbec5650f939c5f37b2bfd778472423a4e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/openfang-cli/src/launcher.rs:289-302 | crates/openfang-cli/src/tui/screens/init_wizard.rs:1420-1481 | crates/openfang-cli/src/tui/screens/welcome.rs:217-433 | crates/openfang-cli/src/tui/screens/wizard.rs:456-519 \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":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32e466f51258c2a8a71ce9b21729eb12a79b7afa420563e07b70075c1f75662"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/openfang-cli/src/tui/chat_runner.rs:437-519 | crates/openfang-cli/src/tui/chat_runner.rs:523-545 | crates/openfang-cli/src/tui/mod.rs:1749-1775 | crates/openfang-cli/src/tui/mod.rs:1926-2010 \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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"96aea2936411f07ccd6eb216d0003179da4e74ccf86c8b6b298bf6de39ef35b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/openfang-cli/src/tui/screens/hands.rs:225-241 | crates/openfang-cli/src/tui/screens/settings.rs:313-330 | crates/openfang-cli/src/tui/screens/skills.rs:343-360 | crates/openfang-cli/src/tui/screens/usage.rs:197-214 \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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"245d777cac0d4f502a4b12a58b9be687d75dbcfd3821474f96ed0db732096d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/openfang-kernel/src/kernel.rs:1995-2480 | crates/openfang-kernel/src/kernel.rs:2640-3031 | crates/openfang-kernel/src/kernel.rs:3559-3635 | crates/openfang-kernel/src/kernel.rs:3641-3676 \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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"df90c485bf7f259ffb9bcf990dc24f4ecdc833df88ec8a100b5a1078a7f73f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/openfang-runtime/src/python_runtime.rs:128-313 | crates/openfang-skills/src/loader.rs:59-157 | crates/openfang-skills/src/loader.rs:165-256 | crates/openfang-skills/src/loader.rs:311-403 \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":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"322adde24c86371a7a6919123018ddadeadee50111745438b8e42103dc8efcec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (97 corresponding lines): crates/openfang-api/src/routes.rs:911-1007 | crates/openfang-api/src/routes.rs:1124-1222 \u2014 These two members are one piece of code written twice and then edited apart: 97 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f44bc40745a78995f0035a439f2baad92db2d6ed26e0cb69e1877806d395553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): crates/openfang-skills/src/openclaw_compat.rs:174-280 | crates/openfang-skills/src/openclaw_compat.rs:286-369 \u2014 These two members are one piece of code written twice and then edited apart: 84 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":"crates/openfang-skills/src/openclaw_compat.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a610b827ba738381ac580c1f099e1e630159579824a8e186c8a586bc2c1f3fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): crates/openfang-types/src/serde_compat.rs:22-83 | crates/openfang-types/src/serde_compat.rs:93-158 \u2014 These two members are one piece of code written twice and then edited apart: 62 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":"crates/openfang-types/src/serde_compat.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca7dbafae1f4b75ee42ef728b8f39cfc5b90f5ef9c1d3170944c62be18af721"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): crates/openfang-channels/src/formatter.rs:161-237 | crates/openfang-channels/src/formatter.rs:392-458 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c444cecbb1c87a9a785ae48bac67ef5b9398908c3293b3aa324028a83640a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): crates/openfang-api/src/routes.rs:3922-3989 | crates/openfang-api/src/routes.rs:4000-4063 \u2014 These two members are one piece of code written twice and then edited apart: 64 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3922}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6efc42753b4269206e00717b5295907b457a307d0e06d7a05de3f3dea95c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): crates/openfang-runtime/src/tts.rs:115-191 | crates/openfang-runtime/src/tts.rs:198-273 \u2014 These two members are one piece of code written twice and then edited apart: 76 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":"crates/openfang-runtime/src/tts.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8171677412356bfee7c017d8e82fa4798227c0aaa3cd23e21c10cefd16bc41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): crates/openfang-cli/src/tui/chat_runner.rs:109-161 | crates/openfang-cli/src/tui/mod.rs:1144-1196 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6809ec67ddfdfdc3f8ff49e0f26a380b49e7df96f6bcdeba5215cceb47894f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 49\u002B corresponding lines): crates/openfang-cli/src/tui/event.rs:2218-2271 | crates/openfang-cli/src/tui/event.rs:2274-2322 | crates/openfang-cli/src/tui/event.rs:2581-2638 \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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d766a51e586c550fcc3167c188554405c5f16d39440fba6397cdfd7f1a7acf47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): crates/openfang-skills/src/registry.rs:182-272 | crates/openfang-skills/src/registry.rs:381-467 \u2014 These two members are one piece of code written twice and then edited apart: 87 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":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f91cc0b84d9d94dbd0e35760bc565e1c15f2b098ed49e0ed9cc20d0b6543ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): crates/openfang-cli/src/tui/screens/hands.rs:136-185 | crates/openfang-cli/src/tui/screens/skills.rs:177-225 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f4c613701e5f50d6ef758c67263be159e5862271e32961ff8a0535d0a0c0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): crates/openfang-channels/src/teams.rs:285-348 | crates/openfang-channels/src/viber.rs:313-370 \u2014 These two members are one piece of code written twice and then edited apart: 58 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":"crates/openfang-channels/src/teams.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7d9ebb93daaa135506c7c9a667ea028fce7217fc0334901789326036cd3207"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): crates/openfang-cli/src/main.rs:1780-1856 | crates/openfang-cli/src/main.rs:5829-5894 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d2d02af0ffda369142ba0fc9d0f88042da460dcd7688d0946d696e51ad81cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): crates/openfang-api/src/routes.rs:3151-3196 | crates/openfang-api/src/routes.rs:3199-3242 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c178f89ea61d1f61e4b5a9b239a60b228e6fa9ecaa51c8607ed83bdbb8c8437"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): crates/openfang-cli/src/tui/screens/wizard.rs:575-621 | crates/openfang-cli/src/tui/screens/wizard.rs:623-669 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"crates/openfang-cli/src/tui/screens/wizard.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"7710e354ec6b72a78666dec276806f22c75f1f688bcc377efbdd8648d6b5e6a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/openfang-runtime/src/tool_runner.rs:2996-3035 | crates/openfang-runtime/src/tool_runner.rs:3041-3080 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":2996}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52b09d3e6a64ac6731db5959f7cc882a597f5f26dea491da7d056d9e8a5eb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): crates/openfang-memory/src/session.rs:40-75 | crates/openfang-memory/src/session.rs:221-259 | crates/openfang-memory/src/session.rs:364-408 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9b1af66cc3fd21b2bd1b719ef13902cadb503df0eb24518a0fc46d7bd6e5af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): crates/openfang-migrate/src/openclaw.rs:1917-1973 | crates/openfang-migrate/src/openclaw.rs:2918-2981 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fb020646850b5e49b98f81cfefecfd40228bfcaace6877a7957b286c350d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/openfang-cli/src/tui/event.rs:1232-1260 | crates/openfang-cli/src/tui/event.rs:1962-1991 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a5e80e08d54bdb7b4230acbacfb2873138c6c073f56be8e21befb394904bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/openfang-cli/src/tui/event.rs:1812-1843 | crates/openfang-cli/src/tui/event.rs:2173-2213 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c48a845a134ce91ce83fdbc1bbe9725a745ef124c1827116dba2c1dc496739a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/openfang-migrate/src/openclaw.rs:3110-3155 | crates/openfang-migrate/src/openclaw.rs:3162-3210 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":3110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4274d2ddfede425251aba4ce5d566ed49b1de042505218541a970d4c776d3148"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/openfang-cli/src/tui/mod.rs:1538-1576 | crates/openfang-cli/src/tui/mod.rs:1601-1637 \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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef0b6ae9c2db1d0d906bf69d7c661a0cca067a4a25568267e2458832948f05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): crates/openfang-api/src/routes.rs:9487-9534 | crates/openfang-api/src/routes.rs:11459-11505 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61642fd40dab829f0eab38ee27562b6ecaf5f81a4416c83c18ef114d5d87b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/openfang-cli/src/tui/screens/agents.rs:716-751 | crates/openfang-cli/src/tui/screens/agents.rs:753-788 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"e046a184250e19601892a78d76e5b76efe725bfd55b583e5b6224fb0e9f0ce70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/openfang-cli/src/tui/screens/agents.rs:1348-1387 | crates/openfang-cli/src/tui/screens/agents.rs:1448-1491 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f86042c70850313702ea5c8cb2c98c71191116fbccb5cba6ebe1065256e40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/openfang-cli/src/tui/chat_runner.rs:762-806 | crates/openfang-cli/src/tui/mod.rs:2393-2438 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88c42b907c64b02d58d57cc9c937d4989f495ba15874626bac0bfceed66bac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/openfang-extensions/src/vault.rs:425-463 | crates/openfang-extensions/src/vault.rs:466-499 \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":"crates/openfang-extensions/src/vault.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"89be4187a08ea4595812e99ff9521b42d9118f5d80d6f7238d0d404bc74da4b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): crates/openfang-cli/src/tui/event.rs:2373-2405 | crates/openfang-cli/src/tui/event.rs:2408-2442 | crates/openfang-cli/src/tui/event.rs:2445-2479 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c3c36b17aac33ed684cea2c45aff16b457a356af62725f09c5fa9d1d276d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/openfang-channels/src/dingtalk_stream.rs:57-93 | crates/openfang-channels/src/dingtalk_stream.rs:298-329 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3154220fd11ed10993c9f6b841b947538fd3a667ac8e29c986ea3d2215d4135"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/openfang-api/src/routes.rs:8071-8105 | crates/openfang-api/src/routes.rs:8584-8618 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8071}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b517a8465d006ddb8222e0eef45f583c1d933c2fa9642c0c7ac56bb7e843ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): crates/openfang-cli/src/tui/event.rs:2641-2671 | crates/openfang-cli/src/tui/event.rs:2814-2851 | crates/openfang-cli/src/tui/event.rs:2860-2899 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":2641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06f3c6d1b9549706bbff786dfe9e2ff9c101241d400ffddc9d92b1cfaeb5860"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/openfang-cli/src/main.rs:3229-3262 | crates/openfang-cli/src/main.rs:3329-3362 \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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3229}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c3d1cb84b4435ba87a0bdebec89e985dc375ef9f64e9f98da892aba470c227"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 46\u002B corresponding lines): crates/openfang-kernel/src/kernel.rs:7660-7711 | crates/openfang-kernel/src/kernel.rs:7722-7779 | crates/openfang-kernel/src/kernel.rs:7789-7834 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 46 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7660}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ebf48aeaf8a5efe1d9fece2eeee962e0a1502f08c9226e81f3932a21702637"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/openfang-cli/src/tui/event.rs:1592-1618 | crates/openfang-cli/src/tui/event.rs:1994-2022 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"9068c4f7d67cccea0ce3a892662f5cbf995646d3fdb236bff200c8cdc9ededa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 34\u002B corresponding lines): crates/openfang-cli/src/tui/screens/extensions.rs:266-299 | crates/openfang-cli/src/tui/screens/hands.rs:190-223 | crates/openfang-cli/src/tui/screens/skills.rs:307-341 | crates/openfang-cli/src/tui/screens/usage.rs:152-195 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 34 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/extensions.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6b654322764d33b072871206ca01cad69a7d4876ed7f1f92089ae74231fe1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/openfang-runtime/src/drivers/fallback.rs:38-73 | crates/openfang-runtime/src/drivers/fallback.rs:79-114 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"crates/openfang-runtime/src/drivers/fallback.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa44227aa2ecc0126de75e3e27eb260e0c7bfa6965172dd3eb33bbbd093ba74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/openfang-channels/src/line.rs:468-513 | crates/openfang-channels/src/messenger.rs:367-416 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49961deb9ef4b25ff4d0ffb82cd8ad6359771f654fe8057148e8f85be95753f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/openfang-memory/src/http_client.rs:160-201 | crates/openfang-memory/src/http_client.rs:211-245 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"crates/openfang-memory/src/http_client.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf3338cac229a3e7fa45ae6522bdd3553c08944fc72e5492b609fae9c244400"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/openfang-wire/src/peer.rs:656-698 | crates/openfang-wire/src/peer.rs:748-783 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"135d1963d909e6d18d4a850ca2f53f54b02775a150ef720093c03fa47729daf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/openfang-runtime/src/drivers/anthropic.rs:768-824 | crates/openfang-runtime/src/drivers/bedrock.rs:642-687 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefcf962e1927e2062cb6ba3af53ff7d56702495f87decd9349ee2b621328f40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/openfang-runtime/src/drivers/copilot.rs:647-677 | crates/openfang-runtime/src/drivers/copilot.rs:697-726 \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":"crates/openfang-runtime/src/drivers/copilot.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"db052a56fee3da8e518c0f6f8a5414536bd3c10c28bac5ad0112496c0cab45bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/openfang-api/src/routes.rs:7541-7569 | crates/openfang-api/src/routes.rs:7626-7657 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7541}}}],"partialFingerprints":{"codehealthFindingId/v1":"8724981028b476c6727a7d90bb8cbfc61b902aa12e7104d0bc0f8ce240f6f775"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/openfang-api/src/routes.rs:3054-3101 | crates/openfang-api/src/routes.rs:3109-3148 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3054}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52b0d44bf4a5672df5e8062f27521a26691b19b50dde9b0a293a0fd8573983d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/openfang-runtime/src/web_content.rs:216-248 | crates/openfang-runtime/src/web_content.rs:251-286 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"crates/openfang-runtime/src/web_content.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64298fd4c123531154b427a11d060e58657080ffac9282d858e781c947b402a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/openfang-cli/src/main.rs:6349-6386 | crates/openfang-cli/src/main.rs:6403-6443 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b77fcc4583f4fa4f007af70d15e0ff49e1e5eb6b6beb1184a8eb79eebfced2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/openfang-api/src/routes.rs:8704-8735 | crates/openfang-migrate/src/openclaw.rs:455-487 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8704}}}],"partialFingerprints":{"codehealthFindingId/v1":"7690d7870d1dd25c6fd6cca78adabfc68d06609fbead459c861038e2affba9ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/openfang-cli/src/tui/chat_runner.rs:229-259 | crates/openfang-cli/src/tui/mod.rs:1803-1834 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d9582d49c875dbf23af86030b3c08bce9f5ada91bde50c2a1008ae670620f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/openfang-runtime/src/tool_runner.rs:2044-2067 | crates/openfang-runtime/src/tool_runner.rs:2072-2103 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"388e5394e5827b094fc9f2ce18fe86272bef27be4c04621e5c9707b509846480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/openfang-cli/src/tui/screens/init_wizard.rs:463-488 | crates/openfang-cli/src/tui/screens/wizard.rs:232-256 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"259cba31cf7c504e95af3700bb54d42a7742e12f1e5fd3d717e2f39feadfbf11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/openfang-api/src/routes.rs:4727-4757 | crates/openfang-api/src/routes.rs:4767-4797 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4727}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e473356857f28db2d36877929087db17962d3f9b20f81025eb11b28dd9b557e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/openfang-cli/src/tui/chat_runner.rs:166-189 | crates/openfang-cli/src/tui/mod.rs:1201-1224 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"712d0c39134ad1abeb175c65b94422dc49348d1ed15b77b46bda757533f96876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/openfang-runtime/src/host_functions.rs:159-184 | crates/openfang-runtime/src/host_functions.rs:345-368 | crates/openfang-runtime/src/host_functions.rs:374-400 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"crates/openfang-runtime/src/host_functions.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"263692421450dd5be800a2ce88d86fe38adf8838d747cbd645a6c5b94ffe8945"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/openfang-runtime/src/subprocess_sandbox.rs:265-291 | crates/openfang-runtime/src/subprocess_sandbox.rs:295-324 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"764f893059fa94aef83dcf05b9fcc008e1549ab93196c1d1305dc240d099c8e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/openfang-cli/src/tui/mod.rs:1422-1454 | crates/openfang-cli/src/tui/mod.rs:1505-1536 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e021b17e11443b6980eca1885c3980e8220a15d879d6387113ddfb5a9d9a167"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/openfang-channels/src/bluesky.rs:94-127 | crates/openfang-channels/src/bluesky.rs:133-168 \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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"946fd70c13993a6b115ab32c48980799904ba08c4de34e1fa0b0e2746d050c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/openfang-memory/src/substrate.rs:50-68 | crates/openfang-memory/src/substrate.rs:107-122 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"crates/openfang-memory/src/substrate.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d799025105a22200373fdf3a85cbe1c1e2e121d50ee282b6f5d5c160592683d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/openfang-channels/src/twist.rs:219-248 | crates/openfang-channels/src/webex.rs:122-148 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f5e0f21cbab8225ebb0b99283536e612b6bfffc69f18bb8bad12f97444a2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/openfang-cli/src/main.rs:3205-3227 | crates/openfang-cli/src/main.rs:3389-3420 \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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3205}}}],"partialFingerprints":{"codehealthFindingId/v1":"034e39cd29754922acd171a049512537076b44048bdd91063f1fed71bbbfb662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/openfang-memory/src/knowledge.rs:28-51 | crates/openfang-memory/src/knowledge.rs:54-80 | crates/openfang-memory/src/semantic.rs:100-129 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"crates/openfang-memory/src/knowledge.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc31d031d2bb92decab2c257388d1a9d6371e9470b71214ab54f76ace0dfd72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/openfang-api/src/routes.rs:10909-10933 | crates/openfang-api/src/routes.rs:10939-10963 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10909}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5487c4f1aab4c48ab9a33adbae5a3480387a79166e30b06daf4c8853dd3a9fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/openfang-cli/src/tui/screens/settings.rs:219-236 | crates/openfang-cli/src/tui/screens/settings.rs:238-255 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"crates/openfang-cli/src/tui/screens/settings.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba08d001573bc525860098c9f979c6af7a33dbb0b313ea586a38f838558393dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/openfang-channels/src/viber.rs:101-122 | crates/openfang-channels/src/viber.rs:125-164 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"506ace7c36bb192f0fc0bedd5748a9e19ebf6bc08f205a561e6c04e04b807167"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/openfang-cli/src/tui/mod.rs:1578-1599 | crates/openfang-cli/src/tui/mod.rs:1688-1710 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6cebe276cf621631a853c41585c34e17947a247fbcb811f7e5728f731c420a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/openfang-memory/src/substrate.rs:476-497 | crates/openfang-memory/src/substrate.rs:553-572 \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":"crates/openfang-memory/src/substrate.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"35da1f00f21d5afb5f6478bb4eff1752f7cca2b609d0072a1a1a48a00c176a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/openfang-runtime/src/host_functions.rs:139-157 | crates/openfang-runtime/src/host_functions.rs:186-210 \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":"crates/openfang-runtime/src/host_functions.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5839b10729f1689b5034ffa9f7cb79d2b0277d42c2fe00741e05d3c87597ef49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/openfang-cli/src/main.rs:5598-5628 | crates/openfang-cli/src/main.rs:5656-5678 \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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5598}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6087f91b415650f5a2fede4437baa8f13224bf73a0c3e738f6a5ae485cac1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/openfang-runtime/src/a2a.rs:445-480 | crates/openfang-runtime/src/a2a.rs:483-511 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"crates/openfang-runtime/src/a2a.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"0549bceee04fdd5ab07d2c5e771aad27b05a04028277b64b1c51a1045b8a95f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/openfang-channels/src/mastodon.rs:70-94 | crates/openfang-channels/src/mattermost.rs:66-87 | crates/openfang-channels/src/revolt.rs:108-125 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c2e9d057c71cd160fef5b522a3e8cb69424014b6a6c99175c2000bccebf606"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/openfang-api/src/routes.rs:11365-11388 | crates/openfang-api/src/routes.rs:11395-11419 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":11365}}}],"partialFingerprints":{"codehealthFindingId/v1":"002946712a6d8c6e3674f5eae4891e02d2e1a57468320c5520ab6fd38cee20cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/openfang-cli/src/tui/screens/agents.rs:665-689 | crates/openfang-cli/src/tui/screens/agents.rs:691-714 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"8358b6afb34581d5092222d3f29dec73d20a0c688eb61947c9b99e295f5ad82e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 26\u002B corresponding lines): crates/openfang-channels/src/guilded.rs:88-113 | crates/openfang-channels/src/pumble.rs:89-115 | crates/openfang-channels/src/pumble.rs:319-351 | crates/openfang-channels/src/webex.rs:155-181 | crates/openfang-channels/src/webex.rs:189-222 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 26 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"49efad52fd6546830f7964af308e252776823ad7a70bd991849394309c4ad3a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/openfang-channels/src/google_chat.rs:106-132 | crates/openfang-channels/src/teams.rs:138-169 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"932bd174b842d837a329a2483893f5b1e684c3c00fbd7aafe9bcc911e4bef324"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/openfang-runtime/src/context_budget.rs:62-95 | crates/openfang-runtime/src/context_budget.rs:202-230 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"crates/openfang-runtime/src/context_budget.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"51221f3acfd2eb9c8c9f15a9f08a984ac3874b10f4186d0553e8eaba9a05b4b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): crates/openfang-cli/src/tui/event.rs:1540-1563 | crates/openfang-cli/src/tui/event.rs:1566-1589 | crates/openfang-cli/src/tui/event.rs:2030-2055 | crates/openfang-cli/src/tui/event.rs:2699-2726 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bad2673183355e8e29da2d7fbfad3b5f133975306e4660d8213e61d444358a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): crates/openfang-cli/src/tui/event.rs:1263-1287 | crates/openfang-cli/src/tui/event.rs:1394-1416 | crates/openfang-cli/src/tui/event.rs:2058-2082 | crates/openfang-cli/src/tui/event.rs:2674-2696 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9917989a2c98f9bb3c67854bcea677cfd1b60971e51b493a03fc907775a31c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): crates/openfang-channels/src/gitter.rs:103-128 | crates/openfang-channels/src/mattermost.rs:106-132 | crates/openfang-channels/src/mattermost.rs:431-464 | crates/openfang-channels/src/twist.rs:184-210 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23d07f1d60412f285ccefa83167868fd5b607c89c9e8db250a1115ed2309e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/openfang-runtime/src/browser.rs:878-903 | crates/openfang-runtime/src/browser.rs:1005-1018 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e17a6a53a7e042957ad7d4db0be635b7192c80b8be4036bd38e18cf63b8a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/openfang-channels/src/discord.rs:134-154 | crates/openfang-channels/src/discord.rs:219-239 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a749a6738b3208a2e08f857f944ae6ab4030f29f88c07bfa0c0c5719595625"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/openfang-channels/src/line.rs:182-212 | crates/openfang-channels/src/line.rs:220-254 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9b7a2a7d62a2ba973df0c5583b40bec8434c1dae8ac6c29d260e108d39c8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/openfang-channels/src/twist.rs:72-93 | crates/openfang-channels/src/webex.rs:69-92 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08f4024ac262a991f43971de8413b7a0a02502ff78ec5ee35355087bc54c767"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 24\u002B corresponding lines): crates/openfang-channels/src/discourse.rs:133-157 | crates/openfang-channels/src/nextcloud.rs:126-152 | crates/openfang-channels/src/revolt.rs:132-155 | crates/openfang-channels/src/revolt.rs:164-195 | crates/openfang-channels/src/rocketchat.rs:97-123 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 24 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e2e1ef8216b3cc375e470542b4c18f5bed5da9f1955f04f63aa400a3397f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/openfang-channels/src/messenger.rs:69-87 | crates/openfang-channels/src/reddit.rs:156-171 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a15833ed6674c81be9212766925f92a9283570757f298472354f90f83a4b88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/openfang-api/src/routes.rs:7120-7140 | crates/openfang-api/src/routes.rs:7266-7286 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7120}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f3ba3493d8ac8af5f540335eca21b943098ffc7fca62c45c02e79c1b5f9697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/openfang-api/src/routes.rs:669-693 | crates/openfang-api/src/routes.rs:1420-1445 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"82080a8fc500dadcf8bcd72ca5bef778776208f9759febb5184c4d4689a2b725"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/openfang-channels/src/whatsapp.rs:82-115 | crates/openfang-channels/src/whatsapp.rs:148-162 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bcf0efe4f01408621302b72710506cf4dc0a41db0c43587e4385eb3418fbd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/openfang-channels/src/dingtalk.rs:108-124 | crates/openfang-channels/src/linkedin.rs:189-205 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afa4f9dadb008ee54a98b5965ee7ac861938ec7a0021c554311e01db719148a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/openfang-channels/src/keybase.rs:85-110 | crates/openfang-channels/src/keybase.rs:117-147 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da4f426d3f5990c7ea7fc81f54246597ba23186aae33d7fdcf5531462a6f41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/openfang-channels/src/threema.rs:87-109 | crates/openfang-channels/src/zulip.rs:140-171 \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":"crates/openfang-channels/src/threema.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4997c0856d5a507409c9b7b462220b5842837dc971a12fc02f206f3d17c2620"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/openfang-cli/src/tui/screens/memory.rs:252-270 | crates/openfang-cli/src/tui/screens/triggers.rs:249-266 | crates/openfang-cli/src/tui/screens/workflows.rs:281-301 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"7486514405227ad5c17434351ae438235e082c66d8b0be550cce362b617ada15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/openfang-channels/src/messenger.rs:94-124 | crates/openfang-channels/src/signal.rs:53-71 \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":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad2f1aaa1dd97c1303aa93e683b09e9126b6c5159c373a63eeea8350414e8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/openfang-runtime/src/tool_runner.rs:37-58 | crates/openfang-runtime/src/tool_runner.rs:64-85 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"01df5bf18c1f55ff47197b09cd4cc6d4d36fae5e9420f9b858559e1015fa3a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/openfang-api/src/routes.rs:1090-1117 | crates/openfang-api/src/routes.rs:1228-1250 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1309925d6c86c19c8ffa5ff95a855a364e93f1c9d5cb4686359bf616c7c729"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/openfang-channels/src/gitter.rs:131-146 | crates/openfang-channels/src/ntfy.rs:82-103 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c8001da7041da2ddf42d77f870058b0cc283a4a3d266933cb1394a36677aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/openfang-cli/src/tui/screens/sessions.rs:65-83 | crates/openfang-cli/src/tui/screens/templates.rs:164-182 \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":"crates/openfang-cli/src/tui/screens/sessions.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9352d055b9ff6f05b5ce24f17c5ac56d23550a62e61d1692689a0f18e4a91e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/openfang-cli/src/tui/chat_runner.rs:547-566 | crates/openfang-cli/src/tui/mod.rs:1777-1801 \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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"405d591f23acf5b50d6d85458e022304ea13bde1dea01ed9e6926130f935d301"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/openfang-cli/src/tui/mod.rs:1456-1485 | crates/openfang-cli/src/tui/mod.rs:1719-1738 \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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4666b18c2e4e27f5b9c08569a736eed6d2996cfbcc176e6ae732e77c51e2205a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): crates/openfang-memory/src/session.rs:78-101 | crates/openfang-memory/src/session.rs:494-515 | crates/openfang-memory/src/usage.rs:83-106 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4950bf61398e5439162af4b8d5007b1ee5ed0719bffcf7b7a68a1538039c64a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/openfang-channels/src/slack.rs:108-128 | crates/openfang-channels/src/slack.rs:433-452 \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":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7216b6127cc39dc97f6d499eb3b93c21c2865635424b0b8188e1555324407695"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/openfang-cli/src/main.rs:5896-5918 | crates/openfang-cli/src/main.rs:6470-6487 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5896}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df8e825945d28445d58e75aa3ee5936c87c935ea3aae4a4f4ed586d143ebb13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/openfang-api/src/routes.rs:11711-11735 | crates/openfang-api/src/routes.rs:11817-11829 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":11711}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8d15c02b2deade858d5b97eac02dbfb3fdf72b1e357bb9b81ee0f78242532c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/openfang-channels/src/guilded.rs:65-81 | crates/openfang-channels/src/zulip.rs:115-131 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5209801dfce68e1b196741f21bf4189fc5b27369eba660f6cc958b99029c373e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/openfang-api/src/routes.rs:3374-3393 | crates/openfang-api/src/routes.rs:3399-3419 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3374}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aef14ee4402c8f1d17d1f7f8be5160347c868f86b4d1f2734a050d9f02e6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): crates/openfang-channels/src/gitter.rs:84-100 | crates/openfang-channels/src/twist.rs:97-120 | crates/openfang-channels/src/twist.rs:127-147 | crates/openfang-channels/src/twist.rs:154-177 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95b3791bca72c8a584abdc6d5f8befc2573203fd2a227aa5837bea3ee22b075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/openfang-runtime/src/drivers/gemini.rs:516-539 | crates/openfang-runtime/src/drivers/vertex.rs:414-436 \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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f08af8f590d2e805de741266550781a532dc28f75f2b1493b496b2ebaa2c22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): crates/openfang-channels/src/discourse.rs:82-96 | crates/openfang-channels/src/linkedin.rs:77-97 | crates/openfang-channels/src/nextcloud.rs:79-93 | crates/openfang-channels/src/rocketchat.rs:79-90 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e23cfbc81f96ae2eb3523110e936d3b88e3f30d7b9936f8b03e1c5843f6f762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/openfang-channels/src/discourse.rs:105-126 | crates/openfang-channels/src/gotify.rs:63-78 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdd86cd339350fbf4a425257e26fcbe0c7f67b998f20a4b09862aa4fc7869ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/openfang-cli/src/dotenv.rs:39-62 | crates/openfang-cli/src/dotenv.rs:144-163 \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":"crates/openfang-cli/src/dotenv.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce2b68828b553c9c37bf124091c96d7d0d982097afd379b17f883c725b97f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/openfang-runtime/src/apply_patch.rs:433-450 | crates/openfang-runtime/src/apply_patch.rs:453-474 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84bbfb517d3bba0fc7470aef25a8a99422c3a1103e56fd4262d224aefca39c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): crates/openfang-channels/src/flock.rs:62-81 | crates/openfang-channels/src/gitter.rs:59-81 | crates/openfang-channels/src/pumble.rs:62-82 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5a010df91e9276f91782039c34e3653e101a0d4ba9e6f93051c0e37bf4ecb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/openfang-runtime/src/drivers/gemini.rs:492-513 | crates/openfang-runtime/src/drivers/vertex.rs:394-412 \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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"a843282830cbb07280e9df7f90c4e4e9ea017fc83a10a5546c166494328f6337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/openfang-api/src/ws.rs:1498-1513 | crates/openfang-cli/src/tui/screens/chat.rs:868-882 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"crates/openfang-api/src/ws.rs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"b872a163ec827c83d1e6b2df93a1ad0a1cc58ad2f7ba8796c5f2a66f6e84a652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/openfang-runtime/src/browser.rs:910-931 | crates/openfang-runtime/src/browser.rs:1110-1119 \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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d06a9fc2491a4e58c8edf76e39f7582310ded09b33aab2d3e90840a3d4bdab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/openfang-api/src/routes.rs:3426-3444 | crates/openfang-api/src/routes.rs:3450-3466 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3426}}}],"partialFingerprints":{"codehealthFindingId/v1":"644a2f24077e8875f6e2631cfc9785f00033f4bc939fe28a853261879d4e6541"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/openfang-hands/src/registry.rs:296-310 | crates/openfang-hands/src/registry.rs:321-329 \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":"crates/openfang-hands/src/registry.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d3346c6523f14c3b7a3cf855703c902ba9ca09b6094be6585e82ee09641752"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/openfang-runtime/src/browser.rs:938-957 | crates/openfang-runtime/src/browser.rs:1057-1076 \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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bb1c1b435396258a1998d88c1c33fd44e0965989c0f0d57454de971e9c63d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/openfang-cli/src/main.rs:4269-4289 | crates/openfang-cli/src/main.rs:4291-4313 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":4269}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a768de4fc67f153b0a2244f435472a582a1978ad580161b3a50988a04f481d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/openfang-extensions/src/registry.rs:55-68 | crates/openfang-kernel/src/cron.rs:109-123 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"crates/openfang-extensions/src/registry.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90b426afed520eb618686eaa0819ac4b6a3ec30399050c75950f165603c2ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/openfang-api/src/routes.rs:6399-6424 | crates/openfang-api/src/routes.rs:6875-6894 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":6399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f730790afb26c40ed0627b8ae4e0a2a95223febf305090e75f3187eccd8d9632"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-cli/src/tui/screens/extensions.rs:95-109 | crates/openfang-extensions/src/registry.rs:142-153 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-cli/src/tui/screens/extensions.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0bbbd0400036e1c665bda8b05fb3a8575815748e4856c9632bf84be42308d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/openfang-api/src/routes.rs:1010-1025 | crates/openfang-api/src/routes.rs:1068-1084 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"db295ad0e2400f3d7fa201f425fd060a137236bd37645706b6558b6bc1197cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/openfang-hands/src/lib.rs:341-356 | crates/openfang-migrate/src/openclaw.rs:3260-3273 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"crates/openfang-hands/src/lib.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"972f20a26393bb926b8076837ffc121adfee07b99ed2e30cbe1dabfa6ccd20f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/openfang-cli/src/main.rs:6137-6149 | crates/openfang-cli/src/main.rs:6489-6505 | crates/openfang-cli/src/main.rs:6567-6583 | crates/openfang-cli/src/main.rs:6642-6654 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6137}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad2f8fd9952c4039af8522f22cf674ea02ba141c11104878aed782538e6004c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/openfang-runtime/src/drivers/claude_code.rs:117-130 | crates/openfang-runtime/src/drivers/qwen_code.rs:75-88 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"861e5523dc0131369854fb978c46bd6962c61c11049a1c48fdbe6fdff96fa861"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/openfang-api/src/routes.rs:9585-9601 | crates/openfang-kernel/src/kernel.rs:6971-6988 | crates/openfang-runtime/src/tool_runner.rs:2269-2285 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9585}}}],"partialFingerprints":{"codehealthFindingId/v1":"77463ea79547d211095305a18d9ccdf70721480dcd3c15f5cec85c8002359b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/openfang-kernel/src/triggers.rs:152-172 | crates/openfang-kernel/src/triggers.rs:218-243 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"crates/openfang-kernel/src/triggers.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4fcbbcfa3b63b3fcf284136aaef842b0dbc7e50bc7be08b02d276633f11132"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/openfang-memory/src/substrate.rs:426-435 | crates/openfang-memory/src/substrate.rs:446-463 \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":"crates/openfang-memory/src/substrate.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5210bee47c59375659c638402bc31947036a12d1ec6e7eb1ca81d94e484a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/openfang-extensions/src/vault.rs:133-149 | crates/openfang-extensions/src/vault.rs:213-230 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/vault.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a99c5066d9118bf32dc51a9df0d9647da789fa68c2756c15a67321912ccda2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/openfang-channels/src/matrix.rs:322-335 | crates/openfang-channels/src/matrix.rs:343-358 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"394eab3ec19c225540516537dbaeca56c3347fc165e686937b2daee18bd8fc24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/openfang-cli/src/main.rs:3364-3383 | crates/openfang-cli/src/main.rs:3460-3478 \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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c40e277bf1a5fe5d4f2747ae975a526677a43bcf9502cc5df8df807699fe38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/openfang-runtime/src/drivers/claude_code.rs:141-157 | crates/openfang-runtime/src/drivers/qwen_code.rs:116-136 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce7d7283459895238fe5b73354f0e658c424ed165b85d4e4c1fe00a04547c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/openfang-runtime/src/audit.rs:69-79 | crates/openfang-runtime/src/loop_guard.rs:515-525 \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":"crates/openfang-runtime/src/audit.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d36af400acf9436d56e32238eb2d5ece225eca704137bdf47a42b96a82a443"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-cli/src/tui/screens/comms.rs:271-282 | crates/openfang-cli/src/tui/screens/comms.rs:284-295 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-cli/src/tui/screens/comms.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2806e70e5042c95e163c2d2e30e2fc8ce4712e7d0cf63c79eb325bbd45b65f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 12\u002B corresponding lines): crates/openfang-memory/src/usage.rs:109-123 | crates/openfang-memory/src/usage.rs:126-140 | crates/openfang-memory/src/usage.rs:143-157 | crates/openfang-memory/src/usage.rs:160-174 | crates/openfang-memory/src/usage.rs:177-191 | crates/openfang-memory/src/usage.rs:306-317 | crates/openfang-memory/src/usage.rs:320-334 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 12 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":"crates/openfang-memory/src/usage.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd02ac5cbc685758850b074774696d86c379e40e9e3fd328b7e0a6ec623aec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): crates/openfang-memory/src/semantic.rs:404-416 | crates/openfang-memory/src/session.rs:104-115 | crates/openfang-memory/src/session.rs:118-129 | crates/openfang-memory/src/session.rs:132-143 | crates/openfang-memory/src/session.rs:203-214 | crates/openfang-memory/src/structured.rs:243-254 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 12 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/semantic.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ff53e9c63dcfdadaec8351bb13adb4710f575d6c7bcb9bf50b0dcefe6f5693"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/openfang-runtime/src/drivers/claude_code.rs:213-230 | crates/openfang-runtime/src/drivers/qwen_code.rs:150-166 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f75f004d45af707b6f053f2b50e621ee90c47adee9ed736cef660269302284f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/openfang-api/src/routes.rs:4862-4873 | crates/openfang-api/src/routes.rs:4879-4890 | crates/openfang-api/src/routes.rs:4896-4907 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4862}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5aa9321091d4e08b00fb89efe635d28977ffcf23a337e16042a5c8906ff3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-channels/src/mattermost.rs:52-63 | crates/openfang-channels/src/revolt.rs:74-88 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0386655eee7f60bbc95292f1c7f928ac7d755bd1c8958d0dcffe569349d8817f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-kernel/src/kernel.rs:7186-7201 | crates/openfang-kernel/src/kernel.rs:7233-7244 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7186}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c65947d3ed9ac4eb3b6a92d149b0ca08a9ed2d0010ce9ab8aa7657088f8c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-channels/src/mumble.rs:121-136 | crates/openfang-channels/src/mumble.rs:143-154 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff818fc09d5d297808a0c17793aea71defcddb4be7704bcd03a13c7a572b81f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/openfang-extensions/src/lib.rs:67-76 | crates/openfang-hands/src/lib.rs:56-67 \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":"crates/openfang-extensions/src/lib.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c289a38e3133cfc503cf2055ce699aaa1ee4b9a65e06652eac26dfc2fd5582"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-channels/src/signal.rs:75-86 | crates/openfang-channels/src/threema.rs:65-80 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-channels/src/signal.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9349666592e80261ea8be88ef8a84348c695373ea463cbd0d9f0916f86a426"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-runtime/src/llm_errors.rs:530-541 | crates/openfang-runtime/src/prompt_builder.rs:642-653 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-runtime/src/llm_errors.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69eee9a6bcfee8c03d58230523446567f2ba7b7878b5c8125092ab21702fcbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-kernel/src/registry.rs:205-216 | crates/openfang-kernel/src/registry.rs:261-274 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-kernel/src/registry.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c00ee47bedbf2317faaea250a408b79d2d258c10cc0970829aff417d026aa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/openfang-memory/src/structured.rs:69-80 | crates/openfang-memory/src/substrate.rs:358-368 \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":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c24a6eb9d28f20128fb0315acd60ac8d02b8631830050ba4a20bf7d6a134b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/openfang-cli/src/tui/screens/agents.rs:328-338 | crates/openfang-cli/src/tui/screens/agents.rs:341-351 \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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c232b11a6c75ca82116823a571ce610a70a1852cdd4fd11101b43556ac213a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-skills/src/clawhub.rs:397-413 | crates/openfang-skills/src/clawhub.rs:449-460 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-skills/src/clawhub.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4321d441cc25c3c1a65c17f1592ca5e7f208699dae84e5391af7b65a285e6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/openfang-api/src/routes.rs:3026-3043 | crates/openfang-api/src/routes.rs:9107-9121 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3026}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55ea6e3ae1928676677a4b080d8002938843431d0e0d6c24145230446e2ccf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 12\u002B corresponding lines): crates/openfang-channels/src/bluesky.rs:79-91 | crates/openfang-channels/src/discourse.rs:59-72 | crates/openfang-channels/src/gotify.rs:49-60 | crates/openfang-channels/src/mastodon.rs:56-67 | crates/openfang-channels/src/nextcloud.rs:56-68 | crates/openfang-channels/src/rocketchat.rs:56-69 | crates/openfang-channels/src/zulip.rs:56-69 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 12 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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff298aeacbece473032bbcb1260f5ffcdd85d8b94df68b22747a7849ac88aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/openfang-channels/src/matrix.rs:671-692 | crates/openfang-channels/src/whatsapp.rs:119-140 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"c766d990c4c6bedaedbdbba0191cd2547e76e7f3a080537306ddae9ba7bb1cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/openfang-kernel/src/kernel.rs:1824-1832 | crates/openfang-kernel/src/kernel.rs:1843-1858 \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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1432249d7d8c03e5afad7a47c47fd57070b63bdde84ebffb74a21042ddc330"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/openfang-channels/src/mumble.rs:70-83 | crates/openfang-channels/src/ntfy.rs:49-64 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"49663d8eb0500cd94308fff222676c637dcf0eb420cc3931c71d394bfbba66e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/openfang-runtime/src/python_runtime.rs:98-112 | crates/openfang-skills/src/loader.rs:259-272 | crates/openfang-skills/src/loader.rs:289-303 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b500068ddc536a86516aa582ccea3bade26de4d499d992c1cf8098356abb5bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/openfang-channels/src/line.rs:62-72 | crates/openfang-channels/src/viber.rs:66-79 \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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd908952cd63a86ed9471492652e68bc2d0c228846c8736ae2e12cdf5fe4cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/openfang-runtime/src/a2a.rs:274-281 | crates/openfang-runtime/src/a2a.rs:284-290 \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":"crates/openfang-runtime/src/a2a.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bc5223229c6b6f4e01ceb4f9a6bd4a5763a020e9b5238652ee5d8b188fd6b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-runtime/src/media_understanding.rs:281-292 | crates/openfang-runtime/src/media_understanding.rs:393-405 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-runtime/src/media_understanding.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98dc9fdf8b835553fcb7515e239c3b74551eec72fed18c1625c61b5d063bf67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): crates/openfang-memory/src/substrate.rs:621-627 | crates/openfang-memory/src/substrate.rs:634-640 | crates/openfang-memory/src/substrate.rs:642-648 | crates/openfang-memory/src/substrate.rs:657-666 | crates/openfang-memory/src/substrate.rs:673-679 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/substrate.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f38fec61aac84274cebaa14f772955ded695d4c908d496c733d8f3ead55d08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/openfang-runtime/src/llm_driver.rs:85-95 | crates/openfang-types/src/message.rs:229-241 \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":"crates/openfang-runtime/src/llm_driver.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3d6be27eb65cb37c66dd2f90d7edbc1c186d41b46cb994e0c585c002281e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/openfang-channels/src/discourse.rs:352-367 | crates/openfang-channels/src/discourse.rs:374-388 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cc2894127e2d5bbb7ce8238cc73b7f788bbecde4c0398cf78ee89c424129a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/openfang-channels/src/discord.rs:706-719 | crates/openfang-channels/src/slack.rs:389-401 | crates/openfang-channels/src/slack.rs:408-421 | crates/openfang-channels/src/teams.rs:354-374 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0d91343a3bfce4e12838edfc038d2680968fba36ffb612e91f3bb29d917cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): crates/openfang-kernel/src/registry.rs:170-178 | crates/openfang-kernel/src/registry.rs:186-195 | crates/openfang-kernel/src/registry.rs:285-293 | crates/openfang-kernel/src/registry.rs:360-369 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/registry.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4de9c4fd9e7507ab7a5796ac36e5da7b073d84eb86e45bffee89ea57ed9418f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): crates/openfang-channels/src/irc.rs:77-90 | crates/openfang-channels/src/keybase.rs:59-70 | crates/openfang-channels/src/teams.rs:66-78 | crates/openfang-channels/src/wecom.rs:213-227 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9bdf38b7dcd1cf163e8856a5f1d4cfa7d7a006c37b2ef3fbede847382d5d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/openfang-kernel/src/kernel.rs:7611-7620 | crates/openfang-kernel/src/kernel.rs:7622-7632 \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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7611}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7048e40fd7869eb77f64a0329bfebee0d94c6e5fdec285c8d76b1cdc4600b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/openfang-api/src/routes.rs:6835-6846 | crates/openfang-api/src/routes.rs:11695-11706 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":6835}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3078f7eae31945625a93e458a8f01dacedc527c83d626023d5c0e4d9a4d904"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/openfang-channels/src/google_chat.rs:52-63 | crates/openfang-channels/src/nostr.rs:49-58 | crates/openfang-channels/src/twist.rs:58-69 | crates/openfang-channels/src/webex.rs:56-66 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"358a5c7fad76f2abb9e64f11e8cb958a9d4a78636411186c3b94603523aa3ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/openfang-channels/src/whatsapp.rs:53-66 | crates/openfang-channels/src/threema.rs:52-62 \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":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec93aa41ea8a166f608723e7bd82713d0929a52a99bf56d9ffeb1253d14d2933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/openfang-channels/src/router.rs:298-305 | crates/openfang-kernel/src/kernel.rs:4093-4100 \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":"crates/openfang-channels/src/router.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd593c0653eedf4be2fecfd2b22ca4a9354c3b493aa8258279305698c226bad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/openfang-channels/src/dingtalk_stream.rs:44-55 | crates/openfang-channels/src/signal.rs:36-46 \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":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"504e6a00ac0dce6046e9f46bfea1827da389c6143511cafdd15ebec91e33d983"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/openfang-runtime/src/a2a.rs:263-271 | crates/openfang-wire/src/registry.rs:115-120 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"crates/openfang-runtime/src/a2a.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"240145208c8f9e58f78aecf52e46aca7277053f16aaccda02ee2e643255bf27c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/openfang-channels/src/twitch.rs:50-59 | crates/openfang-channels/src/webhook.rs:73-83 \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":"crates/openfang-channels/src/twitch.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30e142b625eec66ddcac1c316063114ad76d9fcc4334bfcbad69c3bb92ec89e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/openfang-api/src/server.rs:942-946 | crates/openfang-runtime/src/drivers/copilot.rs:87-91 \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":"crates/openfang-api/src/server.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"625559eec4c8d2f5a0f67698c096ab46ca3f43c3d347f5e31ba3c279e902a4ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/openfang-kernel/src/background.rs:189-194 | crates/openfang-kernel/src/scheduler.rs:112-117 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"crates/openfang-kernel/src/background.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1645c274a856e2ee892dd95e721652faaa832b3515ddfb39a40e55a91ef75a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/openfang-api/src/server.rs:933-936 | crates/openfang-cli/src/main.rs:1148-1151 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"crates/openfang-api/src/server.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"032165f59854dba549ea576592155cd25d268f752b342fee4a95dd8850f418d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): crates/openfang-channels/src/gotify.rs:312-318 | crates/openfang-channels/src/linkedin.rs:369-377 | crates/openfang-channels/src/twist.rs:509-518 | crates/openfang-channels/src/zulip.rs:457-467 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"2043f2f8e7d15886e9e7e698b4c7c31f4776affe23e47e72bc92a47a1f6bd51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/openfang-channels/src/types.rs:193-198 | crates/openfang-kernel/src/kernel.rs:281-288 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"crates/openfang-channels/src/types.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f310ef83e724189e1bad739a69978847d34a6e0567153196dfd7a92dfecfed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/openfang-channels/src/gitter.rs:334-340 | crates/openfang-channels/src/ntfy.rs:327-333 \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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3fda90a306d878016c31845a1c25777ad8fe56e13ac8eb080d3346f3b92274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/openfang-hands/src/registry.rs:81-87 | crates/openfang-kernel/src/kernel.rs:6367-6376 \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":"crates/openfang-hands/src/registry.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddb59f301ace10ae3a65997a77e33652c776bcdb75f0d15608e07956338e647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (116\u2013125 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:345-469 | crates/openfang-runtime/src/agent_loop.rs:1573-1688 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:345\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"68df39b159990a5db4165514771f4535e63b8986da88d10791fc588b8fc17ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (117\u2013119 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:2178-2294 | crates/openfang-kernel/src/kernel.rs:2757-2875 \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 \u0060crates/openfang-kernel/src/kernel.rs:2757\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"83391d80f8b97b5730e2e32870b0fd1c00df0a8b3ebd0b4f50f50c7eaa5090db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (85\u201388 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:998-1085 | crates/openfang-runtime/src/agent_loop.rs:2222-2306 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:998\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e2000ceb753852657b8f43630f314d30e417df176e250f642a9edd7cd4f51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): crates/openfang-channels/src/bridge.rs:1378-1455 | crates/openfang-channels/src/bridge.rs:1848-1925 \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 \u0060crates/openfang-channels/src/bridge.rs:1378\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05a53ea9ca3242bd2da81ceb6f767fedf47373e2f0daf0623659f3fd2fedf16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (111 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:886-996 | crates/openfang-runtime/src/agent_loop.rs:2095-2205 \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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"e472f8d1f2156483419fb00ec82b793a1f292a798c1646d5f29c6d6d3d457512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63\u201369 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:781-849 | crates/openfang-runtime/src/agent_loop.rs:1997-2059 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:781\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8bcf9565a6a291515e73e45ae38bcc01cbdccfd0d36f1b38feb54b91c8770b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201350 lines \u00D7 2): crates/openfang-skills/src/openclaw_compat.rs:183-232 | crates/openfang-skills/src/openclaw_compat.rs:291-335 \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 \u0060crates/openfang-skills/src/openclaw_compat.rs:183\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":"crates/openfang-skills/src/openclaw_compat.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"be662348675dc324ee2d997307a5edf5804a20248368daf14c261f233214eee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): crates/openfang-api/src/routes.rs:912-975 | crates/openfang-api/src/routes.rs:1135-1198 \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 \u0060crates/openfang-api/src/routes.rs:912\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6929bfce377e3c5f660fb003f92e40b2816e37efa0e5183542635952626bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201345 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:702-746 | crates/openfang-runtime/src/agent_loop.rs:1923-1962 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:702\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d6d86f64650033c39c6456320a567d505737a21c34fe112ea35e41c8fe2a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:123-161 | crates/openfang-cli/src/tui/mod.rs:1158-1196 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:123\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"693c632b4d22ccca5fa6070fd415ea4d12cdca2476b96bade2752e5b81a1e6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:608-644 | crates/openfang-runtime/src/agent_loop.rs:1849-1885 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:608\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7442638089b72f08a08875c6832bc3af5753654f914eff75c45d9c6ceff3b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:471-506 | crates/openfang-runtime/src/agent_loop.rs:1690-1725 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:471\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"287e4de64d57e0d63139df4f2fb468a6ddb9556d0233bdc1b4104ae9918d722f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/openfang-cli/src/main.rs:5040-5074 | crates/openfang-cli/src/main.rs:5163-5197 \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 \u0060crates/openfang-cli/src/main.rs:5040\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5040}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc263aa87510f668874dc275377a3af215178525f2d9a96a0a5a87795bebf6be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): crates/openfang-runtime/src/drivers/claude_code.rs:462-496 | crates/openfang-runtime/src/drivers/qwen_code.rs:257-290 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/claude_code.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/qwen_code.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 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 \u0060crates/openfang-runtime/src/drivers/claude_code.rs:462\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8501182eec08ec1767ea360de187d3e76bceafd772e986ad4c4097b0a00542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/openfang-channels/src/bridge.rs:1222-1255 | crates/openfang-channels/src/bridge.rs:1721-1754 \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 \u0060crates/openfang-channels/src/bridge.rs:1721\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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8906ac5352f516ee31cc8623196b006a42b394c808e0bbac6ba45ad0311695c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:1087-1120 | crates/openfang-runtime/src/agent_loop.rs:2308-2340 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:1087\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62e54319424a66bffdde4f92002f24cfd275d993bf088cbcc8d129af4f889fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:748-779 | crates/openfang-runtime/src/agent_loop.rs:1964-1995 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:748\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65d6a75c2960fa10e8e43f352f518a58adb83f55468afd5533fe4c360d6a209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): crates/openfang-runtime/src/drivers/claude_code.rs:601-630 | crates/openfang-runtime/src/drivers/qwen_code.rs:348-378 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/claude_code.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/qwen_code.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 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 \u0060crates/openfang-runtime/src/drivers/claude_code.rs:601\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8b4dc030b921963331b521fc1f3701c431c791ab49962bf4b044cbe77319f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:577-606 | crates/openfang-runtime/src/agent_loop.rs:1820-1847 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:577\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d035c8d09cd09f8b213cae1377e072165687be6fb1da15ec8c4dd8429b4322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/openfang-channels/src/matrix.rs:566-593 | crates/openfang-channels/src/matrix.rs:596-623 \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":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"27746ff506c9a6b99795d82b43bad541d91ca9832833e982e714ee8fb4c30702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:846-873 | crates/openfang-runtime/src/drivers/openai.rs:1186-1210 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/drivers/gemini.rs:846\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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a69acfd810bdd2ca4b73f1b55c431250bdf95b70d933a9ffc41eed4efc94f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 3): crates/openfang-api/src/routes.rs:10235-10261 | crates/openfang-api/src/routes.rs:10305-10330 | crates/openfang-api/src/routes.rs:10419-10444 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-api/src/routes.rs:10333\u0060 calls \u0060join\u0060 and \u0060crates/openfang-api/src/routes.rs:10447\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10235}}}],"partialFingerprints":{"codehealthFindingId/v1":"016d38f00cda3ec6ec02d99dc387db03201ec896e4d3a8991c43f035f5c40e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): crates/openfang-channels/src/bridge.rs:961-986 | crates/openfang-channels/src/bridge.rs:995-1021 \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 \u0060crates/openfang-channels/src/bridge.rs:961\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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"69aec69ea2b025ca1e44e030bf9913d407fe01ebd8713b838d17686bf5f4a763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201326 lines \u00D7 2): crates/openfang-channels/src/router.rs:180-205 | crates/openfang-channels/src/router.rs:221-239 \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 \u0060crates/openfang-channels/src/router.rs:180\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/router.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f8ee6d9abf7011ed83e92b94b5f924e0f05169e320aa7dceedde23c0f305db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/openfang-cli/src/launcher.rs:398-426 | crates/openfang-cli/src/tui/screens/welcome.rs:314-342 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/launcher.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/welcome.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-cli/src/launcher.rs:398\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut LauncherState\u0060 in one and \u0060\u0026mut WelcomeState\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":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86165d6e1d05af7aa85f51372d17662dd991badceec1377f579d345668d3d67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): crates/openfang-cli/src/main.rs:3575-3600 | crates/openfang-cli/src/main.rs:3657-3680 \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 \u0060crates/openfang-cli/src/main.rs:3575\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a418d5d4a01a5995b19da13984559bbadb6584cc411bff25254e35c0d56fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:479-504 | crates/openfang-cli/src/tui/mod.rs:1968-1993 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:479\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c4df074f8ad5b80f1a221486ed42babb050f40847e768a6d837492b2befd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/openfang-kernel/src/workflow.rs:484-509 | crates/openfang-kernel/src/workflow.rs:660-685 \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 \u0060crates/openfang-kernel/src/workflow.rs:484\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":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b52461bef8a0bd7e2afa5e0076a38a90bb6d82439029d4ecd65b929937a0a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:518-541 | crates/openfang-runtime/src/agent_loop.rs:1755-1780 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:518\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-runtime/src/agent_loop.rs:1782\u0060 calls \u0060cb\u0060 and \u0060crates/openfang-runtime/src/agent_loop.rs:542\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"794a2f040af912af04010796ade809302f1ddf8cb893fea40e7c80c38d919515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 3): crates/openfang-skills/src/loader.rs:88-112 | crates/openfang-skills/src/loader.rs:193-214 | crates/openfang-skills/src/loader.rs:337-360 \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 \u0060crates/openfang-skills/src/loader.rs:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-skills/src/loader.rs:114\u0060 calls \u0060env\u0060 and \u0060crates/openfang-skills/src/loader.rs:362\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a686b5c49f158aac1cc2e6620cf97232c967a397d318b4294049d78685f18621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/openfang-api/src/routes.rs:11521-11545 | crates/openfang-api/src/routes.rs:11580-11604 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":11521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b895e5991713e680ad83c269f850062a3fe15dc414d274ca018403ab3670f57a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:2139-2163 | crates/openfang-kernel/src/kernel.rs:2714-2738 \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 \u0060crates/openfang-kernel/src/kernel.rs:2139\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2c40d53c6d50baa543ca8a4a44f40b6550863e549b5c5592db8e525283aa0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:1388-1411 | crates/openfang-migrate/src/openclaw.rs:2621-2645 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1388\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddb899dac2dd2cb78e6e8003102902a399a78a883ea8ffe4bfe73e0cb62d6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201339 lines \u00D7 2): crates/openfang-runtime/src/drivers/anthropic.rs:201-239 | crates/openfang-runtime/src/drivers/anthropic.rs:310-346 \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 \u0060crates/openfang-runtime/src/drivers/anthropic.rs:201\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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3bffacde6fc484a1aa10e04b5113bd0539273f6f633bd446247fe2938e56d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/openfang-runtime/src/drivers/copilot.rs:653-677 | crates/openfang-runtime/src/drivers/copilot.rs:703-726 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/drivers/copilot.rs:653\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/copilot.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f5e8e2c83353206893afbc931426e46b1703159b6b67e594815f739a74e773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:913-934 | crates/openfang-runtime/src/drivers/gemini.rs:1009-1033 \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 \u0060crates/openfang-runtime/src/drivers/gemini.rs:913\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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"672b1e240ec4619aa5c19cf468a86b1520618702061adb68b9aa1ee06ce55c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): crates/openfang-wire/src/peer.rs:268-291 | crates/openfang-wire/src/peer.rs:401-421 \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 \u0060crates/openfang-wire/src/peer.rs:268\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":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eae207f928cb9002065ff8cad9cfaa5109f838e6d7c3c1e1975feb79bb8e0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 4): crates/openfang-cli/src/tui/screens/hands.rs:198-219 | crates/openfang-cli/src/tui/screens/settings.rs:268-289 | crates/openfang-cli/src/tui/screens/skills.rs:315-336 | crates/openfang-cli/src/tui/screens/usage.rs:160-182 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/hands.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/settings.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/tui/screens/hands.rs:198\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut HandsState\u0060 in one and \u0060\u0026mut SettingsState\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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e17a5a3740d958f1d4e2525ffb1bd07d2acc740b7f80e0701d18a8cc1980571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/openfang-api/src/routes.rs:3152-3174 | crates/openfang-api/src/routes.rs:3200-3221 \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 \u0060crates/openfang-api/src/routes.rs:3152\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dae50a877f6492f14784cd14e565336d8fa93de372d49b5058bd38f2156ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/openfang-channels/src/gitter.rs:249-271 | crates/openfang-channels/src/mqtt.rs:311-333 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/gitter.rs:249\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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"030aeca820cf69a867a57a7f96a21bf557f7dada2ff097559fe04d93cdd461c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/openfang-channels/src/gotify.rs:219-240 | crates/openfang-channels/src/ntfy.rs:241-263 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gotify.rs\u0060 and \u0060crates/openfang-channels/src/ntfy.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 65 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 \u0060crates/openfang-channels/src/gotify.rs:219\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":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c81121b5d56bf93e6d7a6eba78b807ecf7c01523b7d510b64d280517db6f0d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/openfang-cli/src/launcher.rs:431-458 | crates/openfang-cli/src/tui/screens/welcome.rs:347-374 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/launcher.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/welcome.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-cli/src/launcher.rs:431\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8601e9b689aae5477195a986b47e37f2d7b59bebc6e3258fb2c778abe74b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1748-1770 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2318-2340 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1748\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2e7fbfa686a8b7b518b8ce38b2a70bccec572a9128492cf4b03e3f0817e925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): crates/openfang-runtime/src/drivers/claude_code.rs:317-339 | crates/openfang-runtime/src/drivers/claude_code.rs:513-533 \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 before the matched lines, \u0060crates/openfang-runtime/src/drivers/claude_code.rs:509\u0060 calls \u0060arg\u0060 and \u0060crates/openfang-runtime/src/drivers/claude_code.rs:313\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":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd91cf3eb0be6901968e0978ae28272bb23218344d551c7c45cc1051bf6ab853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): crates/openfang-skills/src/registry.rs:190-212 | crates/openfang-skills/src/registry.rs:394-413 \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 \u0060crates/openfang-skills/src/registry.rs:190\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":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"743d73c574729227603c439c266f94ce40cf323878542ca1ad52953011575cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/openfang-api/src/routes.rs:9638-9659 | crates/openfang-api/src/routes.rs:9764-9785 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9638}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1f97b9432e2c633c128dc886624c98b92f6e5852f7368c82eee5da14f4d814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/openfang-cli/src/tui/screens/sessions.rs:183-204 | crates/openfang-cli/src/tui/screens/skills.rs:572-592 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/sessions.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/skills.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/tui/screens/sessions.rs:183\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut SessionsState\u0060 in one and \u0060\u0026mut SkillsState\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":"crates/openfang-cli/src/tui/screens/sessions.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c877687b1cfff4d6a074bf6864207ed3ab43da0fcf3d6ad6ef3dd017b68c65b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:2320-2341 | crates/openfang-migrate/src/openclaw.rs:3186-3207 \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 \u0060crates/openfang-migrate/src/openclaw.rs:2320\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2320}}}],"partialFingerprints":{"codehealthFindingId/v1":"683dd3a3a123fcfe7f777917942511a122a6fafb9a08d9c4867c974f6e0c2eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:1257-1278 | crates/openfang-runtime/src/agent_loop.rs:1441-1462 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:1257\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbafd73a650d0645a9494dee5b0f9d5e1191c34905ecae9289524cf855bf0fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:787-808 | crates/openfang-runtime/src/drivers/vertex.rs:607-628 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/vertex.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 122 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"061fe25c13c7e276084be0239a8bf82e8fd3e7c4b7e242fa73dcb58f5738da2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): crates/openfang-kernel/src/kernel.rs:7661-7681 | crates/openfang-kernel/src/kernel.rs:7723-7743 | crates/openfang-kernel/src/kernel.rs:7790-7810 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7661}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d2c3fe971e089dcad988ffe2ea82a2d288b1b5ab793207775dddfb154b657c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/openfang-api/src/routes.rs:3176-3196 | crates/openfang-api/src/routes.rs:3223-3242 \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 \u0060crates/openfang-api/src/routes.rs:3176\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe5c228a9607e0a50d0de65a3b02c620cd0360044d8f32fcdf2a8b9a5f7d2f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): crates/openfang-api/src/routes.rs:8425-8445 | crates/openfang-api/src/routes.rs:8527-8544 \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 \u0060crates/openfang-api/src/routes.rs:8425\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8425}}}],"partialFingerprints":{"codehealthFindingId/v1":"88910c2246ace5bc8c30eecc090a2a227cb0c6044a11c06683c7bef25db52285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/openfang-cli/src/main.rs:3602-3622 | crates/openfang-cli/src/main.rs:3682-3701 \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 \u0060crates/openfang-cli/src/main.rs:3602\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3602}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55b18c40cc991fd7f448ea5c173a1e03e1e5eb7bbe19494899c41a27000c1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): crates/openfang-memory/src/semantic.rs:472-489 | crates/openfang-runtime/src/embedding.rs:256-276 \u2014 before extracting anything, compare \u0060crates/openfang-memory/src/semantic.rs\u0060 and \u0060crates/openfang-runtime/src/embedding.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/semantic.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26d78bb0e81425c85e3636d81b87110e06ae7450bee4b60129b1808557262d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:1184-1204 | crates/openfang-runtime/src/agent_loop.rs:1372-1391 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:1184\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40156b8a1d960066e969cb99fae646105cc55d2098f5bb068946ecd58649f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:711-731 | crates/openfang-runtime/src/drivers/gemini.rs:800-820 \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 \u0060crates/openfang-runtime/src/drivers/gemini.rs:711\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0c75af6054a06f3c03ba63bc03e91f33507fca73e0fb5caed7828f149ba4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201321 lines \u00D7 2): crates/openfang-runtime/src/loop_guard.rs:386-396 | crates/openfang-runtime/src/loop_guard.rs:415-435 \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 \u0060crates/openfang-runtime/src/loop_guard.rs:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/loop_guard.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed75d4d3f1480df95ad52a35917f316169dda38f9a1b646271477c1bb1e69fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/openfang-channels/src/bridge.rs:1287-1306 | crates/openfang-channels/src/bridge.rs:1768-1785 \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 \u0060crates/openfang-channels/src/bridge.rs:1287\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb646c396c6ecb0a8fcd1b04d1d09f3311e555bfd1b3dcae811a355fb83312f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 2): crates/openfang-channels/src/bridge.rs:1344-1358 | crates/openfang-channels/src/bridge.rs:1372-1391 \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 \u0060crates/openfang-channels/src/bridge.rs:1344\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef17e9c0322988d63ef358bfd714e6ec2b149114af7a20b8f0edb8da7882967c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:446-465 | crates/openfang-cli/src/tui/mod.rs:1934-1952 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:446\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdd621ef33f1515d420abfa25dc9f354953f7133520f6171a2af1854bebe602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1432-1451 | crates/openfang-cli/src/tui/screens/wizard.rs:476-495 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/wizard.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 107 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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1432\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"51399a2f5b7dbd958c5cb61c73d5104008464da730a28a17fbc20727d1f1fc47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:556-575 | crates/openfang-runtime/src/agent_loop.rs:1800-1818 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:556\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-runtime/src/agent_loop.rs:1799\u0060 calls \u0060clone\u0060 and \u0060crates/openfang-runtime/src/agent_loop.rs:555\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"001529be8028d53ea5dcd7701b6bcfd204236d9c4be1e6b2f78ac6984c107b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:1127-1146 | crates/openfang-runtime/src/agent_loop.rs:2346-2365 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:1127\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3d9013f48c563e7cae73c230815178b240b60aa3e76068f07c5177a3808f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:892-911 | crates/openfang-runtime/src/drivers/gemini.rs:988-1006 \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 \u0060crates/openfang-runtime/src/drivers/gemini.rs:892\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19fe033273caf5c75d9d17b804c3aff2fca729c23c6d435a60211eecb0a2bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:619-638 | crates/openfang-runtime/src/drivers/openai.rs:1045-1064 \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 \u0060crates/openfang-runtime/src/drivers/openai.rs:619\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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"922311634761824b4e5f568c944f73c404d7fe3beb327d52ff3adf3fc9028107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): crates/openfang-runtime/src/subprocess_sandbox.rs:266-282 | crates/openfang-runtime/src/subprocess_sandbox.rs:296-315 \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 \u0060crates/openfang-runtime/src/subprocess_sandbox.rs:266\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":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca008aafe0151ee37d59ee598974610cb535fa9646fafceff6fd52805320c3a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/openfang-wire/src/peer.rs:661-680 | crates/openfang-wire/src/peer.rs:753-772 \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 \u0060crates/openfang-wire/src/peer.rs:661\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":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab59af2041688568746abc562eebd4348b765584294cc3705d8ed345c835625e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 4): crates/openfang-api/src/routes.rs:5677-5695 | crates/openfang-api/src/routes.rs:7412-7429 | crates/openfang-api/src/routes.rs:7497-7514 | crates/openfang-api/src/routes.rs:7576-7593 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":5677}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77aa9e54476c7e388f54b7ebd6888a21f2a5a1517d48bd84e0bcc4afebc54ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 3): crates/openfang-cli/src/tui/screens/audit.rs:199-214 | crates/openfang-cli/src/tui/screens/comms.rs:329-347 | crates/openfang-cli/src/tui/screens/peers.rs:92-107 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/comms.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 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 \u0060crates/openfang-cli/src/tui/screens/audit.rs:199\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":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"df501f0b85170fd5ec6aff1601a12d3896172a92139b4c6c98b7c92a82997690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): crates/openfang-skills/src/loader.rs:139-157 | crates/openfang-skills/src/loader.rs:239-256 | crates/openfang-skills/src/loader.rs:385-403 \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 \u0060crates/openfang-skills/src/loader.rs:139\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"479c2c6d52c249017631923a5690bbbe895a8f2c3a4118f09d9230994473e20b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:789-806 | crates/openfang-cli/src/tui/mod.rs:2420-2438 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:789\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ea6a042282cb0d59eb4c047d5a06b6c60cde4afda2648552d6cd0037076396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:1013-1031 | crates/openfang-cli/src/tui/event.rs:1077-1095 \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 \u0060crates/openfang-cli/src/tui/event.rs:1013\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"59aaed4fdebec805eb995c1bd5b8505c2f2edf5713b5dee99893373956c5bd89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/openfang-memory/src/structured.rs:182-200 | crates/openfang-memory/src/structured.rs:287-305 \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 \u0060crates/openfang-memory/src/structured.rs:182\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":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"80abe8769bd4fdc515affc5a73aada19bd26556b20389827e38d25ce8b175096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:646-664 | crates/openfang-runtime/src/agent_loop.rs:1887-1904 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:646\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"40153677f8eb05ff239d0cd02c5ddba3e8689e2075da0fcad98481155092e133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:852-870 | crates/openfang-runtime/src/agent_loop.rs:2061-2079 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:852\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace663553ba30ae3061a0163ca60621c2ddf6b708c08aaa3445a7b5acc2403c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:701-719 | crates/openfang-runtime/src/drivers/vertex.rs:528-546 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/vertex.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 122 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d317fe5a7b865f4bfcac1e62cf098b55c35bcf18610c7cf8aa17badfafae4b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:936-953 | crates/openfang-runtime/src/drivers/gemini.rs:1035-1053 \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 \u0060crates/openfang-runtime/src/drivers/gemini.rs:936\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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a61d808b9e86135ef477670205ccf8837ad4569c831a3aaab5bf03b28dc080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): crates/openfang-api/src/routes.rs:797-814 | crates/openfang-api/src/routes.rs:1475-1491 | crates/openfang-api/src/routes.rs:10227-10243 \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 \u0060crates/openfang-api/src/routes.rs:797\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ebd39debf049db8260b01c5452f559f56659ee493871f5def66284f92153eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/openfang-channels/src/whatsapp.rs:256-273 | crates/openfang-channels/src/whatsapp.rs:283-300 | crates/openfang-channels/src/whatsapp.rs:310-327 \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 \u0060crates/openfang-channels/src/whatsapp.rs:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2493d5c5ef1d37ede30aa9e101df0acb0bda639393900e51bc2a5c705b312640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/openfang-migrate/src/openclaw.rs:2211-2228 | crates/openfang-migrate/src/openclaw.rs:2259-2276 | crates/openfang-migrate/src/openclaw.rs:3134-3151 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-migrate/src/openclaw.rs:2230\u0060 calls \u0060insert\u0060 and \u0060crates/openfang-migrate/src/openclaw.rs:2277\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"00834e1b44c6557680f529ec1ce2b8e72f492bac23d865f83be92deb159e9e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/openfang-channels/src/bridge.rs:1806-1822 | crates/openfang-channels/src/bridge.rs:1844-1861 \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 \u0060crates/openfang-channels/src/bridge.rs:1806\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"46af9f464597f6372c511635b02eb0f2c30f4168ce66160e8fe6e773d53148c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/openfang-channels/src/reddit.rs:111-127 | crates/openfang-channels/src/teams.rs:84-101 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/reddit.rs\u0060 and \u0060crates/openfang-channels/src/teams.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060crates/openfang-channels/src/reddit.rs:111\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/reddit.rs:129\u0060 calls \u0060basic_auth\u0060, \u0060Some\u0060, \u0060as_str\u0060 and \u0060crates/openfang-channels/src/teams.rs:103\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":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"89451d2190a156e0532e202c206b2ffaf3efc0f009aed8398e9692bd8ed1a8f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/openfang-channels/src/webex.rs:416-432 | crates/openfang-channels/src/zulip.rs:401-418 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/webex.rs\u0060 and \u0060crates/openfang-channels/src/zulip.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 55 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 \u0060crates/openfang-channels/src/webex.rs:416\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/webex.rs:435\u0060 calls \u0060borrow\u0060 and \u0060crates/openfang-channels/src/zulip.rs:419\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":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1539d5cc6059f889af47b80dfb80ccd5db2dbc690b2ae0ebfbb01ee62ddb797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:396-413 | crates/openfang-cli/src/tui/mod.rs:1885-1902 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:396\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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38a10161d4e64df0e9bc36a5ef2bdaa4844fd254b7cf7bace9f8ac57292e734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/openfang-cli/src/tui/screens/comms.rs:550-567 | crates/openfang-cli/src/tui/screens/comms.rs:625-642 \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 \u0060crates/openfang-cli/src/tui/screens/comms.rs:550\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":"crates/openfang-cli/src/tui/screens/comms.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1291c665abfb05026be0cabb42dd0b97c6cc4c8f0b6cf7db80320eba7d7bf6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/openfang-cli/src/tui/screens/workflows.rs:372-387 | crates/openfang-cli/src/tui/screens/workflows.rs:568-585 \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 \u0060crates/openfang-cli/src/tui/screens/workflows.rs:372\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut WorkflowState\u0060 in one and \u0060\u0026WorkflowState\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":"crates/openfang-cli/src/tui/screens/workflows.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc781fd31e4f3932e65e0060a1849f2b28e1c67302889bc1e73c822ebb56bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:1206-1223 | crates/openfang-runtime/src/agent_loop.rs:1393-1410 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:1206\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ed638bc2d5b01e0acd7dc72c20a6086fb9087ebb9949b3acc33c1463389452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:711-728 | crates/openfang-runtime/src/drivers/openai.rs:1147-1163 \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 \u0060crates/openfang-runtime/src/drivers/openai.rs:711\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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db03bd7b1f53a271aac57962fec3a3c4b420de30f7b0c84d1c6313e2d15e879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/openfang-skills/src/registry.rs:235-252 | crates/openfang-skills/src/registry.rs:420-437 \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 \u0060crates/openfang-skills/src/registry.rs:235\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1579415d8a2e694fd3c68f0ef6714979392e1a179a68bcdf8a852687a3ba10af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 6): crates/openfang-runtime/src/drivers/anthropic.rs:266-281 | crates/openfang-runtime/src/drivers/anthropic.rs:373-388 | crates/openfang-runtime/src/drivers/gemini.rs:707-722 | crates/openfang-runtime/src/drivers/gemini.rs:795-811 | crates/openfang-runtime/src/drivers/vertex.rs:534-549 | crates/openfang-runtime/src/drivers/vertex.rs:615-631 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/anthropic.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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 \u0060crates/openfang-runtime/src/drivers/anthropic.rs:266\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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9f1481ad79e98fe79541832ad75054e1953b3c96f06fe3a531f70b5e68ece4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): crates/openfang-cli/src/tui/screens/hands.rs:226-241 | crates/openfang-cli/src/tui/screens/settings.rs:314-330 | crates/openfang-cli/src/tui/screens/skills.rs:344-360 | crates/openfang-cli/src/tui/screens/usage.rs:198-214 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/hands.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/settings.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060active\u0060 to \u0060HandsSub\u0060 in one and \u0060SettingsSub\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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdae2cc5d6ee97f1db12f68b9bfb9ad5ed1dfed97ad2d7188acb9a55158377ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/openfang-api/src/routes.rs:10287-10303 | crates/openfang-api/src/routes.rs:10392-10408 \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 before the matched lines, \u0060crates/openfang-api/src/routes.rs:10390\u0060 calls \u0060Json\u0060 and \u0060crates/openfang-api/src/routes.rs:10285\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10287}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfc3d5367be20dd4a9ba2b39d56716149c0e4ef7895b83a63d814f54b805e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/openfang-channels/src/line.rs:375-391 | crates/openfang-channels/src/webhook.rs:188-202 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/line.rs\u0060 and \u0060crates/openfang-channels/src/webhook.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/line.rs:375\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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"0731f5c94a20cb7d4e4ecc0c3a52ff16a42dcb690669eb8d037dc471bfbb494a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/openfang-channels/src/nostr.rs:268-284 | crates/openfang-channels/src/webex.rs:312-327 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/nostr.rs\u0060 and \u0060crates/openfang-channels/src/webex.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060crates/openfang-channels/src/nostr.rs:268\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"53893386939dbac3368780c185906c66a1062c7ba80b61f343583f1e2be1b707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1591-1607 | crates/openfang-cli/src/tui/screens/init_wizard.rs:1780-1796 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"613db2964aa21df38f5e85e81605e251e0e6f4f500161bc54325e4f378228510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1720-1736 | crates/openfang-cli/src/tui/screens/init_wizard.rs:1925-1938 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1720\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c3e445b51588457ec385b3d7e2d177ef8197db2db7e6058d6a95f682e60a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/openfang-runtime/src/drivers/claude_code.rs:694-710 | crates/openfang-runtime/src/drivers/qwen_code.rs:397-413 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/claude_code.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/qwen_code.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 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 \u0060crates/openfang-runtime/src/drivers/claude_code.rs:694\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"14446334baf5e1e85faf47328f1debf68a3846f52fbfa1bb47d2d13af5e48f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:236-252 | crates/openfang-runtime/src/drivers/vertex.rs:327-342 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/vertex.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 122 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 \u0060crates/openfang-runtime/src/drivers/gemini.rs:236\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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a5575c66018545a7fe4312f4d84e47b57d42b35ad71c8a5441b46c9d1d304b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/openfang-runtime/src/drivers/vertex.rs:498-514 | crates/openfang-runtime/src/drivers/vertex.rs:577-593 \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 \u0060crates/openfang-runtime/src/drivers/vertex.rs:498\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":"crates/openfang-runtime/src/drivers/vertex.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ac0e61631ea1a2e731a9df70f59b370b75cf392674bfaadad06d1ad2b9338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 14): crates/openfang-cli/src/tui/screens/agents.rs:1100-1111 | crates/openfang-cli/src/tui/screens/audit.rs:197-209 | crates/openfang-cli/src/tui/screens/comms.rs:327-342 | crates/openfang-cli/src/tui/screens/dashboard.rs:96-109 | crates/openfang-cli/src/tui/screens/extensions.rs:272-284 | crates/openfang-cli/src/tui/screens/hands.rs:196-208 | crates/openfang-cli/src/tui/screens/logs.rs:256-268 | crates/openfang-cli/src/tui/screens/peers.rs:90-102 | crates/openfang-cli/src/tui/screens/security.rs:204-216 | crates/openfang-cli/src/tui/screens/sessions.rs:176-188 | crates/openfang-cli/src/tui/screens/settings.rs:266-279 | crates/openfang-cli/src/tui/screens/skills.rs:313-325 | crates/openfang-cli/src/tui/screens/templates.rs:241-254 | crates/openfang-cli/src/tui/screens/usage.rs:158-171 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/agents.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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 \u0060crates/openfang-cli/src/tui/screens/agents.rs:1100\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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5979ccbeb2881200a7b679ac6f3eb1640aad0a79054bc0a2274fe9ec331991b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-api/src/routes.rs:5994-6009 | crates/openfang-api/src/routes.rs:6039-6054 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":5994}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f03f705be42a2e73433dcab143d87850d6628ab09d091b0016bf6899852f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/openfang-channels/src/bridge.rs:1123-1137 | crates/openfang-channels/src/bridge.rs:1760-1775 \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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f8c265cabfd243d219d790dc2e15e7a62f03d9c576c154ddfc206712741c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-channels/src/bridge.rs:1346-1361 | crates/openfang-channels/src/bridge.rs:1810-1825 \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 \u0060crates/openfang-channels/src/bridge.rs:1346\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aced28f782e05efab1b5243d0e180db91c5a61c6e7434d591debe959e20eacd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-channels/src/line.rs:263-278 | crates/openfang-channels/src/viber.rs:223-238 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/line.rs\u0060 and \u0060crates/openfang-channels/src/viber.rs\u0060 as WHOLE FILES: this scan already matched 6 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 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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e8698eea42473f2fc9e77db99a6ba675424e1f0b89b6a7c143ca8d2dfc27e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-cli/src/main.rs:3231-3246 | crates/openfang-cli/src/main.rs:3331-3346 \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 \u0060crates/openfang-cli/src/main.rs:3231\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d8b25ef057ba5ecca920cb48dbfc359c4771145022e53eff85c6949fb0748c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/openfang-cli/src/tui/screens/agents.rs:1065-1079 | crates/openfang-cli/src/tui/screens/triggers.rs:335-350 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/agents.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/triggers.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f86a9302f30d297cdd1bfd61e0a30f6448a031ec5b2d275550efd32f765fdb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:1225-1255 | crates/openfang-runtime/src/agent_loop.rs:1412-1439 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:1225\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b002df2ed7fc4b7becadac28785d97b52e965c2dbffb24458be41f985a948a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-runtime/src/compactor.rs:451-466 | crates/openfang-runtime/src/compactor.rs:570-585 \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 \u0060crates/openfang-runtime/src/compactor.rs:451\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":"crates/openfang-runtime/src/compactor.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9a24c9c35961f39d2c5ca6984ee4bf6ec37a7cb5ade48b1a49486c9188e7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:668-683 | crates/openfang-runtime/src/drivers/gemini.rs:754-769 \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 \u0060crates/openfang-runtime/src/drivers/gemini.rs:668\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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"724b5a3ad86f16ff56ef79fd3cb638b14d5cbbfadb45acc7105b13a85601d234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-wire/src/peer.rs:855-870 | crates/openfang-wire/src/peer.rs:887-902 \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":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"52adb2848a7d11905cee5752f5e6639ea4e10d971bb9dfca08b5a4bb3b12592f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): crates/openfang-channels/src/gitter.rs:254-267 | crates/openfang-channels/src/gotify.rs:222-235 | crates/openfang-channels/src/mqtt.rs:316-329 | crates/openfang-channels/src/ntfy.rs:244-258 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/gotify.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060crates/openfang-channels/src/gitter.rs:254\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f01b31dd39d061eaebc5daf43dcb83522ba2e5f3a8d3f1878de75c66b5aa1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 3): crates/openfang-channels/src/bridge.rs:1279-1290 | crates/openfang-channels/src/bridge.rs:1344-1356 | crates/openfang-channels/src/bridge.rs:1375-1389 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e299f03a0d9842b78d3ea872d0f4e66bbfc78bceacd880312e7f0f9d5133373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): crates/openfang-kernel/src/workflow.rs:502-516 | crates/openfang-kernel/src/workflow.rs:584-596 | crates/openfang-kernel/src/workflow.rs:678-690 \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 \u0060crates/openfang-kernel/src/workflow.rs:502\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"2711a5060762005e86e0f96d18346fcbb84c6a847b4252b0e0045cb35a2c80f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-api/src/routes.rs:4743-4757 | crates/openfang-api/src/routes.rs:4783-4797 \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 \u0060crates/openfang-api/src/routes.rs:4743\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4743}}}],"partialFingerprints":{"codehealthFindingId/v1":"daed1d9be6a2668ffa11486aa35ceee5fe22b18ed5f093a1ff2281931a13c410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-api/src/routes.rs:8721-8735 | crates/openfang-migrate/src/openclaw.rs:473-487 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-api/src/routes.rs:8721\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060path\u0060 to \u0060\u0026std::path::Path\u0060 in one and \u0060\u0026Path\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8721}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be095c70055cb2715231b63beb39fc2e2530445526b5c6830c764c18d27ea74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-channels/src/gitter.rs:169-183 | crates/openfang-channels/src/ntfy.rs:162-176 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/ntfy.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 120 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 \u0060crates/openfang-channels/src/gitter.rs:169\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bab3fa89636e26452eb05ff309f92fef4eab47d88dd47d47b17d668555bb3d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1947-1961 | crates/openfang-cli/src/tui/screens/wizard.rs:522-536 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/wizard.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 107 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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1947\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut State\u0060 in one and \u0060\u0026mut WizardState\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"f400ba26588a8a24bbfb1470126af25d8a689b6eaa5899ddc9f61693729801bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:2143-2156 | crates/openfang-cli/src/tui/screens/wizard.rs:600-614 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/wizard.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 107 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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:2143\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"308f2bc8559361d8a68dbc7fb5fd95ec09850f75649bcd915ea12f35dc11fe00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:3562-3576 | crates/openfang-kernel/src/kernel.rs:3644-3658 \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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3562}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf31995022454cb3cc015d33cccac6d600623432d58c25338750af60a8f6b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:1940-1954 | crates/openfang-migrate/src/openclaw.rs:2948-2962 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1940\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"9768b4b1c2f92ea46dcf1f96f232c0a8f42eed203627b1214b4499f28c16d420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:640-654 | crates/openfang-runtime/src/drivers/openai.rs:1066-1079 \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 \u0060crates/openfang-runtime/src/drivers/openai.rs:640\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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24fbf6a63bcc8fd008650ebce226298c0df7ecb7a632b04f3739155f26da806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/openfang-runtime/src/process_manager.rs:103-117 | crates/openfang-runtime/src/process_manager.rs:119-132 \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":"crates/openfang-runtime/src/process_manager.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"79688f9635832f10d98aad2c6c6317d21e9b82e1a4befda4b94b9d2630c6a691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/openfang-runtime/src/session_repair.rs:342-355 | crates/openfang-runtime/src/session_repair.rs:442-456 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/session_repair.rs:342\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":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aed4cc94a2414c9c8231bf373f28eb9c6642b436199a8b59409023cc4284793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-api/src/routes.rs:7681-7694 | crates/openfang-api/src/routes.rs:7846-7859 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7681}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd229a87743b3f3eca0db9016a7e4bd7ff0478c56fa1412790ee6cf8e1827241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/openfang-channels/src/dingtalk_stream.rs:74-87 | crates/openfang-channels/src/dingtalk_stream.rs:312-323 \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 \u0060crates/openfang-channels/src/dingtalk_stream.rs:74\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c23d4591adc06d89bd966256f00f88a68cf0bf56fc8d037a9c7467957d8390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-channels/src/discord.rs:136-149 | crates/openfang-channels/src/discord.rs:221-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/discord.rs:136\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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"55815c2a0e296d03a4f0a4f33eaa043ac3dda5a16378da695aeba91f9c9503a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-channels/src/guilded.rs:296-309 | crates/openfang-channels/src/webex.rs:424-437 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/webex.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 164 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 \u0060crates/openfang-channels/src/guilded.rs:296\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b566d716bcb204cc2792c98073ad9eb000d0d21936bed700f74fdb5f316e5c8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-channels/src/messenger.rs:197-210 | crates/openfang-channels/src/viber.rs:256-269 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/messenger.rs\u0060 and \u0060crates/openfang-channels/src/viber.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060crates/openfang-channels/src/messenger.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/viber.rs:270\u0060 calls \u0060is_empty\u0060 and \u0060crates/openfang-channels/src/messenger.rs:211\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c933a904f08f75add3f6d36da3577d2a779faa36186065c0c667334041d620c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/openfang-channels/src/twist.rs:342-352 | crates/openfang-channels/src/twist.rs:376-389 \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 \u0060crates/openfang-channels/src/twist.rs:342\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/twist.rs:354\u0060 calls \u0060sleep\u0060, \u0060min\u0060, \u0060from_secs\u0060 and \u0060crates/openfang-channels/src/twist.rs:391\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":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b27d6c705af1eb5e91c1de08aeef7eeaf99050b20a0a2ffefad70ad736c9095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-cli/src/tui/screens/memory.rs:482-495 | crates/openfang-cli/src/tui/screens/memory.rs:514-527 \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 \u0060crates/openfang-cli/src/tui/screens/memory.rs:482\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5dadb0e77e9ad88aa44524b0fb9969d8596a39bb00f5e9d7f0d7c2c69f0bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:330-343 | crates/openfang-runtime/src/agent_loop.rs:1558-1571 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:330\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c825cd50de9fa537f25be5c3b3d9a75c45c6a41b4a297dd2e598804db4cdc54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:1318-1331 | crates/openfang-runtime/src/agent_loop.rs:1499-1512 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:1318\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e36f5c77bdb09ddad1a7151852fe33639442182496a2a655633280d4dc0a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201349 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:550-598 | crates/openfang-runtime/src/drivers/openai.rs:977-1023 \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 \u0060crates/openfang-runtime/src/drivers/openai.rs:550\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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b873517effde32e55544e2e6e91f85bdb1c4db40825631ae38cc3a2982b1abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:690-712 | crates/openfang-runtime/src/drivers/openai.rs:1117-1135 \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 \u0060crates/openfang-runtime/src/drivers/openai.rs:690\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9d495230e6a38a7bb30981970752b0b9be18dcd5940af82d957162c8848131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:1245-1258 | crates/openfang-runtime/src/drivers/openai.rs:1333-1341 \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 \u0060crates/openfang-runtime/src/drivers/openai.rs:1245\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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7c1d116f8c2246e6a9a7c8196fd6a75feb7edf70ed1b5de3730ff6da654784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/openfang-runtime/src/drivers/vertex.rs:457-467 | crates/openfang-runtime/src/drivers/vertex.rs:672-685 \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 \u0060crates/openfang-runtime/src/drivers/vertex.rs:457\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":"crates/openfang-runtime/src/drivers/vertex.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"6011f78c2a834d79039fa0068010c406dac08be8a5bb0d890bd951d691503f6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/openfang-channels/src/gitter.rs:110-122 | crates/openfang-channels/src/mattermost.rs:114-126 | crates/openfang-channels/src/mattermost.rs:446-458 | crates/openfang-channels/src/twist.rs:192-204 | crates/openfang-channels/src/twist.rs:226-238 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/twist.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/gitter.rs:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-channels/src/twist.rs:190\u0060 calls \u0060unwrap_or\u0060 and \u0060crates/openfang-channels/src/gitter.rs:108\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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6d97e9f09e94553abf534366640478d223975684f66e54fabbbb744946a5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/openfang-api/src/routes.rs:8072-8084 | crates/openfang-api/src/routes.rs:8585-8597 | crates/openfang-api/src/routes.rs:8762-8774 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8072}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ac784e2d4b75ebd8024469ab6d501ed1c59486430ddfd154bb1f49e5d0f725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/openfang-channels/src/bluesky.rs:234-246 | crates/openfang-channels/src/google_chat.rs:114-126 | crates/openfang-channels/src/teams.rs:151-163 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/google_chat.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/openfang-channels/src/bluesky.rs:234\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27243b3ae0b73bd3215b3c75901c9decc7ad8c20d2c3dd94aba914f9bcf8d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/openfang-skills/src/loader.rs:121-133 | crates/openfang-skills/src/loader.rs:222-234 | crates/openfang-skills/src/loader.rs:367-379 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6323f7b8e71911b3f52a4ea8fbb27416261c0b5b96e0a106b4f1d0b616afde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-api/src/routes.rs:4356-4368 | crates/openfang-api/src/routes.rs:4436-4448 \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 \u0060crates/openfang-api/src/routes.rs:4356\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1724f220e3a24389933ba86cc6d2d04c27adb8d2e4d40499a3ea0dfef30bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-api/src/routes.rs:4728-4740 | crates/openfang-api/src/routes.rs:4768-4780 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4728}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a4052ee0199354d9753d7c4d2c6dd7364e46ae1a170b9d28b3d08dd8e1d916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-channels/src/bluesky.rs:110-122 | crates/openfang-channels/src/bluesky.rs:151-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/bluesky.rs:110\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0959b9a9713343b3691fa336ca787a7e2bf1fcdaaf98c53f99b285569d1634b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-channels/src/guilded.rs:143-155 | crates/openfang-channels/src/webex.rs:253-265 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/webex.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 164 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 \u0060crates/openfang-channels/src/guilded.rs:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-channels/src/webex.rs:250\u0060 calls \u0060clone\u0060 and \u0060crates/openfang-channels/src/guilded.rs:140\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":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b78aa50b0cfa4bb4757cf8116ab534188196310a2bcbd2a5c497878e38f392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/openfang-channels/src/guilded.rs:160-172 | crates/openfang-channels/src/webex.rs:270-281 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/webex.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 164 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 \u0060crates/openfang-channels/src/guilded.rs:160\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d0a5d312f74ec8d580c1b3e065974361c9d03c9c582e48b4ff89a368dbf746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-channels/src/irc.rs:191-203 | crates/openfang-channels/src/mattermost.rs:200-212 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/irc.rs\u0060 and \u0060crates/openfang-channels/src/mattermost.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/irc.rs:191\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6dc1c664834b733221138b4c9a435b3d238eee01bf8b1e39a8b6cf9ffd211f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-channels/src/line.rs:193-205 | crates/openfang-channels/src/line.rs:483-495 \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 \u0060crates/openfang-channels/src/line.rs:193\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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"245625a4f6facb9aa679f3ec766be20e1b3843fc8967a8109e59b08b4a55b697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-cli/src/main.rs:5467-5479 | crates/openfang-cli/src/main.rs:5491-5503 \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 \u0060crates/openfang-cli/src/main.rs:5467\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5467}}}],"partialFingerprints":{"codehealthFindingId/v1":"342936b90cf726beaf1922a5ad05c2b3b4777e0f27b3799ba6fef1425124bc8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:1471-1483 | crates/openfang-cli/src/tui/event.rs:1632-1644 \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 \u0060crates/openfang-cli/src/tui/event.rs:1471\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cdaa6ed640c04634063d31df4c579c7aa4d3f1f497d5ce26d21e51179e85fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-cli/src/tui/screens/logs.rs:376-388 | crates/openfang-cli/src/tui/screens/peers.rs:183-195 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/logs.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/peers.rs\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060crates/openfang-cli/src/tui/screens/logs.rs:376\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":"crates/openfang-cli/src/tui/screens/logs.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b4319780c7305a03c4fd593c4cb8f7e85d654ea291e10c0ef59ed901cce0f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/openfang-kernel/src/background.rs:108-120 | crates/openfang-kernel/src/background.rs:168-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-kernel/src/background.rs:108\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/background.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"497ee0f98635bb5246dae709ac8e9042dcb7fd959779508ea58028b3f5cb05b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:2122-2134 | crates/openfang-kernel/src/kernel.rs:2697-2709 \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 \u0060crates/openfang-kernel/src/kernel.rs:2122\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d026dec60fc2023b0d21d50bf60d8fd5590e7961c0705818651437dd0d6f651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:5832-5844 | crates/openfang-kernel/src/kernel.rs:6062-6073 \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 \u0060crates/openfang-kernel/src/kernel.rs:5832\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5832}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df1f9aa6a52c477a6bb6cf2c2f987e798400e5cdf8ec8339ad8c6beef31f8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:1135-1146 | crates/openfang-migrate/src/openclaw.rs:2930-2942 \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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a206907554c162b075ba08b75adc1d34c4b5dfe2055fa167776e7dec1b5242c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:2105-2129 | crates/openfang-migrate/src/openclaw.rs:3076-3100 \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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"533437a43553bbbcecfe6e4521a05511ca9b5252abce5825cd273372605b6e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:2197-2208 | crates/openfang-migrate/src/openclaw.rs:3119-3131 \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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f0d43918e7efe821ea4e2c6d0f048816af74fff730f67aa02cba91b63c5bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:2351-2363 | crates/openfang-migrate/src/openclaw.rs:3171-3183 \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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"696ea393ea7f8f0d42a836396c4da47ddf1da41dd36b5022a0db6dd0cba53533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:1163-1173 | crates/openfang-runtime/src/agent_loop.rs:1348-1360 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:1163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecf9b1d6ca9d95869e26521145e7961cac2d8153d91abcc7c40625b3c07aa4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-runtime/src/drivers/vertex.rs:518-530 | crates/openfang-runtime/src/drivers/vertex.rs:597-609 \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 \u0060crates/openfang-runtime/src/drivers/vertex.rs:518\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":"crates/openfang-runtime/src/drivers/vertex.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf3c9990464a0e71f2e5b46e6002f72b40a3df1c30ce0cf230b42845b7830f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-runtime/src/tool_runner.rs:1612-1624 | crates/openfang-runtime/src/web_search.rs:313-325 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/tool_runner.rs:1612\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f6d3e21bca69de62d72b80262fb8e869c8d74b5000141c5e2ccb9746274be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 10): crates/openfang-channels/src/bluesky.rs:293-303 | crates/openfang-channels/src/flock.rs:199-209 | crates/openfang-channels/src/line.rs:305-315 | crates/openfang-channels/src/matrix.rs:555-566 | crates/openfang-channels/src/messenger.rs:196-206 | crates/openfang-channels/src/pumble.rs:173-183 | crates/openfang-channels/src/reddit.rs:264-274 | crates/openfang-channels/src/revolt.rs:245-255 | crates/openfang-channels/src/threema.rs:139-149 | crates/openfang-channels/src/viber.rs:255-265 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/flock.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/openfang-channels/src/bluesky.rs:293\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/bluesky.rs:304\u0060 calls \u0060insert\u0060, \u0060to_string\u0060, \u0060String\u0060 and \u0060crates/openfang-channels/src/flock.rs:210\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d8f71b18639a835aaeaa41ca5a6f5a00ffa3850f3a29820daa57a633ff174e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 6): crates/openfang-runtime/src/drivers/anthropic.rs:255-264 | crates/openfang-runtime/src/drivers/anthropic.rs:362-371 | crates/openfang-runtime/src/drivers/gemini.rs:696-705 | crates/openfang-runtime/src/drivers/gemini.rs:782-793 | crates/openfang-runtime/src/drivers/vertex.rs:523-532 | crates/openfang-runtime/src/drivers/vertex.rs:602-613 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/anthropic.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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 \u0060crates/openfang-runtime/src/drivers/anthropic.rs:255\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-runtime/src/drivers/anthropic.rs:253\u0060 calls \u0060header\u0060 and \u0060crates/openfang-runtime/src/drivers/gemini.rs:694\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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"da497e99fa140c0b2987ca66d8bc2939646527f64e6bf6a9e4342fc9fb6512b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): crates/openfang-channels/src/guilded.rs:95-106 | crates/openfang-channels/src/pumble.rs:97-108 | crates/openfang-channels/src/pumble.rs:333-344 | crates/openfang-channels/src/webex.rs:129-140 | crates/openfang-channels/src/webex.rs:163-174 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/pumble.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 99 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 \u0060crates/openfang-channels/src/guilded.rs:95\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":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17a779d9826c11cc0b610b7eaca26e4de9e8d48456ae7f1ebcb225bad207f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): crates/openfang-api/src/routes.rs:704-715 | crates/openfang-api/src/routes.rs:795-806 | crates/openfang-api/src/routes.rs:1473-1483 | crates/openfang-api/src/routes.rs:10225-10235 \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 \u0060crates/openfang-api/src/routes.rs:704\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"294d0443f4e8e9f115f30a0d20e2999d6f4c9574683684477fff83fce2e6537b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/openfang-channels/src/irc.rs:190-201 | crates/openfang-channels/src/mattermost.rs:199-210 | crates/openfang-channels/src/slack.rs:526-537 | crates/openfang-channels/src/teams.rs:233-244 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/irc.rs\u0060 and \u0060crates/openfang-channels/src/mattermost.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/irc.rs:190\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9179d42b851c46f3a05152c52db91c1c65a13dd55c2b2911e83a1986352d5c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/openfang-api/src/routes.rs:9586-9597 | crates/openfang-kernel/src/kernel.rs:6972-6983 | crates/openfang-runtime/src/tool_runner.rs:2270-2281 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-api/src/routes.rs:9586\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9586}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dd83bd547fd36a1147aadd1261b476eef95cbc850580b2db4bf608fcccd4d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/openfang-cli/src/launcher.rs:496-507 | crates/openfang-cli/src/tui/screens/welcome.rs:404-415 | crates/openfang-cli/src/tui/screens/wizard.rs:553-564 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/launcher.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/welcome.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-cli/src/launcher.rs:496\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":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34838b9e007f85b44278784306fe91737fbf6c9a5735964d080d9b58b2f752f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/openfang-cli/src/main.rs:4997-5008 | crates/openfang-cli/src/main.rs:5035-5046 | crates/openfang-cli/src/main.rs:5158-5169 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":4997}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e13daf9b3c570b2f9d33bd593d5612324d528cfea7b373834af69cbae16cf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/openfang-cli/src/tui/screens/init_wizard.rs:1428-1439 | crates/openfang-cli/src/tui/screens/welcome.rs:242-253 | crates/openfang-cli/src/tui/screens/wizard.rs:472-483 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/wizard.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 107 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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6d6322d62bc6eeec9c61de4e7eebb17ec30cdc8d5f012d010070c2bed803d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-api/src/routes.rs:10795-10806 | crates/openfang-api/src/routes.rs:10820-10831 \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 \u0060crates/openfang-api/src/routes.rs:10795\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10795}}}],"partialFingerprints":{"codehealthFindingId/v1":"572e59d669e8e3436a84350c41c79aa89496f2af0d617c45b5a320f2895171fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-api/src/routes.rs:10910-10921 | crates/openfang-api/src/routes.rs:10940-10951 \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 \u0060crates/openfang-api/src/routes.rs:10910\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10910}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f991189209559762e14a5108a052eceb83bb33d9ae4530b0a7fc3dfc04516db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-api/src/routes.rs:11377-11388 | crates/openfang-api/src/routes.rs:11408-11419 \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 \u0060crates/openfang-api/src/routes.rs:11377\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":11377}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ca573cd1e360a4b1b97974601379a3195d88dec0839aa70e1e2094e7f76e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-channels/src/dingtalk_stream.rs:505-516 | crates/openfang-channels/src/mastodon.rs:216-227 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/dingtalk_stream.rs\u0060 and \u0060crates/openfang-channels/src/mastodon.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/dingtalk_stream.rs:505\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":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a81fce49d4ec605d954e9ce35e22b96ad4aa05bbb38744845f9c3257bbc2a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/openfang-channels/src/mqtt.rs:339-349 | crates/openfang-channels/src/ntfy.rs:270-281 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/mqtt.rs:339\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"crates/openfang-channels/src/mqtt.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"09049d8aa5c2541ea182f8125efbfb209a08e96d590977b2187e971062d1ce83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-cli/src/tui/screens/channels.rs:471-482 | crates/openfang-cli/src/tui/screens/channels.rs:498-509 \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":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c9fa8495237093e36d4c7f85c900052af1fa9a2c23aad914f9377eb243460e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:2074-2085 | crates/openfang-kernel/src/kernel.rs:2660-2671 \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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c787713f8e58df05a3ef8360595cac6b2423bf56365e278d448142dd95abd3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:6643-6654 | crates/openfang-kernel/src/kernel.rs:6711-6722 \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 \u0060crates/openfang-kernel/src/kernel.rs:6643\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6643}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae027a79211eaf6e9b591af256e463d0a50cef65829eac3edf31eeb8626bf49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-kernel/src/pairing.rs:213-224 | crates/openfang-kernel/src/pairing.rs:269-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-kernel/src/pairing.rs:213\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":"crates/openfang-kernel/src/pairing.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaef99ea6a5f8b58475ba7b4f260ca6c63e6fdb382ae4ca5d0235c2d94428bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-memory/src/http_client.rs:169-180 | crates/openfang-memory/src/http_client.rs:217-228 \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 \u0060crates/openfang-memory/src/http_client.rs:169\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/http_client.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"735c3198d1f9d6b3325f587d09b03e589f602ce412b9ab7c7bb7689573571491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:1470-1481 | crates/openfang-migrate/src/openclaw.rs:1590-1601 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1470\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bb77afa9b81f3097a7e37ce953e4f9d489dc775a9f7dbe95208b3f6e3d0d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:3111-3122 | crates/openfang-migrate/src/openclaw.rs:3163-3174 \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 \u0060crates/openfang-migrate/src/openclaw.rs:3111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":3111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b07808ed7ade5c4ca840c85c64ee40fee28ec090c5ab07a0db5c9f024dcadc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-runtime/src/drivers/claude_code.rs:119-130 | crates/openfang-runtime/src/drivers/qwen_code.rs:77-88 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/claude_code.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/qwen_code.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 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 \u0060crates/openfang-runtime/src/drivers/claude_code.rs:119\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":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa760eae8f8ab4f8a83e6d01deb46af10c6c34dc8e58bc5d683d1ac3174afb5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:493-504 | crates/openfang-runtime/src/drivers/vertex.rs:395-406 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/vertex.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 122 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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"1106bca6f11b15e913a82a19148fcb310b8c1a07778683baf16e04adae516620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:662-673 | crates/openfang-runtime/src/drivers/openai.rs:1088-1100 \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 \u0060crates/openfang-runtime/src/drivers/openai.rs:662\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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"170617a933a1a7f86b0b9442a5dc59ba4edab758fa76b1b6cb6a48c09d7e2160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:676-687 | crates/openfang-runtime/src/drivers/openai.rs:1103-1114 \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 \u0060crates/openfang-runtime/src/drivers/openai.rs:676\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"df64e40df82a7f0c53f7dfdbebcf983a63db499a96872ea80eddbaaedfc9bcbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-runtime/src/host_functions.rs:141-152 | crates/openfang-runtime/src/host_functions.rs:188-199 \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 \u0060crates/openfang-runtime/src/host_functions.rs:141\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/host_functions.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a28d1fa7ed5cb0f52ec6aae1ca091141fbaf8fc3b00a103eedbc3eefb043d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 26): crates/openfang-channels/src/bluesky.rs:288-298 | crates/openfang-channels/src/dingtalk.rs:190-200 | crates/openfang-channels/src/dingtalk_stream.rs:500-510 | crates/openfang-channels/src/discourse.rs:282-292 | crates/openfang-channels/src/flock.rs:194-204 | crates/openfang-channels/src/google_chat.rs:288-298 | crates/openfang-channels/src/guilded.rs:260-270 | crates/openfang-channels/src/keybase.rs:352-362 | crates/openfang-channels/src/line.rs:300-310 | crates/openfang-channels/src/linkedin.rs:307-317 | crates/openfang-channels/src/mastodon.rs:211-221 | crates/openfang-channels/src/matrix.rs:550-560 | crates/openfang-channels/src/messenger.rs:191-201 | crates/openfang-channels/src/nextcloud.rs:345-355 | crates/openfang-channels/src/nostr.rs:321-331 | crates/openfang-channels/src/pumble.rs:168-178 | crates/openfang-channels/src/reddit.rs:259-269 | crates/openfang-channels/src/revolt.rs:240-250 | crates/openfang-channels/src/rocketchat.rs:293-303 | crates/openfang-channels/src/signal.rs:174-184 | crates/openfang-channels/src/threema.rs:134-144 | crates/openfang-channels/src/twist.rs:433-443 | crates/openfang-channels/src/viber.rs:250-260 | crates/openfang-channels/src/webex.rs:388-398 | crates/openfang-channels/src/webhook.rs:231-241 | crates/openfang-channels/src/zulip.rs:373-383 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/discourse.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/bluesky.rs:288\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-channels/src/bluesky.rs:286\u0060 calls \u0060as_str\u0060, \u0060unwrap_or\u0060, \u0060to_string\u0060 and \u0060crates/openfang-channels/src/signal.rs:172\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"879dcd4f4cb83e3672017ca7ffcec1848f53cba76d2e3698ce69ec6fbf6d09cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): crates/openfang-channels/src/guilded.rs:97-107 | crates/openfang-channels/src/pumble.rs:99-109 | crates/openfang-channels/src/pumble.rs:335-345 | crates/openfang-channels/src/webex.rs:131-141 | crates/openfang-channels/src/webex.rs:165-175 | crates/openfang-channels/src/webex.rs:206-216 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/pumble.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 99 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 \u0060crates/openfang-channels/src/guilded.rs:97\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":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"da068086abbad7e0bec61fd56d1b8d080f67993848cb57326388cc25ffc1f709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/openfang-channels/src/discord.rs:895-907 | crates/openfang-channels/src/irc.rs:187-199 | crates/openfang-channels/src/mattermost.rs:196-208 | crates/openfang-channels/src/slack.rs:523-535 | crates/openfang-channels/src/teams.rs:230-242 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discord.rs\u0060 and \u0060crates/openfang-channels/src/mattermost.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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 \u0060crates/openfang-channels/src/discord.rs:895\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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc5b74d31f8099ce3c0b1b0eb31fd319cb52469d057f850c3c5d8fff4de86af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/openfang-channels/src/whatsapp.rs:98-108 | crates/openfang-channels/src/whatsapp.rs:260-270 | crates/openfang-channels/src/whatsapp.rs:287-297 | crates/openfang-channels/src/whatsapp.rs:314-324 \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 \u0060crates/openfang-channels/src/whatsapp.rs:98\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":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"038c61f356a5f740286ba4c1c654e568011159f849a7c0faca505a3701743561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/openfang-channels/src/discord.rs:140-149 | crates/openfang-channels/src/discord.rs:183-193 | crates/openfang-channels/src/discord.rs:225-234 \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 \u0060crates/openfang-channels/src/discord.rs:140\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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb889a9588defa60da11b087373f28623ef7c6869d6766e9492a3c721408e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/openfang-cli/src/tui/screens/init_wizard.rs:1748-1757 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2318-2327 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2637-2647 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1748\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"04df106da367fe543a5c0eae5aef1dd7b1cacadf45011d85c6daf787775bfcec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/dingtalk.rs:79-89 | crates/openfang-channels/src/webhook.rs:102-112 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/dingtalk.rs\u0060 and \u0060crates/openfang-channels/src/webhook.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2da3102057ece10c9613d19fbfa8dc5e5ac629dff69ddab8e66aa62e82f43ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/openfang-channels/src/flock.rs:251-260 | crates/openfang-channels/src/pumble.rs:227-237 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/flock.rs\u0060 and \u0060crates/openfang-channels/src/pumble.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 104 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 \u0060crates/openfang-channels/src/flock.rs:251\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":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b893bd4111b8d1512eb176c490f204dabc4a5163aa3641f09635829ef45b06d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/gitter.rs:225-235 | crates/openfang-channels/src/ntfy.rs:216-226 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/ntfy.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 120 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 \u0060crates/openfang-channels/src/gitter.rs:225\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2dfce9c5173cc922324047beffb8571164738fd654ca453dd568a394687ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/openfang-channels/src/matrix.rs:324-333 | crates/openfang-channels/src/matrix.rs:346-356 \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 \u0060crates/openfang-channels/src/matrix.rs:346\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":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"608958eca6c9bddd1528a297273e6bdaafe22e2aff92470d5640f558f1382ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/viber.rs:189-199 | crates/openfang-channels/src/viber.rs:396-406 \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 \u0060crates/openfang-channels/src/viber.rs:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"679eb321d356608d08f20aa7559735ac6549de291424bcf8a54ea12a8b91b431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/zulip.rs:87-97 | crates/openfang-channels/src/zulip.rs:155-165 \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 \u0060crates/openfang-channels/src/zulip.rs:87\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":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f139e857f7e59f5a02fd772573845bb8d93960872dae5d393dda21427f9f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-cli/src/main.rs:5141-5152 | crates/openfang-cli/src/main.rs:5209-5220 \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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d136971a90a9aa0dfab8eafaab31b2a4c6c95d7b183d1cf8f2b8e1ad6f423c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/main.rs:5713-5723 | crates/openfang-cli/src/main.rs:6176-6186 \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 \u0060crates/openfang-cli/src/main.rs:5713\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5713}}}],"partialFingerprints":{"codehealthFindingId/v1":"78567c1f1cd8564a42d7003e0e9205d5e189a5f3804c488b0c7e7b91269b0ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:110-120 | crates/openfang-cli/src/tui/mod.rs:1145-1155 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:110\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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ea865dcbe99d9ef06cffe9bd50029f431ef5c9a8f99c7bc91232beb72823e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:1485-1496 | crates/openfang-cli/src/tui/event.rs:1504-1515 \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 \u0060crates/openfang-cli/src/tui/event.rs:1485\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c8d9e59b99ed0246439542d4461b55cff0d69eeec56dc5ebcd7de52250155e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/tui/screens/agents.rs:671-681 | crates/openfang-cli/src/tui/screens/agents.rs:722-732 \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 \u0060crates/openfang-cli/src/tui/screens/agents.rs:671\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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"9889b4c7f00de8fd92ca08a77c70aca79c858a888e73bc84acfda4eaceedfa7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/tui/screens/agents.rs:697-707 | crates/openfang-cli/src/tui/screens/agents.rs:759-769 \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 \u0060crates/openfang-cli/src/tui/screens/agents.rs:697\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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3e03418864cb9415c06f0b4660f65c054982b274bf5b0bd5cbf4e6dddc53aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/tui/screens/settings.rs:575-585 | crates/openfang-cli/src/tui/screens/skills.rs:644-654 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/settings.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/skills.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 109 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 \u0060crates/openfang-cli/src/tui/screens/settings.rs:575\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":"crates/openfang-cli/src/tui/screens/settings.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdfc60a5216ce145eb3b9e3f93ab76bd8e72889ae709cbb9090fc499de339cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:2060-2070 | crates/openfang-kernel/src/kernel.rs:2646-2656 \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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2060}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ddadffb9ee4672c1af005deba933b8cd7698938963b9db56ae5c20fe70334c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:2237-2247 | crates/openfang-migrate/src/openclaw.rs:2307-2317 \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 \u0060crates/openfang-migrate/src/openclaw.rs:2237\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"822f583149f1e207f9c72da57c3793c0290eb898d9ab43d95a3be16c73f42c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-runtime/src/drivers/claude_code.rs:735-745 | crates/openfang-runtime/src/drivers/qwen_code.rs:435-445 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/claude_code.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/qwen_code.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"0922ce27cb71a4a9f664381070e1ae6134289a52e5f3d563bfff890f6300ca57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-runtime/src/web_content.rs:310-320 | crates/openfang-runtime/src/web_search.rs:552-562 \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 after the matched lines, \u0060crates/openfang-runtime/src/web_content.rs:324\u0060 calls \u0060decode_entities\u0060, \u0060replace\u0060 and \u0060crates/openfang-runtime/src/web_search.rs:563\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":"crates/openfang-runtime/src/web_content.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16e53bcd0143935652185730a2978fe7be6638e7456887d2de1eb5a836e0069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/openfang-wire/src/peer.rs:238-261 | crates/openfang-wire/src/peer.rs:372-395 \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 \u0060crates/openfang-wire/src/peer.rs:238\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":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"11382f50e3d8e0cfa5e43a79e29df29849c8ecb534e04ea5c883ede067cc70ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/openfang-api/src/routes.rs:9365-9374 | crates/openfang-api/src/routes.rs:9458-9467 | crates/openfang-api/src/routes.rs:9488-9497 | crates/openfang-api/src/routes.rs:9547-9556 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-api/src/routes.rs:9363\u0060 calls \u0060Json\u0060 and \u0060crates/openfang-api/src/routes.rs:9456\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9365}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a18780ddcbc713554d31e454d5127c5b18f734545794f42392028bd4b63d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/openfang-cli/src/tui/screens/hands.rs:302-311 | crates/openfang-cli/src/tui/screens/settings.rs:577-586 | crates/openfang-cli/src/tui/screens/skills.rs:457-466 | crates/openfang-cli/src/tui/screens/skills.rs:646-655 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/hands.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/settings.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/tui/screens/hands.rs:302\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-cli/src/tui/screens/hands.rs:299\u0060 calls \u0060styled\u0060, \u0060truncate\u0060 and \u0060crates/openfang-cli/src/tui/screens/settings.rs:575\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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4c8e7a144d376af6ccbbfb88c190f4e7ec589e5c1cc95335a2fd25d0ce989c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-channels/src/matrix.rs:472-481 | crates/openfang-channels/src/nextcloud.rs:296-305 | crates/openfang-channels/src/zulip.rs:297-306 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/matrix.rs\u0060 and \u0060crates/openfang-channels/src/nextcloud.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/matrix.rs:472\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":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b07c777d5da3081269a9a32407d90d7187974b1a7c5a610ec80094743613b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/openfang-cli/src/tui/screens/channels.rs:487-497 | crates/openfang-cli/src/tui/screens/triggers.rs:104-114 | crates/openfang-cli/src/tui/screens/workflows.rs:116-126 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/channels.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/triggers.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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 \u0060crates/openfang-cli/src/tui/screens/channels.rs:487\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":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b4c2d0cd3ae6123eae9d27dd195288e88b53d5c3f065cb318bce67d9f5026e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): crates/openfang-cli/src/tui/screens/init_wizard.rs:2144-2152 | crates/openfang-cli/src/tui/screens/wizard.rs:601-610 | crates/openfang-cli/src/tui/screens/wizard.rs:649-658 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/wizard.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 107 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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:2144\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad2c54fdf47cdce8840e3d9e60fa30522a7cd6a5ba60f9c64c7b8f9dd0f89d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-kernel/src/kernel.rs:2061-2070 | crates/openfang-kernel/src/kernel.rs:3567-3576 | crates/openfang-kernel/src/kernel.rs:3649-3658 \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 \u0060crates/openfang-kernel/src/kernel.rs:2061\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"8428c91ee83ffdd6b9381944f44fb2abebc519b9251972c35ddc0fe5ae9f1801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): crates/openfang-migrate/src/openclaw.rs:1131-1138 | crates/openfang-migrate/src/openclaw.rs:2236-2245 | crates/openfang-migrate/src/openclaw.rs:2347-2354 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-migrate/src/openclaw.rs:1129\u0060 calls \u0060scan_from_legacy_yaml\u0060 and \u0060crates/openfang-migrate/src/openclaw.rs:2233\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d706fbd29b4106f02ce5307c6218dd24e42f0e986ffd7eff4f7c9b21f6be68e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-migrate/src/openclaw.rs:2924-2933 | crates/openfang-migrate/src/openclaw.rs:3113-3122 | crates/openfang-migrate/src/openclaw.rs:3165-3174 \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 \u0060crates/openfang-migrate/src/openclaw.rs:2924\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-migrate/src/openclaw.rs:2923\u0060 calls \u0060push\u0060, \u0060to_string\u0060 and \u0060crates/openfang-migrate/src/openclaw.rs:3112\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2924}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd733109e2402feb621b2589b9d9f4e1ae15e51ee3092a663df232a9db5a93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-api/src/channel_bridge.rs:546-555 | crates/openfang-api/src/channel_bridge.rs:575-584 \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 \u0060crates/openfang-api/src/channel_bridge.rs:546\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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8c341c1180d2e83f8ef0befc7a35a78782a4d12e362978b080505725a0c54c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-api/src/routes.rs:6971-6980 | crates/openfang-api/src/routes.rs:7000-7009 \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 \u0060crates/openfang-api/src/routes.rs:6971\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":6971}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ddbbf4ded5f666f8f14cdacceb32a1457e8ea2bca5aab1bbdec44769d41779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-api/src/routes.rs:8406-8415 | crates/openfang-api/src/routes.rs:8482-8491 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8406}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49533fc686b8fc9e5bf22149715f3a8dfe25cb38b3481d6651ff22241023dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-api/src/routes.rs:8629-8638 | crates/openfang-api/src/routes.rs:8831-8840 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8629}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e87189430d63c9f9ec2a1f6ad20f6ad683996624bc3fbb864cb18003368039"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-channels/src/dingtalk.rs:50-59 | crates/openfang-channels/src/messenger.rs:57-66 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/dingtalk.rs\u0060 and \u0060crates/openfang-channels/src/messenger.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5d46301be426912d1b69db5d3f6d98be30e436fe1268fb39b07377c606aaca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-channels/src/discourse.rs:60-69 | crates/openfang-channels/src/rocketchat.rs:57-66 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discourse.rs\u0060 and \u0060crates/openfang-channels/src/rocketchat.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/discourse.rs:60\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":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0886b9d5fea243b068492a2a8235ed777027f63eaa2e0240258c92f6230c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-channels/src/discourse.rs:141-150 | crates/openfang-channels/src/rocketchat.rs:107-116 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discourse.rs\u0060 and \u0060crates/openfang-channels/src/rocketchat.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/discourse.rs:141\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":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc07ce339c2e9a552a6f4aa0b29d098292760e26ea1571efe0bcaca62314445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/openfang-channels/src/formatter.rs:446-457 | crates/openfang-channels/src/formatter.rs:524-534 \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 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":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f744544b2635663005ffa5b9bd158185c01c6305f93d54058fa47fadf94babf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-channels/src/reddit.rs:144-153 | crates/openfang-channels/src/teams.rs:117-126 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/reddit.rs\u0060 and \u0060crates/openfang-channels/src/teams.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060crates/openfang-channels/src/reddit.rs:144\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":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"688d94417989aafe5aaad661193f85a4b891c50ab5a6b53f2978c1da85707905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/launcher.rs:42-51 | crates/openfang-cli/src/tui/screens/wizard.rs:170-179 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/launcher.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/wizard.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"376f8bfda5cbad57ceb017ce00596f514dec3de6ee09d1fabb8f01fdf455ee05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/templates.rs:71-80 | crates/openfang-kernel/src/kernel.rs:1475-1484 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/templates.rs:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/templates.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15dad8f23ed9326247dde6cb13f47f9e61c4254eb16f14cacd514e6d6083407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:382-391 | crates/openfang-cli/src/tui/mod.rs:1871-1880 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:382\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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36e895a708b0a3d2f9a4262163e2577166badeb8e243025014041615d606cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:551-560 | crates/openfang-cli/src/tui/mod.rs:1780-1789 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7a94582d26775d10206f1c1bd563383a2265e02cce142257e4fb8bcfc193ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:764-772 | crates/openfang-cli/src/tui/mod.rs:2395-2404 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c2f969570e9e22ac24c09583e2f6b64624c2fe2cd3c9b0c8a7a7fc614c7b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/tui/screens/audit.rs:292-301 | crates/openfang-cli/src/tui/screens/logs.rs:373-382 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/logs.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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 \u0060crates/openfang-cli/src/tui/screens/audit.rs:292\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9581844f30052fbef09829a19495dc6510fadbf3485850d6fc291db8511a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/tui/screens/settings.rs:535-544 | crates/openfang-cli/src/tui/screens/usage.rs:347-356 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/settings.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/usage.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 101 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 \u0060crates/openfang-cli/src/tui/screens/settings.rs:535\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut SettingsState\u0060 in one and \u0060\u0026mut UsageState\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":"crates/openfang-cli/src/tui/screens/settings.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb692826df3d5e585788a2baa8f3ca500379ae7f885650e060745f859d416dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-kernel/src/workflow.rs:582-591 | crates/openfang-kernel/src/workflow.rs:734-743 \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 \u0060crates/openfang-kernel/src/workflow.rs:582\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2a3c8c00b0be306713bfa931fdd2c22acf5ea6557995e5e02f9eb920523a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/openfang-memory/src/structured.rs:211-219 | crates/openfang-memory/src/structured.rs:374-383 \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 \u0060crates/openfang-memory/src/structured.rs:211\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":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a3ba484dd8164846403d08c58cc58a09758a3a154e8ad4b008db2a164018f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:2073-2082 | crates/openfang-migrate/src/openclaw.rs:3062-3071 \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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3462da2896989d9c61af3b51eb72e8a54bb371ee5e43b782483edc8917974b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:319-328 | crates/openfang-runtime/src/agent_loop.rs:1547-1556 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:319\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b417cbf1f0d1fefeb9feb86860fa5b32e0f15ee10b49ed5a0900b2d8d0fdde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:872-881 | crates/openfang-runtime/src/agent_loop.rs:2081-2090 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:872\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"de496003c1f7f48023cdd639aebfd829770285222855545726b79a359c8742c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:393-402 | crates/openfang-runtime/src/drivers/gemini.rs:477-486 \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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4490d3c24944682fc035aefcb48e281a4e02adb3c6b6d7bc8242d3769bf59d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 27): crates/openfang-channels/src/bluesky.rs:291-299 | crates/openfang-channels/src/dingtalk.rs:193-201 | crates/openfang-channels/src/dingtalk_stream.rs:503-511 | crates/openfang-channels/src/discourse.rs:285-293 | crates/openfang-channels/src/flock.rs:197-205 | crates/openfang-channels/src/google_chat.rs:291-299 | crates/openfang-channels/src/guilded.rs:263-271 | crates/openfang-channels/src/keybase.rs:355-363 | crates/openfang-channels/src/line.rs:303-311 | crates/openfang-channels/src/linkedin.rs:310-318 | crates/openfang-channels/src/mastodon.rs:214-222 | crates/openfang-channels/src/matrix.rs:553-561 | crates/openfang-channels/src/messenger.rs:194-202 | crates/openfang-channels/src/nextcloud.rs:348-356 | crates/openfang-channels/src/nostr.rs:324-332 | crates/openfang-channels/src/pumble.rs:171-179 | crates/openfang-channels/src/reddit.rs:262-270 | crates/openfang-channels/src/revolt.rs:243-251 | crates/openfang-channels/src/rocketchat.rs:296-304 | crates/openfang-channels/src/signal.rs:177-185 | crates/openfang-channels/src/threema.rs:137-145 | crates/openfang-channels/src/twist.rs:436-444 | crates/openfang-channels/src/twitch.rs:230-238 | crates/openfang-channels/src/viber.rs:253-261 | crates/openfang-channels/src/webex.rs:391-399 | crates/openfang-channels/src/webhook.rs:234-242 | crates/openfang-channels/src/zulip.rs:376-384 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/discourse.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/bluesky.rs:291\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/nostr.rs:336\u0060 calls \u0060as_i64\u0060, \u0060unwrap_or\u0060 and \u0060crates/openfang-channels/src/discourse.rs:297\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"2160c41b3e7920094da00b1b66d16776935c7ae3851bcd41d46f3fc5564cc9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): crates/openfang-runtime/src/drivers/anthropic.rs:256-264 | crates/openfang-runtime/src/drivers/anthropic.rs:363-371 | crates/openfang-runtime/src/drivers/bedrock.rs:722-730 | crates/openfang-runtime/src/drivers/gemini.rs:697-705 | crates/openfang-runtime/src/drivers/gemini.rs:783-791 | crates/openfang-runtime/src/drivers/vertex.rs:524-532 | crates/openfang-runtime/src/drivers/vertex.rs:603-611 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/anthropic.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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 \u0060crates/openfang-runtime/src/drivers/anthropic.rs:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-runtime/src/drivers/anthropic.rs:253\u0060 calls \u0060header\u0060 and \u0060crates/openfang-runtime/src/drivers/gemini.rs:694\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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab7a0337d52970f13cdb88413b95d54e1989342ab9533aafe03d9e9c6252f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/openfang-cli/src/tui/screens/audit.rs:295-303 | crates/openfang-cli/src/tui/screens/channels.rs:729-737 | crates/openfang-cli/src/tui/screens/logs.rs:376-384 | crates/openfang-cli/src/tui/screens/peers.rs:183-191 | crates/openfang-cli/src/tui/screens/sessions.rs:263-271 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/logs.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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 \u0060crates/openfang-cli/src/tui/screens/audit.rs:295\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut AuditState\u0060 in one and \u0060\u0026mut ChannelState\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":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b7d01da5872079ba1947fcb82135c5e6342b216152a4102c331d964260462e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): crates/openfang-cli/src/tui/screens/channels.rs:635-642 | crates/openfang-cli/src/tui/screens/memory.rs:257-265 | crates/openfang-cli/src/tui/screens/triggers.rs:254-262 | crates/openfang-cli/src/tui/screens/workflows.rs:286-294 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/channels.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/triggers.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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 \u0060crates/openfang-cli/src/tui/screens/channels.rs:635\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut ChannelState\u0060 in one and \u0060\u0026mut MemoryState\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":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f9d7138cffb823c8d7e445a326b65962d8c84a6cf5a023ee524e4f074049e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/openfang-cli/src/tui/screens/hands.rs:316-324 | crates/openfang-cli/src/tui/screens/hands.rs:413-421 | crates/openfang-cli/src/tui/screens/sessions.rs:283-291 | crates/openfang-cli/src/tui/screens/skills.rs:484-492 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/hands.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/sessions.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 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 \u0060crates/openfang-cli/src/tui/screens/hands.rs:316\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut HandsState\u0060 in one and \u0060\u0026mut SessionsState\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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4623d78d87cba5ea0adec7c6ddaa801d9a06ecbd0af11decc6f104bf86fba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/openfang-cli/src/tui/screens/init_wizard.rs:1459-1467 | crates/openfang-cli/src/tui/screens/welcome.rs:302-310 | crates/openfang-cli/src/tui/screens/wizard.rs:502-510 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/wizard.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 107 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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1459\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"858e72c90d70cd8790ed5341ba0a582b3cf390b9401cb83bec9c99e6815e6a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/openfang-cli/src/tui/screens/triggers.rs:375-383 | crates/openfang-cli/src/tui/screens/workflows.rs:470-478 | crates/openfang-cli/src/tui/screens/workflows.rs:590-598 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/triggers.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/workflows.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 105 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 \u0060crates/openfang-cli/src/tui/screens/triggers.rs:375\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":"crates/openfang-cli/src/tui/screens/triggers.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2948fa968f7c5ab976525c9b656b8a6fe39d80cd6bdf2ae7ccea7f43dced2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/openfang-migrate/src/openclaw.rs:2239-2248 | crates/openfang-migrate/src/openclaw.rs:2309-2318 | crates/openfang-migrate/src/openclaw.rs:3220-3228 \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 \u0060crates/openfang-migrate/src/openclaw.rs:2239\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2239}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cf314a80684bd77c962d6d550207fd5325399bb480286070aebbe760c558e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-api/src/routes.rs:5834-5842 | crates/openfang-api/src/routes.rs:5862-5870 \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 before the matched lines, \u0060crates/openfang-api/src/routes.rs:5860\u0060 calls \u0060Json\u0060 and \u0060crates/openfang-api/src/routes.rs:5832\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":5834}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f327eb53440c98fd888abb2cee6c1ed2e3b6eb8b920f3f238460b50414e647c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/openfang-api/src/routes.rs:7542-7558 | crates/openfang-api/src/routes.rs:7627-7644 \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 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7542}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fdea2bc198d9dc05e20720e28e4c3e017312c2d25dbfd0e7da5d7679ce274b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-api/src/routes.rs:9494-9502 | crates/openfang-api/src/routes.rs:11466-11476 \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 \u0060crates/openfang-api/src/routes.rs:9494\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9494}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf014325859758011a1190eb52490435426792412cdd4e377e1b313c654cfc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-channels/src/bluesky.rs:80-88 | crates/openfang-channels/src/nextcloud.rs:57-65 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/nextcloud.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/openfang-channels/src/bluesky.rs:80\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d034b66530cdce19f0feb9cd4b6777df23d6e82594dc720e5f8c05008ce1f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-channels/src/flock.rs:275-284 | crates/openfang-channels/src/teams.rs:314-322 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/flock.rs\u0060 and \u0060crates/openfang-channels/src/teams.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/flock.rs:275\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89dc7b4ae90383e30109f7b2db9ba0df134d12428afbe05848070508db39468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-channels/src/keybase.rs:215-223 | crates/openfang-channels/src/reddit.rs:347-355 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/keybase.rs\u0060 and \u0060crates/openfang-channels/src/reddit.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/keybase.rs:215\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-channels/src/keybase.rs:214\u0060 calls \u0060clone\u0060 and \u0060crates/openfang-channels/src/reddit.rs:346\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":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca3f6a10d5e96809a75dd906951a5e91ce410c716b66283cb49a3208c54b320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/openfang-channels/src/teams.rs:294-302 | crates/openfang-channels/src/wecom.rs:360-367 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/teams.rs:294\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":"crates/openfang-channels/src/teams.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73cb7764eda281626bc1a53aacbee60c0d16e86aaff171a3ea1acfe12c4f3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/openfang-cli/src/main.rs:2959-2966 | crates/openfang-cli/src/main.rs:2972-2980 \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 \u0060crates/openfang-cli/src/main.rs:2959\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b375d53a087543e7f9d3e291794737502147020c524ec08935d5f6567f072b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/main.rs:4412-4420 | crates/openfang-cli/src/main.rs:4481-4489 \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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":4412}}}],"partialFingerprints":{"codehealthFindingId/v1":"150cc6a3b5ddfe2af05a497be58c37c4d8718285800d5a904eb347a1f96943d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:310-318 | crates/openfang-cli/src/tui/mod.rs:2086-2094 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:310\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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a73237c821f8696ec878535b7f13d7a3ae17daaab97a62b075ef75221b0886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:415-423 | crates/openfang-cli/src/tui/mod.rs:1904-1912 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:415\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d243537dc40f21c93ce6ed64f13605c2797a3502fc417a6ae376d980121bc97f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/tui/screens/wizard.rs:613-621 | crates/openfang-cli/src/tui/screens/wizard.rs:661-669 \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 \u0060crates/openfang-cli/src/tui/screens/wizard.rs:613\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":"crates/openfang-cli/src/tui/screens/wizard.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"b259279bc9e5950e216555fec73d2ce95c897ecbea14f820793d80dff1ea5312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:2001-2009 | crates/openfang-migrate/src/openclaw.rs:2013-2021 \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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabfd09264b33e84d5a01f579a8e600bcffb9518f24e33ccb1bcb620d601580e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:1998-2005 | crates/openfang-migrate/src/openclaw.rs:2151-2159 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1998\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-migrate/src/openclaw.rs:2005\u0060 calls \u0060push\u0060, \u0060to_string\u0060, \u0060clone\u0060 and \u0060crates/openfang-migrate/src/openclaw.rs:2159\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a9d71239e69c4e83633eeabb746c07a69996c40984fd7255edafd287333a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/apply_patch.rs:434-442 | crates/openfang-runtime/src/apply_patch.rs:454-462 \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 \u0060crates/openfang-runtime/src/apply_patch.rs:434\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":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7452a38672f68e02d65e6e9c99ecbe5320709fe6ec139446168c251b3392382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/browser.rs:455-463 | crates/openfang-runtime/src/browser.rs:498-506 \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 \u0060crates/openfang-runtime/src/browser.rs:455\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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaa36ec4397a116586f4ea6cfab7787ff5b845c6a5494c6a8cea3c4a80c8083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/drivers/anthropic.rs:283-291 | crates/openfang-runtime/src/drivers/vertex.rs:551-559 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/anthropic.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/vertex.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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 \u0060crates/openfang-runtime/src/drivers/anthropic.rs:283\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca94d16de2b0e6052580f3ca8fb195ccdbe79d8ed46cf687d2bf5f77491cca1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:453-472 | crates/openfang-runtime/src/drivers/openai.rs:909-926 \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 \u0060crates/openfang-runtime/src/drivers/openai.rs:453\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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ce006c07173610c76fad1dcab6eae34cfc6baab63dedfff7db497901f2ff46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/drivers/qwen_code.rs:212-220 | crates/openfang-runtime/src/drivers/qwen_code.rs:300-308 \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":"crates/openfang-runtime/src/drivers/qwen_code.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d26b6e1a14b066d14012b10a0681e0909f5691199229237ed4f24dc26a368d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/sandbox.rs:298-306 | crates/openfang-runtime/src/sandbox.rs:367-375 \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 \u0060crates/openfang-runtime/src/sandbox.rs:298\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":"crates/openfang-runtime/src/sandbox.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1983e41ef3458402e07f50e7edb29fdcda022e271c151ce68e24144199b709bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/subprocess_sandbox.rs:683-691 | crates/openfang-runtime/src/subprocess_sandbox.rs:710-718 \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 \u0060crates/openfang-runtime/src/subprocess_sandbox.rs:683\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17072f9e465a45fdb4c81331744ef50606ff87ec0a2b139713f921d8539eb92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 5): crates/openfang-cli/src/tui/screens/hands.rs:315-322 | crates/openfang-cli/src/tui/screens/hands.rs:413-419 | crates/openfang-cli/src/tui/screens/sessions.rs:283-289 | crates/openfang-cli/src/tui/screens/settings.rs:459-466 | crates/openfang-cli/src/tui/screens/skills.rs:484-490 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/hands.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/sessions.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 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 \u0060crates/openfang-cli/src/tui/screens/hands.rs:315\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut HandsState\u0060 in one and \u0060\u0026mut SessionsState\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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3762589feb09d39634ebea4d1dce9e53c658109c45c9537541db7dc0a048ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): crates/openfang-cli/src/launcher.rs:295-302 | crates/openfang-cli/src/tui/screens/init_wizard.rs:1432-1438 | crates/openfang-cli/src/tui/screens/welcome.rs:246-252 | crates/openfang-cli/src/tui/screens/wizard.rs:476-482 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/launcher.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/welcome.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-cli/src/launcher.rs:295\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060crates/openfang-cli/src/launcher.rs:295\u0060 is reached only past a guard at line 290 that tests \u0060area.height\u0060 and leaves the function early, and \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1432\u0060 reads \u0060area.height\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bafa463a1060c6e2f645916b4bbf74896cec1bcbb109cc2730c1292698e47d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/openfang-kernel/src/workflow.rs:525-532 | crates/openfang-kernel/src/workflow.rs:616-623 | crates/openfang-kernel/src/workflow.rs:695-702 | crates/openfang-kernel/src/workflow.rs:768-775 \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 \u0060crates/openfang-kernel/src/workflow.rs:525\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f41ba5a940c64ff52c22d4d6eee1b8f4dfdcb03db958db745377d8010d99822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/openfang-runtime/src/python_runtime.rs:167-175 | crates/openfang-skills/src/loader.rs:98-105 | crates/openfang-skills/src/loader.rs:200-207 | crates/openfang-skills/src/loader.rs:346-353 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/python_runtime.rs:167\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":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d2b875ff2644dfc4e50d3add2b46808aa625dd5ff4e4ca61b882fb8826986e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-channels/src/line.rs:199-206 | crates/openfang-channels/src/line.rs:242-249 | crates/openfang-channels/src/line.rs:489-496 \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 \u0060crates/openfang-channels/src/line.rs:199\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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0d458572b39bc680e17d36b6577d2a77f697f8209556b5aaf4509eb5319b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-cli/src/tui/screens/audit.rs:234-242 | crates/openfang-cli/src/tui/screens/memory.rs:371-378 | crates/openfang-cli/src/tui/screens/templates.rs:283-291 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/memory.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 41 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 \u0060crates/openfang-cli/src/tui/screens/audit.rs:234\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut AuditState\u0060 in one and \u0060\u0026mut MemoryState\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":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9620ad74290e4b00a9eb9ea5742ae9200c5667a38e7c61570f3297e63e58a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-kernel/src/kernel.rs:5812-5819 | crates/openfang-kernel/src/kernel.rs:5933-5940 | crates/openfang-kernel/src/kernel.rs:6053-6060 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5812}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e4f571102977106512bad0babf82295d27b6d55be4d502d05476b21050cc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-api/src/channel_bridge.rs:384-393 | crates/openfang-api/src/channel_bridge.rs:464-473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-api/src/channel_bridge.rs:384\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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da2fce1021fdcfa0fea1a102047e6bef31142b44a72ea7e422a0e682d1684d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-api/src/routes.rs:3938-3945 | crates/openfang-api/src/routes.rs:4018-4025 \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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3938}}}],"partialFingerprints":{"codehealthFindingId/v1":"6740697eea3dbdb0e9bc6a3c2ce5e84abe445f903ab4646f9c464c7c6d3aaf49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-api/src/routes.rs:7598-7605 | crates/openfang-cli/src/tui/event.rs:1118-1126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-api/src/routes.rs:7598\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7598}}}],"partialFingerprints":{"codehealthFindingId/v1":"389f1d95fef188315e2171051e5f5039f7de7e95dbfb8f59477c42ef770c6a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-channels/src/gitter.rs:197-204 | crates/openfang-channels/src/ntfy.rs:188-195 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/ntfy.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 120 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 \u0060crates/openfang-channels/src/gitter.rs:197\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b196c9db48e1a3757a4dfb835d19fd00055f5afb6ea1a10a8f882f1d7080a261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-channels/src/line.rs:373-380 | crates/openfang-channels/src/messenger.rs:278-285 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/line.rs\u0060 and \u0060crates/openfang-channels/src/messenger.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/line.rs:373\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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f825c3b3bae624c6e5936ce92b6907225c9e52b83f375043eb56a106f6896cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-channels/src/revolt.rs:141-148 | crates/openfang-channels/src/revolt.rs:181-188 \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 \u0060crates/openfang-channels/src/revolt.rs:141\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":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"718b1abc05fd66ef2f572caee4938a5dcf99ce01f731fc127dbcb3bc6d0c5867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-channels/src/viber.rs:175-182 | crates/openfang-channels/src/viber.rs:382-389 \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 \u0060crates/openfang-channels/src/viber.rs:175\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":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d856ae9b46f9e7f43705000577803b0fa04550fb09cc16bcc2751ea88a466c15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/launcher.rs:547-554 | crates/openfang-cli/src/main.rs:1380-1387 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/launcher.rs:547\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":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa35c4cda5f375f293c4b4e67cde2adb59c3027273be5f8abe2792fc80404d72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/main.rs:3096-3103 | crates/openfang-cli/src/main.rs:3128-3135 \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 \u0060crates/openfang-cli/src/main.rs:3096\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3096}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bf1fff65ae6944b66ad866035e7de130e506f517d2b16cc858e043a7266c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:1813-1820 | crates/openfang-cli/src/tui/event.rs:2174-2181 \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 \u0060crates/openfang-cli/src/tui/event.rs:1813\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0258d0fb19f94338caf7e94cdbf51b62a2783ed1082d80be345f1026f3598d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1711-1717 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2597-2604 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1711\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4ab6cb245aa0754982fda71e4d4324e0873a717ee4c6b67fab6ed6c4dcc2ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/tui/screens/sessions.rs:138-145 | crates/openfang-cli/src/tui/screens/templates.rs:202-209 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/sessions.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/templates.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 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 \u0060crates/openfang-cli/src/tui/screens/sessions.rs:138\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":"crates/openfang-cli/src/tui/screens/sessions.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2be0888010beb429797207a689ed1a3397eb18a95170af238e2e443f4ba3866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/tui/screens/sessions.rs:222-230 | crates/openfang-cli/src/tui/screens/skills.rs:608-615 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/sessions.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/skills.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/tui/screens/sessions.rs:222\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut SessionsState\u0060 in one and \u0060\u0026mut SkillsState\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":"crates/openfang-cli/src/tui/screens/sessions.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4bae92cac2db4a3bd90d85dea8dcb8928bad77e5678fcf1c023cf6dd7eae36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/tui/screens/triggers.rs:326-333 | crates/openfang-cli/src/tui/screens/workflows.rs:355-362 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/triggers.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/workflows.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 105 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 \u0060crates/openfang-cli/src/tui/screens/triggers.rs:326\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut TriggerState\u0060 in one and \u0060\u0026mut WorkflowState\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":"crates/openfang-cli/src/tui/screens/triggers.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"98763ca7dff00a980a5a127154f7a37a267d9448a4fb2c7381b40abb593e98cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-desktop/src/server.rs:172-179 | crates/openfang-extensions/src/credentials.rs:156-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-desktop/src/server.rs:172\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":"crates/openfang-desktop/src/server.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"281936fbefb0a51ce3f200ab9b2a370e5a9b483d9bec739b761e2a6380820c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-memory/src/session.rs:50-59 | crates/openfang-memory/src/session.rs:234-243 \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 \u0060crates/openfang-memory/src/session.rs:50\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/session.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f725fea2ce258f3976a4b457239fee8b7f40abc2cdadee73b1b95d97b2ce457a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-runtime/src/context_budget.rs:151-158 | crates/openfang-runtime/src/context_budget.rs:179-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/context_budget.rs:151\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":"crates/openfang-runtime/src/context_budget.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"26aa18de907e2b1b21dcc985df11feac748086251d0b14a481ae4b73c202b7a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-runtime/src/tool_runner.rs:2997-3012 | crates/openfang-runtime/src/tool_runner.rs:3042-3057 \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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":2997}}}],"partialFingerprints":{"codehealthFindingId/v1":"6245bf578d6579164da2b5c717d20c41a7e665f98b2b9d586a8dda3010b1e8eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-skills/src/openclaw_compat.rs:253-260 | crates/openfang-skills/src/openclaw_compat.rs:349-356 \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 \u0060crates/openfang-skills/src/openclaw_compat.rs: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":"crates/openfang-skills/src/openclaw_compat.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c7eb6c82a67f6eb209dac361a6f70498fdd88bd56b9d7c4e8f6d3b3cdf0895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-wire/src/registry.rs:146-153 | crates/openfang-wire/src/registry.rs:174-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-wire/src/registry.rs:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/registry.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d84e707637d0aa24203871a28d8f1c5aa5123d1c6e526e1e45e28bce92fac58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 19): crates/openfang-cli/src/tui/screens/agents.rs:948-954 | crates/openfang-cli/src/tui/screens/agents.rs:1099-1105 | crates/openfang-cli/src/tui/screens/audit.rs:196-202 | crates/openfang-cli/src/tui/screens/chat.rs:498-504 | crates/openfang-cli/src/tui/screens/comms.rs:326-332 | crates/openfang-cli/src/tui/screens/dashboard.rs:95-101 | crates/openfang-cli/src/tui/screens/extensions.rs:271-277 | crates/openfang-cli/src/tui/screens/hands.rs:195-201 | crates/openfang-cli/src/tui/screens/logs.rs:255-261 | crates/openfang-cli/src/tui/screens/memory.rs:257-263 | crates/openfang-cli/src/tui/screens/peers.rs:89-95 | crates/openfang-cli/src/tui/screens/security.rs:203-209 | crates/openfang-cli/src/tui/screens/sessions.rs:175-181 | crates/openfang-cli/src/tui/screens/settings.rs:265-271 | crates/openfang-cli/src/tui/screens/skills.rs:312-318 | crates/openfang-cli/src/tui/screens/templates.rs:240-246 | crates/openfang-cli/src/tui/screens/triggers.rs:254-260 | crates/openfang-cli/src/tui/screens/usage.rs:157-163 | crates/openfang-cli/src/tui/screens/workflows.rs:286-292 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/agents.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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 \u0060crates/openfang-cli/src/tui/screens/agents.rs:948\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-cli/src/tui/screens/audit.rs:205\u0060 calls \u0060Length\u0060 and \u0060crates/openfang-cli/src/tui/screens/agents.rs:1108\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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb468527666cec5d5318bb110df82554c53751d85faf86133e12ccd61967334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 14): crates/openfang-cli/src/tui/screens/audit.rs:235-242 | crates/openfang-cli/src/tui/screens/channels.rs:686-692 | crates/openfang-cli/src/tui/screens/extensions.rs:362-368 | crates/openfang-cli/src/tui/screens/hands.rs:259-265 | crates/openfang-cli/src/tui/screens/hands.rs:350-356 | crates/openfang-cli/src/tui/screens/memory.rs:287-293 | crates/openfang-cli/src/tui/screens/memory.rs:372-378 | crates/openfang-cli/src/tui/screens/skills.rs:681-687 | crates/openfang-cli/src/tui/screens/templates.rs:284-291 | crates/openfang-cli/src/tui/screens/triggers.rs:284-290 | crates/openfang-cli/src/tui/screens/usage.rs:307-313 | crates/openfang-cli/src/tui/screens/usage.rs:373-379 | crates/openfang-cli/src/tui/screens/workflows.rs:316-322 | crates/openfang-cli/src/tui/screens/workflows.rs:653-659 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/extensions.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-cli/src/tui/screens/audit.rs:235\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut AuditState\u0060 in one and \u0060\u0026mut ChannelState\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":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f4863cb2caeaab1199f9fdcfe97d18daced21c4ff817f7f7a024226e658fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): crates/openfang-channels/src/gitter.rs:116-122 | crates/openfang-channels/src/guilded.rs:101-107 | crates/openfang-channels/src/line.rs:200-206 | crates/openfang-channels/src/line.rs:243-249 | crates/openfang-channels/src/pumble.rs:103-109 | crates/openfang-channels/src/pumble.rs:339-345 | crates/openfang-channels/src/twist.rs:198-204 | crates/openfang-channels/src/twist.rs:232-238 | crates/openfang-channels/src/webex.rs:135-141 | crates/openfang-channels/src/webex.rs:169-175 | crates/openfang-channels/src/webex.rs:210-216 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/guilded.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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 \u0060crates/openfang-channels/src/gitter.rs:116\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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"accd31ef83257ae07adfad7bf751e22500c321a4fba2f6793b692fc806afa81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20137 lines \u00D7 7): crates/openfang-cli/src/tui/event.rs:535-539 | crates/openfang-cli/src/tui/event.rs:591-595 | crates/openfang-cli/src/tui/event.rs:692-696 | crates/openfang-cli/src/tui/event.rs:731-737 | crates/openfang-cli/src/tui/event.rs:850-854 | crates/openfang-cli/src/tui/event.rs:1006-1011 | crates/openfang-cli/src/tui/event.rs:1070-1075 \u2014 all 7 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 \u0060crates/openfang-cli/src/tui/event.rs:535\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"daecce5f80e95ecd83c65e4a54fb7b52f686c6aabe721c338301effdd71862c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): crates/openfang-channels/src/discourse.rs:145-151 | crates/openfang-channels/src/linkedin.rs:166-172 | crates/openfang-channels/src/nextcloud.rs:140-146 | crates/openfang-channels/src/revolt.rs:143-149 | crates/openfang-channels/src/revolt.rs:183-189 | crates/openfang-channels/src/rocketchat.rs:111-117 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discourse.rs\u0060 and \u0060crates/openfang-channels/src/linkedin.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 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 \u0060crates/openfang-channels/src/discourse.rs:145\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":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"07635f5e01c2c42256e82f8126b9a75e4a52d2a7a6c0cd2dcc8aa35285c3ba52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 5): crates/openfang-channels/src/telegram.rs:216-222 | crates/openfang-channels/src/telegram.rs:255-260 | crates/openfang-channels/src/telegram.rs:286-291 | crates/openfang-channels/src/telegram.rs:353-358 | crates/openfang-channels/src/telegram.rs:384-389 \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 \u0060crates/openfang-channels/src/telegram.rs:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a54bc9fe2ffc1a3930398ea081c3858bc59757f95b5a651439a2483c528d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/openfang-cli/src/tui/screens/audit.rs:166-176 | crates/openfang-cli/src/tui/screens/logs.rs:213-223 | crates/openfang-cli/src/tui/screens/peers.rs:64-74 | crates/openfang-cli/src/tui/screens/sessions.rs:132-142 | crates/openfang-cli/src/tui/screens/templates.rs:196-206 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/logs.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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 \u0060crates/openfang-cli/src/tui/screens/audit.rs:166\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":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bfa0b39d5dcf780ecd8e27b1ba34f3b3ad5e2e27d65505c99608986d699bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/openfang-kernel/src/workflow.rs:524-530 | crates/openfang-kernel/src/workflow.rs:602-608 | crates/openfang-kernel/src/workflow.rs:615-621 | crates/openfang-kernel/src/workflow.rs:694-700 | crates/openfang-kernel/src/workflow.rs:767-773 \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 \u0060crates/openfang-kernel/src/workflow.rs:602\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04c719cd0b4d03736db09dc9b6ceaf4b345a0623a2f4e3b2b563b81027d4e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/openfang-migrate/src/openclaw.rs:1132-1138 | crates/openfang-migrate/src/openclaw.rs:2194-2200 | crates/openfang-migrate/src/openclaw.rs:2237-2245 | crates/openfang-migrate/src/openclaw.rs:2307-2315 | crates/openfang-migrate/src/openclaw.rs:2348-2354 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-migrate/src/openclaw.rs:1129\u0060 calls \u0060scan_from_legacy_yaml\u0060 and \u0060crates/openfang-migrate/src/openclaw.rs:2233\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"309f1387b605d43851270d8eff848d87be0f9b5dd1be7e0340fad4de6d591804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/openfang-cli/src/tui/event.rs:644-650 | crates/openfang-cli/src/tui/event.rs:773-779 | crates/openfang-cli/src/tui/event.rs:814-820 | crates/openfang-cli/src/tui/event.rs:893-899 \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 \u0060crates/openfang-cli/src/tui/event.rs:644\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-cli/src/tui/event.rs:781\u0060 calls \u0060json\u0060 and \u0060crates/openfang-cli/src/tui/event.rs:652\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"29601a327af6b9eaad9309fab2e2f8feb02d5b937eb16ff9535fa1144270cf1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/openfang-runtime/src/agent_loop.rs:2653-2659 | crates/openfang-runtime/src/agent_loop.rs:2703-2709 | crates/openfang-runtime/src/agent_loop.rs:2790-2796 | crates/openfang-runtime/src/agent_loop.rs:2904-2910 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2653\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"5608f7ec7743d32136a3d9c4096167f005df86bd174fdfa669c3984badddce27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/openfang-channels/src/reddit.rs:130-136 | crates/openfang-channels/src/zulip.rs:91-97 | crates/openfang-channels/src/zulip.rs:159-165 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/reddit.rs\u0060 and \u0060crates/openfang-channels/src/zulip.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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 \u0060crates/openfang-channels/src/reddit.rs:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a56eee0f3b79a59aff3d650724a8769895898ab419b2da53778c945b07eaf3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/openfang-cli/src/main.rs:3093-3099 | crates/openfang-cli/src/main.rs:3110-3116 | crates/openfang-cli/src/main.rs:3125-3131 \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 \u0060crates/openfang-cli/src/main.rs:3093\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":3093}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77afce0895d781d98e7a7bc2ec0e5325e6e2c4f973d38c5bb0de47cd091cdd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-api/src/routes.rs:5800-5806 | crates/openfang-api/src/routes.rs:9671-9677 \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 \u0060crates/openfang-api/src/routes.rs:5800\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":5800}}}],"partialFingerprints":{"codehealthFindingId/v1":"646c38e88e0452ad17cacd330b8eec59aabb93df27c4ef83e55abf351f04ec25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-channels/src/flock.rs:262-268 | crates/openfang-channels/src/pumble.rs:239-245 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/flock.rs\u0060 and \u0060crates/openfang-channels/src/pumble.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 104 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 \u0060crates/openfang-channels/src/flock.rs:262\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":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fee5df335440c5ad3bfc0bd8e476fb11dcbfeae9a5f30e77e7e11d4e05eb7fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-channels/src/google_chat.rs:167-174 | crates/openfang-channels/src/threema.rs:201-208 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/google_chat.rs\u0060 and \u0060crates/openfang-channels/src/threema.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 72 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 \u0060crates/openfang-channels/src/google_chat.rs:167\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":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d35a76701ab3b5babda536e72bdaa6bbe36a1c0cfcc20cfa78c85bcd1a14c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-channels/src/line.rs:137-143 | crates/openfang-channels/src/mastodon.rs:76-82 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/line.rs\u0060 and \u0060crates/openfang-channels/src/mastodon.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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 \u0060crates/openfang-channels/src/line.rs:137\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"67788d96def727f00661a94edd039c01681464118fbc58f5190a851be540a0ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-channels/src/messenger.rs:110-117 | crates/openfang-channels/src/messenger.rs:392-398 \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 \u0060crates/openfang-channels/src/messenger.rs:110\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":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1238b4045ced92cb8b049db5664f48a1802809a358af652553b7d21b03244ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/launcher.rs:567-573 | crates/openfang-cli/src/main.rs:1395-1401 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/launcher.rs:567\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-cli/src/main.rs:1394\u0060 calls \u0060success\u0060 and \u0060crates/openfang-cli/src/launcher.rs:566\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":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8f11e7c4959654fe047b7e86780686f9a24b9168777a5488174353fa1f2cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:931-937 | crates/openfang-cli/src/tui/event.rs:962-968 \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 \u0060crates/openfang-cli/src/tui/event.rs:931\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3a1200ca522b23f6c55a7496473469f0bb4ccabf5518b6abe14ea887e94d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/tui/screens/channels.rs:733-739 | crates/openfang-cli/src/tui/screens/workflows.rs:358-364 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/channels.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/workflows.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-cli/src/tui/screens/channels.rs:733\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut ChannelState\u0060 in one and \u0060\u0026mut WorkflowState\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":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8cdad34006ed2762d24da0be24fefe6b14f2c6ad099ebf4bb4537a1d4f6425"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/tui/screens/extensions.rs:218-228 | crates/openfang-cli/src/tui/screens/skills.rs:194-204 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/extensions.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/skills.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/openfang-cli/src/tui/screens/extensions.rs:218\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":"crates/openfang-cli/src/tui/screens/extensions.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1068af50468ed8d61f67899f8e1be4e42a2ccaee0ab260803e64e8d581cbf386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1738-1744 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2305-2314 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1738\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ac8113a68d02133570e0b5e60c59a451fd8aad53cde39045a21e2c818581ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/tui/screens/memory.rs:309-315 | crates/openfang-cli/src/tui/screens/sessions.rs:247-253 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/memory.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/sessions.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 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 \u0060crates/openfang-cli/src/tui/screens/memory.rs:309\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":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ae367c75e48e7b5adc75585f2bec5ca2ddd8121f67bfd70994a6d8271cf059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/tui/screens/settings.rs:221-231 | crates/openfang-cli/src/tui/screens/usage.rs:113-123 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/settings.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/usage.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 101 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 \u0060crates/openfang-cli/src/tui/screens/settings.rs:221\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":"crates/openfang-cli/src/tui/screens/settings.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fe022c9631073c6315385ce367304ed01a765bb3f70e0d26a64330896e359a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:5411-5417 | crates/openfang-kernel/src/kernel.rs:5582-5589 \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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4141a59f2aa01b479cd7a3b2bea4fcadd0e0eaea8d5941596c98db06be5b8b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:7212-7218 | crates/openfang-kernel/src/kernel.rs:7282-7288 \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 \u0060crates/openfang-kernel/src/kernel.rs:7212\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a681fd095d90a99e8aee0dc8e59a168329f8f853460247b699022a79d2872d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:7873-7879 | crates/openfang-kernel/src/kernel.rs:7923-7929 \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 \u0060crates/openfang-kernel/src/kernel.rs:7873\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7873}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea6e6026fe75e2dfeab46dc8134e12bbe919ed8271807f95572d07474018b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-memory/src/session.rs:61-68 | crates/openfang-memory/src/session.rs:245-252 \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 \u0060crates/openfang-memory/src/session.rs:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/session.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e179ec9454cfcbe515adf16a21fe826ad62fe23c46f09c20967b450fd514519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/openfang-memory/src/session.rs:163-169 | crates/openfang-memory/src/session.rs:280-285 \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 \u0060crates/openfang-memory/src/session.rs:163\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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c18d6fbe53e5e81700c1b123e6514e4b117fdd62d63e3ec63c30ac65d8043b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-runtime/src/browser.rs:544-550 | crates/openfang-runtime/src/browser.rs:565-571 \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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1915d8e1790b07747ba2c45572e06bff79ef77720dc507e2be3975e7e98a5ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-runtime/src/drivers/claude_code.rs:308-314 | crates/openfang-runtime/src/drivers/claude_code.rs:503-509 \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, \u0060crates/openfang-runtime/src/drivers/claude_code.rs:510\u0060 calls \u0060arg\u0060 and \u0060crates/openfang-runtime/src/drivers/claude_code.rs:315\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c646c6a9a41309e3e0af966bd7092f4b3fa195bef6cbad014613ef41b0f915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-runtime/src/drivers/fallback.rs:39-45 | crates/openfang-runtime/src/drivers/fallback.rs:80-86 \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 \u0060crates/openfang-runtime/src/drivers/fallback.rs:39\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":"crates/openfang-runtime/src/drivers/fallback.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"839bf2c388400e61b16e7dc2fd08534647bca1ba656936badd979cc3a6811c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-runtime/src/tool_runner.rs:3025-3031 | crates/openfang-runtime/src/tool_runner.rs:3070-3076 \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 \u0060crates/openfang-runtime/src/tool_runner.rs:3025\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":3025}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabf37584f290ffc088648555217f2186098169a9b4447eb57d080de5ad39691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 16): crates/openfang-cli/src/tui/event.rs:534-539 | crates/openfang-cli/src/tui/event.rs:590-595 | crates/openfang-cli/src/tui/event.rs:643-648 | crates/openfang-cli/src/tui/event.rs:691-696 | crates/openfang-cli/src/tui/event.rs:730-735 | crates/openfang-cli/src/tui/event.rs:772-777 | crates/openfang-cli/src/tui/event.rs:813-818 | crates/openfang-cli/src/tui/event.rs:849-854 | crates/openfang-cli/src/tui/event.rs:892-897 | crates/openfang-cli/src/tui/event.rs:930-935 | crates/openfang-cli/src/tui/event.rs:961-966 | crates/openfang-cli/src/tui/event.rs:1005-1010 | crates/openfang-cli/src/tui/event.rs:1069-1074 | crates/openfang-cli/src/tui/event.rs:1143-1148 | crates/openfang-cli/src/tui/event.rs:1185-1190 | crates/openfang-cli/src/tui/event.rs:2086-2091 \u2014 all 16 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 \u0060crates/openfang-cli/src/tui/event.rs:534\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-cli/src/tui/event.rs:781\u0060 calls \u0060json\u0060 and \u0060crates/openfang-cli/src/tui/event.rs:652\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5c653a367244cd3f360d77fe6d23c6292d670a7844f12d2190bd0c85623830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 7): crates/openfang-memory/src/session.rs:178-183 | crates/openfang-memory/src/session.rs:293-298 | crates/openfang-memory/src/structured.rs:434-439 | crates/openfang-memory/src/substrate.rs:342-347 | crates/openfang-memory/src/substrate.rs:608-612 | crates/openfang-memory/src/usage.rs:260-265 | crates/openfang-memory/src/usage.rs:298-303 \u2014 before extracting anything, compare \u0060crates/openfang-memory/src/session.rs\u0060 and \u0060crates/openfang-memory/src/structured.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-memory/src/session.rs:178\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"481cf38088115ea33364dd20f7b799eb2c2f10e559f289d34cdfe954de296f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/openfang-migrate/src/openclaw.rs:1472-1477 | crates/openfang-migrate/src/openclaw.rs:1592-1597 | crates/openfang-migrate/src/openclaw.rs:1666-1671 | crates/openfang-migrate/src/openclaw.rs:1789-1794 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1472\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5743b36de0e2d3c5a321789b398a754ca4fc82988d6a0c488b7147d65f8d5d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/openfang-api/src/ws.rs:1469-1474 | crates/openfang-api/src/ws.rs:1477-1482 | crates/openfang-api/src/ws.rs:1485-1490 \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 \u0060crates/openfang-api/src/ws.rs:1469\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":"crates/openfang-api/src/ws.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d11d9015a80a813869f2f1d318b8a20bb49ab4c65068d145d99f9d453f0b11b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/openfang-cli/src/tui/screens/sessions.rs:139-144 | crates/openfang-cli/src/tui/screens/templates.rs:203-208 | crates/openfang-cli/src/tui/screens/workflows.rs:123-128 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/sessions.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/templates.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 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 \u0060crates/openfang-cli/src/tui/screens/sessions.rs:139\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/sessions.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2479a805bd55a12a37aa32611c97d6716afdd6f41fc5ff42d31733fcbd4e61ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-api/src/routes.rs:3476-3484 | crates/openfang-api/src/routes.rs:3498-3506 \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, \u0060crates/openfang-api/src/routes.rs:3508\u0060 calls \u0060validate\u0060 and \u0060crates/openfang-api/src/routes.rs:3486\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3476}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c8bba65065361d4955e77efe7e601716833fe1e914f5c819030250164cd343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-channels/src/flock.rs:97-102 | crates/openfang-channels/src/gotify.rs:114-119 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/flock.rs:97\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":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df2a7c39631f094c7519a5da6e27f8268331dd2761369a3897394f3dea47c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:167-172 | crates/openfang-cli/src/tui/mod.rs:1202-1208 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:167\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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3a581c10164e637ff3eb02a1ebdd5ccbb5262351a66ec2e0d759ad22b6b76f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:527-539 | crates/openfang-cli/src/tui/mod.rs:1752-1763 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"2041a1390fa18a9fabe9901f0379867dc0aa0a6453f1bfd4f52109f77addb778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:826-831 | crates/openfang-cli/src/tui/event.rs:907-912 \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 \u0060crates/openfang-cli/src/tui/event.rs:826\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3de74e762585f824cc0805273b85279b2b550394d010127bc45f50e3daa8e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:1041-1046 | crates/openfang-cli/src/tui/event.rs:1105-1112 \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 \u0060crates/openfang-cli/src/tui/event.rs:1041\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"e700a4946e67a0bed3ee4190d7b228bf1a29227376151f44dfcf9bf939b7908c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/tui/screens/agents.rs:1422-1429 | crates/openfang-cli/src/tui/screens/channels.rs:633-640 \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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba48fb68c5ca5b2bacb0f2c5fed61091c7dfb49efc6e9bf3fab34b9c04cb9f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:466-472 | crates/openfang-cli/src/tui/screens/init_wizard.rs:477-483 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:466\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"868c227f266babdd8c3d61654b2a6d6ce488d768dabf71501f1996207deadc7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-extensions/src/oauth.rs:273-278 | crates/openfang-skills/src/clawhub.rs:741-746 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-extensions/src/oauth.rs:273\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-skills/src/clawhub.rs:747\u0060 calls \u0060push\u0060 and \u0060crates/openfang-extensions/src/oauth.rs:279\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":"crates/openfang-extensions/src/oauth.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dde61e56f4608f04cb8216ec1abe4410dd27cf7c65f668080475a520f93b07a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:5953-5958 | crates/openfang-kernel/src/kernel.rs:6071-6075 \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 \u0060crates/openfang-kernel/src/kernel.rs:5953\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-kernel/src/kernel.rs:5950\u0060 calls \u0060register\u0060 and \u0060crates/openfang-kernel/src/kernel.rs:6068\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5953}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4796560d1535165a856e8b9a8bc84fb5aaf9203fd340093f8d6b336822eef2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-memory/src/session.rs:79-84 | crates/openfang-memory/src/session.rs:495-500 \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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f4b96112e03f8604b5d9ecabef9de5bfaeaa1c61641f21fa45d10b377c4823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-memory/src/substrate.rs:63-68 | crates/openfang-memory/src/substrate.rs:117-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-memory/src/substrate.rs:63\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/substrate.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bce892e98631de2cf183251d4571520272cfb6dad587c593ad8466e0c96f071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-runtime/src/a2a.rs:467-473 | crates/openfang-runtime/src/a2a.rs:501-506 \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 \u0060crates/openfang-runtime/src/a2a.rs:467\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/a2a.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"e743fd53f5d5735a020f42c45ce8f663164e2259fd86229dd4d7b37187d12390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:813-818 | crates/openfang-runtime/src/drivers/openai.rs:1418-1423 \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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f815276871b1118a8c63c8986bf7c2f33e319a1e9f36ac3794e8668f70cee99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): crates/openfang-channels/src/bluesky.rs:100-105 | crates/openfang-channels/src/flock.rs:97-102 | crates/openfang-channels/src/gotify.rs:114-119 | crates/openfang-channels/src/messenger.rs:112-117 | crates/openfang-channels/src/messenger.rs:394-398 | crates/openfang-channels/src/signal.rs:60-65 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/flock.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/openfang-channels/src/bluesky.rs:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"73db11e76b30f46324a1702ff846bb7294c67a83f41cae1168a671ba263103a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/openfang-cli/src/tui/chat_runner.rs:459-464 | crates/openfang-cli/src/tui/chat_runner.rs:533-538 | crates/openfang-cli/src/tui/mod.rs:1757-1762 | crates/openfang-cli/src/tui/mod.rs:1946-1951 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:533\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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"01264d83c289f63e5e55a8b8868d74aad2d2d5dc577073486b5879463a413a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/openfang-api/src/channel_bridge.rs:1868-1873 | crates/openfang-cli/src/dotenv.rs:133-138 | crates/openfang-desktop/src/server.rs:180-185 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-desktop/src/server.rs:186\u0060 calls \u0060is_empty\u0060, \u0060is_err\u0060 and \u0060crates/openfang-api/src/channel_bridge.rs:1875\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"647f3aad9525317313b417b8b871455f5cd2b25e4b69f68a0acc4fafef4ab2fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/openfang-api/src/routes.rs:4292-4297 | crates/openfang-api/src/routes.rs:4364-4369 | crates/openfang-api/src/routes.rs:4444-4449 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4292}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d93d029bec2c07b0ce4658eb956f18ce8652e0f60e142cc8b49b8bc4c64075c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/openfang-channels/src/flock.rs:263-267 | crates/openfang-channels/src/pumble.rs:240-244 | crates/openfang-channels/src/teams.rs:306-310 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/flock.rs\u0060 and \u0060crates/openfang-channels/src/pumble.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 104 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 \u0060crates/openfang-channels/src/flock.rs:263\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-channels/src/teams.rs:305\u0060 calls \u0060clone\u0060 and \u0060crates/openfang-channels/src/flock.rs:262\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f0b87af28b13167fac5aab52268812eaf9bd04444be653695410ab4e42b97b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/openfang-cli/src/tui/screens/channels.rs:511-515 | crates/openfang-cli/src/tui/screens/channels.rs:526-530 | crates/openfang-cli/src/tui/screens/channels.rs:537-541 | crates/openfang-cli/src/tui/screens/channels.rs:549-553 \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 \u0060crates/openfang-cli/src/tui/screens/channels.rs:511\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":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"16745386ddd9d91f10cc82c1d6427a9870392366feef8aa8f96171b88df53cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/openfang-cli/src/tui/screens/init_wizard.rs:1716-1720 | crates/openfang-cli/src/tui/screens/init_wizard.rs:1737-1741 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2603-2607 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1716\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"45854d1c04be86d499d7ff388ca0e87569b15aecc509290b19e2503ae5fb64dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/openfang-kernel/src/kernel.rs:5841-5846 | crates/openfang-kernel/src/kernel.rs:5953-5957 | crates/openfang-kernel/src/kernel.rs:6071-6075 \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 \u0060crates/openfang-kernel/src/kernel.rs:5841\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-kernel/src/kernel.rs:5950\u0060 calls \u0060register\u0060 and \u0060crates/openfang-kernel/src/kernel.rs:6068\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5841}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d4ea9e6f99f3d14627ddba11e5efbce9ccaf46dba8fb7ac1697328e1e82743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/openfang-runtime/src/session_repair.rs:235-239 | crates/openfang-runtime/src/session_repair.rs:319-323 | crates/openfang-runtime/src/session_repair.rs:399-403 \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 \u0060crates/openfang-runtime/src/session_repair.rs:235\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":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e85a49a86bcbd59b08f7bb6cd6d58ad4358c6463ddb9440ffdd757bf0c7cc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-api/src/routes.rs:2992-2996 | crates/openfang-api/src/routes.rs:3008-3012 \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 \u0060crates/openfang-api/src/routes.rs:2992\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":2992}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e887b3de65c1b6a0c2af895b5030393a1ab183adb95d9474fc992c456fe361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-api/src/routes.rs:11170-11176 | crates/openfang-api/src/routes.rs:11182-11188 \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 \u0060crates/openfang-api/src/routes.rs:11182\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":11170}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c3d4a697d08612342c2caa4bb0b88610f96179ab7ea68963837e6e595ab3d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-channels/src/wecom.rs:266-270 | crates/openfang-channels/src/wecom.rs:314-318 \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 \u0060crates/openfang-channels/src/wecom.rs:266\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/wecom.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fad5c96e9f469bf17d5a9877779de35abb95d30eb356f64684d9e9a11f70406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/main.rs:2054-2060 | crates/openfang-cli/src/main.rs:6719-6725 \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, \u0060crates/openfang-cli/src/main.rs:2061\u0060 calls \u0060kv\u0060 and \u0060crates/openfang-cli/src/main.rs:6726\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b462ecc04e1926b4755ddb299dbdede343153de2d91f04e06fe64f4ab2987dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-cli/src/main.rs:6232-6237 | crates/openfang-cli/src/main.rs:6251-6256 \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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54c0edb25b71e0ab51326e5aaa0faf21fc5930da4552347fb9abfca11b1a5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/tui/chat_runner.rs:61-69 | crates/openfang-cli/src/tui/mod.rs:228-236 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/chat_runner.rs\u0060 and \u0060crates/openfang-cli/src/tui/mod.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 216 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 \u0060crates/openfang-cli/src/tui/chat_runner.rs:61\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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5cd1712f23bd9da26eb6accb2bea857ebd6b30de3a5e57818902929d10c53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:1705-1711 | crates/openfang-cli/src/tui/event.rs:1912-1918 \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 \u0060crates/openfang-cli/src/tui/event.rs:1705\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"9645d78c7423594512a7b988c80e1a0c3265676a12625d74949bd62d9ebd1cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-cli/src/tui/screens/agents.rs:1009-1014 | crates/openfang-cli/src/tui/screens/agents.rs:1028-1033 \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 \u0060crates/openfang-cli/src/tui/screens/agents.rs:1009\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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"04139b2df6a2a88465d9783fc325f4af882e70fe0bbb8df142a78ceac0a94456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-cli/src/tui/screens/audit.rs:241-245 | crates/openfang-cli/src/tui/screens/dashboard.rs:203-207 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-cli/src/tui/screens/audit.rs:241\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":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91ec51a8a035ecb9db24133d0372fb43dba129833e361b58ab9dc89020e8a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-cli/src/tui/screens/extensions.rs:393-397 | crates/openfang-cli/src/tui/screens/extensions.rs:448-452 \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 \u0060crates/openfang-cli/src/tui/screens/extensions.rs:393\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":"crates/openfang-cli/src/tui/screens/extensions.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff41e2802544463b0108c837e7e18ec281b736a32bdeb1aeaafe88d13e45c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1518-1524 | crates/openfang-cli/src/tui/screens/init_wizard.rs:1548-1554 \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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"e333a7bb86646fb18ca1b6a61c63ed0fc1f39abf34d41e0c96769cc1b65ef82c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-cli/src/tui/screens/wizard.rs:235-240 | crates/openfang-cli/src/tui/screens/wizard.rs:246-251 \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 \u0060crates/openfang-cli/src/tui/screens/wizard.rs:235\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":"crates/openfang-cli/src/tui/screens/wizard.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af5bc2b70fb2cbc79790f3f909f8a9b1e19913ea67bce0119da192605e9a5a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-extensions/src/vault.rs:441-445 | crates/openfang-extensions/src/vault.rs:481-485 \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, \u0060crates/openfang-extensions/src/vault.rs:447\u0060 calls \u0060as_bytes\u0060 and \u0060crates/openfang-extensions/src/vault.rs:487\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/vault.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"9027284f8378c718121be174cfb1f9076b27c74e05854268e7b4c430ec9f09ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:3431-3435 | crates/openfang-kernel/src/kernel.rs:3470-3474 \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 \u0060crates/openfang-kernel/src/kernel.rs:3431\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ea31c6692e1d5be2361d47345c138e20da0965573238a08f8dd45f02ed6a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-memory/src/session.rs:157-162 | crates/openfang-memory/src/structured.rs:282-287 \u2014 before extracting anything, compare \u0060crates/openfang-memory/src/session.rs\u0060 and \u0060crates/openfang-memory/src/structured.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-memory/src/session.rs:157\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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6194519724e28a34b90a3004f598d7649eed350fa4495531005cf70fb8db917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-runtime/src/image_gen.rs:62-67 | crates/openfang-runtime/src/tts.rs:235-239 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/image_gen.rs:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/openfang-runtime/src/image_gen.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95d260e13f752663c293be09e05c06a7bbd9677c54a6123a34e5178c6fe1efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-runtime/src/web_content.rs:291-296 | crates/openfang-runtime/src/web_content.rs:299-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/web_content.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d092960365299e9831f127fb8542746410e515c3415a13fd7fcbedc367673a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-channels/src/discord.rs:682-695 | crates/openfang-channels/src/mattermost.rs:392-404 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discord.rs\u0060 and \u0060crates/openfang-channels/src/mattermost.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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 \u0060crates/openfang-channels/src/discord.rs:682\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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46decbc8acaa15fedaac743749268b322fb07ded003b849c036ed5be07c343c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/openfang-channels/src/flock.rs:50-59 | crates/openfang-channels/src/gitter.rs:47-56 | crates/openfang-channels/src/guilded.rs:53-62 | crates/openfang-channels/src/pumble.rs:50-59 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/flock.rs\u0060 and \u0060crates/openfang-channels/src/guilded.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6a972f3d3071d1792670a8742bb83efff1b54a5f7abd6da0fd463f507568d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 11): crates/openfang-channels/src/flock.rs:316-327 | crates/openfang-channels/src/google_chat.rs:338-349 | crates/openfang-channels/src/guilded.rs:326-337 | crates/openfang-channels/src/matrix.rs:658-669 | crates/openfang-channels/src/nextcloud.rs:412-423 | crates/openfang-channels/src/nostr.rs:402-413 | crates/openfang-channels/src/pumble.rs:301-312 | crates/openfang-channels/src/rocketchat.rs:356-367 | crates/openfang-channels/src/signal.rs:222-233 | crates/openfang-channels/src/threema.rs:317-328 | crates/openfang-channels/src/webex.rs:454-465 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/flock.rs\u0060 and \u0060crates/openfang-channels/src/google_chat.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/flock.rs:316\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/flock.rs:329\u0060 calls \u0060send_typing\u0060, \u0060Ok\u0060 and \u0060crates/openfang-channels/src/google_chat.rs:351\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":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e5834ae0443bcfd46740c08e48ba108efc193a869a4ad24e4bba5764446621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/launcher.rs:32-39 | crates/openfang-cli/src/tui/screens/welcome.rs:48-55 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/launcher.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/welcome.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cd60400f70315be6e9438fbac290d44e55292feac8413b2e66148b8a23c094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 15): crates/openfang-cli/src/tui/screens/agents.rs:1493-1502 | crates/openfang-cli/src/tui/screens/audit.rs:336-345 | crates/openfang-cli/src/tui/screens/chat.rs:885-894 | crates/openfang-cli/src/tui/screens/comms.rs:743-752 | crates/openfang-cli/src/tui/screens/dashboard.rs:272-281 | crates/openfang-cli/src/tui/screens/logs.rs:396-405 | crates/openfang-cli/src/tui/screens/memory.rs:538-547 | crates/openfang-cli/src/tui/screens/peers.rs:203-212 | crates/openfang-cli/src/tui/screens/sessions.rs:301-310 | crates/openfang-cli/src/tui/screens/settings.rs:591-600 | crates/openfang-cli/src/tui/screens/skills.rs:737-746 | crates/openfang-cli/src/tui/screens/templates.rs:394-403 | crates/openfang-cli/src/tui/screens/triggers.rs:544-553 | crates/openfang-cli/src/tui/screens/usage.rs:430-439 | crates/openfang-cli/src/tui/screens/workflows.rs:696-705 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/agents.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb963272e48f6d42075b5e0d9b1d0c22a98f46695d86e2c57124066cc00ba867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/tui/screens/skills.rs:748-756 | crates/openfang-cli/src/tui/screens/usage.rs:420-428 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/skills.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/usage.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 97 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":"crates/openfang-cli/src/tui/screens/skills.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb5848817f91b00a7825f785e11afeda8237a6119747177842b486b7beed72b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-hands/src/registry.rs:26-30 | crates/openfang-types/src/manifest_signing.rs:39-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-hands/src/registry.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd29788724732a2508ba4a4a09e5c37cf0bcf55ce98d197b7f3dfdfd33c0c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-kernel/src/config.rs:352-359 | crates/openfang-types/src/config.rs:1669-1676 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/config.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e80e2df94f6d4e2d6dea22322e61e176579eacd3ea05cdf35fd0c2e7c7a6413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-memory/src/semantic.rs:492-498 | crates/openfang-runtime/src/embedding.rs:279-285 \u2014 before extracting anything, compare \u0060crates/openfang-memory/src/semantic.rs\u0060 and \u0060crates/openfang-runtime/src/embedding.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"crates/openfang-memory/src/semantic.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad96ad5676ecadf8ecde3e6c9fa464289b50417ce488f532ba27f795c75ca77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-memory/src/semantic.rs:501-506 | crates/openfang-runtime/src/embedding.rs:288-293 \u2014 before extracting anything, compare \u0060crates/openfang-memory/src/semantic.rs\u0060 and \u0060crates/openfang-runtime/src/embedding.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"crates/openfang-memory/src/semantic.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95bc3b86f1ced67de90f56134b759a37b29e8f5c4d056e126375ada76323816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-runtime/src/drivers/anthropic.rs:26-35 | crates/openfang-runtime/src/drivers/gemini.rs:31-40 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/anthropic.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d8a43c99fa535aeb4d17990836f7d215e56da384b5f58b172c50d645b33535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-runtime/src/str_utils.rs:9-19 | crates/openfang-types/src/lib.rs:27-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/str_utils.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be670b3ede65f5886e71b98e2c3f9ef6adbf40dea5d0380286204e72ad54a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1682-1701 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2254-2274 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1682\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b45998f8e583260c00a56adfe4d170ad69f451eae7e38d1c07ddeb96bcca1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201318 lines \u00D7 4): crates/openfang-channels/src/formatter.rs:310-327 | crates/openfang-channels/src/formatter.rs:396-399 | crates/openfang-channels/src/formatter.rs:415-418 | crates/openfang-channels/src/formatter.rs:547-564 \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 \u0060crates/openfang-channels/src/formatter.rs:310\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd20f0e64e90cab392e1325abb4a4cc79845bea8a897ff287b5caebb4da04724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/openfang-channels/src/nextcloud.rs:379-396 | crates/openfang-channels/src/twist.rs:475-492 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/nextcloud.rs\u0060 and \u0060crates/openfang-channels/src/twist.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 80 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 \u0060crates/openfang-channels/src/nextcloud.rs:379\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eda3d0e79d2f232f66ad1c46be3e0425bdf0481ba0a7bcc703b0fa69c3c7c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:2485-2501 | crates/openfang-runtime/src/agent_loop.rs:2753-2768 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2485\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2485}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca6747d2f75a0b7424eb3e71c78ccff71ef600730ef94c3f7997fb87832e9c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/openfang-cli/src/tui/screens/memory.rs:273-285 | crates/openfang-cli/src/tui/screens/triggers.rs:360-374 | crates/openfang-cli/src/tui/screens/workflows.rs:453-469 | crates/openfang-cli/src/tui/screens/workflows.rs:639-651 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/memory.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/triggers.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 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 \u0060crates/openfang-cli/src/tui/screens/memory.rs:273\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":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2d8faff07d7882186d58064ba0ec4b2e956f1e6347582ea3a99cc25666a545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:668-684 | crates/openfang-runtime/src/agent_loop.rs:1908-1924 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:668\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9caac850b0b0443b738be6ba15c7629973e117833759e6797d6959eb93a4626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-kernel/src/background.rs:90-106 | crates/openfang-kernel/src/background.rs:151-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-kernel/src/background.rs:90\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/background.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"72df23ec3c26a45aa8f15e4d285aa744140243a17e6a2cf5e46131a6cb0a7688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:1299-1315 | crates/openfang-runtime/src/agent_loop.rs:1483-1497 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:1299\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"838e49da01d6b616c6f8a9961941daa1a09f6d2a5aafdbacafa829ad1c85f35f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/openfang-channels/src/gitter.rs:306-322 | crates/openfang-channels/src/ntfy.rs:299-315 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/ntfy.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 120 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 \u0060crates/openfang-channels/src/gitter.rs:306\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f94c00cebd00952c9f9cb071e2ff671c5e20380feb7830e205107d3297591d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/openfang-channels/src/guilded.rs:297-312 | crates/openfang-channels/src/nostr.rs:367-382 | crates/openfang-channels/src/webex.rs:425-440 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/nostr.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 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 \u0060crates/openfang-channels/src/guilded.rs:297\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":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c2bbd8c03c676c5c582a94e17194dd52b1081549c572083e9c0676e38d5d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/openfang-channels/src/nextcloud.rs:242-255 | crates/openfang-channels/src/rocketchat.rs:210-223 | crates/openfang-channels/src/twist.rs:324-339 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/nextcloud.rs\u0060 and \u0060crates/openfang-channels/src/rocketchat.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 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 \u0060crates/openfang-channels/src/nextcloud.rs:242\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-channels/src/nextcloud.rs:240\u0060 calls \u0060from_secs\u0060 and \u0060crates/openfang-channels/src/rocketchat.rs:208\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":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"16eae82f6967cf2289a40a68a2ffa933d9f862fa62d01af9787367d8718d261d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/openfang-runtime/src/drivers/fallback.rs:48-73 | crates/openfang-runtime/src/drivers/fallback.rs:89-114 \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 \u0060crates/openfang-runtime/src/drivers/fallback.rs:48\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/fallback.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40a80b2bdda9bfad2d7c0f0971ae9a23ce4c5f9fa2ffabe24afb1b3fc870c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-cli/src/tui/screens/channels.rs:930-944 | crates/openfang-cli/src/tui/screens/security.rs:311-326 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/tui/screens/channels.rs:930\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":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5bf06a8231c4910cf691976f0a41f085990f8c1836afafedade052a9808e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-channels/src/gitter.rs:287-301 | crates/openfang-channels/src/ntfy.rs:278-292 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/ntfy.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 120 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 \u0060crates/openfang-channels/src/gitter.rs:287\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/ntfy.rs:293\u0060 calls \u0060clear\u0060 and \u0060crates/openfang-channels/src/gitter.rs:302\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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"88687f6d7d65c6cd1438eeda3ea842f50cc41a8fcd9d20ad4978423f757d7a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-channels/src/discourse.rs:212-226 | crates/openfang-channels/src/linkedin.rs:252-266 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discourse.rs\u0060 and \u0060crates/openfang-channels/src/linkedin.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 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 \u0060crates/openfang-channels/src/discourse.rs:212\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d83f5d8126c5466ffe4e72d106c6adf1d95dfb662d7ee5536c4e00f686d824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-channels/src/bluesky.rs:370-384 | crates/openfang-channels/src/reddit.rs:353-367 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/reddit.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/bluesky.rs:370\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52d7517a862350b563438a3ec125694f609b2166c85616f92f80565773522a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/openfang-channels/src/google_chat.rs:186-200 | crates/openfang-channels/src/threema.rs:220-234 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/google_chat.rs\u0060 and \u0060crates/openfang-channels/src/threema.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 72 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 \u0060crates/openfang-channels/src/google_chat.rs:186\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"490013b1f4d0da039d1539670aae87d1dc7ada39ecda8f60b123f24c6a60627c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/openfang-runtime/src/agent_loop.rs:2487-2501 | crates/openfang-runtime/src/agent_loop.rs:2534-2547 | crates/openfang-runtime/src/agent_loop.rs:2755-2768 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2487\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-runtime/src/agent_loop.rs:2531\u0060 calls \u0060from_str\u0060, \u0060Ok\u0060, \u0060Err\u0060 and \u0060crates/openfang-runtime/src/agent_loop.rs:2486\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cf55cd753cb1d5255a14d82dca4131952784c44f65a59f4a97774e51f69acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-cli/src/main.rs:6355-6368 | crates/openfang-cli/src/main.rs:6409-6422 \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 \u0060crates/openfang-cli/src/main.rs:6355\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7ca7ca3ecf38d7d8932ff8dcaaa0b11622784f45ebd62f1825f3c938049e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-channels/src/reddit.rs:425-438 | crates/openfang-channels/src/rocketchat.rs:244-257 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/reddit.rs\u0060 and \u0060crates/openfang-channels/src/rocketchat.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/reddit.rs:425\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"45285215c1948a759562d55dd5a0ddd9b1dda2fb7fb75d7935822517a2621ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/bluesky.rs:321-331 | crates/openfang-channels/src/mastodon.rs:244-257 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/mastodon.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/bluesky.rs:321\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"545f3ba47c001d5c82bafe46dae97de98b5baf149a954115d65f95e917e80714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:1082-1095 | crates/openfang-runtime/src/drivers/openai.rs:1347-1360 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/drivers/gemini.rs:1082\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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ea2bc6b83a9d58ddf0ca8f198752c2bd6a9b6b86a00a51d39194a73ecaf0c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-channels/src/discourse.rs:333-346 | crates/openfang-channels/src/linkedin.rs:350-363 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discourse.rs\u0060 and \u0060crates/openfang-channels/src/linkedin.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 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 \u0060crates/openfang-channels/src/discourse.rs:333\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"399c830b55b60f08f6885863ff817eefd92a7468d6570205b42c7df303629fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): crates/openfang-runtime/src/drivers/anthropic.rs:266-277 | crates/openfang-runtime/src/drivers/anthropic.rs:373-384 | crates/openfang-runtime/src/drivers/bedrock.rs:732-743 | crates/openfang-runtime/src/drivers/gemini.rs:707-718 | crates/openfang-runtime/src/drivers/gemini.rs:794-807 | crates/openfang-runtime/src/drivers/vertex.rs:534-545 | crates/openfang-runtime/src/drivers/vertex.rs:614-627 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/anthropic.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 62 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 \u0060crates/openfang-runtime/src/drivers/anthropic.rs:266\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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5eec2fcb74c6ed6264f6486d54887ea8fe5816888cecff3d52ca23619ef443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-api/src/routes.rs:10340-10351 | crates/openfang-api/src/routes.rs:10442-10455 \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 \u0060crates/openfang-api/src/routes.rs:10340\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10340}}}],"partialFingerprints":{"codehealthFindingId/v1":"305d36a813c51de3ffcf18032686dbe68e0c90584605e7fe517b544211c88b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-kernel/src/background.rs:72-85 | crates/openfang-kernel/src/background.rs:134-146 \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 \u0060crates/openfang-kernel/src/background.rs:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/background.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"664a47adf66b7ec01f27cef8a9bd46712c0fd90552d6dde6f139f3f82e12b19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:2434-2447 | crates/openfang-runtime/src/agent_loop.rs:2497-2509 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2434\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2434}}}],"partialFingerprints":{"codehealthFindingId/v1":"388aa405341c8949b048fc02374630285f8535ed3340112f840a58c26e80bb48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/openfang-channels/src/mattermost.rs:310-323 | crates/openfang-channels/src/slack.rs:269-282 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/mattermost.rs\u0060 and \u0060crates/openfang-channels/src/slack.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 63 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 \u0060crates/openfang-channels/src/mattermost.rs:310\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"274ab7b8c19e41efba4ab59b49fcd68561cf680249f8c4face5280a5b1ddab6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-api/src/routes.rs:5004-5017 | crates/openfang-api/src/routes.rs:5075-5087 \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 \u0060crates/openfang-api/src/routes.rs:5004\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":5004}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cd570e1045988e3ead8be91d86c5d4e41c12ec6f8784943b6f93b20de249fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-channels/src/guilded.rs:293-304 | crates/openfang-channels/src/keybase.rs:389-401 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/keybase.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/openfang-channels/src/guilded.rs:293\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15a753035c3d8aac595bce5fc0cd369e418462b11a9dfae14f050c363a9d381"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/openfang-cli/src/main.rs:6351-6363 | crates/openfang-cli/src/main.rs:6405-6417 | crates/openfang-cli/src/main.rs:6447-6459 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1594bfd1539b97a11330cf32507bb4dd2d3e9d21fd5a8187b7d881ce9638990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-channels/src/linkedin.rs:172-184 | crates/openfang-channels/src/webhook.rs:346-357 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/linkedin.rs\u0060 and \u0060crates/openfang-channels/src/webhook.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/openfang-channels/src/linkedin.rs:172\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/linkedin.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c615d41b06b0810a64e5a693ea08f8983a0abe474796bd44ddda327ff2e6789e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/openfang-memory/src/session.rs:148-157 | crates/openfang-memory/src/session.rs:223-231 | crates/openfang-memory/src/session.rs:266-275 | crates/openfang-memory/src/session.rs:366-374 | crates/openfang-memory/src/usage.rs:236-248 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-memory/src/session.rs:148\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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"296b75d83ee2f87fe378629e305b58cf847ee05d7efc14bb0f30da92f7a30124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-channels/src/guilded.rs:243-255 | crates/openfang-channels/src/zulip.rs:339-351 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/zulip.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/openfang-channels/src/guilded.rs:243\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":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd291faf218e0fb0d049b0d05e45dfda00be9c3d84d9ff53b15e802ae3225ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-cli/src/tui/screens/memory.rs:423-435 | crates/openfang-cli/src/tui/screens/templates.rs:380-392 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/memory.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/templates.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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 \u0060crates/openfang-cli/src/tui/screens/memory.rs:423\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":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70e0c6e185bdb3075a10866cb2238266bdf56c88add764623ab8ee011de26d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/openfang-api/src/routes.rs:3969-3989 | crates/openfang-api/src/routes.rs:4043-4063 \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 \u0060crates/openfang-api/src/routes.rs:3969\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3969}}}],"partialFingerprints":{"codehealthFindingId/v1":"2466a2ba4d56bc6b9444043b71107ae3bab9d5670297df8dac05b07fc4b47df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-skills/src/loader.rs:60-72 | crates/openfang-skills/src/loader.rs:312-324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c636880d6561e89ec7fc7adf5303a5252e570a631e296e069355c631c9fb54c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): crates/openfang-cli/src/main.rs:5715-5726 | crates/openfang-cli/src/main.rs:5984-5995 | crates/openfang-cli/src/main.rs:6038-6050 | crates/openfang-cli/src/main.rs:6178-6189 | crates/openfang-cli/src/main.rs:6511-6522 | crates/openfang-cli/src/main.rs:6589-6600 \u2014 all 6 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 \u0060crates/openfang-cli/src/main.rs:5715\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f83737552ae94dd9236562c56fccc31afd5a527db7920c1a85bc5e1b5053d67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:2575-2587 | crates/openfang-runtime/src/agent_loop.rs:2877-2889 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2575\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2575}}}],"partialFingerprints":{"codehealthFindingId/v1":"57afbe1d7fbfd6b0f3da57dbc625a2bb142ae43a2df9818cd875a0d555982d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/openfang-runtime/src/agent_loop.rs:2575-2587 | crates/openfang-runtime/src/agent_loop.rs:2622-2634 | crates/openfang-runtime/src/agent_loop.rs:2877-2889 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2575\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2575}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d115d0adca4321d9234f02a8690ad61ffd0876aa597705191996aed2b78fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-cli/src/tui/screens/comms.rs:571-582 | crates/openfang-cli/src/tui/screens/comms.rs:646-657 \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 \u0060crates/openfang-cli/src/tui/screens/comms.rs:571\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":"crates/openfang-cli/src/tui/screens/comms.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"086a855538de4a324b6a540596126786f71dc48b6fccb26c3f8549a51a549d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/main.rs:1965-1975 | crates/openfang-cli/src/main.rs:3976-3987 \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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"5929806f2bc47941a2b5421f434bdac2b68b0f3f20b9db79fd877e95493fe1a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/openfang-channels/src/formatter.rs:190-196 | crates/openfang-channels/src/formatter.rs:201-212 | crates/openfang-channels/src/formatter.rs:295-301 \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 \u0060crates/openfang-channels/src/formatter.rs:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/formatter.rs:305\u0060 calls \u0060Some\u0060, \u0060find\u0060 and \u0060crates/openfang-channels/src/formatter.rs:200\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":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b403ff4db3e1d551587774bd440cc305279f00240962339b04cc16e75e9c588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-channels/src/discord.rs:315-324 | crates/openfang-channels/src/mattermost.rs:266-277 | crates/openfang-channels/src/slack.rs:250-259 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discord.rs\u0060 and \u0060crates/openfang-channels/src/mattermost.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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 \u0060crates/openfang-channels/src/discord.rs:315\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eccf257d8705e32ecb79331208d6e15766f51a1c86eceb4662318b28ec219d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/openfang-cli/src/tui/screens/audit.rs:247-258 | crates/openfang-cli/src/tui/screens/logs.rs:346-357 | crates/openfang-cli/src/tui/screens/templates.rs:296-307 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/logs.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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 \u0060crates/openfang-cli/src/tui/screens/audit.rs:247\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut AuditState\u0060 in one and \u0060\u0026mut LogsState\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":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1110e3c93ad007ec0fa2ffe0bb168c5a00d962123478a6daffe1f66f1f1b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-channels/src/mattermost.rs:367-378 | crates/openfang-channels/src/twitch.rs:258-269 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/mattermost.rs:367\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85b300e7ba5a8af2458e39884bb37d4b1c1f5df0f0a35bc63087385cd80224f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-runtime/src/subprocess_sandbox.rs:363-374 | crates/openfang-runtime/src/subprocess_sandbox.rs:383-394 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/subprocess_sandbox.rs:363\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":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ac370d9db1544b40a22118cd1ab3b31d351996edd268d9a043b3b7876ca117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-api/src/routes.rs:10026-10037 | crates/openfang-api/src/routes.rs:10299-10309 \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 \u0060crates/openfang-api/src/routes.rs:10026\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10026}}}],"partialFingerprints":{"codehealthFindingId/v1":"2302518be3561ff089c95384f11e1ed2ed965c8a1384f910086528bf6cddd8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-channels/src/twist.rs:128-136 | crates/openfang-channels/src/twist.rs:155-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/twist.rs:128\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":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"78543a1d6a975ac66076f14ab5efa17faccd2c126a31355d82349e63b7d81ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:2171-2182 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2187-2198 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:2171\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82f8cf5b1d93450c31ce82a8304cc2d357b3401c42b6438091d0b298986041b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/openfang-channels/src/discord.rs:362-373 | crates/openfang-channels/src/mattermost.rs:325-336 | crates/openfang-channels/src/slack.rs:284-295 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discord.rs\u0060 and \u0060crates/openfang-channels/src/mattermost.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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 \u0060crates/openfang-channels/src/discord.rs:362\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"55126f93da67ef7cc4de089bce6c37fc15cd0e9b7e69f6b3eb8ce5644b7ff9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/dingtalk_stream.rs:226-237 | crates/openfang-channels/src/gotify.rs:192-202 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/dingtalk_stream.rs:226\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":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5a36ffec56cdea9899ea1e022f1aa16e6a9cb9d4fcb92cfbea097c8cf6c2b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 8): crates/openfang-channels/src/dingtalk.rs:237-255 | crates/openfang-channels/src/flock.rs:281-299 | crates/openfang-channels/src/line.rs:433-451 | crates/openfang-channels/src/messenger.rs:332-350 | crates/openfang-channels/src/pumble.rs:266-284 | crates/openfang-channels/src/teams.rs:319-337 | crates/openfang-channels/src/viber.rs:341-359 | crates/openfang-channels/src/webhook.rs:271-289 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/dingtalk.rs\u0060 and \u0060crates/openfang-channels/src/flock.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060crates/openfang-channels/src/dingtalk.rs:237\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":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"02607ea44ef61e884ac4a7758827ede727bc5d995a1f7787cbae67e3fa5031b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/openfang-channels/src/bridge.rs:2025-2036 | crates/openfang-channels/src/bridge.rs:2039-2050 | crates/openfang-channels/src/bridge.rs:2077-2088 | crates/openfang-channels/src/bridge.rs:2091-2102 \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 \u0060crates/openfang-channels/src/bridge.rs:2025\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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"c527d71c9a7fcd363dd234e1dda3f6f28a7a0ede57fd4a4c1dc55e58d3cea66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/openfang-runtime/src/agent_loop.rs:2677-2688 | crates/openfang-runtime/src/agent_loop.rs:2708-2719 | crates/openfang-runtime/src/agent_loop.rs:2795-2806 | crates/openfang-runtime/src/agent_loop.rs:2909-2920 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2677\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"916fd2479201e1bae49a85f31fd215bd10b9210d0b036057e52333c6f6497a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-runtime/src/drivers/claude_code.rs:219-230 | crates/openfang-runtime/src/drivers/qwen_code.rs:155-166 \u2014 before extracting anything, compare \u0060crates/openfang-runtime/src/drivers/claude_code.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/qwen_code.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 118 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 \u0060crates/openfang-runtime/src/drivers/claude_code.rs:219\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"479871a2cf7403a111b884556ea51aac1b48d4a7729518a8ee9bc584cf45e0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/mumble.rs:424-434 | crates/openfang-channels/src/ntfy.rs:270-281 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/mumble.rs:424\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"2453a7bbdf05ad862e36902a0d4b389d6febb469aa26dd09f4f615c16604bdda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-skills/src/loader.rs:261-272 | crates/openfang-skills/src/loader.rs:292-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-skills/src/loader.rs:261\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a4f2bc9bae1c38159f82f907d20529c5c4ae7743b0578de97c6a95215e82b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:1375-1386 | crates/openfang-cli/src/tui/event.rs:1405-1416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/tui/event.rs:1375\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dc6fbf479515b6a7b9ca01b219951ed38fa7b0175ff12964816dbe30f39742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:2276-2287 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2292-2303 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:2276\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f925b0bc4fd171d906702bbe0dba570fb88dbf7ac27d1f39f48ae8c869d8716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/gitter.rs:207-218 | crates/openfang-channels/src/ntfy.rs:198-208 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/ntfy.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 120 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 \u0060crates/openfang-channels/src/gitter.rs:207\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"035ea2e907cc2a47311c4a7588f42c50ecaf3d37ef801e231e0a8fa86b600ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/tui/screens/hands.rs:300-310 | crates/openfang-cli/src/tui/screens/templates.rs:332-343 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/hands.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/templates.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/openfang-cli/src/tui/screens/hands.rs:300\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-cli/src/tui/screens/hands.rs:299\u0060 calls \u0060styled\u0060, \u0060truncate\u0060 and \u0060crates/openfang-cli/src/tui/screens/templates.rs:332\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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d46bc7e99b20abddb2612c3a8bc49281dbf2201e3320b55322728724c47b103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:1508-1518 | crates/openfang-migrate/src/openclaw.rs:1543-1554 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1508\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fd5bc5ecc380e95af808801af7d022c72e71c8b1b507fd37f765726bdbdd63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-channels/src/keybase.rs:91-102 | crates/openfang-channels/src/keybase.rs:128-139 \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 \u0060crates/openfang-channels/src/keybase.rs:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1701abbd62e13eade28d3b3de104673926aaf99ffce30ed63907eabfbe5b2fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/openfang-channels/src/line.rs:425-436 | crates/openfang-channels/src/messenger.rs:324-335 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/line.rs\u0060 and \u0060crates/openfang-channels/src/messenger.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/line.rs:425\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f03559f4ddc6009e2a40130eab6f20c1aad0437db441bb17b83c5e878e58db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/keybase.rs:245-255 | crates/openfang-channels/src/keybase.rs:297-307 \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 \u0060crates/openfang-channels/src/keybase.rs:245\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/keybase.rs:257\u0060 calls \u0060sleep\u0060, \u0060min\u0060, \u0060from_secs\u0060 and \u0060crates/openfang-channels/src/keybase.rs:309\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":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f6b0e7021dc2ff95f4ad18f569ada7d7faaa51ea6894fe345127ad3357785b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/main.rs:2666-2676 | crates/openfang-cli/src/main.rs:2679-2688 \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 \u0060crates/openfang-cli/src/main.rs:2666\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"805bb52042be746b0e5231bc70baf3b8b2c73eb719bc35c348635ce1c9626d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/openfang-runtime/src/agent_loop.rs:2570-2580 | crates/openfang-runtime/src/agent_loop.rs:2618-2627 | crates/openfang-runtime/src/agent_loop.rs:2830-2839 | crates/openfang-runtime/src/agent_loop.rs:2873-2882 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2570\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"94100512ef532c71e5c346605b4cf074a669f3e3488c4418e2124be7eed39a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/linkedin.rs:339-349 | crates/openfang-channels/src/twist.rs:473-483 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/linkedin.rs\u0060 and \u0060crates/openfang-channels/src/twist.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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 \u0060crates/openfang-channels/src/linkedin.rs:339\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/linkedin.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a98da7ae2eaa2b1f0fcb4556baab8bb13fb5805c30228fbb53fd4d0b5e9504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-api/src/routes.rs:8006-8013 | crates/openfang-api/src/routes.rs:8113-8123 \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 \u0060crates/openfang-api/src/routes.rs:8113\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":8006}}}],"partialFingerprints":{"codehealthFindingId/v1":"6329b478114235e6669ec678ea756fab3f5192c0338b7d59ddc4f750b45227fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:7761-7771 | crates/openfang-kernel/src/kernel.rs:7816-7826 \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 \u0060crates/openfang-kernel/src/kernel.rs:7761\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7761}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2800cbbe88dc4b839315f08375b3e2b9366e64ec977f74fca5dc7a2a56c03cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/openfang-memory/src/usage.rs:161-171 | crates/openfang-memory/src/usage.rs:178-188 | crates/openfang-memory/src/usage.rs:321-331 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/usage.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b0564ba0bb922b8812244e4be2515adcd36aecf8dc343ed53283159ac27444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/discourse.rs:234-244 | crates/openfang-channels/src/linkedin.rs:274-284 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discourse.rs\u0060 and \u0060crates/openfang-channels/src/linkedin.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 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 \u0060crates/openfang-channels/src/discourse.rs:234\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"217a21aedb1ba9b3fb76ebf8f7d8227ad589af1ca897662c3ddd15576f24e810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/openfang-api/src/routes.rs:7236-7246 | crates/openfang-api/src/routes.rs:12432-12442 | crates/openfang-api/src/routes.rs:12449-12459 \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 \u0060crates/openfang-api/src/routes.rs:7236\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b88fb5ef892c587c8a257cddc5598f1837f553a4a1c93d4cacf7009891a961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-cli/src/main.rs:2502-2512 | crates/openfang-cli/src/main.rs:2569-2579 \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 \u0060crates/openfang-cli/src/main.rs:2502\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4438c378c6832166d4a8dd2fdc404fff0fe6b37c05a9c0578f197d460cfc82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/guilded.rs:187-197 | crates/openfang-channels/src/webex.rs:295-305 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/webex.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 164 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 \u0060crates/openfang-channels/src/guilded.rs:187\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":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a232ffe1e0da391ec49b105aaf67f6c842f69c962424f3020f3b3383446c0b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:2521-2530 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2548-2558 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:2521\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"a260ecc0ea96db3db229b961bac8334bbf41d3c4e406ffcc054f0f1314e4f5cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-skills/src/marketplace.rs:52-62 | crates/openfang-skills/src/marketplace.rs:124-132 \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 \u0060crates/openfang-skills/src/marketplace.rs:52\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":"crates/openfang-skills/src/marketplace.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a249c1ef8baba362f8abba51db1ebd62fc4610ab251cf8ba78713e03a53a73f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/openfang-runtime/src/agent_loop.rs:2677-2687 | crates/openfang-runtime/src/agent_loop.rs:2708-2718 | crates/openfang-runtime/src/agent_loop.rs:2795-2805 | crates/openfang-runtime/src/agent_loop.rs:2909-2919 | crates/openfang-runtime/src/agent_loop.rs:2938-2948 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2677\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c5184154fac538118661065575574263fbbd5a87467f44653530ab69e3e614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-channels/src/flock.rs:275-285 | crates/openfang-channels/src/teams.rs:314-323 | crates/openfang-channels/src/viber.rs:336-345 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/flock.rs\u0060 and \u0060crates/openfang-channels/src/teams.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/flock.rs:275\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11c42b03417ee5ca6146516926cc55b67dfdb72a2e1ac99c7af84abee250c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-runtime/src/drivers/anthropic.rs:241-251 | crates/openfang-runtime/src/drivers/anthropic.rs:348-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 \u0060crates/openfang-runtime/src/drivers/anthropic.rs:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eb50a0ffd3778e8360de1663ce13c4625835c5c6cfc3908eaee91555714a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-channels/src/twist.rs:74-83 | crates/openfang-channels/src/twist.rs:101-111 \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 \u0060crates/openfang-channels/src/twist.rs:101\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":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ed6700637738927a3abdac7e5dc3c84a3bbfc1aa047cdd976bd7521266ebaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/openfang-channels/src/matrix.rs:429-439 | crates/openfang-channels/src/zulip.rs:235-245 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/matrix.rs\u0060 and \u0060crates/openfang-channels/src/zulip.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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 \u0060crates/openfang-channels/src/matrix.rs:429\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e67d7c433aecbee7af1a588fbd324936e37c255a82d45b378498cb1578bf04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/openfang-channels/src/dingtalk.rs:231-241 | crates/openfang-channels/src/flock.rs:275-285 | crates/openfang-channels/src/teams.rs:314-323 | crates/openfang-channels/src/viber.rs:336-345 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/dingtalk.rs\u0060 and \u0060crates/openfang-channels/src/flock.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060crates/openfang-channels/src/dingtalk.rs:231\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f55110a6377dd08283db705181be91d263689955ea8af5ad7af696da131a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-channels/src/guilded.rs:284-293 | crates/openfang-channels/src/nextcloud.rs:369-378 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/nextcloud.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 59 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 \u0060crates/openfang-channels/src/guilded.rs:284\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":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82c7ed109272088701e042d6285951b37c89f7736404ece72d96ddfed1846ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/openfang-cli/src/main.rs:4561-4570 | crates/openfang-cli/src/main.rs:4585-4594 | crates/openfang-cli/src/main.rs:4603-4612 | crates/openfang-cli/src/main.rs:6020-6029 | crates/openfang-cli/src/main.rs:6156-6165 \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 \u0060crates/openfang-cli/src/main.rs:4561\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":4561}}}],"partialFingerprints":{"codehealthFindingId/v1":"786d3aed5cd076da477e522d152dbaaff000253f19e14dbbeacc50a5ec544a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-channels/src/keybase.rs:256-265 | crates/openfang-channels/src/twist.rs:353-362 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/keybase.rs\u0060 and \u0060crates/openfang-channels/src/twist.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 66 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 \u0060crates/openfang-channels/src/keybase.rs:256\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"194c1e50413c12e6efd07d6127d41c519d9fa2d5db001dc63c04a6f0e12d8275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/agent_loop.rs:2455-2464 | crates/openfang-runtime/src/agent_loop.rs:2516-2524 \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 \u0060crates/openfang-runtime/src/agent_loop.rs:2455\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2455}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2ebb96e503a8c478ff7e42d31e0858c8f56000e7a413364d226b0af468280b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/main.rs:6493-6502 | crates/openfang-cli/src/main.rs:6571-6580 \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 \u0060crates/openfang-cli/src/main.rs:6493\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6493}}}],"partialFingerprints":{"codehealthFindingId/v1":"06366b684d55b387d5325911b99830f2adedb2e6f15094a29b8b6bd2c2c073ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/openfang-migrate/src/openclaw.rs:1483-1492 | crates/openfang-migrate/src/openclaw.rs:1510-1519 | crates/openfang-migrate/src/openclaw.rs:1546-1555 | crates/openfang-migrate/src/openclaw.rs:1603-1612 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1483\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ed49c4a93f9a7c9b1f627d9ec1a9b86e862af8757c394d295283ccefd0d50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-cli/src/tui/event.rs:2409-2418 | crates/openfang-cli/src/tui/event.rs:2446-2455 | crates/openfang-cli/src/tui/event.rs:2700-2707 \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 \u0060crates/openfang-cli/src/tui/event.rs:2409\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"05904f23c99263c8d0323d401f223e1e87386aa2a19bbd00f9eefc30837c6ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-runtime/src/drivers/gemini.rs:686-695 | crates/openfang-runtime/src/drivers/gemini.rs:772-781 \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 \u0060crates/openfang-runtime/src/drivers/gemini.rs:686\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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"31faebde8a4a1d57095ddacb9f9d17d8186dccd9bcec432d23f0f6d01e85919b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/tool_runner.rs:212-221 | crates/openfang-runtime/src/tool_runner.rs:380-388 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/tool_runner.rs:212\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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff2c6f62144fd803766cb79aac83ae47de2428e7f5b6f540e770f39967d76a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-runtime/src/think_filter.rs:69-78 | crates/openfang-runtime/src/think_filter.rs:97-106 \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 \u0060crates/openfang-runtime/src/think_filter.rs:69\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":"crates/openfang-runtime/src/think_filter.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f23a45c8e95ff23231c2b681670da34d0b1ef414220ba3b5fe8cc8bcbfbbfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-channels/src/discord.rs:667-676 | crates/openfang-channels/src/slack.rs:374-383 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discord.rs\u0060 and \u0060crates/openfang-channels/src/slack.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/discord.rs:667\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"454516891ca52e78a786da987373f1aa2ac37e83ca5c13f1599c6ff4f6bf6089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-memory/src/usage.rs:114-123 | crates/openfang-memory/src/usage.rs:131-140 | crates/openfang-memory/src/usage.rs:148-157 \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 \u0060crates/openfang-memory/src/usage.rs:114\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/usage.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"285b1db8c4eb66a7ccb9e38f2024841acebc516257d56605b2c4baeed1646a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-migrate/src/openclaw.rs:1632-1641 | crates/openfang-migrate/src/openclaw.rs:1749-1758 | crates/openfang-migrate/src/openclaw.rs:1828-1837 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1632\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7d53e81b93c212c385c95d76e09c8550bc5239351a9810415e4f1a4266dcc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-channels/src/gitter.rs:201-210 | crates/openfang-channels/src/gotify.rs:178-187 | crates/openfang-channels/src/ntfy.rs:192-201 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/gitter.rs\u0060 and \u0060crates/openfang-channels/src/gotify.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 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 \u0060crates/openfang-channels/src/gitter.rs:201\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-channels/src/gotify.rs:176\u0060 calls \u0060connect_async\u0060, \u0060Ok\u0060 and \u0060crates/openfang-channels/src/gitter.rs:200\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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c07c42f196a22cfba5c29290f580eec1099f7873aa867f37f222791c636049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/openfang-cli/src/main.rs:1782-1791 | crates/openfang-cli/src/main.rs:2040-2049 | crates/openfang-cli/src/main.rs:5789-5797 | crates/openfang-cli/src/main.rs:5831-5839 \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. 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a93aa7e567d187b53b91759e4f8059e5f3bdf451b82217d920c301fb5846a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-runtime/src/web_search.rs:161-170 | crates/openfang-runtime/src/web_search.rs:217-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 \u0060crates/openfang-runtime/src/web_search.rs:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-runtime/src/web_search.rs:228\u0060 calls \u0060is_empty\u0060, \u0060contains\u0060, \u0060Err\u0060 and \u0060crates/openfang-runtime/src/web_search.rs:172\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":"crates/openfang-runtime/src/web_search.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a4e802e5c4e402fbe061022e75f90d3ce611a7e97070f2627688b49d96b757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-runtime/src/tool_runner.rs:1593-1602 | crates/openfang-runtime/src/web_search.rs:295-304 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/tool_runner.rs:1593\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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"5920cb5b880616e15f338363f33ac8a2c9bcaebc814580a48d8476036f845109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-channels/src/guilded.rs:67-76 | crates/openfang-channels/src/pumble.rs:64-73 | crates/openfang-channels/src/webex.rs:71-80 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/pumble.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/webex.rs:83\u0060 calls \u0060as_str\u0060, \u0060unwrap_or\u0060, \u0060to_string\u0060 and \u0060crates/openfang-channels/src/pumble.rs:76\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":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2740b588f1d639941ce6a91c2a494a7f5558d320e2f519bfd561f254dde8ebb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/openfang-cli/src/tui/event.rs:2396-2405 | crates/openfang-cli/src/tui/event.rs:2433-2442 | crates/openfang-cli/src/tui/event.rs:2470-2479 \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 \u0060crates/openfang-cli/src/tui/event.rs:2396\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"30661e28c3f4afd985c83f08019e85862934ae7a52cfc73b675e3eeb21893d72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-cli/src/tui/screens/triggers.rs:424-433 | crates/openfang-cli/src/tui/screens/workflows.rs:545-554 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/triggers.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/workflows.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 105 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 \u0060crates/openfang-cli/src/tui/screens/triggers.rs:424\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut TriggerState\u0060 in one and \u0060\u0026WorkflowState\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":"crates/openfang-cli/src/tui/screens/triggers.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaa92436526d974ce3a61684410e151f8654af9fbed7c0e339d49ba00af265d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/openfang-channels/src/keybase.rs:365-374 | crates/openfang-channels/src/twist.rs:446-455 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/keybase.rs\u0060 and \u0060crates/openfang-channels/src/twist.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 66 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 \u0060crates/openfang-channels/src/keybase.rs:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"db931604c86175b42056bbe3f4c7f15254eb882884049e6da470c02ac164cce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): crates/openfang-cli/src/main.rs:4539-4548 | crates/openfang-cli/src/main.rs:4560-4569 | crates/openfang-cli/src/main.rs:4584-4593 | crates/openfang-cli/src/main.rs:4602-4611 | crates/openfang-cli/src/main.rs:6019-6028 | crates/openfang-cli/src/main.rs:6155-6164 \u2014 all 6 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 \u0060crates/openfang-cli/src/main.rs:4539\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-cli/src/main.rs:4571\u0060 calls \u0060success\u0060, \u0060Some\u0060, \u0060get\u0060 and \u0060crates/openfang-cli/src/main.rs:4550\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":4539}}}],"partialFingerprints":{"codehealthFindingId/v1":"325dde7c51ee086787dd5d540ba2ff36dd9fbcaa1d0971bd1ec93fca46dc9474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 20): crates/openfang-channels/src/bluesky.rs:244-252 | crates/openfang-channels/src/discourse.rs:149-157 | crates/openfang-channels/src/gitter.rs:120-128 | crates/openfang-channels/src/google_chat.rs:124-132 | crates/openfang-channels/src/gotify.rs:118-126 | crates/openfang-channels/src/guilded.rs:105-113 | crates/openfang-channels/src/keybase.rs:177-185 | crates/openfang-channels/src/line.rs:204-212 | crates/openfang-channels/src/messenger.rs:116-124 | crates/openfang-channels/src/nextcloud.rs:144-152 | crates/openfang-channels/src/ntfy.rs:129-137 | crates/openfang-channels/src/pumble.rs:107-115 | crates/openfang-channels/src/pumble.rs:343-351 | crates/openfang-channels/src/revolt.rs:147-155 | crates/openfang-channels/src/rocketchat.rs:115-123 | crates/openfang-channels/src/threema.rs:101-109 | crates/openfang-channels/src/twist.rs:202-210 | crates/openfang-channels/src/webex.rs:173-181 | crates/openfang-channels/src/webex.rs:214-222 | crates/openfang-channels/src/zulip.rs:163-171 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/discourse.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/bluesky.rs:244\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/discourse.rs:161\u0060 calls \u0060matches_category\u0060, \u0060is_empty\u0060, \u0060iter\u0060 and \u0060crates/openfang-channels/src/ntfy.rs:138\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d8d66887b151e8adecccf03078caad5017e6fba072daf653eac9b466eb9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/main.rs:6126-6134 | crates/openfang-cli/src/main.rs:6631-6639 \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 \u0060crates/openfang-cli/src/main.rs:6126\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4008342313cb72ef12744aac2e79abe7789005f21f3075ca87541d3d3aef48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/openfang-cli/src/tui/screens/agents.rs:1052-1060 | crates/openfang-cli/src/tui/screens/triggers.rs:323-331 | crates/openfang-cli/src/tui/screens/workflows.rs:352-360 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/agents.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/triggers.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-cli/src/tui/screens/agents.rs:1052\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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"025ec8b7fdaef760d15ef3766ec0f4f9aa0db3d51b4a16a001befcd81116b64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-api/src/routes.rs:7561-7569 | crates/openfang-api/src/routes.rs:7649-7657 \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 \u0060crates/openfang-api/src/routes.rs:7561\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7561}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1635b19d29b067faffe8c9afdc853c0f81479fb89166785bf5c7e25489b168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/main.rs:6141-6149 | crates/openfang-cli/src/main.rs:6646-6654 \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 \u0060crates/openfang-cli/src/main.rs:6141\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6141}}}],"partialFingerprints":{"codehealthFindingId/v1":"647eb0143c7085f32cab3b2a0b975fb88ea43fc2f896b2862234bfd0f711e686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:925-933 | crates/openfang-runtime/src/drivers/openai.rs:945-953 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"be026eaeecfe747b03564a9c3b076aa0a5dcc2199421a860eddb5587b5b0b9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/openfang-channels/src/keybase.rs:364-372 | crates/openfang-channels/src/nextcloud.rs:357-365 | crates/openfang-channels/src/twist.rs:445-453 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/keybase.rs\u0060 and \u0060crates/openfang-channels/src/nextcloud.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/openfang-channels/src/keybase.rs:364\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":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fd6ab1f9755d90a6973a8e97db6bfc544ad1679c2146eae658c610704eecc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-api/src/routes.rs:11743-11748 | crates/openfang-api/src/routes.rs:11837-11845 \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 \u0060crates/openfang-api/src/routes.rs:11743\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":11743}}}],"partialFingerprints":{"codehealthFindingId/v1":"3183f8ae10e629c57fd1a81adeda2d57776f020ae3d41565ba007b276500c688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/openfang-api/src/routes.rs:4865-4873 | crates/openfang-api/src/routes.rs:4882-4890 | crates/openfang-api/src/routes.rs:4899-4907 \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 \u0060crates/openfang-api/src/routes.rs:4865\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4865}}}],"partialFingerprints":{"codehealthFindingId/v1":"c391e8b9d74b8228a4464845b8086ebba2a2997e2d3e90a8689b659e253337f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/browser.rs:886-894 | crates/openfang-runtime/src/browser.rs:919-927 \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 \u0060crates/openfang-runtime/src/browser.rs:886\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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f8a3ea22b8f66d5fc40c61f0482aa85df6b59b0a5ca451c1220ce7dde44b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-wire/src/peer.rs:531-538 | crates/openfang-wire/src/peer.rs:548-556 \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 \u0060crates/openfang-wire/src/peer.rs:548\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":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e623a64c3e3c2cb075682540f27ea0463db1703cee0e062e26883d87f6ae12c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/openfang-api/src/routes.rs:7192-7200 | crates/openfang-api/src/routes.rs:7220-7228 | crates/openfang-api/src/routes.rs:7252-7260 | crates/openfang-api/src/routes.rs:7339-7347 \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 \u0060crates/openfang-api/src/routes.rs:7192\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b795607019c7e2a93047436e38c50939c52e1400011a14cd909c21ce2781db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/openfang-cli/src/tui/screens/comms.rs:585-593 | crates/openfang-cli/src/tui/screens/comms.rs:596-604 | crates/openfang-cli/src/tui/screens/comms.rs:660-668 \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 \u0060crates/openfang-cli/src/tui/screens/comms.rs:585\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":"crates/openfang-cli/src/tui/screens/comms.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7811ae5147be0fd949a5e7da69a54d628b274c3d0d25d7fe142899bb29f9f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): crates/openfang-channels/src/discourse.rs:86-90 | crates/openfang-channels/src/discourse.rs:117-123 | crates/openfang-channels/src/gitter.rs:66-74 | crates/openfang-channels/src/gitter.rs:91-97 | crates/openfang-channels/src/gotify.rs:71-75 | crates/openfang-channels/src/linkedin.rs:87-91 | crates/openfang-channels/src/linkedin.rs:123-129 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/discourse.rs\u0060 and \u0060crates/openfang-channels/src/linkedin.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 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 \u0060crates/openfang-channels/src/discourse.rs: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. 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":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db3db8952acc1e2779f7b105a7169cca541d4bc3b44ea9b75df5518bd6e90d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/tui/screens/memory.rs:455-463 | crates/openfang-cli/src/tui/screens/workflows.rs:584-592 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/memory.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/workflows.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 67 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":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b58569ea0d80515e17aa4c69a4b860361fe70b795839330754676ff409f623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-channels/src/dingtalk.rs:144-152 | crates/openfang-channels/src/webhook.rs:184-192 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/dingtalk.rs\u0060 and \u0060crates/openfang-channels/src/webhook.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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 \u0060crates/openfang-channels/src/dingtalk.rs:144\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":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ff6ddf342fd156b2bd95af1095fd181daf400a65a3f5106963c000866a5698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:935-943 | crates/openfang-runtime/src/drivers/openai.rs:945-953 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e753993a0c33df79bbcabdd4e5e727551cadc5d02b079395fed8c34e9e1f708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/openfang-channels/src/flock.rs:144-150 | crates/openfang-channels/src/line.rs:245-253 | crates/openfang-channels/src/signal.rs:64-70 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/flock.rs\u0060 and \u0060crates/openfang-channels/src/line.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 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 \u0060crates/openfang-channels/src/line.rs:245\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":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29a248252d2ef8457cf01c35eef0809ee01820f92c98ef08c2aaa072dff2d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-cli/src/tui/screens/init_wizard.rs:1571-1579 | crates/openfang-cli/src/tui/screens/wizard.rs:614-621 | crates/openfang-cli/src/tui/screens/wizard.rs:662-669 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/wizard.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 107 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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1571\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f149b8ac0ba9840f4e960c8128c45ed8f55689ff8e0722957065f26d0e5c385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/openfang-api/src/channel_bridge.rs:281-296 | crates/openfang-cli/src/tui/mod.rs:2166-2181 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-api/src/channel_bridge.rs:281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb76ad7d3dc7cccb348ab1b6118b1b474a21d355f0b7492e10db0c22279600b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-channels/src/bluesky.rs:398-403 | crates/openfang-channels/src/reddit.rs:383-391 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/reddit.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-channels/src/bluesky.rs:398\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c606c712bc4d2acf4d1ba4ba9ecc04d93cf38a5b0506a1436e5b8b9024bd77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:2002-2008 | crates/openfang-cli/src/tui/screens/wizard.rs:563-571 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/wizard.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 107 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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:2002\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut State\u0060 in one and \u0060\u0026mut WizardState\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfe67f979544086d6baa6ad4338bf56b5796cd1faffbec4d9ab04317c5e6f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-runtime/src/drivers/openai.rs:481-489 | crates/openfang-runtime/src/drivers/openai.rs:491-499 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d74f2fbe12b70c9942d403c4bd0172eb3713ac27b210c58e43716e6b2688ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:2070-2078 | crates/openfang-cli/src/tui/screens/init_wizard.rs:2104-2112 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:2070\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"571b16ecd1c4446bf467c2a75e9883491edb7c7272999953c849e9b3ecb9b206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-wire/src/peer.rs:531-538 | crates/openfang-wire/src/peer.rs:549-556 | crates/openfang-wire/src/peer.rs:616-624 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc1233ec58e48d26509b1609c850596a51d4e5d9ff5b191c4045822babbc58f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/main.rs:5605-5613 | crates/openfang-cli/src/main.rs:5661-5668 \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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5605}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fb2b151face9e0c0819e30672680b111e6842b18aea1658d65bfddb0529ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/openfang-kernel/src/kernel.rs:7698-7706 | crates/openfang-kernel/src/kernel.rs:7763-7771 | crates/openfang-kernel/src/kernel.rs:7818-7826 \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 \u0060crates/openfang-kernel/src/kernel.rs:7698\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7698}}}],"partialFingerprints":{"codehealthFindingId/v1":"340c55965904fefd836836bd0225ac45703856ffcd9ca8075619792516be856c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/tui/screens/memory.rs:467-474 | crates/openfang-cli/src/tui/screens/memory.rs:499-506 \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 \u0060crates/openfang-cli/src/tui/screens/memory.rs:467\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":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea8f62a97e528a032b73bdf400c87594c05d6b13b8f88a2fcd9b03d18e122a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-channels/src/dingtalk_stream.rs:136-143 | crates/openfang-channels/src/linkedin.rs:167-174 | crates/openfang-channels/src/webhook.rs:341-348 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/dingtalk_stream.rs\u0060 and \u0060crates/openfang-channels/src/linkedin.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 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 \u0060crates/openfang-channels/src/dingtalk_stream.rs:136\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":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d91c0383b4ddb430bebc771c31d3bddfcd4cd404d212e8854c4a62b93f47f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-cli/src/tui/screens/comms.rs:426-433 | crates/openfang-cli/src/tui/screens/dashboard.rs:204-211 | crates/openfang-cli/src/tui/screens/usage.rs:220-227 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/comms.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/dashboard.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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 \u0060crates/openfang-cli/src/tui/screens/comms.rs:426\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/comms.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02a1b7aa7288a3ea208f8d6359b74c6509aa154732c72f811745eb5601370e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/openfang-memory/src/knowledge.rs:39-46 | crates/openfang-memory/src/knowledge.rs:61-69 \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 \u0060crates/openfang-memory/src/knowledge.rs:39\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":"crates/openfang-memory/src/knowledge.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d924ef30224728cc34c3fef352ebd93bec36e8166ff0f604ea489ff2462b662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-runtime/src/apply_patch.rs:136-143 | crates/openfang-runtime/src/apply_patch.rs:167-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/apply_patch.rs:136\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":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a041484805a576b82858717adb3d70824a21a37f5894509df21646ef7d7c9d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-runtime/src/drivers/copilot.rs:347-354 | crates/openfang-runtime/src/drivers/copilot.rs:430-437 \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 \u0060crates/openfang-runtime/src/drivers/copilot.rs:347\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":"crates/openfang-runtime/src/drivers/copilot.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"edce93525dc9ee12e83bf162bee496672758e43c9287635e5261915ce0faca45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/main.rs:6002-6009 | crates/openfang-cli/src/main.rs:6375-6382 \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 \u0060crates/openfang-cli/src/main.rs:6002\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":6002}}}],"partialFingerprints":{"codehealthFindingId/v1":"408c07b46e9666145191c06ba1a965e3052a314229f0c71e33eb74aa7a335ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-cli/src/tui/screens/hands.rs:405-412 | crates/openfang-cli/src/tui/screens/sessions.rs:275-282 | crates/openfang-cli/src/tui/screens/skills.rs:476-483 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/hands.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/sessions.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 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 \u0060crates/openfang-cli/src/tui/screens/hands.rs:405\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut HandsState\u0060 in one and \u0060\u0026mut SessionsState\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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a551daca8900ba10c6ca1b3edbcf889977dfa376f601f4a6022c73f92e51e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): crates/openfang-cli/src/tui/screens/dashboard.rs:143-146 | crates/openfang-cli/src/tui/screens/dashboard.rs:158-165 | crates/openfang-cli/src/tui/screens/dashboard.rs:176-183 \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 \u0060crates/openfang-cli/src/tui/screens/dashboard.rs:143\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":"crates/openfang-cli/src/tui/screens/dashboard.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8767f2bfa00a8830d74b0e69ec941bccaaa13d98cd529552f54d965595970ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-channels/src/nextcloud.rs:207-214 | crates/openfang-channels/src/rocketchat.rs:176-183 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/nextcloud.rs\u0060 and \u0060crates/openfang-channels/src/rocketchat.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 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 \u0060crates/openfang-channels/src/nextcloud.rs:207\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":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f7ae77b6b7099da8eebfe68d0908c61ad5ead452ba8b064ab5e6118523bc15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 48): crates/openfang-channels/src/bluesky.rs:104-108 | crates/openfang-channels/src/bluesky.rs:241-248 | crates/openfang-channels/src/dingtalk.rs:294-298 | crates/openfang-channels/src/dingtalk_stream.rs:136-143 | crates/openfang-channels/src/discourse.rs:146-153 | crates/openfang-channels/src/flock.rs:101-105 | crates/openfang-channels/src/flock.rs:144-148 | crates/openfang-channels/src/gitter.rs:117-124 | crates/openfang-channels/src/google_chat.rs:121-128 | crates/openfang-channels/src/gotify.rs:118-122 | crates/openfang-channels/src/guilded.rs:102-109 | crates/openfang-channels/src/keybase.rs:174-181 | crates/openfang-channels/src/line.rs:138-145 | crates/openfang-channels/src/line.rs:201-208 | crates/openfang-channels/src/line.rs:244-251 | crates/openfang-channels/src/linkedin.rs:167-174 | crates/openfang-channels/src/mastodon.rs:77-84 | crates/openfang-channels/src/mastodon.rs:123-130 | crates/openfang-channels/src/mattermost.rs:72-79 | crates/openfang-channels/src/messenger.rs:78-82 | crates/openfang-channels/src/messenger.rs:116-120 | crates/openfang-channels/src/nextcloud.rs:141-148 | crates/openfang-channels/src/ntfy.rs:129-133 | crates/openfang-channels/src/pumble.rs:104-111 | crates/openfang-channels/src/pumble.rs:340-347 | crates/openfang-channels/src/reddit.rs:131-138 | crates/openfang-channels/src/reddit.rs:162-166 | crates/openfang-channels/src/reddit.rs:198-205 | crates/openfang-channels/src/revolt.rs:112-116 | crates/openfang-channels/src/revolt.rs:144-151 | crates/openfang-channels/src/rocketchat.rs:112-119 | crates/openfang-channels/src/signal.rs:64-68 | crates/openfang-channels/src/teams.rs:104-111 | crates/openfang-channels/src/threema.rs:101-105 | crates/openfang-channels/src/twist.rs:199-206 | crates/openfang-channels/src/twist.rs:233-240 | crates/openfang-channels/src/viber.rs:104-111 | crates/openfang-channels/src/viber.rs:144-151 | crates/openfang-channels/src/viber.rs:194-201 | crates/openfang-channels/src/webex.rs:136-143 | crates/openfang-channels/src/webex.rs:170-177 | crates/openfang-channels/src/webex.rs:211-218 | crates/openfang-channels/src/webhook.rs:341-348 | crates/openfang-channels/src/whatsapp.rs:266-272 | crates/openfang-channels/src/whatsapp.rs:293-299 | crates/openfang-channels/src/whatsapp.rs:320-326 | crates/openfang-channels/src/zulip.rs:92-99 | crates/openfang-channels/src/zulip.rs:160-167 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/bluesky.rs\u0060 and \u0060crates/openfang-channels/src/discourse.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-channels/src/bluesky.rs:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/viber.rs:154\u0060 calls \u0060as_u64\u0060, \u0060unwrap_or\u0060 and \u0060crates/openfang-channels/src/bluesky.rs:111\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca08e58d365e5875d0720c0792c664aafa18a945681cf946f27ebd8c1b95b263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-runtime/src/drivers/copilot.rs:444-451 | crates/openfang-runtime/src/provider_health.rs:170-177 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/drivers/copilot.rs:444\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":"crates/openfang-runtime/src/drivers/copilot.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"0542d8dd4a679baab50565072b8cbed574b6d3616a1de4147679fd3e22171b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-api/src/routes.rs:10923-10930 | crates/openfang-api/src/routes.rs:10953-10960 \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 \u0060crates/openfang-api/src/routes.rs:10923\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10923}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d93af4f41f7003eb1f852a14aa184456681bf8076eed631e0e76e85d88944e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-channels/src/guilded.rs:171-178 | crates/openfang-channels/src/nostr.rs:202-209 | crates/openfang-channels/src/webex.rs:280-287 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/guilded.rs\u0060 and \u0060crates/openfang-channels/src/nostr.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d290c138264310483e5a36ce96c76da65ef958c3d76174f3588e8654f69410a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1996-2003 | crates/openfang-cli/src/tui/screens/settings.rs:400-407 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1996\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026mut State\u0060 in one and \u0060\u0026mut SettingsState\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"240374c0d350953d31e3e9d0f4a1c750cbe849ecb22cc13f9a098626238341ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/openfang-memory/src/session.rs:105-112 | crates/openfang-memory/src/session.rs:119-126 | crates/openfang-memory/src/session.rs:133-140 | crates/openfang-memory/src/structured.rs:244-251 \u2014 before extracting anything, compare \u0060crates/openfang-memory/src/session.rs\u0060 and \u0060crates/openfang-memory/src/structured.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7212724f3fbd019a4aee6b0b2bc162b91fd7f1b0c4c6738d03d8b23c099b2cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/openfang-cli/src/tui/event.rs:1264-1271 | crates/openfang-cli/src/tui/event.rs:1395-1402 | crates/openfang-cli/src/tui/event.rs:2059-2066 | crates/openfang-cli/src/tui/event.rs:2374-2381 | crates/openfang-cli/src/tui/event.rs:2675-2682 \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 \u0060crates/openfang-cli/src/tui/event.rs:1264\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5ef5696dd438f24ae282ea406e1192a701b07a5e5d602219ff7e91936f0329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/openfang-memory/src/semantic.rs:391-398 | crates/openfang-memory/src/session.rs:105-112 | crates/openfang-memory/src/session.rs:119-126 | crates/openfang-memory/src/session.rs:133-140 | crates/openfang-memory/src/structured.rs:244-251 \u2014 before extracting anything, compare \u0060crates/openfang-memory/src/session.rs\u0060 and \u0060crates/openfang-memory/src/structured.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/openfang-memory/src/semantic.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c623a7e796f0d7c10956612b30a6ea007e560f37f7a694708be0569c2c66c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/openfang-channels/src/twist.rs:140-147 | crates/openfang-channels/src/twist.rs:170-177 \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 \u0060crates/openfang-channels/src/twist.rs:140\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2a36444c2cd8aa839e84999cff727b2f230e0ffd227520e9c96d331acae035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-api/src/routes.rs:2977-2984 | crates/openfang-api/src/routes.rs:2992-2999 | crates/openfang-api/src/routes.rs:3008-3015 \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 \u0060crates/openfang-api/src/routes.rs:2977\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":2977}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d69357858dab9a1048615778df1f89c8abf1b399b6a4792f73ae2fc9d766021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/openfang-api/src/routes.rs:7671-7678 | crates/openfang-api/src/routes.rs:8006-8013 | crates/openfang-api/src/routes.rs:8113-8120 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7671}}}],"partialFingerprints":{"codehealthFindingId/v1":"557bdcf10b47f8b1a771ba701b5fd8c08fb15dcf7c5ad2aca14a947cd9025a1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/openfang-migrate/src/openclaw.rs:2709-2715 | crates/openfang-migrate/src/openclaw.rs:2728-2734 | crates/openfang-migrate/src/openclaw.rs:2750-2756 \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 \u0060crates/openfang-migrate/src/openclaw.rs:2709\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2709}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43ca4a048bf42b543810dff2eef6e31ee9fc0564c10dd33f1d75b7f7f2401cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-api/src/routes.rs:4652-4658 | crates/openfang-api/src/routes.rs:4677-4683 \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 \u0060crates/openfang-api/src/routes.rs:4652\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4652}}}],"partialFingerprints":{"codehealthFindingId/v1":"38762b9d3a09953ea053d4ef59c554ecab4bc5a4c8ca24342d523ae41c430c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1630-1636 | crates/openfang-cli/src/tui/screens/init_wizard.rs:1643-1649 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1630\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1639\u0060 calls \u0060join\u0060 and \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1652\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"1861491013d85882c42c309a5e7491f98aac449943141aedf88b30be2e48b87f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-memory/src/structured.rs:85-91 | crates/openfang-memory/src/structured.rs:419-425 \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 \u0060crates/openfang-memory/src/structured.rs:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c079b13cb2d79d5ae9bbad24984fbe35d7660140b5b69e1a4be9a58abda42b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-api/src/routes.rs:6063-6069 | crates/openfang-api/src/routes.rs:6087-6093 \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 \u0060crates/openfang-api/src/routes.rs:6063\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":6063}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e7f4a199ea7ed8374c42bccdf1f8a2bda9e45bc6cf9f36daa8c73f12f5068d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-kernel/src/kernel.rs:7013-7019 | crates/openfang-kernel/src/kernel.rs:7033-7039 \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 \u0060crates/openfang-kernel/src/kernel.rs:7013\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7013}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9583d68f0489eaa912b6b3ca022da43a4b1acfb1652ee87334bbe5b54a949c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-kernel/src/whatsapp_gateway.rs:88-94 | crates/openfang-runtime/src/docker_sandbox.rs:234-240 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-kernel/src/whatsapp_gateway.rs:88\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":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba56b0b4b1628ac70393f6eb03efbe0b59eb5e4bd361e6b612a9abced072cf64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-runtime/src/prompt_builder.rs:369-375 | crates/openfang-runtime/src/prompt_builder.rs:385-391 \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 \u0060crates/openfang-runtime/src/prompt_builder.rs:369\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":"crates/openfang-runtime/src/prompt_builder.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"58941c26478041a48ee9608bd8cbb63150584b6e4b8f967cfed03ec5dcbedb86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/openfang-cli/src/main.rs:2960-2966 | crates/openfang-cli/src/main.rs:2973-2979 | crates/openfang-cli/src/main.rs:2996-3000 \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 \u0060crates/openfang-cli/src/main.rs:2960\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2960}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4103bfb4c46eb7917aa6fe37df345f5708890acef015e1ab341bf225f7468b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/openfang-channels/src/viber.rs:114-118 | crates/openfang-channels/src/viber.rs:154-160 | crates/openfang-channels/src/viber.rs:203-208 \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 \u0060crates/openfang-channels/src/viber.rs:203\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-channels/src/viber.rs:114\u0060 calls \u0060as_u64\u0060, \u0060unwrap_or\u0060 and \u0060crates/openfang-channels/src/viber.rs:203\u0060 does not \u2014 after which the two agree again for 5 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":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"93602b33784e0dc50b9bf1d9bdb59ac4c186d80616668d9772bf89bb2b361a0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-channels/src/nextcloud.rs:81-85 | crates/openfang-channels/src/nextcloud.rs:100-106 \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 \u0060crates/openfang-channels/src/nextcloud.rs:100\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdeb68f787958445d9362ac20959e71bf42b92d1835dc34d92a9ebbd9594bbc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/openfang-memory/src/session.rs:42-47 | crates/openfang-memory/src/structured.rs:24-29 | crates/openfang-memory/src/structured.rs:85-91 | crates/openfang-memory/src/structured.rs:419-425 \u2014 before extracting anything, compare \u0060crates/openfang-memory/src/session.rs\u0060 and \u0060crates/openfang-memory/src/structured.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-memory/src/session.rs:42\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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6151097327aac3effd36e4fcdd49fcafbfe5929f13bf4e0f075d3b4bc35d37c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/openfang-memory/src/session.rs:43-47 | crates/openfang-memory/src/structured.rs:25-29 | crates/openfang-memory/src/substrate.rs:507-513 \u2014 before extracting anything, compare \u0060crates/openfang-memory/src/session.rs\u0060 and \u0060crates/openfang-memory/src/structured.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-memory/src/session.rs:43\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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd9685410d2360a97916f85b5cff1e10f40a36e081558c63ae58e3c5bbc4152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/openfang-runtime/src/copilot_oauth.rs:59-65 | crates/openfang-runtime/src/drivers/copilot.rs:342-348 | crates/openfang-runtime/src/drivers/copilot.rs:425-431 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-runtime/src/copilot_oauth.rs:59\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":"crates/openfang-runtime/src/copilot_oauth.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cfafc8b6f2738ec3d4e2f8357e53f23fbe6ae2cd3e3426d6df57a662872a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-api/src/routes.rs:6063-6069 | crates/openfang-api/src/routes.rs:6075-6081 \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 \u0060crates/openfang-api/src/routes.rs:6063\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-api/src/routes.rs:6082\u0060 calls \u0060get\u0060, \u0060and_then\u0060, \u0060as_str\u0060 and \u0060crates/openfang-api/src/routes.rs:6070\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":6063}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fed327669594418f254ecc6a536f8f5c842b0d2de887bc5233ef5e24c02903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 23): crates/openfang-cli/src/tui/screens/audit.rs:242-247 | crates/openfang-cli/src/tui/screens/channels.rs:692-697 | crates/openfang-cli/src/tui/screens/channels.rs:901-907 | crates/openfang-cli/src/tui/screens/extensions.rs:368-373 | crates/openfang-cli/src/tui/screens/hands.rs:265-270 | crates/openfang-cli/src/tui/screens/hands.rs:356-361 | crates/openfang-cli/src/tui/screens/logs.rs:341-346 | crates/openfang-cli/src/tui/screens/memory.rs:293-298 | crates/openfang-cli/src/tui/screens/memory.rs:378-383 | crates/openfang-cli/src/tui/screens/peers.rs:128-133 | crates/openfang-cli/src/tui/screens/security.rs:270-275 | crates/openfang-cli/src/tui/screens/sessions.rs:230-235 | crates/openfang-cli/src/tui/screens/settings.rs:351-356 | crates/openfang-cli/src/tui/screens/settings.rs:490-495 | crates/openfang-cli/src/tui/screens/skills.rs:398-403 | crates/openfang-cli/src/tui/screens/skills.rs:615-620 | crates/openfang-cli/src/tui/screens/skills.rs:687-692 | crates/openfang-cli/src/tui/screens/templates.rs:291-296 | crates/openfang-cli/src/tui/screens/triggers.rs:290-295 | crates/openfang-cli/src/tui/screens/usage.rs:313-318 | crates/openfang-cli/src/tui/screens/usage.rs:379-384 | crates/openfang-cli/src/tui/screens/workflows.rs:322-327 | crates/openfang-cli/src/tui/screens/workflows.rs:659-664 \u2014 before extracting anything, compare \u0060crates/openfang-cli/src/tui/screens/audit.rs\u0060 and \u0060crates/openfang-cli/src/tui/screens/extensions.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/openfang-cli/src/tui/screens/audit.rs:242\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":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad09759fad693619846c94ad92b62470f0493aff1d0890f2666d668b532567d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:2763-2769 | crates/openfang-migrate/src/openclaw.rs:2795-2801 \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 \u0060crates/openfang-migrate/src/openclaw.rs:2763\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"342dc7855f685682b8e69d3d34e34d0713a776902ebac61dc1292721c97d8b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-runtime/src/tool_runner.rs:2165-2170 | crates/openfang-runtime/src/tool_runner.rs:2178-2183 \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 \u0060crates/openfang-runtime/src/tool_runner.rs:2165\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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baf64e4dbca0cfd0c8eb82ecc43668cc269e91e49d352c1c12dca17c2b003e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:1463-1468 | crates/openfang-migrate/src/openclaw.rs:1817-1822 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1463\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b274297b98e0beb40c2cf050b13633fe4e7841e9c6224e716f18620bb7dc7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-channels/src/nextcloud.rs:176-181 | crates/openfang-channels/src/rocketchat.rs:147-152 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/nextcloud.rs\u0060 and \u0060crates/openfang-channels/src/rocketchat.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/openfang-channels/src/rocketchat.rs:153\u0060 calls \u0060clone\u0060 and \u0060crates/openfang-channels/src/nextcloud.rs:182\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeb0886dc5b4f313fab8c5ad5246aac20b57a9d98e1e81dba199571ce7a977f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-api/src/routes.rs:7456-7461 | crates/openfang-api/src/routes.rs:7464-7469 \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 \u0060crates/openfang-api/src/routes.rs:7456\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":7456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea70f4b33256e68bdc555b5a6d4ce9acf2dfe5ef6cc4f2eb98e669ab72bbf5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/openfang-cli/src/tui/event.rs:2831-2836 | crates/openfang-cli/src/tui/event.rs:2879-2884 \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 \u0060crates/openfang-cli/src/tui/event.rs:2831\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d781b299cb7be2c843754cad23c5a55b797a524567ca3bc9e5928a1c6cfd2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-cli/src/tui/screens/init_wizard.rs:1851-1855 | crates/openfang-cli/src/tui/screens/init_wizard.rs:1859-1863 \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 \u0060crates/openfang-cli/src/tui/screens/init_wizard.rs:1851\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b0669debdba241f511636abd87960c1521103cceb30329e962fb9af3f97f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:2722-2726 | crates/openfang-migrate/src/openclaw.rs:2741-2745 \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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2722}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fc3ccebc994bd25294644ed85072386c7dcfecc619a8ddaa27e8bd9f9a5da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/openfang-channels/src/nextcloud.rs:83-87 | crates/openfang-channels/src/nextcloud.rs:104-108 | crates/openfang-channels/src/rocketchat.rs:83-87 \u2014 before extracting anything, compare \u0060crates/openfang-channels/src/nextcloud.rs\u0060 and \u0060crates/openfang-channels/src/rocketchat.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 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":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8777e2b6674012988cc1d49b4dfa2e623f9e4c311f8b1e560e869e21d029a8ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-migrate/src/openclaw.rs:1741-1745 | crates/openfang-migrate/src/openclaw.rs:1853-1857 \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 \u0060crates/openfang-migrate/src/openclaw.rs:1741\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f96c19a8c156e4c41a17a4ad0195052b8dff536b4c57833bd95f578a25ab86e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-runtime/src/browser.rs:927-931 | crates/openfang-runtime/src/browser.rs:1115-1119 \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 \u0060crates/openfang-runtime/src/browser.rs:927\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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a51d23beba4a0211018c259d999cf419c25ad6e7a1be7541c63afa8bb5bd946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-api/src/stream_chunker.rs:81-85 | crates/openfang-api/src/stream_chunker.rs:89-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openfang-api/src/stream_chunker.rs:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/openfang-api/src/stream_chunker.rs:77\u0060 calls \u0060min\u0060 and \u0060crates/openfang-api/src/stream_chunker.rs:85\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":"crates/openfang-api/src/stream_chunker.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb13b826285793511130c66a33002e1c6e6c2aa9b6542437c5336f70f8200ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-cli/src/main.rs:1807-1811 | crates/openfang-cli/src/main.rs:2076-2080 \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 \u0060crates/openfang-cli/src/main.rs:1807\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceba0b33b80d914f074702450dd5f0c35f06147e4722397d8646086d9fc8d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-memory/src/knowledge.rs:232-236 | crates/openfang-memory/src/knowledge.rs:259-263 \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, \u0060crates/openfang-memory/src/knowledge.rs:237\u0060 calls \u0060parse_from_rfc3339\u0060, \u0060with_timezone\u0060, \u0060unwrap_or_else\u0060 and \u0060crates/openfang-memory/src/knowledge.rs:264\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":"crates/openfang-memory/src/knowledge.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e50b5cb2347b6c0dd11898843fe8ac2610c9d8cfbc429795e52a46a79637be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/openfang-runtime/src/tool_runner.rs:2050-2054 | crates/openfang-runtime/src/tool_runner.rs:2084-2088 \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 before the matched lines, \u0060crates/openfang-runtime/src/tool_runner.rs:2083\u0060 calls \u0060as_f64\u0060, \u0060unwrap_or\u0060 and \u0060crates/openfang-runtime/src/tool_runner.rs:2049\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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb06857e909d0079f22465a67669ff65bcb904e37209cafe6822e03465f7b82"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project openfang-api: openfang-api has instability 0.83 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"491c32a56a42bcd8f5e279042cb7695966a1b86e462725319d677ca65fd9d01d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: openfang-types: openfang-types: abstractness 0.01, instability 0.00, distance 0.99 \u2014 zone of pain \u2014 concrete and depended on by 12 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ee05ecc4f821095bd3f5a5cc2ba783c998c0faff58c46290a1ad30f03467f1e9"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: openfang-skills: openfang-skills: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"036c682c0abfa8834fe8a24d10047403ab2b394665fbc888beeaaccfe34db40f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: openfang-extensions: openfang-extensions: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"172d0b1df3e909426d2cc2d2175d890db976591becb675bfbb7bdc753d8e23ea"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: openfang-memory: openfang-memory: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e2ea6f7a00bf003459a8d876f466079fd714e31804ddf148f2abaafe7273be0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MemorySubstrate (LCOM4 6): MemorySubstrate\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/substrate.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"82489eac9be74165881e7527648cf88f092c8ee32b7bc2060fcb6fe39980cfe2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenFangKernel (LCOM4 5): OpenFangKernel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b61562445ca99348ba0c5ec66f52f28697dd679319fa0f201734acfb87fe26"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65f4ef0d10253746b6c1f8493be428e0f815d80641d2c4f716206f2c063def05"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-kernel/src/kernel.rs: crates/openfang-kernel/src/kernel.rs changed 120 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 96 in OpenFangKernel::boot_with_config at line 590. 73 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-kernel/src/kernel.rs\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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fef53dfcf786874b7efdafa583b928552632c1ddf6a40a48680617778b72e9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-cli/src/main.rs: crates/openfang-cli/src/main.rs changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 189 in openfang_cli::cmd_doctor at line 2124. 28 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-cli/src/main.rs\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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c584ba77b6c25412460a3e2cb2b185bf0fede62a7cba9a5540c6a765864272"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-types/src/config.rs: crates/openfang-types/src/config.rs changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in KernelConfig::validate at line 3382. 16 of those changes were fix/bug commits, and the other 27 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-types/src/config.rs\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":"crates/openfang-types/src/config.rs"},"region":{"startLine":3382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae8297e89d80250cb4ef7b4bbc70a53f3a36b56114bf519518a89f75f9c02ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/agent_loop.rs: crates/openfang-runtime/src/agent_loop.rs changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in openfang_runtime::agent_loop::recover_text_tool_calls at line 2387. 30 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/agent_loop.rs\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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0e069b613247536f0b169f370d114fb211acf5203d3cb6619888f1bfd6a7df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/drivers/openai.rs: crates/openfang-runtime/src/drivers/openai.rs changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in OpenAIDriver::stream at line 903. 31 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/drivers/openai.rs\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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb3f154ac47ca2b43627e0fd2e768242366c4e1197b77fa7e12dd3b93277b7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/src/channel_bridge.rs: crates/openfang-api/src/channel_bridge.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in openfang_api::channel_bridge::start_channel_bridge_with_config at line 1104. 15 of those changes were fix/bug commits, and the other 18 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/src/channel_bridge.rs\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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0d9d81fea684706c45821bbedae67f8ae7c3fa2bdc103bfea199e6f5755799"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/tool_runner.rs: crates/openfang-runtime/src/tool_runner.rs changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in openfang_runtime::tool_runner::execute_tool at line 109. 19 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/tool_runner.rs\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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2d3405db13abc794275c9a4325eb97e90f8840783d9373326782e3f1dc6cc2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/src/routes.rs: crates/openfang-api/src/routes.rs changed 90 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in openfang_api::routes::patch_agent_config at line 9712. 48 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/src/routes.rs\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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9712}}}],"partialFingerprints":{"codehealthFindingId/v1":"0becec3ccf549186ff6a64d1fd76dad91a436c987f0f0eabe7b6ef8c5526435a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-channels/src/bridge.rs: crates/openfang-channels/src/bridge.rs changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in openfang_channels::bridge::dispatch_message at line 754. 15 of those changes were fix/bug commits, and the other 21 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-channels/src/bridge.rs\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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a5e8b9b8d9413873aaabc893f7c93fa459bfaa38a498dbaf99b37d6ae06fef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/static/js/pages/chat.js: crates/openfang-api/static/js/pages/chat.js changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 123 in chat.chatPage.handleWsMessage at line 747. 12 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/static/js/pages/chat.js\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":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcf550309ae67c45f9f28842082883414339f329fcf42574b221ebdd7b189c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-cli/src/tui/screens/init_wizard.rs: crates/openfang-cli/src/tui/screens/init_wizard.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in openfang_cli::tui::screens::init_wizard::run at line 659. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-cli/src/tui/screens/init_wizard.rs\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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"0697d796b2c6c3f9da0f1c646ef782469c6e4d6be9437322d66c4cb466db7444"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-kernel/src/metering.rs: crates/openfang-kernel/src/metering.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in openfang_kernel::metering::estimate_cost_rates at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-kernel/src/metering.rs\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":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"50652427c6b3ad9137cc412a8580de3954c4d35c0565151a6323eadfb4295d94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/src/middleware.rs: crates/openfang-api/src/middleware.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in openfang_api::middleware::auth at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/src/middleware.rs\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":"crates/openfang-api/src/middleware.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"115734467da2d62a90ba60cf32114d2ace70cb4e0f088be4b1b7e6e760cdb388"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/drivers/gemini.rs: crates/openfang-runtime/src/drivers/gemini.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in GeminiDriver::stream at line 749. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/drivers/gemini.rs\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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60af9ef44c468b4245ec98be94e117799b9f6d1f3c767a831523ac157f890b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/src/ws.rs: crates/openfang-api/src/ws.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in openfang_api::ws::handle_command at line 1009. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/src/ws.rs\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":"crates/openfang-api/src/ws.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2127d3b20fb80f6bee7e10278c529f2f18740fef4ac6ac346e752fcd5770b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-cli/src/tui/mod.rs: crates/openfang-cli/src/tui/mod.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 109 in App::handle_event at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-cli/src/tui/mod.rs\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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0343a0f72fe7cf425e968f20c1d5666da8637c64441b7b5a2f9e0146cca930f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/drivers/mod.rs: crates/openfang-runtime/src/drivers/mod.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in openfang_runtime::drivers::create_driver at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/drivers/mod.rs\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":"crates/openfang-runtime/src/drivers/mod.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd668c5a791e6b68bfbb09fda70419ebef542a4db480aa3c5b4cd0ea91e2555d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/drivers/anthropic.rs: crates/openfang-runtime/src/drivers/anthropic.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in AnthropicDriver::stream at line 304. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/drivers/anthropic.rs\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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fe0c9d8f240635a5d4bc091d52c3e3b78f791bbfb0933b40fcbae584f04da6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-channels/src/telegram.rs: crates/openfang-channels/src/telegram.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in openfang_channels::telegram::parse_telegram_update at line 843. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-channels/src/telegram.rs\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":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"2023cb5ecbf4f6f6bec13de69716f053db6044cef8a381f9cedaf41b80bd89b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-channels/src/discord.rs: crates/openfang-channels/src/discord.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in DiscordAdapter::start at line 279. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-channels/src/discord.rs\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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f9185ef9ae98a75dd4f752091350547224c1d0ce2db85852e313d2d2a331fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/src/server.rs: crates/openfang-api/src/server.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in openfang_api::server::build_router at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/src/server.rs\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":"crates/openfang-api/src/server.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e68ca447200d338205675931a1091bd7b753b7b2ee108de7af5cdbf6c7cf235"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/static/js/app.js: crates/openfang-api/static/js/app.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in app.document.addEventListener(\u0022alpine:init\u0022) at line 123. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/static/js/app.js\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":"crates/openfang-api/static/js/app.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f17c23f2e4e3660178b882f57844fd1aa97e3860a77bb46db0eae507dbd4fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/prompt_builder.rs: crates/openfang-runtime/src/prompt_builder.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in openfang_runtime::prompt_builder::build_system_prompt at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/prompt_builder.rs\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":"crates/openfang-runtime/src/prompt_builder.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b477b2adf4ffb19a9ab4bfeb38a0b9864ecf6c5eff5837a5bc8f3c42e8d2662"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/static/js/pages/wizard.js: crates/openfang-api/static/js/pages/wizard.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in wizard.wizardPage at line 14. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/static/js/pages/wizard.js\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":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc445bb2bbe5f2d5da9aabd678efd6d97ead82410d4bf3c04e75bc772b104c4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/drivers/claude_code.rs: crates/openfang-runtime/src/drivers/claude_code.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ClaudeCodeDriver::stream at line 498. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/drivers/claude_code.rs\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":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"22165e55766c82741768dfd47e57141a99a660afdc5943df356cd991c0cb5ef7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/static/js/pages/settings.js: crates/openfang-api/static/js/pages/settings.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in settings.settingsPage at line 4. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/static/js/pages/settings.js\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":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb05575f5bf2084ec1165af8cff4cb0af6beaef355c3025e4effb9cc0dc599c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/session_repair.rs: crates/openfang-runtime/src/session_repair.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in openfang_runtime::session_repair::reorder_tool_results at line 232. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/session_repair.rs\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":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb2d544b016f306885b5744f76ab45516a8141ece3c7cb568274d06fb939593"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-hands/src/registry.rs: crates/openfang-hands/src/registry.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in openfang_hands::registry::check_chromium_available at line 659. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-hands/src/registry.rs\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":"crates/openfang-hands/src/registry.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ff717a533de8fed4d9ae16e19b09a7f90b4c078cafeec8164b3e5211c38625"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/compactor.rs: crates/openfang-runtime/src/compactor.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in openfang_runtime::compactor::build_conversation_text at line 327. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/compactor.rs\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":"crates/openfang-runtime/src/compactor.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4045909c496378103048b797027645b2c2c3fe30dda2ab69e96fa147d6d7e465"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-channels/src/slack.rs: crates/openfang-channels/src/slack.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in SlackAdapter::start at line 182. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-channels/src/slack.rs\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":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bfca677c91fba27de2fb775ea7c1e1d021a77e81321ac540c4b00e9743a9e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-channels/src/matrix.rs: crates/openfang-channels/src/matrix.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in MatrixAdapter::start at line 370. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-channels/src/matrix.rs\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":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"71638097d2c8c87de16b0dbc431b73a0414b508faea7e27fbbac1a7d39556dc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/web_fetch.rs: crates/openfang-runtime/src/web_fetch.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WebFetchEngine::fetch_with_options at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/web_fetch.rs\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":"crates/openfang-runtime/src/web_fetch.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53468fc86a829ba4c68caf35efe4e012949f68e546aa98d7e8cbc6fdf167ff5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/llm_errors.rs: crates/openfang-runtime/src/llm_errors.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in openfang_runtime::llm_errors::classify_error at line 243. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/llm_errors.rs\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":"crates/openfang-runtime/src/llm_errors.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0c5fe417967557e74057c6a3f231c96718027d5131161f20fd4a9305bfbe6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-migrate/src/openclaw.rs: crates/openfang-migrate/src/openclaw.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in openfang_migrate::openclaw::scan_from_json5 at line 997. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-migrate/src/openclaw.rs\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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab0b32c52bdf27b95ebb164550252be3496bfd9f10681c030933ae8e4da414c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/whatsapp-gateway/index.js: packages/whatsapp-gateway/index.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in index.startConnection at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- packages/whatsapp-gateway/index.js\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":"packages/whatsapp-gateway/index.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8cede295c8f73ab0674ca9812abcfa8a7a460a82b997e09504d0f79c3a0fab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-skills/src/clawhub.rs: crates/openfang-skills/src/clawhub.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ClawHubClient::install_with_options at line 523. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-skills/src/clawhub.rs\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":"crates/openfang-skills/src/clawhub.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"3197b2628f4516723374331e0a5ec0e3253890141258fb63fe64829f599bb7ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-types/src/tool.rs: crates/openfang-types/src/tool.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in openfang_types::tool::normalize_schema_recursive at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-types/src/tool.rs\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":"crates/openfang-types/src/tool.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d99e279ca1ef5dd44305249ba2ef5ea34d71c882bd22e775296577059ff0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-kernel/src/config_reload.rs: crates/openfang-kernel/src/config_reload.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in openfang_kernel::config_reload::build_reload_plan at line 123. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-kernel/src/config_reload.rs\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":"crates/openfang-kernel/src/config_reload.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f551c7c1c13c30da466a5e378afa2a0db2a24cd57af80cb5be6d3322ea44a99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-kernel/src/wizard.rs: crates/openfang-kernel/src/wizard.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SetupWizard::build_plan at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-kernel/src/wizard.rs\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":"crates/openfang-kernel/src/wizard.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f807df1a10c3d23b55a436da85fbddd8c9b2991d67c984aeec7753032018a87f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-runtime/src/context_overflow.rs: crates/openfang-runtime/src/context_overflow.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in openfang_runtime::context_overflow::recover_from_overflow at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/context_overflow.rs\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":"crates/openfang-runtime/src/context_overflow.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c0cd3d7ece7c3a3f3c9ed058466cb05c797553eeba35c97846146994067e3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/static/js/pages/skills.js: crates/openfang-api/static/js/pages/skills.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in skills.skillsPage at line 4. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/static/js/pages/skills.js\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":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad7d0ab686e97f393cb9afca1276128467f8afb1e0930f68e57089d66e57e98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-channels/src/nostr.rs: crates/openfang-channels/src/nostr.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in NostrAdapter::start at line 163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-channels/src/nostr.rs\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":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd9ca252df5181aee0f6b87fad8041d288c6586b2769ccf4d4084e9e35e0ac0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-channels/src/formatter.rs: crates/openfang-channels/src/formatter.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in openfang_channels::formatter::markdown_to_telegram_html at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-channels/src/formatter.rs\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":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd5e0080dee6b0b5896fcefa8907d7c3f0f05dd63abb6284f9faad9d81dbd93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-api/static/js/pages/hands.js: crates/openfang-api/static/js/pages/hands.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in hands.handsPage at line 4. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/static/js/pages/hands.js\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":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f08a9666d0c72df89a7b42dfc87bf439bb8716e1e0b6ea048218a9e40118e16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-cli/src/tui/screens/chat.rs: crates/openfang-cli/src/tui/screens/chat.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in openfang_cli::tui::screens::chat::draw_model_picker at line 478. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-cli/src/tui/screens/chat.rs\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":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4bfa3bcd7fe31273c63f30d11e71c5a0d98b2b0160ebef6223401ef34bbd00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-types/src/scheduler.rs: crates/openfang-types/src/scheduler.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CronJob::validate_action at line 322. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-types/src/scheduler.rs\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":"crates/openfang-types/src/scheduler.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6fe28d19826aa2c51f751f36ec5331b0a9eaf839b70d2e62036e28adc9c400"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/openfang-channels/src/bluesky.rs: crates/openfang-channels/src/bluesky.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in BlueskyAdapter::start at line 348. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-channels/src/bluesky.rs\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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7f938836c67e5641bf69580f87cf32268c5a905c6940d2f2e31bceed8fb0c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-runtime/src/model_catalog.rs: crates/openfang-runtime/src/model_catalog.rs changed 48 times in last 90 days and 31 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is ModelCatalog::detect_auth at line 57), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: rewrite Copilot driver with OAuth device flow authentication\u201D; \u201Cfix: version bump to 0.5.5, SSRF allowlist, Ollama context, embedding detection\u201D; \u201Cfix: resolve 5 bugs \u002B close 1 resolved (#875, #872, #867, #824, #833, #766)\u201D; \u201Cfix: resolve 7 more bugs (#825, #828, #856, #770, #774, #851/#808, #785)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/model_catalog.rs\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":"crates/openfang-runtime/src/model_catalog.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae0a638b9f7eb04a7b592a3374936fe6c790619317519ca38f12105dc41b2b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-types/src/model_catalog.rs: crates/openfang-types/src/model_catalog.rs changed 17 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is ModelTier::fmt at line 92), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: 6 bugs (#962, #939, #983, #987, #970, #882)\u201D; \u201Clint fixes for \u0027cargo clippy --workspace --all-targets -- -D warnings\u0027 and \u0027cargo test --workspace\u0027\u201D; \u201Ccommunity fixes\u201D; \u201Ccommunity fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-types/src/model_catalog.rs\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":"crates/openfang-types/src/model_catalog.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f98cc84a2c5cad8c3ea4f8cbe5b6c5d485bc9c2485ce24eb5874e14e328aba"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-runtime/src/mcp.rs: crates/openfang-runtime/src/mcp.rs changed 14 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is McpConnection::connect_stdio at line 217), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(runtime): pass HOME/TMP/TEMP to stdio MCP servers on all platforms\u201D; \u201Cv0.5.7: multi-instance hands \u002B 8 critical fixes\u201D; \u201CRevert unrelated mcp.rs rewrite and Cargo.lock changes\u201D; \u201CFix silent reinforcement: recognize [SILENT] token in agent replies\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/mcp.rs\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":"crates/openfang-runtime/src/mcp.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3339b9880ae2640f4afa0e332d7e670131d5c279e6e94442f88b866f1a889773"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-api/static/js/pages/agents.js: crates/openfang-api/static/js/pages/agents.js changed 14 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is agents.agentsPage at line 19), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: system prompt and identity handling, and config form hydration #1045\u201D; \u201Cfix: new agents default to configured model instead of hardcoded groq\u201D; \u201Cfix: resolve 6 more bugs (#845, #844, #823, #767, #802, #816)\u201D; \u201CFix agent template spawning\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/static/js/pages/agents.js\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":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1205304eb1da9b81143948c002ac9d0ac5f1642e0bfad62579dd380640777a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-kernel/src/cron.rs: crates/openfang-kernel/src/cron.rs changed 13 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is openfang_kernel::cron::compute_next_run_after at line 444), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix failed manual run pushing next_run and premature last_run in UI\u201D; \u201Cfix streaming-think, cron-orphans\u201D; \u201Ccommunity fixes\u201D; \u201Cbatch fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-kernel/src/cron.rs\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":"crates/openfang-kernel/src/cron.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25ee83d5ab70b6c7cd31d673f3061494463382cc3090bdead39c70f8433e1d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-cli/src/tui/screens/wizard.rs: crates/openfang-cli/src/tui/screens/wizard.rs changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is WizardState::handle_provider at line 277), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(clippy): resolve upstream warnings breaking CI\u201D; \u201Cfix: expose MiniMax in init provider lists\u201D; \u201Cfix: use existing nvidia/llama-3.1-nemotron-70b-instruct as default model\u201D; \u201Cclaude code fix\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-cli/src/tui/screens/wizard.rs\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":"crates/openfang-cli/src/tui/screens/wizard.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5359e0ed84f4942aabcade7295556aecf4b4d600fab650413809b8a6cde2f677"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-hands/src/lib.rs: crates/openfang-hands/src/lib.rs changed 7 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is openfang_hands::resolve_settings at line 209), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cv0.5.7: multi-instance hands \u002B 8 critical fixes\u201D; \u201Cbug fixes\u201D; \u201Cfix: make heartbeat interval configurable and reduce researcher max_iterations\u201D; \u201Ccommunity fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-hands/src/lib.rs\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":"crates/openfang-hands/src/lib.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7d25aa08753fae274ef90a62576c9d22d062fc17ac88958f6a5b3b0ad8c47d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-types/src/message.rs: crates/openfang-types/src/message.rs changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is MessageContent::text_length at line 208), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix cargo fmt: join Image/Unknown match arms on single line\u201D; \u201CFix token estimation: include ToolUse arguments in text_length\u201D; \u201Cfix 11 issues\u201D; \u201Cfix 6 issues\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-types/src/message.rs\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":"crates/openfang-types/src/message.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c6308fb2686e30bf40f3014f66ce39c9b8497cad2776a3cd6c8753f3f2ecaf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-types/src/agent.rs: crates/openfang-types/src/agent.rs changed 11 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ToolProfile::implied_capabilities at line 346), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(kernel): sync all agent.toml fields to DB on restart (fixes #1087) (#1118)\u201D; \u201Cfix(runtime): re-read agent context.md per turn so external updates take effect (#843) (#1075)\u201D; \u201Cfix community PRs (inspired by #438 @pandego, #433 @ozekimasaki, #417 @f-liva, #392 @cryptonahue, #410 @hobostay, #413 @castorinop, #275 @woodcoal, #464 @citadelgrad, #419 @shipdocs, #480 @skeltavik, #439 @modship)\u201D; \u201Cissue fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-types/src/agent.rs\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":"crates/openfang-types/src/agent.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1825174357184d9ecb7e3d3117331cdcb60d7775ad3689396a0dc952ec4de8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-memory/src/session.rs: crates/openfang-memory/src/session.rs changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is SessionStore::write_jsonl_mirror at line 533), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cintegration fixes\u201D; \u201Cfix 11 issues\u201D; \u201Cfix 6 issues\u201D; \u201Cfix 7 issues\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-memory/src/session.rs\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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea548b5d411c3fa601706b9aa80aa45f9bb0bd8f6ec417b2fd7576533eebb9e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-cli/src/tui/event.rs: crates/openfang-cli/src/tui/event.rs changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is openfang_cli::tui::event::spawn_daemon_stream at line 334), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cv0.5.7: multi-instance hands \u002B 8 critical fixes\u201D; \u201Cfix: resolve 5 bugs \u002B close 1 resolved (#771, #811, #752, #772, #661)\u201D; \u201Ccommunity fixes\u201D; \u201Cbatch fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-cli/src/tui/event.rs\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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4bf52a621254505bb71f645484533747411b074245d0f086718be270028733"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-runtime/src/llm_driver.rs: crates/openfang-runtime/src/llm_driver.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is CompletionResponse::has_any_content at line 99), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(runtime): add subprocess timeout config for claude-code driver\u201D; \u201Cfix: resolve 6 open bugs (#834, #805, #820, #848, #826, #836)\u201D; \u201Cbug fixes\u201D; \u201Cfix 11 issues\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/llm_driver.rs\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":"crates/openfang-runtime/src/llm_driver.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9826eea55b7e2f35b910288b57107620fd5b407f2171a03d40c7f99b6d7cb755"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-runtime/src/drivers/copilot.rs: crates/openfang-runtime/src/drivers/copilot.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is openfang_runtime::drivers::copilot::poll_for_token at line 207), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: resolve remaining clippy warnings blocking CI (ptr_arg, dead_code, map_or, collapsible_if)\u201D; \u201Cfix: suppress pre-existing dead code and clippy warnings in openfang-runtime\u201D; \u201Cfix: rewrite Copilot driver with OAuth device flow authentication\u201D; \u201Cbugfix batch\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/drivers/copilot.rs\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":"crates/openfang-runtime/src/drivers/copilot.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a5f389a6bc87ffa0a93705d84bdad49dc1dd9836e669f558284b26e222a0b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-cli/src/tui/screens/hands.rs: crates/openfang-cli/src/tui/screens/hands.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is HandsState::handle_active at line 136), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(clippy): resolve upstream warnings breaking CI\u201D; \u201Cv0.5.7: multi-instance hands \u002B 8 critical fixes\u201D; \u201Ccritical fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-cli/src/tui/screens/hands.rs\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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8372e2650517b639c1d0464fd32e82a797681fa907f95ebcad1d88a421c40fd8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-cli/src/tui/screens/peers.rs: crates/openfang-cli/src/tui/screens/peers.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is openfang_cli::tui::screens::peers::draw at line 84), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(clippy): resolve upstream warnings breaking CI\u201D; \u201Ccommunity fixes\u201D; \u201Ccritical fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-cli/src/tui/screens/peers.rs\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":"crates/openfang-cli/src/tui/screens/peers.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a56949dfd73f45a180fc8dedb27f4f7c998a4106c8f1099977b89116be1503"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-kernel/src/triggers.rs: crates/openfang-kernel/src/triggers.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is openfang_kernel::triggers::matches_pattern at line 323), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ws): broadcast cron job results to WebSocket clients in real-time\u201D; \u201Cfix 11 issues\u201D; \u201Cfix 7 issues\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-kernel/src/triggers.rs\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":"crates/openfang-kernel/src/triggers.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"5949c4c9b483ae00486ed9a2025d1894f4810c1adc50edc2913484a9a233f9e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-skills/src/registry.rs: crates/openfang-skills/src/registry.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is SkillRegistry::load_all at line 182), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: resolve 5 bugs \u002B close 1 resolved (#875, #872, #867, #824, #833, #766)\u201D; \u201Cfix: resolve CI failures after rebase on upstream/main\u201D; \u201Cfix: resolve 7 more bugs (#825, #828, #856, #770, #774, #851/#808, #785)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-skills/src/registry.rs\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":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"084749f527a0f7406ef6fbb6be29bbf6710cac00a85acb065ec3441ae6ce4551"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-runtime/src/drivers/fallback.rs: crates/openfang-runtime/src/drivers/fallback.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is FallbackDriver::complete at line 38), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cv0.5.7: multi-instance hands \u002B 8 critical fixes\u201D; \u201Cfix 11 issues\u201D; \u201Cbatch fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/drivers/fallback.rs\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":"crates/openfang-runtime/src/drivers/fallback.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9e422d9d4ce18ace3ab344046814f3f7c92992f76eb8180dd8ea218d83b8c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-channels/src/line.rs: crates/openfang-channels/src/line.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is LineAdapter::start at line 362), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: ensure message history starts with a user turn for Gemini compatibility\u201D; \u201CFix clippy: remove needless borrow in line.rs\u201D; \u201Cfix: resolve 5 bugs \u002B close 1 resolved (#771, #811, #752, #772, #661)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-channels/src/line.rs\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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"313234e67fddb2d4806caca001171254f8aae825c60f045031c5ec94817c763d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-kernel/src/scheduler.rs: crates/openfang-kernel/src/scheduler.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is AgentScheduler::check_quota at line 78), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Ccommunity fixes\u201D; \u201Cissue fixes\u201D; \u201CPR fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-kernel/src/scheduler.rs\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":"crates/openfang-kernel/src/scheduler.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc39011f32a822e7b9e2454d0cdbe296495156ba9f75d2d707c16b6f42024e51"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-api/static/js/api.js: crates/openfang-api/static/js/api.js changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is api.friendlyError at line 119), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: resolve 7 more bugs (#825, #828, #856, #770, #774, #851/#808, #785)\u201D; \u201Cfix: Fix the error when uploading files with Unicode characters in filenames\u201D; \u201Ccommunity fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-api/static/js/api.js\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":"crates/openfang-api/static/js/api.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bf786f511e5d03f91c59ae89a1b3fa76b463017bffa9e4f261c38e6f46ea08"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/openfang-runtime/src/loop_guard.rs: crates/openfang-runtime/src/loop_guard.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is LoopGuard::count_ping_pong_repeats at line 448), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Fix the issue of duplicate tool calls with identical arguments in certain scenarios.\u201D; \u201Ccommunity fixes\u201D; \u201Cfix issues\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-02-11..2026-05-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-02-11 21:42:08 \u002B03:00\u0027 --until=\u00272026-05-12 21:42:08 \u002B03:00\u0027 --full-history --no-merges -- crates/openfang-runtime/src/loop_guard.rs\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":"crates/openfang-runtime/src/loop_guard.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d345e2adc88509e194861e888ea3d69142fe703bdaab76d339d441381ad7c184"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 23 significant file(s) lose their only recent owner: crates/openfang-cli/src/tui/event.rs, crates/openfang-runtime/src/drivers/anthropic.rs, crates/openfang-skills/src/clawhub.rs, crates/openfang-memory/src/session.rs, crates/openfang-api/src/openai_compat.rs, crates/openfang-kernel/src/config_reload.rs, crates/openfang-channels/src/bluesky.rs, crates/openfang-types/src/commands.rs (\u002B15 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"61534945370d1335f987adbe574cb1d72189a8fed71dd604092873a28f5b7f61"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (25 single-owned of 236 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 236 of the 251 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: crates/openfang-runtime/src/web_search.rs, crates/openfang-extensions/src/installer.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(GAP-012-Tier-2): this fallback still silently"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/config.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc9b0e93aa1273634361e26ffeb8c62bcb026e24e6db6fe346f89d4db311767"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: add text-input modal for custom instance names (#878 follow-up)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1606052e984f65c015cf45a8955758674cd63cf7d2ed971a3620c9f54d716e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add text-input modal for custom instance names (#878 follow-up)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26ba2ed81189855b50f67717f01d9dec288d835e384d72ef56797bd0827423c"}},{"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 \u0060packages/whatsapp-gateway/package.json\u0060 makes this repository a deployable product (line 5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/package.json"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f8f5e1be5b37cb3bcf3d898a031b24ec2b1df70aac4843a2f34d2d3911bf8b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Start tip cycle\u0022 repeats the code it sits on: 3 of its 3 words (start, tip, cycle) are already in \u0060this.startTipCycle();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be8421c943350ac2be5b9f278aae6ede4f7400e26474dc4f90054a52f6ca876"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET /health \u2014 health check\u0022 repeats the code it sits on: 3 of its 3 words (get, health, check) are already in \u0060if (req.method === \u0027GET\u0027 \u0026\u0026 pathname === \u0027/health\u0027)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefec9d5ba462e6cc4b8cc00234c9e2afad545bbf7342f8a4434176bdc960c94"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 18 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060crates/openfang-runtime\u0060 (47098 LoC, 171 module-visible types across 2 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"866f5db9e17cba13054be81498300d5689d6380b38ab693dd948f99e20adbff5"},"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":"54015389eb5f9a0beb6433e209224f32665bbffd45f48b4ac71eacdc7584cddd"},"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":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05dd1cc6a6536213feac72458953b3ecc92da85b7219289a9d2c68054660f8e9"},"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":"58416306c1a27a37c4768b939e55dd2865e8672774adab59964be2ffeffdd74f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1873f73df2980e05749fb989e4983bd7e44b6790994284629fa7f4a2ef29ad4"},"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":"99c8716916ca0dd9ddee8302208a5745bab6513f34ca12c2672d93f07c07be5f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45e43b2cf0f13df69fd5c5d1f3263d8d91ae8a1d217ff414c529a77aebd1ca8d"},"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":"6b562a86ba4fad32d6ccdcd6ca2d4c34c2236a59e5d8276adbfb83a1790cdee0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57d823555c0f50a3493fd14230fc2974c80d783a2164e0399518f807a574cc38"},"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":"0b81debfdf26ad72c8d0b6ae327091ed6b094389fdb86a94cad6363ea8f38e48"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab979ab2dc46515c14a5a4f004fc991e04e40404eedb88f91aeaa5242f0df4a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"513e624cd4eec64c502ecb204368e8fe565ea9a229577c6e8ced5250cb9a91d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a7c60d84ec124dea0266da2cf23510056e10aadd6ac2dae11dd81d8528da72e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b21ef51d97f04d1a8b921e635aca9ef4e877341aa2c3b0f6eaeabc61234774b6"},"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":"4f51d598102786d6fe7ccdb4c5ce07901ce46b3341024418f2338de4b1f69943"},"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":"c72f8dd0a4660c0410011ad22b062a88bfb12e99dfa88785bd553544f3303bc1"},"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":"8f49035fd421c7e4f8710c196e0860be3fdb3bfc2172a0ac216ab01d07c7c08e"},"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":"a2d4d34db81fb7980bb0374cbffc224c0329c23127b2f87c3c88b3da56ac785c"},"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":"5199b40473c2e6049b809781f3fbbdb6c92d1f89ad0ccdca0473657732f0567a"},"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":"bb09b1305160c02ecb0571b1c0ec4ebef7c0dc723f6181413d1cc4f02da79f53"},"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":"1d7402ea4487319f1e5e8d02c7ae03329afa6504162efeeaa57c914c9727532c"},"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":"3e0c47d1007286514c777959c6201ab9263f372c9b0fa71c78af3f6d07818300"},"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":"46d42febc102e540a3a031447382dd3b17f0d635a4b6037f8ab1ba71b909b3eb"},"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":"6504d8d1633fd2629c17cb911821ef9d4b240f323d5e1ebac2df01ac4726a04a"},"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":"8d29b94038490c84613e9786e27a95b1e6778b882160e1bb8b3d7dcc9422beff"},"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":"338407871e9c53d2625a5754ccc8f84f16e799149817c1d1e310aef9e6213485"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46f4b234569d9def00d491e2620fc51069056222000fc1f164e722fbe0a7130d"},"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":"957b150e90b8de065e3fab913d6db8aa84cc38085b4826b482eaabde0c4cf347"},"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":"bb0410ee4cfe4973d155b8561e3e89af5200f9ce81c264c396f787235d3821c6"},"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":"e7aea5ad354bb944fe749ff0e5f574830ccdd11e2edd1cb16678dd3d93b52205"},"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":"189637438c98047c31a6811543f84e904c1462c24d23649c58776128a115651c"},"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":"fc4496fc674ac0d0155a791281a5c9eac5a014da835f130329efef8dd7eae233"},"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":"6fefb5a862019e6537f48d1cc54cfb909690ae67b4719969c16dcad65a24a27d"},"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":"d2afc5a81f5e606c4e1b87b7b2a2619fef6a3941060ed4ebb04aa258f3608437"},"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":"6de7e81d72b486d865f0796ad920c682dfa0f0540fd6fab81841cb8d2ea2e1d3"},"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":"b045f06583c9b465f808666ab807bb301b75e163408a0670ffe050a381f461f6"},"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":"955ff3ca65024e02f7d2ad1f1f28126d3ba171a381223e27175d4dbb50b796d5"},"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":"92b9ab51987e4ab012dc2a9f22db4bb0f092dbe2b3d0a903627c8155839e0d76"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b07cb75661a9abd976456f9559d365f8d146a8883ae271e57cefbb818552c5db"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"115bba8fcdc94be524680520fb40613ea46a150c3653d7985aab36fb2f6f56dd"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"530347f4ac39b2666c247480cd62f8f40876dfc19d5fd9939d19fc37f5537075"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18030e6f22eb0fab3cd1af20630d7c1f415c077414272a10ebdd6ecd966f0f3f"},"properties":{"dependency":{"package":"lettre","version":"0.11.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2026-0141"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7923dbc024a48ac156b24964676d364a19bc2fa8d51630247a35e8b7a3f4f82"},"properties":{"dependency":{"package":"wasmtime","version":"43.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0222","RUSTSEC-2026-0269","RUSTSEC-2026-0316","RUSTSEC-2026-0327","RUSTSEC-2026-0359","RUSTSEC-2026-0362","RUSTSEC-2026-0363","RUSTSEC-2026-0379","RUSTSEC-2026-0424"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5700cf8ee182fc440abb16030061d2e9976929eb60c880096208a514bc453b10"},"properties":{"dependency":{"package":"zip","version":"4.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0367","RUSTSEC-2026-0368","RUSTSEC-2026-0369","RUSTSEC-2026-0429"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9e2c75d2fefa94504a6443bd33d31210eecfcc19eda5a718aaf21e504742ebf"},"properties":{"dependency":{"package":"openssl","version":"0.10.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0463","RUSTSEC-2026-0473","RUSTSEC-2026-0474","RUSTSEC-2026-0475","RUSTSEC-2026-0476","RUSTSEC-2026-0477","RUSTSEC-2026-0478","RUSTSEC-2026-0479"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5308f9ed219ff7d361ed2b01ab7b5fa7a33b0013fcd35575e7068ccda1d2997"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0185","RUSTSEC-2026-0338","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ed384055dc716a282d5e05d367f817795de1f0324f3b20b12b91701c74092f0"},"properties":{"dependency":{"package":"rmcp","version":"1.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0140","RUSTSEC-2026-0189","RUSTSEC-2026-0462"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759d36a63e8483c4a467399ff199fa57fa2e02d89ef311720974588edb9516d4"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"904cd12f65d71ca63d739c739b4c100bf718e7d129ce5630aa4dba7fa6968b6e"},"properties":{"dependency":{"package":"bitmaps","version":"2.1.0","advisory":"RUSTSEC-2026-0247","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4a0c58aca13bc848c37d4c3d5bcb90f8e046f8df5b386f5a3743d0625ad8dae"},"properties":{"dependency":{"package":"crossbeam-epoch","version":"0.9.18","advisory":"RUSTSEC-2026-0204","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1092cdc16bab90e26caa98781415518f2a1a0fec9b43d183894264e01dcc42b6"},"properties":{"dependency":{"package":"event-listener","version":"5.4.1","advisory":"RUSTSEC-2026-0221","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a460069b86f1a2735babc8688e0411f97ac3343bf61746d845872d161c95683b"},"properties":{"dependency":{"package":"im-rc","version":"15.1.0","advisory":"RUSTSEC-2026-0250","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b3f5e73f54279d8a385f3ccb6ce6659725cab3121019062bfd36c6500f66d85"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.28.0","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"422864efbc32ee020d94634a443edac9d818b90faf02ac96d91c4d66ffa4da37"},"properties":{"dependency":{"package":"lru","version":"0.12.5","advisory":"RUSTSEC-2026-0253","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46f49615124997a47ae03424c2b2e05e8f53b2ec644cd091de0dc203d46f11ac"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4299ae3622b58ab90ee5bbcc0e8a79102eb3862f4b24e8ab215316374d95a8c7"},"properties":{"dependency":{"package":"quick-xml","version":"0.37.5","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6167865ff5fa98b13d6fa05f200ca9f1d60cc2e565da8b07de715c47a5c46685"},"properties":{"dependency":{"package":"quick-xml","version":"0.38.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28f0bc6d34596072b24d37b19b745b7394ed4ce99a53e032439b262379e02dc1"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.14","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e27fd437c800da3f08668432caa591212d9e96912574a510b033122acd7b8d33"},"properties":{"dependency":{"package":"rand","version":"0.7.3","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9040b7ad52b862da8ec54c50aafe5b7aad49e0d3c7df8ecb342f09947efda51b"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b25e6dd4c9e73cff107f93e227e9d95f01d014fc83854fc247db8004664b52c6"},"properties":{"dependency":{"package":"rand","version":"0.9.2","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.39","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ec937081c3ad6882e9c07735996d40cd6d5332ac535d70bb5252c6040e1f211"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.13","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7ac1525ee21f8396482ed6caafb5092cc4f1f938990a606ace871da2f8aa6f6"},"properties":{"dependency":{"package":"serde_with","version":"3.18.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d5eb3c9e63b1f4e713840f0a870cb4fc4b0eadec98bf720c40fb49b919ccd26"},"properties":{"dependency":{"package":"sized-chunks","version":"0.6.5","advisory":"RUSTSEC-2026-0251","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb0001f1efbeb6758c9328ffac016bb7f7f69b0b96734f2fe260dcc9f13686c9"},"properties":{"dependency":{"package":"sized-chunks","version":"0.6.5","advisory":"RUSTSEC-2026-0255","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b4d0bd0ea0d3a81846d91c999f1c98d63806893d9b8b2fd8c703eaa81f667a7"},"properties":{"dependency":{"package":"tar","version":"0.4.45","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c54fa2c46bcc937089e30d6a9f43efdcfb0b192b5f5ea26f38937116d318c90"},"properties":{"dependency":{"package":"tauri","version":"2.10.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.50.0","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c78c7c829ffb431fb928ff724c9cf0276a780b7b7d9be87f32343d1209a988f8"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.6","advisory":"RUSTSEC-2026-0383","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"232458f1e861a473d11b103db83010acd3c76ee2f5eb5b53069ae6f2eda9586f"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.6","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f6329e2b29fe1ee1dd724766af980b151618490b720201bbdc1839704210c3e"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.1","advisory":"RUSTSEC-2026-0371","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4999ef69e42f46a403f3866a4a634365963f93fdd6e82c0c4a8e528a960ab52"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06e8dc8c07565b965cad3fead890e0d682e96e4f994ab4a0654e3f10afe7962d"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0395","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"414bb4a49ee404ddc9dbe92931374dee643d4d3104e067391ed93041a77ff631"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0396","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d67834474e5564706ab5d6117a7537fa7ddd9f89e1070ff0f40846a68262b203"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0397","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64bc44f41a35cd29a5d01a7b192ce2cc5f1d458c15d9df1d5239ebb5b7c6fd43"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0399","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a79bcf37fda3b3cfb40243fa81b1818f80a0fe095c267b68e3c7eee6f042ddc9"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0400","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21df614167acad094349de8aa7cfc685e485f636d67b1ded35b43230df65a136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0401","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd61c6a1a6d23109e3da0a091cdbb2ecd3102dd1235e0548e2d8ffd7db2a7005"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0402","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a910032c7367726c7f26107809b36a5b0ab01a6e3af6f2b0cf67b659ecca9e49"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0404","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d11388e41908d6112e7f61d01d0c0d9062830b07945356073c8069de5b88d627"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0405","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbb5f2efe8d9cca6344840981b65d21b774960589fc9976e6690dc84fce97102"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0406","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7870b77ea4843334d11fffa265d6d0542e94eec7f4c8e852762d55c28578136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84f9b61ffb7d87f7a0ea344424bcbd7389e2ed41eb01432b04fba9f732cd312c"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.16\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77d4d5d4357ce0a5ade8f6f76c84914f1a2c80f9fe7358d9854254b760de650a"},"properties":{"dependency":{"package":"zvariant","version":"5.10.0","advisory":"RUSTSEC-2026-0370","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f67f0700e108bacf2f3dfd2008273e31f01b0ea1f2d5f9ef71c4f46ace73bbe9"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.10.0","advisory":"RUSTSEC-2026-0372","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"a42ca7416279f52063a649dbc505340ffc7c7a5727193e601ae1de8d6db75e3d"},"properties":{"dependency":{"package":"fxhash","version":"0.2.1","advisory":"RUSTSEC-2025-0057","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"02807c2340c313bd085553cef2aa54725b58db377d04241d3195bea3a23b7783"},"properties":{"dependency":{"package":"glib","version":"0.18.5","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2024-0429"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f009bc76e81984c556dcd46a3c2007aa1a73b65bddbb2a459eaf82a08dbfae28"},"properties":{"dependency":{"package":"lexical-core","version":"0.7.6","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2023-0086"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"fd5b7b900e359bc9ff22443b120141112041cc7a7df5da023ae0e7cb0e39e2de"},"properties":{"dependency":{"package":"lru","version":"0.12.5","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2026-0002"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"95686d8e64236c3c2c566e482859faf67a5bbd9dbeebb6f4df8aab56c3496281"},"properties":{"dependency":{"package":"proc-macro-error","version":"1.0.4","advisory":"RUSTSEC-2024-0370","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d3f6b0dc7d0843f1539cb8274e739376fd4b1be6c39d73c3f6b7e78cb5af4d8b"},"properties":{"dependency":{"package":"unic-char-property","version":"0.9.0","advisory":"RUSTSEC-2025-0081","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"610868c659b2bc4a0ea5bd7cebeddb1d8961b8ebb7c9f31dcc75e07badfe1d8f"},"properties":{"dependency":{"package":"unic-char-range","version":"0.9.0","advisory":"RUSTSEC-2025-0075","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"9a9761ad8cbbcee9fd4b4bb09fc1e6e6977230d7588402bc8497b52c5027e99e"},"properties":{"dependency":{"package":"unic-common","version":"0.9.0","advisory":"RUSTSEC-2025-0080","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"355ee9fdba8596d452516a609f795a54a5bca0f7ed0289c67e6ddbc4bddd9ada"},"properties":{"dependency":{"package":"unic-ucd-ident","version":"0.9.0","advisory":"RUSTSEC-2025-0100","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b269e07aa3d9bfb90d59d794c0e6a0b7849b288910031fdd0fe253514c3af463"},"properties":{"dependency":{"package":"unic-ucd-version","version":"0.9.0","advisory":"RUSTSEC-2025-0098","reachability":{"kind":"unknown"}}}},{"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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"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":"6c9bd328f1425e4185802e2cb388fc5dec17b2da92bc5227fa43622d89e747d7"}},{"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":"9a3709a9ca3cebee8442d398a04fdaff003b95299b398b9a810576a72a7bde12"}},{"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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"d15df5171d54d9a3cfe919193b940b95eb1db599610449c8b68164e072da6651"},"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":"dbbbf13b735d5b0b324c3dd18164962e82e01f4d75b14411acdb0b28e9c22b7b"},"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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 236 of 236 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 236 separate risks. Counted over 236 of the 251 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0379a7dcb35ab509650bd5871c88a67ddeb5e20834ab10663b03ee57b4443ac2"}},{"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":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bc5e20008c996828e4f1c905cfa9f9adab42e094076bdf3b58e571f0e4d0e5"}},{"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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb3de15e8466d93e08ecd0efe97509a2a54ec9250e8b7fb6cbd4dbb697a2d7d"}},{"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":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe1e0b0cc4e33031fb4037dca215c17b964e8553912f3a498caaf301822211d"}},{"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":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"470ffb308c03b27e3f8ee425c411f5255ca4cec5498dbbf4839c4ffeb50b7dee"}},{"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":"crates/openfang-runtime/src/model_catalog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9e3258b9f3020a8bd406540c0ff9b3576631cb25e1f0f32ed6e62d2c8fbbd5"}},{"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":"crates/openfang-types/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce004a8b380f29da7b980186e744481e7598a81a277cce796833c797890bec5"}},{"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":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54231e070f3a5bc77cfec9f959abbf53f5e7892526da68bf107abbcdbcd33e0a"}},{"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":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfa3e089139c621a46eb1cfaa82b3ec49b1704554a79707e43b7c5b239e0f28"}},{"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":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cde2734d64507950c93d565f56b7bf4ff4de5439d7236b673e4ac5681cd214d"}},{"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":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"445ec55275781b94816efcf07b39259e0b57f1213cca39e1e7c2c82903c5ebec"}},{"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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34254889fdf629e09327a62a7c9a88c343aac0336f0c6088fbd3abd7fbe85268"}},{"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":"crates/openfang-cli/src/tui/screens/init_wizard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb07212e13abce3258d9dc8f2205624fe0aa7d14b3a6340888577a509218813"}},{"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":"crates/openfang-runtime/src/drivers/openai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87ceec19c13a4a7776b4d0b9f9c093a4ff120582156f4ef00e69a27bfa2ca43"}},{"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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1831f9919c8cf65b77c01edf53f1f7daf5b928c7fdcc8490b74532c1a919af1"}},{"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":"crates/openfang-api/src/ws.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"902fdd07265a5f2849447bdf50f14be267decb9c6344e8206e3800b80721f7f7"}},{"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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cee32a5062fba6b73871803931915130c60de55624a0be0fc64dfc7593dc73"}},{"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":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95ac6594cd5f31d21d6c40100b77f38a8256c321a5d692dd91017e63a48e2d1"}},{"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":"crates/openfang-runtime/src/session_repair.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e010276dec6805b5ec2d3d2d5f004d1527d4b1e88754f8b534c48ef6b746a5"}},{"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":"crates/openfang-runtime/src/compactor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7e627f25ca761b789533686dddcd3fd42920dfbe6c7b23d357bab0437c5125"}},{"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":"crates/openfang-cli/src/tui/screens/agents.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4408f3cd0666b358d50d06e855379915d94e0002c03d731e29bb1516822e8643"}},{"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":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce796482453499fd08f8c450247a608ee43e5a161caf175929f1b05faa72ca3"}},{"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":"crates/openfang-hands/src/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d430eb83ce75127c22f791a9fb658cc6bb61d6f12a29f5e417ad717b5c80ebf2"}},{"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":"crates/openfang-runtime/src/drivers/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7d3aa660ca38f9558753b0105e2274c5c75f1d69db44aee7f494db22e085c5"}},{"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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baebf6a0849fcea62998a1c966a5783c24303900170dc254e46c8a777bc40c7"}},{"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":"crates/openfang-kernel/src/cron.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e8d8a6dcdfcf757a2af614c41bbba9e93a0c76f1cc7e8a957db4220affad30"}},{"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":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e1316dae9b6e9b6ef5203d31fc3877cc074ed2c17205a3f86ff03050debe46"}},{"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":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9311518041a2e95acd55fe255b91ab181b6991abc8d50fa5c71fcebce86446e5"}},{"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":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aefd0d15b3f517af919e5d6d425f1b56a55e28a7eb090fe763881f7adb8ec57"}},{"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":"crates/openfang-types/src/agent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42d6817ef070d5b9c8b788c793edad524736bcb7bf65f784683f6404684b044"}},{"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":"crates/openfang-runtime/src/drivers/bedrock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f57b4a0ed973dd97db5ae58714e28ae6fcce7caf27c18a5511081d3cff8484"}},{"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":"crates/openfang-api/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be3080d35561b319c238e26e93c0f3d227aedc55bb560b7de1b71a109a6b0e4"}},{"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":"crates/openfang-runtime/src/llm_errors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a74561f0d36322cfcd3d7f6fd2ccd89bdc7d878fdfa1bd5f6313949c6e0e99"}},{"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":"crates/openfang-runtime/src/prompt_builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a362d45eb314e0f7f517552d6c6f998cfc12fbca7bfe6fb241b5ff3ffb93d81a"}},{"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":"crates/openfang-skills/src/clawhub.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a1b52b9ba984669b85cb48189cd82d0ccee6c86bdaafc678efa9214cc2bb4b"}},{"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":"crates/openfang-runtime/src/loop_guard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd84eafc868defc451537b2cbf2e571968403e9d486c40583fced1c545d8619b"}},{"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":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d9995dbeb30c0914dc5eaa342e8453baf7825df6f5419e50db6da8ea8846c6"}},{"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":"crates/openfang-runtime/src/drivers/copilot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f4092ecc3c47f39158acbba0526883299d8125562c5aa3f5a5380f5fa5fa38"}},{"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":"crates/openfang-types/src/scheduler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"716638d0cba9af381ebfcf11b68294ac91ae64c383c598c3074f536fe2f0825b"}},{"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":"crates/openfang-cli/src/tui/screens/chat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f609f54d62fdf3e7fa3a02bff8bbb4a4b98a87e82ee2026a458e9a5643a389b4"}},{"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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e764ed687257ca4454663b0635d394ce2c288d36a557a6c04e1980f935888229"}},{"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":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa90cf94cc8af4bb79626c3a46e58cf5efd253af9422bb51e5ce2484317192a"}},{"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":"crates/openfang-memory/src/substrate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24af2096bd38526cf78f8db5a838adcc3ac1d633a9321fda7c68965a339a0cf9"}},{"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":"crates/openfang-memory/src/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da46045a41ab304e469a512ebfcfb30364429f60dea653b324df243bfd040bc"}},{"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":"crates/openfang-cli/src/tui/screens/channels.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9030dc64711063d75d23287ae10e21f7c33a5931ecbac290d478d33a74a2a7"}},{"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":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa66580ad00bafae2f6166559e44a857935d34f436d6cf30899a5f15844cedd"}},{"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":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b468992635e523a1838829f26bbf9327f2716c1f52964020dadd5ab88a1ef1"}},{"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":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c004be9baec4f330e583e71655fd0a6a17fa395f0e93e88838a558ffffa3b51e"}},{"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":"crates/openfang-channels/src/router.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c137222fc36d4106c51cfb7ebe3dfeaf6873f4a7b49a1546038e826d326f3307"}},{"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":"crates/openfang-kernel/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08003d85ecfc2698ae357722ceca026259c879306c60491c8757d3b12cbf351e"}},{"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":"crates/openfang-hands/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02666b271e5b5c1e24a2e086ad9fae009af26fc7eb7540e5e125233258fe76e4"}},{"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":"crates/openfang-runtime/src/drivers/vertex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e383c16451ab52b0708e4a7dc8c40ee507fd701f04e4ee2dc9c728e6e4b24b8"}},{"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":"crates/openfang-skills/src/openclaw_compat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11791fdb90ec8a547b1ac9d19021672d665c166a67b30d293b1c86dca8f13375"}},{"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":"crates/openfang-api/src/openai_compat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db5f9f0363c244ede1825cfb8f6df87f6f708a15c4fb94d075a486b97abe786"}},{"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":"crates/openfang-cli/src/tui/screens/skills.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6337d05a0b51ff8600f48974481c887a7256f1ebd5093e3c5715bc1ae01a1acb"}},{"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":"crates/openfang-kernel/src/cron_delivery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74a391ffbca941d5e25ab356d9475c082078fdeed4047c275b134156e1b2fcd"}},{"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":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca40bfca595bde55eacd8bcb3f0e31c95c7e738661e2aaa164e493b61107bbe"}},{"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":"crates/openfang-runtime/src/auth_cooldown.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3237eb3e6ef6374425d93ace1ce2f6fa31b161959607c19c5ea9415481ed1b"}},{"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":"crates/openfang-kernel/src/config_reload.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be63ddf84673bf2ed7bac98830e8e117b135b71f34741ca4be0f1d16e7fc905"}},{"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":"crates/openfang-channels/src/line.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e0cdfdb3efcd52cf0a3c135b60d4e6761bce6fd8e180edca30f60877001d73"}},{"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":"crates/openfang-types/src/tool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1039bbc20ebf8d635071a60be6c6825786eb93b215aaaade2f6c3e7aa6ea1455"}},{"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":"crates/openfang-channels/src/wecom.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1573d11c0fc00d8cee212e2c776626803e13657bdbcb7d1a26ad3b188252d666"}},{"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":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a9fb70fc3222958aebf13b1611a51287d2136cabec3ca83c58e0256d1c07de"}},{"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":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebecf67bdb3f9c5b62aac2b1a154f05c638e1954391232c445bfb2b0dc2a34c"}},{"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":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"926e1678b84a1ea1f87b36a5874f3764a4a3b96a69084ad83e0d87a13744edb7"}},{"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":"crates/openfang-kernel/src/triggers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa1d4caeda66531eab50a1b9040f68cbabe9f731dfe028826f7bc43cfc4cd31"}},{"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":"crates/openfang-memory/src/semantic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9937439ba9a440b2c98e6d603c1f50fec223f2a9b7d352e299253361c53ffb61"}},{"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":"crates/openfang-runtime/src/media_understanding.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edf4519601a549f333389f6172be04f79e5d743247f6dfcd9dd1f3c37e470b2"}},{"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":"crates/openfang-runtime/src/a2a.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cfdb245bc27da197a5209a8d2db5a6157f0a9ae904e99b55eddd6ef1cb8146"}},{"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":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa072a33cf7fe744c0c97f58adec92434213f7c6c813a80688635f6a78daf094"}},{"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":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e061288f2cc8e1d5340ef91ed877f60f60df83689397a161098ab6393a3ad162"}},{"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":"crates/openfang-types/src/media.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7462d43f271b14f300acd96d88b547e3f167cf3c03ceff71abb3d0e4a11f70"}},{"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":"crates/openfang-cli/src/tui/screens/comms.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efce1b8d8bae5fbb311ae700fc358073b3c6648de1783eb96688f8a0049676b1"}},{"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":"crates/openfang-types/src/approval.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27c754ddc912fed51e0b3a250827b08baa5436558e0f833d471a8100b1a393d"}},{"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":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebdd68f6e91d1c4395faa528ced3483b4fffb639f598ede6da9600dbec1eb8d"}},{"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":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"674691de4143d0232ddb515f563c480a7e8914d7286d66bdacbc5036e8eb2868"}},{"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":"crates/openfang-runtime/src/host_functions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa000db6d37d0f02dcdba6ea40391b3e96d8708ac4abe197b1245537189b9b2"}},{"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":"crates/openfang-extensions/src/vault.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac018a6e271cae450080731ced349dee894ba1a6cf0bcc768a11a06641eea0d0"}},{"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":"crates/openfang-types/src/commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7e5ea20214b283e88d114c3ab285bff49bc7778c4a01e6441861f729cf8ca3"}},{"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":"crates/openfang-types/src/message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19a52f3852844c3dfe6bf9e8178875e7942a3f4ef9576a6b50fea7070e1efab"}},{"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":"crates/openfang-cli/src/tui/screens/workflows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14c5e3acf1ca4fc1c17cc6add97f6a20b94482d2293a6b399ebe61a09cb8ff9"}},{"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":"crates/openfang-runtime/src/sandbox.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f82f5dda5478c5a52ed87bc063e96ea2cfa06ad72f8d172bf4a9cf4dfc69b34"}},{"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":"crates/openfang-cli/src/tui/screens/wizard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd59b00de51615ef76fc3320e617da5aed28d64a18c91dfb9785cb45bd9446b"}},{"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":"crates/openfang-runtime/src/web_search.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ddcfcd6f1946b250fa292a25de44a1465b879ade77366e291334e14caa6b07"}},{"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":"crates/openfang-skills/src/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee04dcb883b1249329d82c4b22b9e0af37a0f401a29e56d7d8376d58fea571d"}},{"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":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc2d0710756837a0a1df7c2ec28008395c9746438b237c9c9fe46632c534158"}},{"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":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e9896ea3de3dd5825d01779c834279c99feb00442bc42279e2ffc5d340be24"}},{"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":"crates/openfang-channels/src/email.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46239a3a1618da064e414652f49bcb5b151ac3c6a09a6ca1837bb95a70f6e602"}},{"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":"crates/openfang-cli/src/tui/screens/settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc597c6f7805be8c44ec2fad9916c29a9bfd4b7ab91483374afa9c9f9938ae53"}},{"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":"crates/openfang-cli/src/launcher.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be69bd70b641b45e5f3bd80bc1896bc5870e7349add4aeedeb3dbbb620c3641"}},{"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":"crates/openfang-channels/src/formatter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf3471fb42d293a0ed5bc54b10d390005c56a8b6605a79028001e74f241cda8"}},{"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":"crates/openfang-channels/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe89843125ffd5938417a1cd3a0ab22e059ce7f4acf3d2cf1dd92b75e1eb790"}},{"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":"crates/openfang-channels/src/mqtt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b65ef7a17b0ba5034f4f458d234e9c3000676dfc3a435bee77ac29c93cdbb0"}},{"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":"crates/openfang-kernel/src/heartbeat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0613948a7567fa740cfabe8800b87adb3f6055e213d6f3f94cd52ef08b7f8147"}},{"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":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf94cc1356afcd4334e08005b6b62f565445c7b4a90203d6b8b44d5b7c0c19d"}},{"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":"crates/openfang-runtime/src/docker_sandbox.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"864c876e4b2b1651811338c50f4f24a51f22f545cbe517de86268dbecc3442d7"}},{"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":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c16713e5cea9e39425696cd98ec010b030489e112c151b0907c0eb792deda8"}},{"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":"crates/openfang-cli/src/tui/screens/extensions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07192a339fb8a43ca153f365a78b8cb13e472c61706e073aa0f84c3dcec24e9"}},{"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":"crates/openfang-runtime/src/drivers/qwen_code.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d067ccfc52625cd656984395cb3efc8c8ce634b45dad489989e3fb0d4f2ff8a"}},{"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":"crates/openfang-runtime/src/web_fetch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4400339449d0a1a52b24edf3689d546fad12538eebd28a6aa0ba46c2cec0b4ae"}},{"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":"crates/openfang-channels/src/teams.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f7fa35fa3c1b44e3350a60ab29242ecc8ee396e403b9b3b09e55694df3f834"}},{"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":"crates/openfang-runtime/src/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2668b8847714da76332196be6f47fa50c0abcd1cc752e14574dbaab96b064394"}},{"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":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2658e4a1b08e3bd5384b42b1f28165427499cdb745903fa47c2d85dd6299be3c"}},{"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":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f183d6b3ab00c54f51040c92afafdc659d094561c5f7d713d73a89530309a1e2"}},{"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":"crates/openfang-cli/src/tui/screens/welcome.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf64ec4436f9047570269b6f1519335954a56759a5ac38b859de4ecf695dec2"}},{"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":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a681001619d88c29776f1b7b856ba4ffa554d4ca2db33c6f09db778f76386801"}},{"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":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d5c063fb54ccdfa45a1964ee4e2574d9693ab331410fcca1f71b2a284a4c5c"}},{"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":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62afe356a383ae48466d6c1628f0f0bfcd82ce71961ca187612d6465a64d5d0"}},{"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":"crates/openfang-cli/src/tui/screens/triggers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce791d18a03c9cb1450746dc92df25fcfaaacccff3080886cc313929d83164e"}},{"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":"crates/openfang-cli/src/tui/screens/memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54faf08495d023aa251958437c6a8c1bc4dc1f67c98be5111a51047222f94e7f"}},{"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":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd7c923847da08342f2933fee924eaaf25f443098bf0d4e7ff0a94545a72ec0"}},{"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":"crates/openfang-memory/src/usage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eccaf6935837b4a728c80fa4fba5e6b783685b1c63ad502f02b83ef96a872fc"}},{"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":"crates/openfang-channels/src/ntfy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a77925717b85b538bf08bb24de23df8f8070dbcd09e717534848df618aea01"}},{"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":"crates/openfang-kernel/src/background.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bafe74465acdaa4f737cef3ff8c292fb5ca622a245f5058a3f2a1cb3ca0e87"}},{"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":"crates/openfang-channels/src/linkedin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14f2875bae735381ac5645c042cb9b50bb79e1f37c766de6f2d139bf37232d0"}},{"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":"crates/openfang-kernel/src/pairing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c35eaaae8b65fca1328605badc32320d659f2f1ecb23abd920e2a4ac3562b0"}},{"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":"crates/openfang-runtime/src/think_filter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2299f7dde51b168f21e8dafdde864e37fc581a91f3a6af4c954203b92ee42125"}},{"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":"crates/openfang-channels/src/webhook.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddb3b4fb94748834f548fd8d068c123eb022858a99c8a05e6852cf5548606cc"}},{"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":"crates/openfang-runtime/src/context_overflow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2201c158983f886695d2bb8b338553ff312d5468bccfded1006dfdbb5c2fa631"}},{"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":"crates/openfang-kernel/src/approval.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d295f7ebfb516ab36d80d6c5b49586e56d48fc54b5a5e54a461ace5248954ef"}},{"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":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96357cb5cf0a6d19d91e7f1f3965324ed78cdf75471531c13c4a0ddb68f4e355"}},{"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":"crates/openfang-hands/src/bundled.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abc60d55d1fc64b7b4add90a1c98caf6508f10007e54e09396e69b4632aeff7"}},{"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":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91605cb8516c841e71ae8e3ea9d380400e7ed793b4807593aae45fe2b56dd573"}},{"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":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d321610d6621037c39661acac8f3193fd170b4e19f876baa2c08e15a6547cf8"}},{"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":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04335dd4129ca58caf3f09dad02c4c5abebb6302dae2cc0755fc6c9cc950842f"}},{"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":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8501b5ed5640e896a482653adec1af5b9062f83725860babf520faad7f0368"}},{"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":"crates/openfang-runtime/src/tts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c9f9d925cb2308ce060a56e663f14885d4f1b508f6aa95b1cf7beb8abdd40b"}},{"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":"crates/openfang-runtime/src/retry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"522450fa0d29726668cc73a8a08a26e38d4ca8611f1a8140b10b96b95dabf882"}},{"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":"crates/openfang-runtime/src/web_content.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bb107e8ce03f2ab3fbb661e8c2dc0f760ba312950982e5a783855ef121a262"}},{"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":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adb2e951359601d68acec1c47c03c01291c91fa6566ef1b7e642bfe877c48ae"}},{"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":"crates/openfang-kernel/src/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91381df11715f2926a0af3a7c0ceace7e7be36ee30fa36ef44919ce0daa16813"}},{"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":"crates/openfang-runtime/src/tool_policy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8d729c8f6282ed2de4ced67857bfa23d7d374dfd9cb70c7c92b7d11c4cbc2d"}},{"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":"crates/openfang-cli/src/tui/screens/hands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79044a55bce6b8ce60db16053e03883333c627f87999cda986971c81a9564fe6"}},{"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":"crates/openfang-channels/src/threema.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5b91f061d2758497393e60ed073566aaf68dba240c1d001143edaf12daa80e"}},{"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":"crates/openfang-channels/src/pumble.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d8a77a845cefbd752cd6cffb06fbc3405311b26fe59fd7562660f15885f601"}},{"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":"crates/openfang-kernel/src/wizard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c051950a1455da2bc2b1a2d024e75f4a5189d4a5fe120ffe6888cf1bfdacfd1"}},{"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":"crates/openfang-types/src/serde_compat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77138edc919c44f9cb5bde6ffd191d0af111c173c1fc1e6f50e1098968e39fd0"}},{"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":"crates/openfang-runtime/src/graceful_shutdown.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"396f90916d6dddfb301716e2121754e7eaa737f964f2fd16eb592244cca61874"}},{"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":"crates/openfang-cli/src/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5d3332f93c37dd5c62c6735e134d537cd9fab83676efb1ec342f4eee39cb7d"}},{"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":"crates/openfang-api/src/middleware.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9869582549031973602eefde91252b5633f490238a50e20f7bb61fa67927ea"}},{"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":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"718861d6bd1f8ba78b2db0736da54f97cfa6e1a06a70ba36ff2b5580223313db"}},{"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":"crates/openfang-runtime/src/audit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"938358fa5186366ee34b0a25139d9aaa5880575e45340b76e90e44cba11859d7"}},{"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":"crates/openfang-runtime/src/workspace_context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87680a0b74362fc49387b33f7a85ce573f64f7b9e54682d995b7f3966cc1f899"}},{"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":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4b0142f1c9a9b455380f05bb7cf6c8cc228abaae940b8a60e55adb227d7052"}},{"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":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0785c1e6b4603cce20c1458b7195340fb1208d3c57eeaf57be27184ab24f0c15"}},{"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":"crates/openfang-cli/src/tui/screens/usage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1167478d352ac035dd94d052d1c6207b6958819a323709f1f1929cbc42ab93"}},{"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":"crates/openfang-channels/src/twitch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"483b37e53b710e830c1285776afc7ecc4689d0ca39f89d2c38a0f1f25ec49665"}},{"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":"sdk/python/openfang_client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47918fc6a571de3ed358006d35ba39ca766f1ccbbdc3ffee1466d0928990e848"}},{"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":"crates/openfang-runtime/src/routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9751d110a3c35ae4cfd3649dbcb4891128426b5b8a61ed30e31f8b821873ce21"}},{"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":"crates/openfang-cli/src/tui/screens/templates.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd243ba43badc66f6d1b4e7b83759380207ec2a691d30e9646f60c14d6189e8"}},{"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":"crates/openfang-cli/src/tui/screens/logs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"045eeed53937dd10f91f7c4274d982b943498a288ccb26e7cc8b92626219d277"}},{"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":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5210aaf88a6460e77f8295352c1f7f8e2bda36139e558166086b06fc5b86d524"}},{"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":"crates/openfang-types/src/webhook.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"619249211f4e1b10ec2c4d8e2096968f7dba0986a0664bce1b311e5f80d5559b"}},{"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":"crates/openfang-types/src/model_catalog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acebed28c53c209bf36c1d6202278bf2dbf03fffbbfe84b026f070a4be3bcbf0"}},{"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":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb58bfe082e34c79834921c02601152d429cf0ff3a2297915ef20f02db7ccc97"}},{"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":"crates/openfang-runtime/src/context_budget.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"540ed1a33057f31735784967427e814a06d9940344e661eb32c1aa0c62ba2e32"}},{"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":"crates/openfang-extensions/src/oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa3f38ea27e1375b6889bbaad757baaaade422577d99a7d730f32fdcc3d2127"}},{"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":"crates/openfang-runtime/src/embedding.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc6e1ab6dff6bc74d980d83494781c67aae9ee4619251476ff76bd3a6c770d1"}},{"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":"crates/openfang-extensions/src/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaf4fee66b69b6527b13f7fd0f69a8c1649aea188608b665f820b456cdf6ec5"}},{"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":"crates/openfang-extensions/src/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc02b796efb941bff06370284ea4e2a7b12427e64f82f599a151ece0be5c6ca"}},{"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":"crates/openfang-skills/src/config_injection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b868aed5c7b845a81d6069e29881d581dd9988174571f9f1b55d363c81cb12"}},{"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":"crates/openfang-memory/src/migration.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98c36887a5757a7623475a68127410aaa2eeccf0b585663961d736693e27095"}},{"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":"crates/openfang-runtime/src/provider_health.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1babc393adf0aac60c7148cf1fe0d30f62902d263c89a50182b0fc5e15302a77"}},{"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":"crates/openfang-cli/src/tui/screens/audit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"558462d1c216ac3dd71e1bd908d58f048153cc025b6f9b6d31a2580dcfd8582a"}},{"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":"crates/openfang-runtime/src/llm_driver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7201ad00a071dc2ea585da3dd8ff6346b5d4fdcb1045f056537274d2b4174831"}},{"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":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba01577d18f70f90cb1d26795492a208885369709ef12d21d9f0410a249009ae"}},{"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":"crates/openfang-memory/src/knowledge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4cb7566b1d464de3af67462578b1d1efa9a1786ffe03d070bd7187fb1b2b36"}},{"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":"crates/openfang-types/src/event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7482edef988bd6bfe0c605c00b8afec62f27ddf192e2090adc9f7c151f6315"}},{"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":"crates/openfang-cli/src/tui/screens/security.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"214f4b0db04cc1e4cd5e7b4abdd7a678a3c8ee85fca81a0de0cc4b1be6a7b255"}},{"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":"crates/openfang-wire/src/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"633addb8876ec9d9b86816c41278cfefc7771a94802982dc49e492e0f091d74f"}},{"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":"crates/openfang-runtime/src/drivers/fallback.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7731bc3f83ce644024b5028e16c4ae1fbec0cc861ffdc1da024f42dcd8a3101b"}},{"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":"crates/openfang-cli/src/tui/screens/sessions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ce93d765fa19b23b9d6f583404bf6064c2b0b4bebfb41d25f8e5870eecb26e"}},{"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":"crates/openfang-runtime/src/shell_bleed.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fda7f23838c12bcbdb29ce9937e73c19bc56be244e365d93f6133e9c7032ee1"}},{"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":"crates/openfang-types/src/memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86caa65493b13590e175cfbba79b7d894f071746766517c5d061cac0302354e"}},{"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":"crates/openfang-types/src/capability.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9347fa1f59ddf108d072f3b75e5450906e484edb1abf7b0b03961de7fbcf9cd9"}},{"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":"crates/openfang-kernel/src/auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69eee32f3180527255fb3135cb26381a7ea4952f63cb5b557ae623c8c3800e0b"}},{"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":"crates/openfang-runtime/src/process_manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bbf3e4b28e5fa4914166501748932825e4da515b175077c868e0e1b052cec4"}},{"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":"crates/openfang-skills/src/bundled.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f14ce64991ee83ba95720e14199ef1cadaedfcf792d4f41b9df5b54ec20d667"}},{"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":"crates/openfang-skills/src/verify.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b110babdb3bba0b0753a7117c74d488a317d3bb308b39676361f0b38854a27e0"}},{"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":"crates/openfang-types/src/tool_compat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c18968f92c92baf28a6a5967930e342504c58c60f2d230d89a1461d7253b4c5"}},{"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":"crates/openfang-extensions/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bd203e444aed8cad812f36a12ea1dc5ca4cf0a3d9d9eff34900fdd7b042663"}},{"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":"crates/openfang-runtime/src/kernel_handle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f37e56c660f55cffe8b3d4c657c12d322cb037330c078911864c36b22c7558"}},{"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":"crates/openfang-cli/src/tui/screens/dashboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"221602fad2e03efafb8f082ebcf61b87c03717348fbcfbfa40b13c8161752a74"}},{"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":"crates/openfang-extensions/src/health.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d5ec0a7b5ba72e219d782fcd3afa1617ee8c662d70e0c5f4d2ffaa84db8075"}},{"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":"crates/openfang-wire/src/message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd38c449c105f78162ed387ed312ff160641b860c3952890392bafb1f89bbbcd"}},{"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":"crates/openfang-runtime/src/image_gen.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb73ce4e24d40d629298eb977232f5aea84378beb0d80e8613189aa35d4d639d"}},{"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":"crates/openfang-cli/src/progress.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa964164fde5339e6a37a27bb2b69be0debcb86cd20502b21221fa0dde5e983"}},{"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":"crates/openfang-extensions/src/credentials.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76c9dc5c7810dd4577e6340d7ad676d4122c79f431c1374cb319e74d1c9daa3"}},{"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":"crates/openfang-channels/src/signal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d8d1ef12e4ec08f6ba606f2203272eeee60218fabcb4442a0b533f35106c7c"}},{"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":"crates/openfang-api/src/stream_chunker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f6496a0c1202c39f9f5a8014efd47dca1cb65998273c209262d511933a9297"}},{"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":"crates/openfang-runtime/src/reply_directives.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd949c597b0333ed521c2f2f8538a26a1067e2187a2c1b343fb3b9e58b95ef37"}},{"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":"crates/openfang-desktop/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdf21490a70c35e3c1a41314a65775cefe48e1bee0d37e27b38dbe4dfa8cba0"}},{"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":"crates/openfang-types/src/taint.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac39574d556d0615c253ad3934eb363ba22817a841ce7d2a62e4dce756c75016"}},{"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":"crates/openfang-cli/src/table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4200cbbd07e7cedfa3e6249b40c843535f31af86169cfc33f271d73986f4636d"}},{"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":"crates/openfang-skills/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea690dc8e4f078b2edb1fdfff4e9592bc111cba90ca6a2a1a41a1c173c16c253"}},{"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":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b9e0dee99bfa92e641a2521e524e930c5b2eb80eba2dc1225d1bc2954e8d72"}},{"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":"crates/openfang-channels/src/xmpp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb66149ddb748e068cd8cfe8e5f53c1eda3249610f4ebb9d1a23e0079b28376"}},{"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":"crates/openfang-runtime/src/hooks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3217793500c57126ae51ee8d7a680bc15a8daef61683133cb1578aed7abd29d9"}},{"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":"crates/openfang-runtime/src/agent_context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4c3d398a5f6977b42fad82b0da5bb49855e3c0b9970c9f32f42e08386de8b8"}},{"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":"crates/openfang-cli/src/tui/screens/peers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"644abc908e6a7634d562eb00092235b45deca23a34c4070fe06d464e442abb83"}},{"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":"crates/openfang-api/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eb3fd994ae3e24b1b3b7b1fece375e985f5d80f4053b9bea12b3ebbbac6d6c"}},{"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":"crates/openfang-extensions/src/bundled.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdc06e303b76a25911e8b52640871f9f07cda61a5e4043fae7f3c24403cb9c9"}},{"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":"crates/openfang-skills/src/marketplace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8c2653f47894ab645b939924b9c5a786afa7c705c64d2164bec52d8d979ccf"}},{"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":"crates/openfang-cli/src/dotenv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84313cbc612eb797b28633366fe14d806a2564426c73403f42566dbd46aa3e7e"}},{"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":"crates/openfang-memory/src/http_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bda274c6244d4f0bb4b9a5d1db7858d33145f439590d1d5af7a80590fd8d81e"}},{"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":"crates/openfang-runtime/src/link_understanding.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46470077957bb6342db82446a9eddc764968222e61657de59c253e75f96ab4b7"}},{"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":"crates/openfang-desktop/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2adefd6a68cb07a95fe6ec1e766deb5f3838cdcb2fe20b9a744d796915db4e4"}},{"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":"crates/openfang-kernel/src/supervisor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a049ba9fb2e9c5c2047edcaabad6746d3a389bf7f525aa36d16f66ab5b4f9"}},{"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":"agents/langchain-code-reviewer/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c2f590816418ddc381f9fbb65373b90ef1805e7de0c2d3411c397ae41502df"}},{"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":"agents/langchain-code-reviewer/server.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"325bb3bf97c455e1f76e8abb914bf291779a8b85fce7f047833bae84105a994a"}},{"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":"crates/openfang-api/src/webchat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb6f7cf8e2e980691cdc066541543d919b2cabb06faa91c128043b0f8046d8c"}},{"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":"crates/openfang-runtime/src/command_lane.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d136cdf55dbdc1b4306184e23d753a9b924d6260a614d5b39f096e84810bea"}},{"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":"crates/openfang-migrate/src/report.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf5150b75a6a8e90f71e7b6d74e7e4ab2981990ddcde28ddc70a0712f4a0b8f"}},{"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":"crates/openfang-api/src/session_auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acb0356b58e661cb0a9ad2acfed36b661615a45d629a6537c4b090ac28cafa2"}},{"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":"crates/openfang-kernel/src/auto_reply.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5a3c641bdab3d84166312b8f0d5815052c16a4fe5fa6f81f89c6a91534b55e"}},{"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":"crates/openfang-runtime/src/mcp_server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab2bc45a753b8c427e68819b8139a006efe7be886a19ea13a267c419146fafa"}},{"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":"crates/openfang-types/src/manifest_signing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1554ee5f6f7342acf647a152834bc71202fe4de5ea8b616829f2a10aad50a6"}},{"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":"crates/openfang-kernel/src/scheduler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcb11caacc6cdab1f2cef71d2705d7a870e78f9c830c5263c6cc0889f519c70"}},{"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":"crates/openfang-desktop/src/commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ff092067460e7d6648ee1376f200541e387fb5ef84102186a1793c27ae0de"}},{"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":"crates/openfang-runtime/src/workspace_sandbox.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"871745dd8ac7edda05442cca6dfc4c9e1a760295317cf0f2a3228ae663ba6c84"}},{"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":"crates/openfang-cli/src/tui/theme.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cf430a1ba59f87c3446f650e927c4aadb1cdc2cbd2e5cf58623dbab7df3e5d"}},{"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":"crates/openfang-runtime/src/copilot_oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b421af8b53da510c42c43d051eb575beaac6ac8e63b4d4a2a9a0b4ea0262f6ad"}},{"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":"crates/openfang-types/src/comms.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43647a6c74690ce5070dbc6d1c6d6912173457ea19296c0e803bdce22d662595"}},{"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":"crates/openfang-api/src/stream_dedup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48262d85d26d721433e84845cc59d9cbc9f584c89206b4939ccc3564ac954b2c"}},{"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":"crates/openfang-api/src/rate_limiter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed5e0ebc62a487043c645a14653b139013413ab0cd929e27f3a54f491850961"}},{"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":"crates/openfang-kernel/src/event_bus.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50673cdf0cb8ef3f2c05d8985a72e41b67ecf981f65a216cfb90494374dc17d4"}},{"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":"crates/openfang-cli/src/templates.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdfee3be5ce54a685260c6b0db61dd9b0d8df47603a649600fd3e45c6c9cf4f"}},{"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":"crates/openfang-cli/src/bundled_agents.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92f538dbb72d58a44ba90a566cb5934dc9caf9a88f6bb9150ffd71e57edaca8"}},{"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":"crates/openfang-runtime/src/web_cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2246d514877bb2991c4350fa524521d63b5fec848fe51407f47ae1ad7fada57"}},{"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":"sdk/python/openfang_sdk.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a136a811b73306d25c07c69ffac73a6a234396df68bc965bf63962073cf5b2f0"}},{"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":"crates/openfang-cli/src/ui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ef0df029791e8d125750183174c9b8d789ed42504835b85bb8c030f4e2a17b"}},{"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":"crates/openfang-desktop/src/updater.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712ef3ddad14fb099bbdfd10234095637f22d78447b0dfe507f379bc1092b08"}},{"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":"crates/openfang-memory/src/consolidation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d941278aae515af9405acc9fb95096a7dd52a70bb5829866898303ca33280e"}},{"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":"crates/openfang-types/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f11c3e86bde52a49a4aa4b0db76408bf58290e6fc7921a87dd9e57876144c81"}},{"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":"crates/openfang-kernel/src/capabilities.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ff53a36342435577f5e7ba6b5760db19235d8b2a715eb05e4b93059272ef84"}},{"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":"crates/openfang-migrate/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ddc659b5a19c17d9e928ab28e59dea0c71b45c536d45a07fe8faba89f6af29"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: anthropic.rs \u2194 openai.rs: \u0060crates/openfang-runtime/src/drivers/anthropic.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/openai.rs\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00607185ea88\u0060 cargo fmt; \u00602dedab2a\u0060 think persist; \u00609b749694\u0060 fix: resolve 7 more bugs (#825, #828, #856, #770, #774, #851/#808, #785) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e022f3c32240032dc104ec7369b4750f0b7959f3cea7e249e48ee5a7a2f6acbd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: anthropic.rs \u2194 model_catalog.rs: \u0060crates/openfang-runtime/src/drivers/anthropic.rs\u0060 and \u0060crates/openfang-runtime/src/model_catalog.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00607185ea88\u0060 cargo fmt; \u00609b749694\u0060 fix: resolve 7 more bugs (#825, #828, #856, #770, #774, #851/#808, #785); \u006098f8d1ca\u0060 fix community PRs (inspired by #438 @pandego, #433 @ozekimasaki, #417\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/anthropic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"354870723adbfe64a23a72c57adab8bd323b2fc91116b4a3b4247cbeab569d37"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: main.rs \u2194 registry.rs: \u0060crates/openfang-cli/src/main.rs\u0060 and \u0060crates/openfang-hands/src/registry.rs\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060e2b0a547\u0060 feat(cli): add hand config subcommand (#809) (#1074); \u0060a26f7626\u0060 v0.5.7: multi-instance hands \u002B 8 critical fixes; \u0060604e4ea7\u0060 fix: resolve 6 open bugs (#834, #805, #820, #848, #826, #836) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ee77ffc8d42deb39874c5242ba25ea38cade693bbbd6cb2c5b15a6339d278f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: discord.rs \u2194 kernel.rs: \u0060crates/openfang-channels/src/discord.rs\u0060 and \u0060crates/openfang-kernel/src/kernel.rs\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00604c496be0\u0060 integration fixes; \u0060a26f7626\u0060 v0.5.7: multi-instance hands \u002B 8 critical fixes; \u0060cc93ef45\u0060 community fixes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9ff5ffcdf1df035f4abc2f0b359e38ea3be1882cffe4c40365e12427857815"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: kernel.rs \u2194 gemini.rs: \u0060crates/openfang-kernel/src/kernel.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00609b749694\u0060 fix: resolve 7 more bugs (#825, #828, #856, #770, #774, #851/#808, #785); \u0060b6b8b4eb\u0060 fix community issues; \u006098f8d1ca\u0060 fix community PRs (inspired by #438 @pandego, #433 @ozekimasaki, #417\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbc23b791676f87fa5d37da3ebe46c7e41003363283ebf79e3f0cc354916c9d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gemini.rs \u2194 model_catalog.rs: \u0060crates/openfang-runtime/src/drivers/gemini.rs\u0060 and \u0060crates/openfang-runtime/src/model_catalog.rs\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00609b749694\u0060 fix: resolve 7 more bugs (#825, #828, #856, #770, #774, #851/#808, #785); \u0060b6b8b4eb\u0060 fix community issues; \u006098f8d1ca\u0060 fix community PRs (inspired by #438 @pandego, #433 @ozekimasaki, #417\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee3d8a04b5eea43ab5ae662d6d85ab56cf674842cfc93bac6e58ddc912258b7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: metering.rs \u2194 model_catalog.rs: \u0060crates/openfang-kernel/src/metering.rs\u0060 and \u0060crates/openfang-types/src/model_catalog.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060b00af5ed\u0060 add requesty; \u0060a7a96a7b\u0060 community fixes; \u0060f10eefdc\u0060 fix 6 issues \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cc89501eccc675c427abc87cd68a79d644cbb143626dee66d74079b2e533ba"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: metering.rs \u2194 mod.rs: \u0060crates/openfang-kernel/src/metering.rs\u0060 and \u0060crates/openfang-runtime/src/drivers/mod.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060b00af5ed\u0060 add requesty; \u0060a7a96a7b\u0060 community fixes; \u0060f10eefdc\u0060 fix 6 issues \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93629f115357e9d9ab32933cdc6732074b341537cfa48628157af8c9fb7b1c5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: routes.rs \u2194 prompt_builder.rs: \u0060crates/openfang-api/src/routes.rs\u0060 and \u0060crates/openfang-runtime/src/prompt_builder.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060a7a96a7b\u0060 community fixes; \u006052bacf09\u0060 community fixes; \u006062e6e0f0\u0060 batch fixes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d19925cd62da4952bf21b732fac027c629a0bc31de0b1663acdfcc45e323fd"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c66aaca04242564bec0afcc95f2fd7c0f49781b2277ff79db633a51ea27de7c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.model-switcher-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"9120fd0f5d1db1c8590e28bf3891769dcba75df708c77a3e5021d2d80f3ebd7d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.search-input input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7f16a8f9d069d26854887b89329d2f2c976a37efa80066cc67a5bafcbcee86"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.card\u0060 moves (\u0060transition: border-color var(--transition-fast), transform 0.2s var(--ease-spring), box-shadow var(--transition-fast)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e426fb20cc089445aeff6b8ae3527eb6550fc3640f412667be25bbbe9947e29"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.modal\u0060 moves (\u0060animation: scaleIn 0.2s var(--ease-spring)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e8c5190a828daaf459ba3a13b954f6105e35a0d46aa3e33e425a47922c584f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.message\u0060 moves (\u0060animation: slideUp 0.25s var(--ease-smooth)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb6f63abe1203febebdacdbb5a79a71525fa6829aff389e5b1675119a2f5564"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.typing-dots span\u0060 moves (\u0060animation: typing-bounce 1.4s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e2f6231d29a3ccb29a361e02a69c5de11d4b3b50635c70501aca4fdf4bca33"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.tool-card\u0060 moves (\u0060animation: slideUp 0.2s var(--ease-smooth)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09717873623c53d2228b7ffaa415bb8b59f89a8ef4117738c481995af73ed7b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.tool-card-spinner\u0060 moves (\u0060animation: spin 0.8s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33f0c59047045eb8ad9d7444a6aae772b967ab2c34a6dac81eb8713acf04eed"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.tool-card-body\u0060 moves (\u0060animation: slideDown 0.15s var(--ease-smooth)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca611c22c50d5ff10d710f7a95ed198b86eaa0ee75e36223362464062aa4e37a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.model-switcher-chevron\u0060 moves (\u0060transition: transform 0.2s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2d5da49129fb28f882535ebc2dd5a7f13e0674c5f6a13b3ee9ed88b6629029"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spin 0.8s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67f739b0b75320e9a6c6cf9805c85e2f27adc8679a4f485715273e847d8f5b0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toggle::after\u0060 moves (\u0060transition: transform 0.2s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6810216a42b7401db7a07ee7c8993eff1dddb997bb839097f3b7f33305ba26"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.stat-card\u0060 moves (\u0060transition: transform 0.2s var(--ease-spring), box-shadow var(--transition-fast), border-color var(--transition-fast)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e636a9763b495711284cb764b4f64267bc65cc17c3160f421858b9b995c16f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.stat-card-lg\u0060 moves (\u0060transition: transform 0.3s var(--ease-spring), box-shadow var(--transition-fast)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4111d825dc93882996906cb2951cd50c5ee238ec932ea4867fe1313bbe00374"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.live-indicator.live .live-dot\u0060 moves (\u0060animation: live-pulse 1.5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9242aa5aff92eafa250c6fba0185de7b122c70f6017adbde6c6daaa9fecd7a7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast\u0060 moves (\u0060animation: toastIn 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"304def57c60053e27b435ea9abfe6b64e1ccb60788b05ca85fe18254f6db3c93"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast-dismiss\u0060 moves (\u0060animation: toastOut 0.3s ease forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"f900ca8ac58b41b79193abf9c544cb475b74411210b7549cd640e6a8fd8aee44"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.wizard-progress-line-fill\u0060 moves (\u0060transition: width 0.4s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26d5a00513f323b321672559feef89cd9f10d6779bc02519281d90f56120585"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.page-body\u0060 moves (\u0060animation: slideIn 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":2365}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ea8a1d5178299b37d8c34001859271d8e7daa122cfbdd69df7ff74ab836f33"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.skeleton\u0060 moves (\u0060animation: shimmer 1.5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":2372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed42ced9730b37dac776550ccbd7a2c28c551510922986c0764c6d810c7b357"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.message-image\u0060 moves (\u0060transition: transform 0.15s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"a967d0509ea6c440f2a085ab45f2686db93374e39e31ec8d8dcbb484728653b5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.progress-bar-fill\u0060 moves (\u0060transition: width 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"beae9268116dac09a195bb52ab1f58fcbfe7a2bb0248381267b67043e0e156fc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.skeleton-stat\u0060 moves (\u0060animation: shimmer 1.5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":2685}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f04b357b0ecf5182c733498d10ed193f17e5b528e9512457ce444b722748bc4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.skeleton-table\u0060 moves (\u0060animation: shimmer 1.5s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":2686}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd04675dc93be974ae7e5b708126fa95c3508c2c11d7c4d9c705f4d012cd4d5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.dep-progress-fill\u0060 moves (\u0060transition: width 0.4s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"10aa5e01ca58ab9a90c434e0db5b9e5bc536aba559d39a0b9a548f65b8e29200"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner-sm\u0060 moves (\u0060animation: spin 0.6s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcff06502a0a782ddb583a57f6afd000343684fb1699ca4b5dffcef04893f3d5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.confidence-bar\u0060 moves (\u0060transition: width 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/components.css"},"region":{"startLine":3417}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ac34e8b5f7789bf4449fa4cacd7e8feb24b78c80a9a2edc726ccc83c01ee77"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sidebar-logo img\u0060 moves (\u0060transition: opacity 0.2s, transform 0.2s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/css/layout.css"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"60458a0a01975b28887ec9473d5539748fafe887689dd310d7852738769a3742"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 13/16 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060agents/langchain-code-reviewer\u0060, \u0060sdk/python\u0060, \u0060xtask\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm/pip: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, \u0060pip\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"49419e79e89d133e010295660fdca84fb1cea8cd62587bdc4a4c3daf07aff43a"}},{"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":"P4","level":"note","message":{"text":"No release approval gate: Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8997a98b15710a613aed028cdcb355144fe426365854b8ff8cbd9fba87923494"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a4543e9963799fadbfdfb8aa6fcff0808d426a8c1798a9cac05caf3e22861e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"67943fe9861a7d58d35526afc1514ce65224761bd38f707eeb1472033c171f4f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb90cff7bdf339f4cbfd770521a8dd792e694a0624ed3c42ff92e636ed461438"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"819f58004b109111d96fe3efa09e1b48e676467ba8e27f8f16996e368c59618e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8a38e14433cdbf90c70175e1fe480288916ede766fe62d0bd1a90d544b7100"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6f99aea72f7b449e606d7863ee9de061b1796a6918d433bda8952ae4f002e8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"72752e402bd687e26a87620d227a9dd77547527437197078f4fd3a7e112a2f8e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1920b2738a61e45c5644e205faecb080161a38e821241d7aec9fb7efbad2b88"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b5e53fd66c0ab7facc04bee4630515a0f48da7342951319d810d0966849233"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e41d3206fea9437c97c096ff04c7212322907072e996170633ba9f66743c939"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e462688f0111f3e3b4e054240b1da15afe226566d518fd45de117f68bd4e5d1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b43556d6a23b8a939efdbcf4349c69354049f0af3d5b132bee07611f43e9409"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1f9ed861af6d99703bd00b19bbfe1350b53b9c0474e892665a4b7b7450c141"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/linkedin.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf914e35cd26e9ee29c3025395841a794fed2c4a71b01f54c94a8bb825766f2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04802bc099ec3d4a805fb56c359ed13ae27699d2344132a45dca4aff0697fde"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fd158921751ba7a6b888c007b3b3978263c22cecdce1045b2f613c7cf2a68d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7263fd1bc3840ca2bdaf7fdf9df8d1cde0de3a17c49efe67555c120a1b1f653"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/pumble.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b12a0344bf0e4d51c9043319fd95f8b5e3c99ce6358064a7ebe31a715bdc247"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"742cdb43a9324f6b878607bd4cde0571a3159144bd7313b01214f3a13bb56116"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0f68d5d325e358be5375ab865c79748db86ea5d8e2c0840d64ad080f5e7162"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/signal.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b8b7ae0ede115e1baf7372c0eff92f74f46c12c5b154aef6e84d5f90268be6"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6b91498a1af8c31d4fad7cd2caf5e8043ea3c4da96445219d62c5618f24c16"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/teams.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c26aaea6ba9464df138020db4d96d847e1f0c27ec8bf9a805f257e7e8b079d1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/threema.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbcb200541e5471580ccc07ea5460c8a2b1d7a32228df9744934b0b1c8b6625"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fd5c37434970e6a13e9df4641b76a1a97d5b2f51bd5d2b889d2c5bb6a916c4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"78349190964073172f765cce576805d4c864dbff1bc61b34139c5fe0e4dbae92"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"daee016d2555542f0d3879e9a0e90eac85d523b203b1fdbcb866eff03ecd82cf"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webhook.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"108f9de873f0bfb4299845d79cdc74a943b7a842e77e64e26cb95badff71bbbb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/wecom.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6484e3e9e02fe280db107edb11e1a63661c9df5dc5dba5385d25853b3fbc6bef"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceecbe2fd3fe52a235b912ab63fb161ddd399128c7b7c8087d393858c5383ec1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::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":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5142bdcd422298102352a14c0df12ab12040e66838319e57d7ca7527186ee7"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/embedding.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d843b8c978c71bb39c9fa170537e2f62e384d97aa308bc2a9c2c93a42e3b5d5"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/host_functions.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"db26ac2b132b22965e071dc476d0d91f89ec3e71a7bb1f9018f336ffc1421bb8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\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":"crates/openfang-skills/src/marketplace.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6eff43e4d697776fbd41b3ba8e276384d3a98d7a8384c8b75d3cb8dddcfb45"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urlopen(\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":"sdk/python/openfang_client.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd0f701cc6a38ee4296dd1325bbccdb9c68c9e8c98b7032c4bd939811ce83ad"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urlopen(\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":"sdk/python/openfang_client.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"42aa702649b6642ec657c75c69826126d019cd08cdce432f068a4d8076c47d43"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060ev.on(\u0022connection.update\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2797192c43aa1e4f1dd66eba7dba22b523566d8d5f31fbd2d683f3d199a8a671"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060ev.on(\u0022connection.update\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddba833990e3567752d8eff42673621f0fedb8e372f90f3792cd89ffb23075a6"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 24 plain JS \u2014 the untyped files are crates/openfang-api/static/i18n/i18n.js, crates/openfang-api/static/js/api.js, crates/openfang-api/static/js/app.js, crates/openfang-api/static/js/katex.js, crates/openfang-api/static/js/pages/agents.js, crates/openfang-api/static/js/pages/approvals.js (\u002B18 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/usage.js:189 \u00B7 crates/openfang-api/static/js/pages/usage.js:243 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"817492ecdb196721d226e8c84a336ce8dacfc5cf49c026d18cad757b5af9355a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): crates/openfang-api/static/js/pages/agents.js:376 \u00B7 crates/openfang-api/static/js/pages/chat.js:1199 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d5d37dc4e9ad361298f638bdf6acba6d11e1b267e9db1014be66b10d5daf84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/overview.js:14 \u00B7 crates/openfang-api/static/js/pages/settings.js:162 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/overview.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d54451b768cfdb5a9ada3f79e61008596cdd0241c52428c8282989d401216a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): crates/openfang-api/static/js/pages/skills.js:300 \u00B7 crates/openfang-api/static/js/pages/skills.js:331 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc2fdb92830e9d2f09c88b5e9f3e250782b64e4e642f522b53a36746e518013"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): sdk/javascript/index.js:425 \u00B7 sdk/javascript/index.js:447 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/javascript/index.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ee8f20988159ddd1cad93a3c9267291d87d312ca99704f4bfc5b20f1d02be2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/agents.js:675 \u00B7 crates/openfang-api/static/js/pages/agents.js:696 \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":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6cd0db905c78314122440e89d9e03a3fde825635ba53779b539566b19f35c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/chat.js:976 \u00B7 crates/openfang-api/static/js/pages/chat.js:995 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ca76e85bfb06401da9f67d9be221a4aa6f4a65d4bc7e71a677e4d0033bacf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): crates/openfang-api/static/js/pages/agents.js:181 \u00B7 crates/openfang-api/static/js/pages/channels.js:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fc552b683abbe25f0a8b03db4874d523d2edcc851a704597e14e0861af7cb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/hands.js:174 \u00B7 crates/openfang-api/static/js/pages/hands.js:232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8ade06b41d15c62deadf94e7f8676f4451535d9cd0d23bbefcd4beb823b2c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): crates/openfang-api/static/js/pages/sessions.js:98 \u00B7 crates/openfang-api/static/js/pages/sessions.js:142 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/sessions.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7cc72cd2c39add7ec6ae884fd20d4b084f2ea568a49147c8f9f8222bbd2a40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/agents.js:753 \u00B7 crates/openfang-api/static/js/pages/agents.js:767 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3abe4ab209845795d531575cc769d7861ff4650d3839049647fb52c6e6cc3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/settings.js:708 \u00B7 crates/openfang-api/static/js/pages/skills.js:95 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"799c6e55fcc598e195e36ff76c2e979b888bd16c2c503b9190d295e829bfe66a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): crates/openfang-api/static/js/pages/usage.js:26 \u00B7 crates/openfang-api/static/js/pages/workflows.js:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b0e12a90ddcf27f6362622e5f4c8afa74971b63f28e1e8d0f4fbef647600ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/openfang-api/static/js/app.js:29 \u00B7 crates/openfang-api/static/js/app.js:41 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3de9fc1cac850d768ebb4952bad1792ed01467e0b856159756459a411f24464"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): crates/openfang-api/static/js/pages/agents.js:794 \u00B7 crates/openfang-api/static/js/pages/wizard.js:511 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"470fc5471dc2fe15ac8a55d02f1c37aceb798ef0c4b5a3e0095d3e80e94f8a94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/approvals.js:70 \u00B7 crates/openfang-api/static/js/pages/comms.js:143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/approvals.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21c3cc9e9bbec4100064c531f785ce32849c8cd2d3b12344e889302601f479b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): sdk/javascript/index.js:54 \u00B7 sdk/javascript/index.js:74 \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":"sdk/javascript/index.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e122f578d3622da82c641655d0578a477ed2e1042b1f75f2a9a08d27b1cd34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/agents.js:9 \u00B7 crates/openfang-api/static/js/pages/wizard.js:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"339f66005d4b4293f4f69389e757058277e8d576079f3d6d743ed50bd5cab93a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/approvals.js:35 \u00B7 crates/openfang-api/static/js/pages/hands.js:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/approvals.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec22f1fd6c97d4e9f79585d7d95f39d65cf4404667a201e886c875e7c5da3e85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/chat.js:504 \u00B7 crates/openfang-api/static/js/pages/chat.js:518 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a469bf7b6ceb335d581c6124617a93192ee926e17391742918035af8c565c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/hands.js:362 \u00B7 crates/openfang-api/static/js/pages/hands.js:398 \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":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"151e18c825b6c464b16f992301ac96b831369ecf47544e1d059102fa70564455"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/overview.js:215 \u00B7 crates/openfang-api/static/js/pages/usage.js:78 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/overview.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55194f43223b8331c4346e06ca4c70606f33f05e84d78a30e60cfa3ecb917ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/wizard.js:361 \u00B7 crates/openfang-api/static/js/pages/wizard.js:562 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b1bcbce7b6542b40f8b7fe7e106897648af060fb6cab05d9f569508be6d0ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): sdk/javascript/index.js:145 \u00B7 sdk/javascript/index.js:369 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/javascript/index.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f997400647cd7c9461342c441329bf47e0d4f0f376c1c7c85845a1e4d1e885ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): crates/openfang-api/static/js/pages/channels.js:85 \u00B7 crates/openfang-api/static/js/pages/settings.js:708 \u00B7 crates/openfang-api/static/js/pages/skills.js:95 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/channels.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a532a2025460cad4213d94a790dd28fc358216e790f3054c7fe821089eb262d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/chat.js:832 \u00B7 crates/openfang-api/static/js/pages/chat.js:873 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8d2fccd9ad6b1f7ac30b13e4b8e29ae0430a6f7c77c46b4e1177491056fa81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/chat.js:872 \u00B7 crates/openfang-api/static/js/pages/chat.js:883 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52c2e009f675b792bd91c1145b71f586776a0c80fca65216a8257f24307239f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/hands.js:494 \u00B7 crates/openfang-api/static/js/pages/settings.js:482 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc265ece4e1d11261bedaaba7f0903b6492338f138a3793256bf0f8dc5e396e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/agents.js:199 \u00B7 crates/openfang-api/static/js/pages/settings.js:415 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed9e7a4088d8a00e41919f365e786a5e0a9de1f1d134ac68e1d9ceef663ddeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/chat.js:886 \u00B7 crates/openfang-api/static/js/pages/chat.js:901 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c4275774c5b0922be781bf1d5f10bb16258aba3af81691cae182cdf1b41010"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/comms.js:148 \u00B7 crates/openfang-api/static/js/pages/overview.js:236 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/comms.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7788cfc7cddd56968c1114ffe75c787676bcf997ba2e1dfde900f2129de30e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/settings.js:331 \u00B7 crates/openfang-api/static/js/pages/settings.js:415 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3a81b063c2b3004e0e9ea594b351efe995525de38a2e3d20505f0e37a8b2b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/workflow-builder.js:149 \u00B7 crates/openfang-api/static/js/pages/workflow-builder.js:162 \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":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"844766c3d0149573a1588817f428615b8dae0cdb9669ed5f4f06132c93303b63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): crates/openfang-api/static/js/pages/workflow-builder.js:438 \u00B7 crates/openfang-api/static/js/pages/workflow-builder.js:449 \u2014 the two spans are one implementation copied and then locally edited \u2014 112 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab48395dfcb37d31439098875092e03c7ca26228bc6cee4fae003b3c741f8c7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/chat.js:574 \u00B7 crates/openfang-api/static/js/pages/chat.js:582 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc93ceb4eb4652f99a1956acda89562cd12ec574553dadec6c5942baa49bf9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/workflow-builder.js:478 \u00B7 crates/openfang-api/static/js/pages/workflow-builder.js:544 \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":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5896ae625f8b5aac65b609d84a59f9a6300e8fdffdf49d9f8a03d621109b0db0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/workflows.js:35 \u00B7 crates/openfang-api/static/js/pages/workflows.js:118 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflows.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de51f610de871987ee080ea070371b36c2826a257b8533f140688ab6f88c473"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): crates/openfang-api/static/js/pages/approvals.js:76 \u00B7 crates/openfang-api/static/js/pages/comms.js:149 \u00B7 crates/openfang-api/static/js/pages/overview.js:237 \u00B7 crates/openfang-api/static/js/pages/scheduler.js:620 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/approvals.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8720045162112ba9e6f7f3d825d51b4d895dad87f9606c3e532ef25ee77592fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/channels.js:183 \u00B7 crates/openfang-api/static/js/pages/hands.js:546 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/channels.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8bba17babaf4b5fb4602f6cd5e7c339436d52413a9e016c5176fda73f86fc2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): crates/openfang-api/static/js/pages/logs.js:216 \u00B7 crates/openfang-api/static/js/pages/overview.js:285 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/logs.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fec515e360c60b3a086b60ccbe50b07bc411887e5f2b0160ad5ce6bef9abbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWsMessage (cyclomatic 110, cognitive 198): handleWsMessage has cyclomatic complexity 110 and cognitive complexity 198; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c504222db4ade36d817d9c511c4adb7da2847f8da45ac1d851774b3d2c70ac7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeSlashCommand (cyclomatic 54, cognitive 80): executeSlashCommand has cyclomatic complexity 54 and cognitive complexity 80; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dd12b7b1a2603b148039caebdbcc5a465ec25bf8b627fbaa8f5eb69859f1d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _renderCharts (cyclomatic 35, cognitive 64): _renderCharts has cyclomatic complexity 35 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f9c221bd8bd609b8c31b743c4c8bd5cf2eaeb9a58deeb9c2cc3731ee7a6e26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateToml (cyclomatic 33, cognitive 58): generateToml has cyclomatic complexity 33 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf7854355c3f74f4d611bc50fac4f894e202b38dda8dfeda138ed1ac7c0ac69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCanvas (cyclomatic 29, cognitive 37): renderCanvas has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"372dcf73f1a9b39226c08dfcbbcad0974d9ed0e5f74b8b282207f06c73823d83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 45): (anonymous) has cyclomatic complexity 27 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69f0bb533a4502cc7729d30ff00c4f610b4cdf0ecc6200b2e22a43b77a670b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _applyKvToData (cyclomatic 27, cognitive 28): _applyKvToData has cyclomatic complexity 27 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b139b36b28893364c7287ceaa02b8afe76806928a888d5405cd4db19ffda173"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeCron (cyclomatic 26, cognitive 22): describeCron has cyclomatic complexity 26 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7b44f536ac535cd35aaf6f8ba44d5d2fa7f3c85d25c1eeeef0e10c5c842254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _extractProvider (cyclomatic 22, cognitive 16): _extractProvider has cyclomatic complexity 22 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcf9409df88e39852c494265a32a0ebb1e3dddf4fa56fb3deb6f8eb99732ae9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolIcon (cyclomatic 21, cognitive 20): toolIcon has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8d25e5098e7bd9ca4babd4d2e5cce66d9f86b6202da354a9cf1dc698a08545"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function categories (cyclomatic 20, cognitive 19): categories has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f80bc5147bc45dffc0abda7d080da68d321ea47a96876f8547fc8be2a3f426"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTarget (cyclomatic 19, cognitive 24): validateTarget has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"426a12d0d3fca14a967cadcabb5f6ce279e5f48073cbe6312d24f81a7c6bd9bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAgent (cyclomatic 18, cognitive 23): createAgent has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdeea6272508031e0c8fa3e43ebc595449e693b4d9de197383aad13b00c33a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 19): (anonymous) has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/whatsapp-gateway/index.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0418d59d5f9b9aee2a14a67d7bcee8d548cf5b548acbeb0aa9d0aef0eaa1e0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function suggestedMessages (cyclomatic 17, cognitive 16): suggestedMessages has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3421463e736a1afee824b5a23701401b0d196a0781adba90c478310d6839ea5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getInstallCmd (cyclomatic 17, cognitive 10): getInstallCmd has cyclomatic complexity 17 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"625607c3bebcd0f63f147047f940de1e874b579c244137fa92da0631927bf1c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modelTier (cyclomatic 17, cognitive 9): modelTier has cyclomatic complexity 17 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/usage.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd7b8719f4ae68bcc6192eab078c7a38ae1bea064cfa86f8b22293e623f7ce3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendMessage (cyclomatic 16, cognitive 23): sendMessage has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e6ceb1d180642df2e358866656908aab92258df7ba8aeb249d81c1f676a6d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _fetchDashboardData (cyclomatic 16, cognitive 17): _fetchDashboardData has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"8780f08ee58240fd53c7f3ad742d25e928850254dc825dc1166115d39e52a5a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadData (cyclomatic 16, cognitive 15): loadData has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/runtime.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5df95d961a557165fb64a5fe677f9bb9e6ed0950e7bd83e03ba9fb37261e21b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatConfigValue (cyclomatic 16, cognitive 12): formatConfigValue has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"3786116feb964c557cef911977a938ff2bda74d01997f9b4ff28fb9dc6a303e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spawnAgent (cyclomatic 15, cognitive 25): spawnAgent has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"292b55461066c3c3495af9fa453b376c4fcdfa09a23d870ecf608c10a5509db2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installDeps (cyclomatic 15, cognitive 20): installDeps has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"84adadb9ac84b0ae27581b6781bb6e691a9be58a5aba30c3b920cd9bcc255269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function launchHand (cyclomatic 15, cognitive 19): launchHand has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"769445977efc47a68f05a7c170408b900ed7415959fb599b2851d36322eb09f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeTarget (cyclomatic 15, cognitive 16): sanitizeTarget has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ac5350de1c63b6de79643d8f35590f1dd276b0d9f28b0ae3f7b4d56bd44fb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function profileDescriptions (cyclomatic 15, cognitive 14): profileDescriptions has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9837163ef3f0b3b6596f76812c743e5ea789a311e0c7842a55105d0610f4c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"2379bf2b96e92081f1126cadbc4544c7f68c8543b7f0c68d6d83f7e9856d4c00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function channelOptions (cyclomatic 14, cognitive 13): channelOptions has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dc32728947b636e446e6524249f93024b48d35c1fb3fca5c1087476bf264bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openSetupWizard (cyclomatic 13, cognitive 17): openSetupWizard has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"685844ca9a4ecdd5f6b4608c0c5cd040b5888198a7d4b88827cfb8fffe4bfa34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function targetSummary (cyclomatic 13, cognitive 13): targetSummary has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ae3ae97cb88ac1665de206083a1e58fdc492cddc067084f2adfabe3fec066c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function friendlyError (cyclomatic 13, cognitive 12): friendlyError has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/api.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a88748c511905775ab5edcf70848395d7838f7aa37d9eca8877e8a3a50279e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startQR (cyclomatic 13, cognitive 12): startQR has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/channels.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb69c75405b9c608f3a5bc409057d69ccd966d8c1d2acf35c7e13144db438d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 11): (anonymous) has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe672d81f8821d00a0fd4d98a7458adad8751131fef1b7edc509145620fc01a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _sendPayload (cyclomatic 13, cognitive 11): _sendPayload has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac677ec8f1af91b624f3725de976c077ad488b6f5c187d32bfef7f2a32c338f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9a365a2214b695e4f4da4a6a96b1099ed1a6e4a57cf8c33c76f6b3cfd9ce5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runtimeBadge (cyclomatic 13, cognitive 9): runtimeBadge has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9842f5da08f786a5dff15a38e0c40e6e0994ffecf12bffaa4437132dcf0c87e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkAuth (cyclomatic 12, cognitive 13): checkAuth has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/app.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a880ef20fa3959dd0b6837db9b9a3caaa213dea3036b9902a668d8d31be8db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _handleRecordingComplete (cyclomatic 12, cognitive 12): _handleRecordingComplete has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e968fc42ebf2555b3de255a5e4c192b486252e77dd715e08d8962af8946a5f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2e653274cb9f8f5ef378105703e399a28dd8509aa656a586bc515548ceca4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatMonitoringValue (cyclomatic 12, cognitive 11): formatMonitoringValue has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3b7449e650a163393c8f1a238daaf1deb96d27947378e022bd2ca8710cfea2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _stream (cyclomatic 11, cognitive 21): _stream has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/javascript/index.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3035530dae82876f73d49aa55ba665d0e72fd293b677a8604853c0726bc3d4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function relativeTime (cyclomatic 11, cognitive 13): relativeTime has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"5022b7e9057c92398127a71630f83d2b7d939a05e64aef263501697b5559d22e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveWorkflow (cyclomatic 11, cognitive 13): saveWorkflow has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"73264809cef86feffa4f206d4557ba3ecc929df7a299f8a5739a1c859ceb2840"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addNode (cyclomatic 11, cognitive 11): addNode has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b51ae08667552341ca7f614ec0e87c503153e9907b839c9c609025b3db732eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildConfigForm (cyclomatic 11, cognitive 10): buildConfigForm has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"300bbf7b71b2402c7b0459f472453377188c8cfecdab7e7da4a2fe85cdaee0ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadChannelTypes (cyclomatic 11, cognitive 10): loadChannelTypes has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca79bd3f35fc19ba94462a7a49f0a73c034b53879d71e00ea8fc5585590fd5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function browseClawHub (cyclomatic 11, cognitive 10): browseClawHub has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0c31ea65afbebbe7bbd92313978d0620ad0e0d8b225b9f7c2575192b427a00"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/openfang-api/static/js/pages/chat.js: 1346 lines of code: crates/openfang-api/static/js/pages/chat.js has 1346 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/chat.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0f1304dd09870891693ac59bad99d062735d348104c7a1deb00103317943c9"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/openfang-api/static/js/pages/hands.js: 888 lines of code: crates/openfang-api/static/js/pages/hands.js has 888 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/hands.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b869c4af39e11512bd57a26828b528e53476816de9595ae53e0e32774eb81e84"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/openfang-api/static/js/pages/settings.js: 758 lines of code: crates/openfang-api/static/js/pages/settings.js has 758 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/settings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae54899e6a3e2099d2b67622cce6bfa00da83ce7d64353f398859c2c3de35e1"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/openfang-api/static/js/pages/agents.js: 753 lines of code: crates/openfang-api/static/js/pages/agents.js has 753 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/agents.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8ca2c99e7bb06ea764d43615dca628850079522a6acf33bd1981a38cb981fc"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/openfang-api/static/js/pages/scheduler.js: 584 lines of code: crates/openfang-api/static/js/pages/scheduler.js has 584 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d2ded8f42828395d4db9df079601954d5c68c1f183c72f377b1c4e96d2875c"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/openfang-api/static/js/pages/wizard.js: 571 lines of code: crates/openfang-api/static/js/pages/wizard.js has 571 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/wizard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefd9118e614861178771285a7b866db7e74c9734519d686a7e8eaa0f3709176"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/openfang-api/static/js/pages/workflow-builder.js: 566 lines of code: crates/openfang-api/static/js/pages/workflow-builder.js has 566 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/workflow-builder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8472a452dbff45e833a6d7b7b0dddf7938344ede09ee3b909c3bfd99c21db245"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/openfang-api/static/js/pages/skills.js: 470 lines of code: crates/openfang-api/static/js/pages/skills.js has 470 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/skills.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f01fb83cb99e52f29de90770072c57707e7bec08f953371258f5772f0b2d72a"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/wecom.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6987da32c6fbeddd08e9dbfa50e65d4f978ef16a9294db0bdcbc2a565208339"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060map[action] || action.replace(/([A-Z])/g, \u0027 $1\u0027).trim()\u0060 appears character-identically in 2 files \u2014 crates/openfang-api/static/js/pages/logs.js, crates/openfang-api/static/js/pages/overview.js. 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":"crates/openfang-api/static/js/pages/logs.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f40a50fc50e494527596e37ba2faea2c861bb79e37932a15dd831e58c61a19d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.auth_status === \u0027not_set\u0027 || p.auth_status === \u0027missing\u0027\u0060 appears character-identically in 2 files \u2014 crates/openfang-api/static/js/pages/overview.js, crates/openfang-api/static/js/pages/settings.js. 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":"crates/openfang-api/static/js/pages/overview.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35d755a5301ccedf5af54ada6c61ada8a433223ef70ccb0508adc41a8d605af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!url.starts_with(\u0022http://\u0022) \u0026\u0026 !url.starts_with(\u0022https://\u0022)\u0060 appears character-identically in 2 files \u2014 crates/openfang-runtime/src/web_fetch.rs, crates/openfang-types/src/scheduler.rs. 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":"crates/openfang-runtime/src/web_fetch.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44c767e0d52d006fe7253fdd69701c15016051bd0313f3d6e0a1957f423b8ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060((value.starts_with(\u0027\u0022\u0027) \u0026\u0026 value.ends_with(\u0027\u0022\u0027)) || (value.starts_with(\u0027\\\u0027\u0027) \u0026\u0026 value.ends_with(\u0027\\\u0027\u0027))) \u0026\u0026 value.len() \u003E= 2\u0060 appears character-identically in 3 files \u2014 crates/openfang-api/src/channel_bridge.rs, crates/openfang-cli/src/dotenv.rs, crates/openfang-desktop/src/server.rs. 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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"46728b9bbb4c51f147230fda944b2dc202dd93d0cca4f785daa8ba59d5267d1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.is_alphanumeric() || c == \u0027 \u0027 || c == \u0027-\u0027 || c == \u0027_\u0027\u0060 appears character-identically in 3 files \u2014 crates/openfang-api/src/routes.rs, crates/openfang-kernel/src/kernel.rs, crates/openfang-runtime/src/tool_runner.rs. 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":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9589}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b32648ca1f2598e015bb076fbf86e2a220c814f599e773262c719b990241e4c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060detail.contains(\u0022not authenticated\u0022) || detail.contains(\u0022auth\u0022) || detail.contains(\u0022login\u0022) || detail.contains(\u0022credentials\u0022)\u0060 appears character-identically in 2 files \u2014 crates/openfang-runtime/src/drivers/claude_code.rs, crates/openfang-runtime/src/drivers/qwen_code.rs. 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":"crates/openfang-runtime/src/drivers/claude_code.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"137b27897df0c7e02947feb4001c6cd99ff14f94c36fb3e4bb1bdef25607d8b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key.code == KeyCode::Char(\u0027c\u0027) \u0026\u0026 key.modifiers.contains(KeyModifiers::CONTROL)\u0060 appears character-identically in 21 files \u2014 crates/openfang-cli/src/tui/mod.rs, crates/openfang-cli/src/tui/screens/agents.rs, crates/openfang-cli/src/tui/screens/audit.rs, crates/openfang-cli/src/tui/screens/channels.rs. 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":"crates/openfang-cli/src/tui/mod.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dafff52a2a7e63364ca81a242110e805f56cf906536a1dee562659d0980f229"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.is_empty() || line.starts_with(\u0027:\u0027)\u0060 appears character-identically in 2 files \u2014 crates/openfang-runtime/src/drivers/gemini.rs, crates/openfang-runtime/src/drivers/openai.rs. 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":"crates/openfang-runtime/src/drivers/gemini.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaa685646dc6fb529eaac741c9521b3687569e6f72a73688f7486e10fe4cc0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider == \u0022github-copilot\u0022 || provider == \u0022copilot\u0022\u0060 appears character-identically in 2 files \u2014 crates/openfang-cli/src/main.rs, crates/openfang-runtime/src/drivers/mod.rs. 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":"crates/openfang-cli/src/main.rs"},"region":{"startLine":5227}}}],"partialFingerprints":{"codehealthFindingId/v1":"634bc5df0efc39cf02cd7e366533c1d00f91c9dba4293503df45ec1e7f2b7610"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.total_usage.input_tokens \u003E 0 || r.total_usage.output_tokens \u003E 0\u0060 appears character-identically in 2 files \u2014 crates/openfang-cli/src/tui/chat_runner.rs, crates/openfang-cli/src/tui/mod.rs. 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":"crates/openfang-cli/src/tui/chat_runner.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b487e82bbe57fae829c5bb9349fad00e580fc1fbb1f4bc64246d6ac086e96ab8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trimmed.is_empty() || trimmed.starts_with(\u0027#\u0027)\u0060 appears character-identically in 3 files \u2014 crates/openfang-api/src/channel_bridge.rs, crates/openfang-cli/src/dotenv.rs, crates/openfang-desktop/src/server.rs. 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":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bb8bd52ce7f3d642add105b30fcd9d3d8ae3dd1e99f6f7db62ee6b9d3249eb"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/4 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _request: \u0060_request\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/javascript/index.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ea84333670fb22144a0f0ba459f9ca7fc55466d1922672cde2e2d4e12bc4da"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _stream: \u0060_stream\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/javascript/index.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7642fd32a0122979f122e036f6cbe07c482fb822a2367ae1aca11732d90e3b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: upload: \u0060upload\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/javascript/index.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"12817a9644224197ac35ee76c16c66bc9bf9943c36c0152f629ff7cfe2038719"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadTranslations: \u0060loadTranslations\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/i18n/i18n.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c94dfb6c061fb92f28c4f3c40f17366d8b4a581e2753145ec4f86a093cbec8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 193 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1240acf2fb4c22e1a0a6c6acc4a55e7d7c34932f20919217d3106398aaa98ae1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 236 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdc2dc2d63f63888fef0f450c61c4faab5df0b2effeecaadc9118bbf5a51f40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 296 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaaffc201fffecf8a73af21458323054daf1fd37e8e506e2d55e5f222e900621"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 346 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c1bbf245a021bab0b4afea53e282b4285cfeb5b2c4331ef7bcf8ac0d7d556"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 470 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"800e028a73c001f52394680127a24711983c5327cb993b0b07a2ebcb6c8cb051"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 478 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dd3f92d8c315f177b5a0a272f509d89ae22d81c11b4d7e623b3daf7da0f52a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 483 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9af938c59b2ed37048f7f2ba102bbe616fe851b2cbe212c36a03f314a8baf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 587 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"926e0ff0f8dbb98050d3c8fff96a9d3d7f0e30455064628bd00cc770fdd11e7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 612 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d90a9ebfdffe5b5077c3bbcbb60dab5f643a7776a405c331d79bd159d31952"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 642 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"7392e2372c53d5f1ed29cafeb2cd2232ca32e3d866be2cd3404eb10161ee4e2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 738 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf88bd5695c1cdf16ae2dedefdd479488965390ee0a2c49f8ba49ab81c1d3b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 789 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"343192693b08471ea80166fb9d06ab025996750364991b930f32fa3481f1e6bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 796 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0d3838a77ead2df5f4d20cd978d08f279004573b0ba7d2aaa1c8f6e7645717"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 800 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-wire/src/peer.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc2aecbfa57a85e23907c2489a78f979a8547c527509ade52d991bb902cb4ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 337 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/clawhub.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"9929065ae59dbb73954d047d0e5b85acf97357209c3feccc727cd5438bfa98f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 80 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e03ad5f9eba1d848679d69fcf9d2277a5c04ef016df21d7d38fc83f5bcffa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cf59e4241ef89ae4770ebc58eae9276fc757c15e7ca8e387087c6f6911d1d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 185 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5639511eb4ac6628438da2f87331539683a8d3d50627fcc57fd17c2fab1d46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 332 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b632a800c17e206b599de483138cb2c18afd0d084d7dc613d78376b87de0e61f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 384 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/loader.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9edfccb1d280ff764c10c4d1afbb7a2694b601f85b1be6f72e30390dcdfa22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/marketplace.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"da64308e693d57f4c9ad9001a087d1b75f61754038745ce724612876f24a0051"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 154 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/marketplace.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d65cc340bacc100b56c77af28be5ed903a10dcddee2489e1212299330623aff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 193 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/marketplace.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b74ea4e082d5493dc6e1093053844fb63f1d7bab0d0e2a46e98aba136c25bfc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 265 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/openclaw_compat.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"765bb629ee16471c2cdfee792a33f27bad0fe982436b75fdcf76803ab9ac431a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 433 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/openclaw_compat.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a76bca01d299c9f736237f90f54a5bedd3049ddc926ed67fec76d61ea845de2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ba3c297ab4feff02e5cdf861a6350b5b0ff00e8fe1a715a88d0a2358a7eab2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 170 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38e0a2cc4121d9e76d00e2ec788313ac9bc25891fba2822b875f6d60eb17bb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 176 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a993a8b93ec424f480d06336d36ef05a0fdb454e59c777d398068d220b095cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 216 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"052206730d099d1c3fdb32cb38211faeccee8220a25ea1f5159d01af10c3a995"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 222 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"26461911a404760a384ec35446495a30f5500dbd49560fb39d3026cfc156f55b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 238 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40ac0144c4444dd5aefb254d132e0cab5128b0ce0e36cdfccfe103dc1e2040e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 245 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf07ae37b2c630107452628893f7a9c6abc3e0be7a897feaac7450ca00b85a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 253 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdccebf600b542e8361dc959c19a1c2dfd2a43c9995dc132a06696294a16223"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 265 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc47c46d1f35e716ac2df1f8e25e83535b06ed4eecd02e60ff3f3376937897b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 270 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12b7a9f362c1ad4d936011d521de7c3aa788d341741a8a276074dd11fbca01d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 302 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b23fba2ee4a8f8e14ed0b4d07b84699a0a0b04794492e6ca43de8ffb0d1575"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa96d3db4ff7872e714db229c46e8e8321619fd19fce3f4294fb602dab92207"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 423 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba201ed3b6b76cde4e679ee5e64d8ea0cd9c62c4cbacef61e2a2e733ff1a24a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 430 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bb3aadf96e79b7b859269fb7ec16269635a7f8dd5c178c7c5d2f0b9e343482"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 437 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e6feffeb9da9cba5834a469af0b0dff5d7616b76e952c61cab0d734116f9b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 451 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba79d8213e19ecf1c024fd4f9e4d474bb35354868f290bddb5f6a069375f4029"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 455 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48a65833de4f859df701839b26eefa91e2de3d838a14ec0800b7a123e3825a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 461 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-skills/src/registry.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"669ac3ef1e28659954cae4308ffc0ca4ea8ca69c7b9cf3f864f21815adc1e327"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 350 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/a2a.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3e6a65edce577acc5be58247c894cead8caeac2bc35278bb73ba3426d9b5cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9112c4e8b8aac2e297de5718e90d6c865ae5e7dbeef202bf89834dd7e06bbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 344 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"1204ccd2b2af1594c9091db11daf7e156303c9d05dd95367f7a65fb92d4ddfba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 747 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c02f904cf2c2e7c2f9bbe910bb39f9c8c29122d698e7e840a8d314717575d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 853 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c217eb36db1301d16a08fadffffe5309a3b12f0e6949021160127aebdd1668"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 958 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a8ca6f32ed1abd8db3672cf8927cc902f1f40c0c2e00530fd015b891895779"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1061 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeb9dc1084432ffa6560fd8204cf005efb1ece1096df333ba02b2b5e014fc92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1081 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2dfffe96747ef8e853b9fc635e8bbd7f4fa1b3f45876dc80b99ec3e8cad07d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdcd8481112fe7b7cce71c5d93ce4a159e10669c10518aa11c83ecda15c6575"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1237 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"959205420011fef06e6046749720fca2d8a8780d4538e7c8a6c4053a1ebf2878"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"791d10b5ca4f1ed7817c5f94d761d523ac7dc1088d613a9eb4ac824e03ce9a85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1423 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcb245ac3b5e8dbc1b238f3ba01bc5b26bd7136c8a47312947b0898b51014db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1439 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4b05756ace96ea5a74ed8e752fdb2226b0a1232e275d5e2bf8f30d168bff7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1557 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb30d314f4aa8ea464c09692273ecd2269a525c3c220385ae56704493f2c43c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1572 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d825a7cc11f8d5c3a5cdb4f19aeb29bacb556ac4238bf2eb6972064a4bf765f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1963 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b80c711fe4cb1298774c66217fe65e926be49d0fae4f3660340044c24e3113"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2062 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1129cb31615ce5b41b204b3a70b4c38fa1e19b825329d18944ab5f6c64e898e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2167 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc353d1f73042158176db760ba465141c0eb04c2fd4cf9b380c40536877cebe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2283 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d4ac17d6445d8635e3fe2a1d77885b413ea560275fe580f1d7f66a13e225a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2302 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2302}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f685dd768fdf132bf2f9bfa560c538ea913a8639efbed2178d9dcd6f6085414"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2347 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/agent_loop.rs"},"region":{"startLine":2347}}}],"partialFingerprints":{"codehealthFindingId/v1":"418ff033c354bab4e4e518a74a4346f3ca0ff7a7442b1b9208108d5453a7818a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 467 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/apply_patch.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0487a44e9beae633d66ae725760c3d708b2d037fb0843b69ec328702d5d5e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 166 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/audit.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6462cf3dd021722d9298e1c0a9bc579f387422917a8a1170c6bb5ca14c315ab0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 168 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/audit.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"18452ce413591565eee8beac569bb3bcc57f364e4738c4b42acafcb64b9cbfd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 129 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/browser.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0dfd0a4fb84d70776b3e08de2922c3674e508479e5841c75be86456c9765b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 139 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/context_overflow.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b44f246dbe77f5fab9c946f1e649f22b5146a010ee97a62ddfdd9b9c6f8eaaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 161 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/context_overflow.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63e8d363963b3c2e7d24789079dd03c1f772e7f409760e470a5315eb27df6fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 213 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/context_overflow.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4704a0b6a6d235f07e0e94e51fb80a4de6c6de261b4488c177963b22fa60d382"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 124 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/docker_sandbox.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0251dedb07c15ddfda20dcf1f46859df98561248c80bb5ad5de63ab8377130"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 242 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/docker_sandbox.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fc930a16f733b0d8a4899ec767e3c1f168efa9eebc9906736da1d1faa87f44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 163 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/embedding.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b968975abbb82f020bb6c2452e815196dc15ca6a3e6dbf0421b9466f753d73f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 224 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/embedding.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"587704bb0fd12b52b899bfc56972aa33cea749743251ef4eead206424e67c8cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 41 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/link_understanding.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f156f68ec4283901fbefdcf98e5b9634dc3391d725a0e028fcef0b058cd702"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"395bfbb6400bbea3df66657d6826241242bb8b40bf84ef8e4db4d5e82f859335"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 252 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8efeb8bdc2105dd5a63b990b82de3921d495a45a4917e661b41d781d3ddd28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 277 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea435e7af918dfa29d19a28e7715f0f036085bd93df7d9aa3f46c9ee6089148"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 309 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/python_runtime.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2590a3cdd06349854c0a36ef07b91c02f07853fc85be58d9e5353a0bc1f444"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 158 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/retry.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07e9f6a0073b8f7fbbb8202a326319e9b8f37c402a3cacde302c345f729264e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 163 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/retry.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b1103713ecfd15e3b0f81a800b3c1f0bc24a43d6ed5b3ecf6b4a275b38dd63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 185 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/retry.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac332a94637f51364dc94742563781fadc4d759c00f5507c424a04fb59144294"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 382 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/sandbox.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1054040a25527347c86348d145e94fed684e6342f4964aea62fca9d462128a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 383 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/sandbox.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd0056428fab8fd31be8eed5fa7e0ea247690a1a2bbeb821a4d0ec5bd85f0e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 384 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/sandbox.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e11e1c8c8775187cdaee1a08c8d321a294b8aebb125636eea04399e52b6288e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 385 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/sandbox.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1173d29edafc3e85d54582e0ece4feaf933342f85d966861e736c10018d05f3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/sandbox.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"4218a353b4f22fce3208c30b41309b8909b27f524a40fb79065bbaea2c8d8719"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 580 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dd6a03897e7bfccef1780f2882b169f33ad9657a9d78596cb7f33c20d060bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 622 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7e252734f79513a2d141985ea0b220b13d16fc2889bd3f221c188044ee4600"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 633 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"63503da6a55a3381bfe4b685db4229766de3ac80b31f4089afbc25bebc4c91bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 692 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffe9b6f4506d487f678a7b8d08e3d4872f732d63d3dd65cd16d51f8420f602d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 719 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/subprocess_sandbox.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42179cf2b68167912b5de0b37611cb29deed1d7271495205a6a6ea2183aa0cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3130 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d484e2805113c0cf4669c86a61fe3e97aeaf9b9ec24e1e8e73b9c969b197e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3312 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/tool_runner.rs"},"region":{"startLine":3312}}}],"partialFingerprints":{"codehealthFindingId/v1":"222a67fa899d2ac2ee125dfc377ff82427f1fe89cc5b2a9b39e5798fc521d47a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 78 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/web_search.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"079b896ba200e098dac3e0f647d3fc955f21c521f1c9c4d7981a574f0bd76edf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 87 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/web_search.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac484426d07568eb8b3329ac1001f69b874e17e9246a9582698a5ad51c13d0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 96 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/web_search.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"815d5c78b9ce658844a195c87ac12ea5fee5af6a46f5e57a7de6d8ecb2687353"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 105 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/web_search.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a95b44b6dd77792c69d321af44155cca5699d069e0648777988fa0971713c4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 352 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/web_search.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"10766337160cf9fb79a7141d670808b7185cc6f8920c06a6ee021e8d6f77c1b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 524 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/copilot.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d09706eba6999635c938d7bfc5a14f25aafacc7b1c5cee3aa389c44ea985aca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 535 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/drivers/copilot.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf54750171acd5e435ee18805a32d1712fcdfc697cf97636ef5fac07aa4cf98c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1276 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ec5ad984a922ebd81a5e918ceb9a3b66f19d42af4a1ed837be82bd1243b54d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1959 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc58e13ccd04c9e6838a0be129357f521d5996713442968e70cd56172bf5346e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1962 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d741734c56c25e1a7f7ea7485bb4723b90c4f126f1a2070e4fbca15fe9435d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2448 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2448}}}],"partialFingerprints":{"codehealthFindingId/v1":"329296b512b49f89223095d96f8e84aa7d9755a05d04df8c4494d326b035b999"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2967 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f41782ee2ad0c9fc4449d5ef72b66221c5409297cad4757dc8b911e4f0906ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2970 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-migrate/src/openclaw.rs"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cff1c3ac4802f11335a8efd211c5ce9feb3e395f0c6b23992e521e7d4f06ced"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 363 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/semantic.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"37792c1626f85ff06a3f4d0d304b63982413ba2a9fa312de1306f37cbb2bee2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 320 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"76745d817737cfa4c8e5b2602e981544a4cf5b37df801ed312027ac9765384d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 336 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f3e579f43cd03481b24e179c2adfd0a598ee5432eb515543e84c59e793cc08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 346 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"725019ae9c0a95abd4aecda993d8b8b1adff3dd71c0da0185ff3e9cbc2697a75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 369 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"943fb8174ac1f54219450a31b360e78d6a7cd4590ff24d60342b6777f80aa186"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 409 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-memory/src/structured.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f280d0a77ff33219a9b91acad1e904e8e027a786a12a19240f99bb53e832c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 229 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/background.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dd66bf1c14cf01cd8b520027e2a8201bc8c6c3d874ed1f79dff72249c4296d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 89 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/config_reload.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"49635202cae260f4e149d9e46e0b502e7abcaf2d03d5b51690fd1eb86c3ac8e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 95 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/config_reload.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eefd9128e3b955068aef9052e60d0d2840ada4c88a8c14d02e20b667244600"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 98 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/config_reload.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"67da20fe710498461aafaa55871850691cbcef50d27a3054582a655a010dfd3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 483 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/cron.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"5967c3311c36e7d449ea5aefc95655d8af8b52561d9f82b294034319e0005bb7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 496 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/cron.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe3562f99a231178ad7adf3ebdd9823731118449514391e100e71a325ee2f08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 635 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb42433df36bdf601e716608752496fe7d589bd42ff2e3d4e479be62da0b2c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 660 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"54708c70b4c5cb2abc0fe53385977f773ced70b20b3aee6d8d080f909479233e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 664 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3f51a01fcc477fb28e75b9d40742bada88b7d64f320b44cc15e3eff326fb78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 728 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"8accf236d4a17d3c65ff40bf7f79511c5c5ee0be8c981e3cb491f16a863bdc0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 822 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"112ce1f7115035f11a77fb79b2afd20a9d7c2430c59c4f83615638e102b230c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 833 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c40477e81f5364204f286a514407bd6fb08acc35281651c250a8e19f1375d7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 851 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"c896f02484fe8e391df980d611b57307abcb2034413e03557b7f59176fddfc49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 863 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"4490ebc6ebfa722b72aa1570e497a1a32fc2e2ef2e5b70bd66ba58825b05a522"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 877 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"f085c879e62224e1a1253143e7e6f496df02813f5827ffc26329ea3475d22d40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 884 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"6990404a62b9e4161037896df40fd89f4aec369bd2044acb8df2a40e6a1afab7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 888 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"078d51fecae0f5d43a77d0b00d51c229a8143b680c39e4ac7ab6dbd79aa4ff4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 900 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"817cd583e47eb9e1edab01174b00fea1960b828276b638488ff40277e88af315"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 909 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"081ffd025208e78ca480deefe114b33df61c77a766b33a5ecd8839fc0d011855"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 916 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c8a4fcfd30bd0ae232b435a0cbf8f7d961c6151cdd78a37de02f7504dd57f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 927 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30f3c13fe6ad57863d395ce045a03f53cf06627066e041781f205038daf297d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 931 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00c2b85127440fc6924b2b0a333cb63df4299cebf9e7dafed1ea385bbf11f66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 934 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0de8f0a5bb264d15b22ab1770ddc86945f5e7a876de69267679b19d21aeaa6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1031 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7a82694296b358b5cac74acf2bbe66b8bc68fdbe9c5aa8ab379bd7a4a6ed7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1123 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a536bcd9f98965c13700d4aa0058d1a28694f3268ad3427df5e390e0f3ce716"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5dc07ec87de08515d0f3db70b8db2c874e6ad3806a2ec8218a7168f7b183ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e90cda82138a304c2ef625899997fbf18283cdc46ad4d55c7fb33fd5b9500"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1155 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c423553c19a50f1812aaa83210bc0906be288f2972c8b6585285223fcbf0de3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1159 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"248dc0ac0e9a1d7c481f38a9c0126f7e8f01db887d416db6f8c501bf74be4d91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1345 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfba4d869999c5a11fc3cc4f97938f587113a3d5105bccc5e5a1cccd257543e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1353 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"35272db69df4ee15398d95a4a6b2b37439fded589fae9e056ea2e14542a42509"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1362 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae4f7e5ef1967e0759e79da629d3216c359fd8834f45ea70b0b603a33cf13b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1451 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"1856301e9696d63634bde9ae2f353ac4febaf647f268e5248ee2e5c47021cec6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1457 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"be038f372cf2c7346fa839ab9d87bf74cc47dfb861869431c9cb49153eb4fe2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1461 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"863f61dd9f963cd9cd068ba0dcac24e200ed1bf905ccec1f6f3388913f7cc898"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1497 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd304661797caa4b33cdc2f4b741724d88ea580a2de4147cdc949f5ebc6e676"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1509 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bfae3026ee55ecaa1400c8f6fa1d718529474ff6576726aa5929687b9febd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1534 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7058993620c6d9244df93e88df630f820ff76d9e5e0917b31e39c0d38d05600"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1543 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d40bfd79d3dd2199f5e9504a888acacc09f216d7cba5b6b46ef304ced9a6e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1571 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3b075f2d9763daa90f5b0e1b8b1935b4ea0ed1663e4e68b2fc00d5a7bc717"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1585 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"903d22792833cfce4e7cd608cd62c109b3883a3723216f33a3eebe7ec5c03287"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2885904cfb6dd63bfca831300373ea7df81d900cfd50c1c7032f294f98e5897d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ea5fb8f60fa92050c0422e939f404ab1d8174886ffaa54433aa7d6938f58e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2164 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"821ed1eaefd4ff97c29ff33e2604c9f301c63bd29c2c076a147a562e2765477a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2313 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1a125f4fbbbd20e90ab3e2b37b41bc29e5fe4240faa6b2e8bc76cbacc9b80b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2320 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2320}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ca10e5b6ca1b6f8c42c5b7c7f9e46aa308e37477f701933c2b06e53d0336c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2400 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8067ff45569b4f6ac70cab8df0a1eeab3ce209ce8c0737aaaa6a464c148c87fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2411 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"3392e010f3065a62f356044eff1ba0b7413da8f7ba83c62b06b70273d79b28a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2460 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dd476e938df2e08c9c66a6f468e2d65db883b80eaa13cb7d3221b1d3e17718"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2682 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3facf73a2ed826f9343820fedc30fd869a8d85efd7367cd6c8dd5f6b901573"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2688 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"c716f0ebc196bc337abcbc9eadf35d73356ec052f18fe2d82e30abc0be184e26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2710 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e91c66448bf51c1e6d6270cd7050269f9cabbd8887358a931e2678e40b0250"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2713 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2713}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ca610a7c91bf75a97af2531997a4b74ba2bbb83e02aa12ad399e0ee6b3f5a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2739 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2739}}}],"partialFingerprints":{"codehealthFindingId/v1":"0117a88b04df5c9b6ae38eecff06f34a7a66dd0cc89dddeb52370630f5fc5811"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2980 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2980}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae7798c0a8d9cf5c84e8388154cdf1702e19b372d133dce3a7d35ef7b0329a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2991 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f1ee31158b1a81919c275ee13a8c6d4c012c7bbb17442d12425240155a00ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3299 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3299}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fedb59e9a266558d9546df7c1f71fec48e41af797250645597d8ffeb8ada2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3303 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3303}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b23a8e6a8993711a6cfe352b230fd16341ab418774cd29b1e87b2dfa8579f30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3309 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6a30675027582ef5f848eb37d560e0a0a01eaed9d97017190cc6c808974f79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3732 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3732}}}],"partialFingerprints":{"codehealthFindingId/v1":"af40142e536e3b0f9992c86b8376144182a510c1c015c435f28666b181b0f15a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3974 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3974}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a97b7cfb99f6e1904335e1442a157ca47b6787a70f3ae1c0f3dd448844beb91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3989 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":3989}}}],"partialFingerprints":{"codehealthFindingId/v1":"a970302ed6c9b2cddff652c6fd8a85ae7e52521474a50fc06bbc295a0a1c668c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4150 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e241b26d1088f2044f76a49a8bd0c9bf9c28cdd3d9bf8dd3f2d14dec95c5af57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4166 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4166}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f00d03cfce8aeb9a8a96fd7387223c3e8c84ddeb211a20c9a768eab77b19b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4179 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4179}}}],"partialFingerprints":{"codehealthFindingId/v1":"523a94cdfe605a804cd43f88dbb618fa00951627613e81ef16832c491731a383"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4184 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdf3068ef238ddf1b3203d378a5e2ae2d2228f5fba8f6c9e960c4431da24cbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4199 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4199}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c1a46d302cfec3cd43bab48bb61d3c3ad4136be99dd6c3cff22b050b1ec852"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4227 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d437f27c3431e24b18086624c212aef2460c03dddf5ca5d7825a2532c9c170d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4395 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4395}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38dfb19144df9b9524fdb6a23483e20059b029a35275f6f21c4ba2d2ace032e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4419 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4419}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62e819d15e6332e5afa7f3ba5f5086b162949d80c044fa219968ffe91eecc5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4472 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4472}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e57dc334c01c8e0f4b9878242173b795a511aa1f9295bb8d7515ba61642e53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4566 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4566}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1090d072e4b1bcc53f84809e579ba9b31f06b9219c6a14f0355bd3978e2f826"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4569 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4569}}}],"partialFingerprints":{"codehealthFindingId/v1":"945bfbb23a04850ffea0dc496c5eb401dbda377ea31326b085647f7a59a506b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4604 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4604}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f93863db85d55918ed4e9d61918ad5c7f3fee524a862bdaca48f4055347784"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4609 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4609}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf786b581946d6a35e6fd728d3e464454a9c7fbf15cf7a03a995fb31d022f023"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4646 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4646}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dc8218256968d40b3bbe4bed515f296338b96d1fce1e738badd2a25cecb272"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4693 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4693}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a67070eba4441326094a125d25a048b4320ee3cf8cac64c3bd9744c71e1515a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4699 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4699}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7ab62aa5b1a85b04a271dd24c9a9851c8c8cfe86caacda22895a6854199717"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4998 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":4998}}}],"partialFingerprints":{"codehealthFindingId/v1":"3486a21ffd2864262ca0b1d4248f020066bfd212d75f825e3fbb3a65fc9d8d9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5075 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5075}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bc4167a2c8333b5339e892bf0d57217bc3f14e5205e7ee98d72371c38e631e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5117 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5117}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cf86a5b49a0dcf1ebda58d6ebbe80da7915d3162db78ef59998aa47c86b657"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5123 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0db7f204f19718b74d0bd31bb19528defcf128a110415b5e38f71d5482981c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffbd7194806dcd5e4909288afdc6a54f499cf0897aa3db081035bc23ef5604c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 5237 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5237}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e190e5f3aa7ccc2d118e035a3f174df0088e2bf115165d7a149010c54301e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 5267 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3bdb6ece4f8ed18e4f965fe6a7e37bd7d9d4fcddf9678339180f2dfea320f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 5302 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5302}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c358c71733ef6188a10f1e7920775e1c452be23744ebbcaae0fd3ed6c37159"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 5313 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5313}}}],"partialFingerprints":{"codehealthFindingId/v1":"342b30cd3b7ed2b9a5c779b9fbf30770e23ab553455357f9a27e2fbd4dd1a8b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5745 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5745}}}],"partialFingerprints":{"codehealthFindingId/v1":"df89d8b0ce737801d3182a874a3bce8fa6286b6d66234e1d5dee777c8335d3de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 5871 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":5871}}}],"partialFingerprints":{"codehealthFindingId/v1":"1245a138067ceb6dc6217ade94696899ce0287e8eb92b9d2d226e7069b2c01c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 6009 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6009}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece54b7c05e8c7c595a3dd3d5967f4fc7407c7819304b0353801f52cb3381105"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 7048 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7048}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bfe92fc993880f6100273fb3b6ca628c63cc7c5e0aa567a1979c44d82db9df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 7141 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c225dbb82bc47b17b5857afc9f64009f282043f3988e358e5fdc59c68207dbef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 7431 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03c0e65a06f472d56a0cf2d8abfb2a39cd01aa308cec9b9358c578967f9b6cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 7463 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":7463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb0f0d33892017e148fb1cd28e90d55b071f4d6eb7360516580e396e64234fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 150 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a69cf81bf6a88e7f3a1eedd8abe00241b4e44a0296fb33934a049415fb631e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 169 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb32763953ba21fd4d23962ec8d476ed89dc0741f02b1d8ab652cebab7e6b202"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 181 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a422673984feb9713aafba1aab2e66e77d93908d4a60b5bc43d54275a829e6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 196 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0771770dcf3a6c2e214170f93f75e66a9f63ee65e448ec128aa55ec812e4d7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 206 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4323f3595ff04b8ac87709e20633a5b1819d45d4dcdebc2f6021e81675dbd07e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 236 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2077d684c6fb00b85a38e51af5054a8f0adc2a2f27fbc64c9c2e9e056b778d8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 245 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"631fec3203cc8d3eecb33c078c5e21f22458a096cac61c8d68e6934baa585678"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 260 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/whatsapp_gateway.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebaf6166eeca9999feae96ae99af0aff19ea15af3d5f1a2a2b63af186479b53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 381 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4e539218dbea2a7a5d822ad3eaf1a5002c5390bb5b0f55dde4eb475dd5dfec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 385 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b8919c8de2a7903f4d13d1e58a3bfdf7ee467ded816d62ead2c1f7700162dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 403 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"789ee9ef96ecebd23a42e8ce15ea550d828c2748773ce230e77414a5c5a53b58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 413 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/workflow.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e17dcbe5dfad53dddbd68ee7f70fd6f5c85da0f068e9af1be3ffa5bf35b5ab7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 139 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-hands/src/registry.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbf19445a20818b1bd7cdd6513188e14346d919a90a11132af120f8095ece26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 326 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-hands/src/registry.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae1cf55b42bd91c109a0cd55a86c59c516a0e73927ef9b2d99003257f6a195"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/credentials.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0beaa28a4450af8c429983442e66399cdf1f66fd2142adfc4b9f2edb375df5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 61 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/credentials.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae8847137568c9c99436be490c195e9819cc288034b57776ff6da8cafe8fe05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 67 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/credentials.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f18181fe297c956a829ad69164f8bb929b683cc3eb739d589159fd87849dd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 74 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/credentials.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5010d8715eeab7646533ce919788028d91eddbfb42000495da0a1d1c9e659fe6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 56 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/installer.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49269d5c19f433c5767572862cd9103f3909b101f353c3ca3682ecac7ad9ca8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/installer.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f6abaa44522ccebb6d386160030c724451feaa63ce0e572a66632846768c03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 141 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/installer.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"637a73178c1867b8fa1cd694d47b7693163e4913ddc0176c6dcfbe9d66b1731c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 142 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/oauth.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"640073eb3d999d249a2db45326b2d7fabccaaeb44d7b351550a9834e5eab5507"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 159 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/oauth.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cb1af485ce279a87fa18f6fa9d2e649a4bd377024f18dca43a20a8e1e289fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 253 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/oauth.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5321c312349c2c0ae30c8744b22b78ffda39090993b161403e63efcec9cd3451"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 46 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/registry.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e24c6c7fca986d49c0dcfe226ebee599fa14f2e764edabcebb64981a416dba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 50 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/registry.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83728a1c68d477e13c951b6d9acd485cb80aaa64f5127a15662f43766c9c98d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 66 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/registry.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"562d1af0cfd958ea27555082c5ed871d820f6368d022edf06dd28b6a95667e6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 109 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/vault.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4eff1ef25b72b85a1c9f8cc33cba24c752a7dfc0a6783f3f980213b35cbea3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/vault.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb679c58929138d4c7da1f246d9138000c43ca620dc1c8e9784eada75f35d4c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 147 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/vault.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1b4905f241c6b49bfaca529245ea051e8dd6f4781b44b52b866bb6d0e6a16e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 205 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/vault.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"447b6c87518d2070ce922e091645646c3e8a4e23fcd58bee7990b3410442536e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 225 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-extensions/src/vault.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"332ac0fe52ef6ec7c86bbdf07de223c90f97eb280feebcfcbb81e3901a62589f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 78 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/commands.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead2b160c8885632872be5248d193590c4c78d40284fdeb63822eaa73882eb3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 119 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/commands.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5b3e431c0dcc54c61ca88fdb5ad02df2e6da1e84bcb38cd5c4efe01f2c1cb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 48 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/lib.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5567a58e32b64046e92deed20770ba4990f2e72933efbcb2dba80aa3f218b272"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 83 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/lib.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b46c00daf755f799a26fbcf5ca5f7937f2086f50b5b3fc7fe09c77fc83dc44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 171 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/lib.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"695079d0f343916bbed5ed93b62f0a9e18aea1f612fa93f371a1d6e4d3dd4a78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 175 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/lib.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"161846ac95dbd0463d2f8ab6c1cd64a9231c13c0610fb7ae7fe0d35b6885eb9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 82 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/server.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea433717cec5f3368d6bbcb159213d9028e16b44b20bc707f6b1c723c80e5f93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 130 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/server.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05cb60d1d37d9c98263dc7bd165757db5ab1d14deda180d1f2e16a7480027f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 142 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/server.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca59740e6ee71fdb391a9146053bbf64e92daeffe497f28eb472ce44b77d25d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 32 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/shortcuts.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3306ffa9339ecee0290f5f4c87f8b90944d3acb3bdb5a5c98121da6b9849fe1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 36 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/shortcuts.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"afac1746d605ffd131f7ca6ae9927fc335e528c54547da2bfd1e9bf26f04539b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 134 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcef11a23a5d00be249512ce82d10a25ffeec030d7c9915fceace34e37d307f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7bf6c4a866e55bc9b2790b8d73115b309468386f6c223f0e48dae07d63a57e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 139 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f25688964cbb780f3b48d543ec654cc9b220605728a3c53ebffef55a75ed3ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 164 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ed4556a66bd98facd7903875bbded0b0099d937f190b9d16ad205b43593ef0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 183 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"541f5b69b03879986b725da29a11d4ab5fc7887a2e9edce621590cfb0746e8ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 198 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/tray.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb229691c5a35508343afa7e34cb3d24eafb990d5ac46459e7fb699fe971ace"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 30 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/updater.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd99a13e65206cff5735f90915540f2c93749fabf2974ef13903b5806d04f1ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 41 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/updater.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"addd947434b87162b5a90074d6416e544a63238497b18d3a2ce3c9d1312ea2f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 45 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/updater.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb183904eb0ebf4703d76fd00361322ffd471897815ffbc68cf21f968a1dcf09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 68 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-desktop/src/updater.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc7c89dc5f6bcc172fd7ab6cc053489c4d302d5890bf3b207c72197341d97dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 354 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc6399b72d3cab5a2f97307bce4f880eb8bc52dc786193a69f9c0b43e0c2e58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 422 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37c28e7c9cba86ee3914c2f6ef71942bed0d000bf8399f49b0f096b81b222d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 448 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1621c64e5bc6b5371fd53299d4a6ecc11972ed528860dfe17035a601d9e2ded"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 455 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50fa76079d3e691d963791e70d05be1ae4c9d5a12808ef3169e7bf124a6b641"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 466 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bluesky.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00287a21b51f8a68be52e0424066a597f2d32c61226d587850060aca9c7e6c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 486 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cfd19fb58d7043206f947112d43b6167b0cf120e2845252881183f07f7a40f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 493 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b19061a306531389b4a2fe5698f41aa5bb3fcbbd02da48412f1f53b3ea70a1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 618 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d97c2cf35ce63a951b9b95704077d526ed16cafe0414193ad022d577cbea8c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 795 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd52cb36d4c78aae83a58331d398e7ef45ba45dd54f009ec33b9beb2aaa7ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 803 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c526586724f4bbb53ec85f005099d170b9d0a20bdaf58497858924fc69327f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 822 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8b9ee3764fc3afc8496462efa3143c44dce3e3667523132bcd325252e40942"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 833 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d4710eadef9bd7d6af2266ff7ae9dc3bdb44bdd65c15c54ec729dedf18ef37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 871 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a448b36f9d676190d1791cec4777196bf487bfd2b520108f10fd7547a596ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 878 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba473d75494af80f4ff31fb0d7241b79e1201677f7c6b906e2986f20a0411dbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1401 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"641a90e40339dc97d38b843bdac020a5f0d275c1df47ed5cd2ee54ae878b74a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1431 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"766b9f7302c50bbff35761bc133076b36ae63467670aa1062484741d6e475bbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1590 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2c38593ece13b560db0ab85dd7815fe854cceefade75ebba49b638f3dc2126"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1620 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60ffff96c0c4a4bd09a48b5f18528d2c51c0087f4b28ef581c005261cd222a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1642 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef846a3a089a89d55bf258bd78a389d1c83b30a5d9bd39eea8117200eb4a4537"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1660 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae72e4d00b3775447bf0f4863f2be5652bf826c53c598dd55784ef6aa000074c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1871 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1268de92c3dcd4537a44ce007794c15c120bb1834c864df0ca8e322375cf6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1901 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/bridge.rs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ec8de07ab2a37120e8ef7898814dcb1f8c9424f4f3f59855221ec2729a55c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 146 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0837e152446e7dbf4ef611ec28c4d6e06e724a0909411b6a3e5036a7d3ace080"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 241 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6c41c26379a5a3143bd2bcaaf2badc540e34e46a60925c3266f4328bb066cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 246 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9c03d0ee7f08fcd96e483aa1e408d292a71c487d003d09b9701e31107e7ccc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 256 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"526f00e9e95c772e02333fa237bdf540140c35a5d1080618963923365e490305"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 190 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ee9b579c7b4088414ceb170a4f403e8b7888f347f5685696c9e855e83bce40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 201 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d450306dd5c56c6b2e9606ea73018b56a5b10f3d6fcdcd982707c36714b00089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba80b16757c2b375e29183bc5730b503536bd7ca3d78a2e6bf4e0739de21ba6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 217 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d708f17b1afa63513a13fb47ae91aa73ad927b23f7fe65b0817a4df104a578"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 240 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c051269d533070588fec9ae7a118dfd8497175c3a7ce0bc2ea76e8a98c90e11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cdc5b456f373a05c611376eaaa058a96dfb690a37c338b5e77b830014e65a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 474 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/dingtalk_stream.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d51eb6197f184a2cb9cd1d7f22525f1ae27e0f61286f04b731558b4710895b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 150 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb83005aff5ec30c7dfaa0d5d900befc986f9667e2fa284385ca2e039c9ca65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 235 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e9e55617e80ce34f2f5f64e4c5e4db171cb5daaabd66037da649b040ce80a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 317 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed344ccad8220acdb3ce9c5916e97908af610299dddf6e374ed16e531935da7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 357 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1a9be542c31221def438052c2349cd18935f2ca6571e122bda6a7f4539c4cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 378 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c942350c0c16df7b262f791320f12b7113bb8aacf1380b6ca95fb01248fd12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 395 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f985dccba5c282e35af4d0c9f8e27d96a3e4e618bfbffd1ab4d011218815d6df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 444 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a162f26df713b863ad3c6a5df0382c625e9a1c44a1e1a5661e9c072bbc0334d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 454 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a3db28fa96d5d4616dabdfe8cd66aa0db0221091e9efaab54af52aa889f400"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 457 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"2314eb2f98a96b7bf553cba900d4b954c38ede2608d68bc46c554707f597a73f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 468 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e2f52676681532091063698a7fe494fbd2b614d0f31c67286a0ffb4ad2dc0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 501 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5fd96435a76d30616585b6b50ba298ad92e52101ddf196d2c301c335a1b9b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 526 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb0a0033f521c88a87573e97c5aabf42017a3ff2ab878f9e60cec15104ef207"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 553 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c01095397ef09966d5033ec7564cf6c5025ecd8be0506c4326ef1f0bde8c68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 560 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"3526b4118c34a241387adb18f11c5b35c885c5957dc0d0f6d746286445d5f1bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 592 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8898dc627155c7e93427a7e45b69b3a0738ea6a0dfdf49404a8431181b619849"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 601 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1abe0c01dfafd0055a82f6ed644db639df0c7c349489e58af9499713a70333e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 646 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"d584a3b227bd0e221af36fb339746172b725e1ebb5e87cf26c65e56245ab9e1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 666 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ffdc748250212ac58ad9466c71c6f6836f9d38f1e233aaaddf9887fd4e8a53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 849 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discord.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"45360661cbd2703ab148493633c84db81827e455feadfcf8487f570386be9bfc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 181 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"644a8825e2f431ef7f4a3e863f21f2c6973f2764e7a4d1ff90ad9d0c6964c80e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 237 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/discourse.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"758fc00eaafe6f442e415d232f9fccf4901d06ef4ef679db17f86726e130c374"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 332 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/email.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2da6723e29b801d70acbc96859135d43bbcd0db478fce17b2f06bb572354d1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 362 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/email.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0130b714f47e083113e8e1c1d61f9dfd4b0d04bc2c328900537236c717e85b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 366 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/email.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e4c2cc1bb1ef039d424c0829ab9287600c26a088adfed25e7939760dfe5daa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 497 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/email.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5dad07b6e5b37d153f94dce3ace341d075689c49cd14f8b11e48cf0bdf3d9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 434 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"057a007322eeb10e96b638de08a788190b02fa8c2a1a0c18b5465f8ec4679710"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 531 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"38de380a62e5d4f3f2b9362f7582285bdb17d50106123ccbce7459da7b305d29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 549 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9351447ebb6e5c9069d5e4ff4f3bfbf135728ed0d327079736395e811d86b42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 672 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"576ac110b45f45d91ef113c55b3f2b92e81425b50e4a1586408260183003d9a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 677 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa0de29ad275bc153ad05a3551ae1d4e5c9845448380ca0c145f960d41c324f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 687 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9006ed8cdcc5448bcf5cc435458da69088a23897f0ce18eedf88a4f76cd1b62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 691 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a30319074647653fcc6dd26f60100d7334d24ede3ecf2280d3f3978ceb5d6ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 708 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3b09fcbeb0fc9f04dae6733aa1779d30bae2a9df0f066d486b46df450c56d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 718 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"629daec2c8cde4c8eb1e7fad0a9cda001058fc01facc0f7154a17fe78837bb94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 720 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2730fc87d6912964d343d5968bda90847d4277ba4fd4e42f5cfe14002e55cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 727 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8180917e2fa333641f2bfb96320acdbb793a0b8f5669b0c3e08ca8889c5282"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 740 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"8304a10ae904aa97a30b493c863fb110c5fd130d5c8e75039c0d9058d4f2b00e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 768 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf41c9ef08dac916d0176cf618dc71b6a89673baa60603b4b00cf8e7b0448f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 770 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f6055421a5eb0f5517275dc6f786f2e3f6c2010a669fef4ba051f9edc26607"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 789 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4121260e0564de23dbf49f2190d93de5dbdb6a5dbeb31d327420a3634da400c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 798 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b793167c20267af7f0bc6626adc3e7df14cf1f9a39b93af4e10bf700634c683"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 808 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b89288051152f918a0b679915907a4fd9df97134f100c1dc6a05419ac9e101"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 813 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"9907c196a8e5b368b57349ae3cd8d4760b6c7b775a71c855e4c1e882e8aa5e87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 816 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dbe189ddb480c6fcedb203d751319b6e760367e8ce41dd1013c2c6946ee7ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 823 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"584653679138884d05accb4dcba4ff53aae9e46adb1b4a1f2ad7b8188c13607a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 836 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1cec64acf3857e3bc83040cfaf1a3dd545707b3cc7ca9c81ecaf7ea35acc01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 902 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb0fd7b2bb38920e1827f3bfbff2c686d48a7dccfed2d6a4f1d072e3e6407db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1371 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/feishu.rs"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e65e726c8fed6d8fd494f059672c5ffa95a9c85fc8c0a9d999b2cb941835b25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 249 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a36018cb06cabffcc5f63716671b1d2ebeae28189578430bf3cef5cf5af944"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 285 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbc78d0e1c9661c6cb23e8fb6eb07203effff11cb2f63110e1cc8dd7efb8584"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 290 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db514be16088aa14bef8a8d11d693041cc550464f69b0939bba32f7c36911e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 300 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/flock.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bef36da419a9dae2b617f853436088fb1bebda26e2eaefbe056c1d8f38fb23d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c325f2b4a21348b59eb546c6da28a7e816a6908b930bd199e3f831428123a7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 196 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da2ec14bbb4318851ed75b06dfd04d7b149536085e479d9e1b30f29334dfc7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 205 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8505e844927173ac0cbbb06e8262b95fa49ff2861850a1aec3b806b3aed7d56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 212 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1aa15fda576b25ed9ed99acb49961b8cee177f1fb5de6e0f120ac1760aed00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 305 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gitter.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3219781d8b51d13730c7764380f55fc92ecee9bc5cea203071c85e28f530248f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 159 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaa804cbfc80c5946295da40b71302e45f2230331dc5e8d470598721ef9fa0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 175 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5098e3a958426e758ddf06ed38c79ec94c29b00402a63d484d0d0f2fdbd4dc4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 180 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b3dcea19f615aea9faec7f7ef91af1de6fb3f3a37befb2efa7e118ee3d3a46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 192 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/google_chat.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb377c4078cb2537f5b60e5befcb7ac6bcfc671dd7a9a596b1749dafaf87ba29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 160 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa805f2d065e6129309a0f6d3c04ef3558ce3945744584e5841dde03a210052f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 182 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b71c5b33c5e4e77315cba61d10012e41646509c302442565c8afa082b249f13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 282 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa5611bb501f3076fb2af6916f256ed4e3de431656fe1f8639cbb1e8ffeafa5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 296 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/gotify.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7801e30a4b725d9fb8e6ea528355c37ff06a879ae29c60c0e4af4d01a267c386"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f6f0834f7c8b37c0aa6466ac92ab2cee279ea7efc089432010a7603a9cc71b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 159 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"975057292fcbbddaefb2a1ef15217b640908b185d0c69cd9a2a0d2dc657c2218"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 173 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cefaf8ba0d5954fa0066f9e79c9c3f2774c7f6cf48e0596f62d3b350375538"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 199 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71756fce19b8ce70b86a79110e1f25077f2c446c0ea951029e4a17b073c6650"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 311 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/guilded.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7c84c64a463dff2c0cd2293d143934518da6c7513e702167f5ac24568aae5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 254 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"287115e577af784208a2500b61fa6b203ec607b28559e16d0b121595e792e417"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 259 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"278146df6da58ea14cad9c8a1b97b814a7a2e0210b52dcb0c4005d2810d6a10c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 267 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7de3f511bb1e85c684ec589806625a75b3f6b6dd81df6a7b20c584600c178a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 281 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4759b70a62bf237151edc5855ea634e7bb33dce253f6807df14f8776053953f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 302 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da6e8e46866e97fcc305943811e49059c951f96d11661370f497989ac0e9790"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 307 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedaec46de30e164201bad1ac3f75de17e86d5e94cd4661c653482009257940d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 323 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c43c3357696adb3ea82912dc355830687d7949bdc4aa3efebd6c1ea2e839c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 330 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"96121084d9f2d9af43ed0b65bda8cb7d7bdc060bb348eec3de472f7b4b3d29ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 334 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5893a2aec044fe76d624afe63b9793884b71f69636518dec94c1c2cf1704e01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 337 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e41a078c11fd55c2a5dfb5aaf1f2e2d14aa124769608c7381150f2c2c0500b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 345 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee82f218c80ec3d56b79cb0e723ed0f8cb4ca5a90fa8f896e4c259465125fa9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 357 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fed1fda1eae9c6f13bec11fa9acf7355b81eb404e5cd713fc37114cac70500"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 372 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"27afa4211dc81dccc7333a8f57fa682df0f066787a066f7d638888528ad81273"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4836174776c9a2ae95a1c458a84a5bd686e26e9a6238b366128e90ee679b283"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 405 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/irc.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7e2eb2d3b60b3c0d4b1edc266381a9df80405afe39b3f0fd48df2318b4368d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"22083d5a6801b355c6d1e1c646fb97f785ca07e91bd99838a47150bbee3dd42f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 256 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3dc9321fbe4b7f35dfcd8645f78e10f1572dac6a1bf2987475fd5758461913"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 308 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/keybase.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6483b1750d51bc95c9e7f301ef4cac522d66a15f14aff8c92486938ab531e564"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 99 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0786b3f849e0dcd17c1b34bd835e66cae125382722b8f145be613aaa676d1dee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 123 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2221d9a34fde3f1f240122136fabceb5cc77c6445aaa5ded300220d6ed3a815a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 368 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0026dcab021f2764de04eb76650e76ad12d2ffd846037477127bc114ce0866b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 416 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e38dee471ed8577518beb137c6882a14971ae2e5e8a8291abd123753e28ec1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 437 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d6b0cb2c8ff0e7536b0d9aadce9ede885c473f2bfe6963e5471aec46a5360c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 442 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"712aa6842749a1ad84da49cb099f4c4b8672af2bbf0459a7a05287ee62d0d412"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 452 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd79148f1f6c8b7ac992d4808f9fb4944836dc5f5e08bfe816d8f5e2b40c96fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 497 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/line.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2abb0fd5fad2c70dbe9dd41b8d587b19410aba743f0f7b1506cd2db08e306f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 230 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/linkedin.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f70484319d371c5d977ec41a57958be3db206d2bd1c64ca616c75c0c0a1f2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 277 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/linkedin.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"448dad2186db8544fe82c96fa9b8d7a5d90078b56f8fa374f3807a9584abe9b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 322 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"916a9ccc6a6472d9083f773d2086e795192cd252f945f9c3cb03c87fb7f88c60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 378 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb13aeca8024af8591e3f3f8225f154ccd6d39713af43bbc15247ca8603f75b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 408 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1ef7e7ccf371fce6818b6b219efaf9e1362fbdc4ff5057cb9a0d563246493a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 415 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a9368394642fbfbeafef5b392485a60bd75f7579c356fa9b52eacc5507f9eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 443 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d5575b4411418d6b17929c564b94f0786a9fd1bd49764b609577ae8d95b4e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 449 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mastodon.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f7e01eac0da5fcad406ff249b31831e6a1753ed8977a2a1df67c1a9f6b2de1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 304 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bb1be23282318a18bfae55cec6eb15086ec118c605e04805e72b88851fadef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 308 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"84960fd7f99c0d74ea6b88befcecc66e71e7cfc2e9fc0d23248598ef074a9e3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 311 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3425f3aed0a486097a24dd490b3f1d1a9a210e8468f37ab44164aed1fbef104f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 376 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"922b0b6ca12911bd8d50d75cd0f4406b05a974ee9bb32c9a49217bc3105a518e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 430 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"596fbe1e0ac63e434a9dbeef5f6c070f1ec093a4acf44760e7090c159093cfde"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 462 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e88afb25f045e0be5386f3be0bcdaf59c244d9d87ef1ff9f82b57ae65bdd988"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 467 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1ade56e1feeecc249fca3ee99879c3ffc2e2973bc68fe51f25d507ff6d5603"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 470 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b025c7eefa0d8e3241d2c46cf0b063d26a1ddf8c782fc1f9e82d8b78aca18c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 482 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"945393bfef74fb9ef301013af61467c47b19a6670160a1d399e75feaada32b63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 499 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6010761d8c887bab85a37481d8d9a900d6bf42fbddc00512995dfead7f6f20a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 535 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/matrix.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f02a7f87c45829a95cc9aed86d4dac1aa89c047349897a9524e6b4d7f2233f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 84 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"45918f50888a8efc82ee1537c779a675dac2ce4e92f565187e5aa26de933d1b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 127 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90626af1aa82e6e5f664025acd6c327875281c8de7b7aaa6c270d2bf8918198"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 262 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eadb301baf9513b67d5666dd49360a55ea1fca1b7dcd42ff51577f199b328c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 268 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b94f40cb13386ea2f9b8e1f8d6a574b4ffdca3dc52ae95b10c789638662858c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 297 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"0430c3f64c5f8d707c9dd740dc73e9e5648070debab2c5bfeca4bb0230c01901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 320 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6175b5c578b258784207667e092825529779d0c442052ed17a9f5a4585d6bcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 341 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e40983a103c07805662fb86a5499eacb42f4cefc6cca2d4e805ee87ab483a1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 352 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff3d3be3fc4dc5343ab2bd02d3c2f5556f46b06c58b0714baba869f69231dcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 362 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd2dc03e9276b0923054bbf1f2c72bdaed50a3f348149ea2e14098c65e96a28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 377 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f4f5446f8936b2c7bcb68c03ae4f74337b7b2523f1ac65512fccffdacf7143"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 459 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mattermost.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"966c2a047b206c29d15995b88351b21de17d2f11236d27ff11a85519eb2e38b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 273 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc5f131999f0d60acaa42aaf2fe4cf8d728178679071041e06576223e9bfca9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 336 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3141f6a01e37e9c3c162d2702c1dbb8257ae3f12cf1336e97fbea69f1823359"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 341 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ece81365ca42557a760e97c72eaf54b32f68637b429087785154c43b0743fc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 351 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cfcff907fe7b62728db0e3119c61b34cb45dd57249dfe63bb4230ad85c98aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 400 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/messenger.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c04c7f264405b061fc892e1d669f0ac0430c950781fa69477a4de8ec637be38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 250 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mqtt.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bb62a151649763b2d0b42f4776a83bf6343957ef681b61eb4fc73474d5f51a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 295 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mqtt.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc5e7be2933ee2169ec15b06fa36ecb989eda02373213cbbc3f2394f9431cda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 374 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mqtt.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"914cfe1e936d13d54cd43a46d9ae52241c34980a1ae4a537f85de4e6f0cdb306"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 288 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c2d8c327ce6069de6be7de41abf9d6f80079fd074974d26954a4e468b48de6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e48e8eb3355322b217f67fa09ea59c71312b421185179b0da34040960b36a37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 344 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"21621ecaf55e4c8be285a157052388ab4aeb9ccc231837ec6afe6ca6facfe12f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 360 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"793657b3c06e6e73df0a3a6956f2012e1da29c36e878388c4b698f7a72003896"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 366 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b012807a69215fd1a0deef54fb19398c07c30329200c8aedf3ca63416d969e96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 452 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/mumble.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac82ce263312bc98fbcd006a75ebc70a6ebe452a4986bf443ae5dcb76b49f28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cba31d18323faad0f1afaa644788fca01bf77720f19fe27538ae993ae38051b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 215 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"748a428bba456b5b74046b62194d544786e84300427baada6326a13253b4949f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 228 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e82a671c6e2687ce6ed7ebe1308debd9c965a2d112351ae206663aa1407eb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 278 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f9a976f3aca433859d1c9b72f9236bc946640cae3799b7f57b11cf4ca9dbf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 292 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f5adac674c2002eee61eb20f3f75173af8e86c403d93811f2d7ac26a0995fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 306 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nextcloud.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f61db2cc3bafcc35389ad45df092fd9f7bd7e27196a47b390a2c24b99b8938"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 142 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"59246ea0433d89d767b38be03eb4dd666ea0b5047522073edcb192bd86e2a54b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 168 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee222d581d7be77582c72ce736ee009c388d4162591f7c7ba3cca915c25d3b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 204 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"345c14976d3c17b4850535155b5234145747aa500ed400f82bb27ade385d06fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 211 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c7b082d981b0bf0c943fd7e0cae2dd40fd7ba5fce628d17758d2ecab147176"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 237 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"849de8dc77b2a51d50c7ca10276089c094c0911c9fe7332a13ca17295510375e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 247 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65895746be3c97138a73cfe501ce0b5f98eec5cfeb137f3755874c904da372f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 263 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d38aabf8d414207c1cc0d759dfe97e089f13a3cb74edf62764ddadea3a1c69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 267 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6185a0964d75f806f353403eccb30dfb04c35af4e23d7e09dbb6ade91af4457c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 381 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c65d580dee4ee7c78054aaea33c2f8b8c6bc144fa4b4521c17312d1da11b33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/nostr.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebbd3ec8f12ba4308427d5b5723fdf34bbb0b7ff14ec09ecb925fd007d96e6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 154 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/ntfy.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d48938b5aec72f8cb6d23fa7d9f549d7b7a8833ae24c7f2d6e6ab1fe6eb154"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 187 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/ntfy.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d4e51e8e4dc2a8fba0dd0544d56f33726a4469f69e56042b85422a115affca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 196 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/ntfy.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5846f4558d3975c48777822c8747ebd3e0be9cb4c10ae7a713b05882e66ec0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 203 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/ntfy.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"164bba63ead79a8f6e5868bde29133a7cd17d60870fe729930cba3630d521882"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 298 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/ntfy.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e52b5540917017a627704ef21771fab590d4dad6a3910fa49fef149703b2292"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 225 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/pumble.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eab818b911f126a94bac851b4c62c9b4b28b4b116ee2b6cfa24868ca314179b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 270 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/pumble.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"917cfaeae691c5c6c5270fdec2d1e0f1ca10626772eca98de2387b53d845b171"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 275 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/pumble.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaba3a5638ab2607e6ac2372abbca46efe6474308866d01643624ad6aa91141"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 285 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/pumble.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3477cd0d2a5bb53d447d5b9c6c21da631f022ad3bb35a21f60b788c86c95e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd74fa0be4726e5782a07c2aa6ca1a23e67f57f688303872c82105c7066d6dfc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 325 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34db29bdb95ae2c80ffc01fb6a3c4472bdceadd56bf75b468356efb211c945f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 331 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"df329bd85d090ed58d69d0c436f1bb03cc7d7aaeeac913257335d2fb720ee11c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 406 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"61284997d1267f78804672c5756c2855ef5b01750479063b3a66a0ea57088cee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 424 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd4f4d800e8ba1a69c0cbf80a37a09788f9fd3c5e39bd34373a92ce221f8e8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 430 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3831ced3ea8034e96b5ef600ba94645436f75883e5d21fe9867c56200168f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 440 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/reddit.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"723f351e4aa5224d9fb728bfeab2e2a6b372228b1bcfd6127dd6eafee1b78c54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 190 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66e2a854f41b929cf6d472c6ed42ee9aceb8e8a53229f08aef345249e3e0fc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 315 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c203684e12a7098d94d45da2c436ea1d905310b9f82cc1825769cc7cd7e8b66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 347 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92b8ec32acb861b86d0ad2d6610810705e15dc07d62c033552f9fae3e54b308"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 368 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f313bd958488b88d6aca97a4ff292d005e3076c34c6fdb90cc7e26b4f64add6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 394 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"755a4984e813094beedd173ea1765437e4784c518f32c5ebaa7651adb4ef36cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 431 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"da05aa77bbe3503af62ba89dd7751d80aa0e89ffaa9688e3bab58f548f0ca090"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 446 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"d627a8c6db8e7a69747a2ebaf72745c28124ade43b641db65e04ccbca9437a0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 460 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/revolt.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb4401de80d644e09eea3907f36ab8469a8658e9ceb50f33dcee62c6e77f97b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 148 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"123de831397d213a546412cd9ad2ae009b613f84cb2dfcb87453310f9122b5f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 184 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a362a5eff12249b3be3639d0aa2588d6eda9c39e28ac0690411e9aa841d84af9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a57a1372dc9ef8ce94b9d18f2c253cf6e17f5f41173920057334a69d3eff447"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 243 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ec7cc99e3ff55d9269e085eaee32b9624d206389838213efc72a6fb6fdeace"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 249 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0bb61f2b4f3afdacb13375ea6ec263c8a91254366d6a6aca55688a11ea1eb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 259 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/rocketchat.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"08580b0e0152c22c0d68d22d95d15dca62601a8ba6e236cc762fe03867b15813"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 115 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/signal.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b6ef3fb27a92ab40a5c8b36bedcf75f57d07daf90fc193040ad4a31d2c1c71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/signal.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"847416071930ba32c0e3caf3236eac406edc55cb1eb5e386cf8f6d62bf2b92d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2ccb84104ad20aa7558f9476e90ab58bcac1584fb344bc6427d626ce456b4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 189 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3799db029f1b990ebf98b32c7c3e98f2b697b96bd3500d7a2e31281c3aaf21d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 239 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"23381d0badcfcf17e5c6ef3bded2f85381c86b1f0aa1aa2ddf93757200f6e3a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 252 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe03b456faf796bb7f9ae78439d0b02463c0bd3db7d0ca56d47625aa2b44f8e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 279 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edb1c3f50825a1203969bbcbc603103eabdfc598fe20502a48d52c35062dfd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 300 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd7e226fb22ffa15b7404035252b365b0ac4abbd8d47affb9ba92c389c710f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 323 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"15420b60022a9d51e3fb71d7785a1080ccced45a1d4391e9791c09c93c77b2bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 332 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"733da9f92ddb22edc4c91015d941ce4e4479abea8ee7ae99ce702fdace0b1cdd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 347 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"948cd9ff8e21f9fe5f53816f979ac43b06f89b4b20002fde97baf7bd7781a6f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 359 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c005c6802c7c9aca155458a4810f7b4d778d1e49ccf247f146c1e96f8a14de95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 364 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"51185f1ccae0703baf8d956a348addbe9e80a2cc69b29b36194eb0c2efff02e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 373 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/slack.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdb95e4bcb9e2b69cfc2143203d71a6b2e880e31bccc68fadf54510024989bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 164 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/teams.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb5cf949fd62659adaf9c5557bac2156e8fd02937ba505c861c94882024ff9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 288 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/teams.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79e3021b2c96f1eb1e216305462a6d52f6e62247e86a6cdee23f4db8871957f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 323 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/teams.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82e83cd6bc4777e28bf71ec038aaec515fb6168ba034b75d602e98a496b7cba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/teams.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f6ef113a69c29d6789c12538bd043a8936cf47658e0bff92c09b74883a5b6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 338 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/teams.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"522da42f4e9745e15a202669d5357292a9f5aed6e1e91383e8131e149514db37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 224 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"130a3ba710a641c39c13d8d6fa7fe4e374241f4aceb5b8ace60519bcd2b92e0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 262 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c64a3b3b53d6e4673c180eb5d832162df5a7ff5983a56016d09dd8d7fb4c246"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 293 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d7ddcb7ae1c92b58bd5e70accfde0aaedd92a9b97344cab475702687dc4596"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 333 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cdfea013e0e593fa3de667484604076db0f192c1b012908f4c99a36400ecad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 360 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17a0e73b559ebea9726651351b7e4eafd196a775b43af6e2c137cd92d069850"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 391 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"698dbf3a76eb20dd2f2c2b24d1adb25a809e78182024a2cf9af37141e8697b54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 464 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e998bfbbc8809df558f53123b3eb4b6108c77a44d0d26af3b7bde99f8b3594f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 468 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"41393934febca5378763a7a2d42a4fe67aca74c1af818742c7d6ec1a69bfd9b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 477 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"337a6e27da12aff6a0df270799faadca7fcee92d4e9e194a9e07bd9a5bb9f255"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 579 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f866067cd09aa26dd5ad615ce6f945fe91cb08ffe4315045b343813b7b9f0ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 599 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81f58b5c4bac1ba86b5eb1dd59f9a264cf9cf025001b94b013ce2d564d4df4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 604 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ddfdfb17e285082980c396d4983c0b57a7b3066c76ffcd4b7585274be5cc40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 608 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f554c9bf29da02b7cbd083d36c27e63afa5dad96c9081d855126595734046e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 661 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffba4c8918b29793410ba56f7f20d8c2b14bd0affd90e3583a6d2c14bb810f4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 674 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3f36eac89eaa82cb15b97457b7c13f427a85247c87917c2577f13960ae7fb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 683 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0031c75325b84689704198aee5e0430ae52d860904bca03ed4fb7a60ecda2a9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 691 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"c109d7e6053aac26d24080223c18e8dae430faaa7baa1adf106c00788c04c6ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 701 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"23afac5540e557330fb4b60c31af550aa9066c3ffa37f2fc89f23e95cd6cf08d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 748 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"224ef65689d401829512c7428bb1bc83e09223bdc43ac07734280adf09ef0e59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 859 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d5b9fd924fe9a89853d849de83dd074a3d4fd9c43e5aeb21301341e6ac8702"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 869 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"492556415987d92c9e4468f0e3478fed94b5c89c328b91182b8b7b9ef1a20430"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 886 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6063c2b1bda17076d1ef49d1254482506d84805df10ba24eac0dbad2067e03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 893 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4832910235cdda7f2680e6b14d866b69a35104537878543687e6c27f99a83a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 900 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bd7022d2518ed86fad1d25d2cdfa69344154efc3243c0d0b5a3c2d1a6af365"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 907 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"069abf7dab4b20c0609cfac16ac01577946cf2d7d03feeb7085b010bf25c75d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 994 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/telegram.rs"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"437d0e9ca156be8c366d0ddb529d66a14d068213b47274fb9b0a8f1e78bb35b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 193 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/threema.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e9b5035079518abdd86e707d4e6f71dacd796ed5b4895fa75f15b157be98fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 209 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/threema.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf8244f3ddb024c23e6fb81aa2ff2582a82340ef27d0cd452db9e8419700021"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 214 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/threema.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2341dcf1dd2df49b55eaef93b88c41180fbe87b2e88279d37ba72f47c8cf5253"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/threema.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c96a0f6cf570add6da478bb56026069021ef9dc96590d797e766f527d0ad9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 273 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f0533b15ae5af3d1892ef4987f8c6656ce52202c6c7c39f7cfcaa53a4ab25d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 303 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"87aff8b7ded8c9cbe9c3d749844c0881ce4fce509955657f0441406fe71e9b99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4903bf2f409ba56b372804221dab70da4d7345b52803638a5e0c40ce6e276e89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 353 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8747a302c0beb293ff040046d0522d5d5a2b2cea0ca344823df55c62a73560bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 390 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twist.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c4959c316d0147de16164d2f9fd0e3d6a94408fbd400e6eeeed0b8f6278291"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 147 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twitch.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ac04f92f0b8aee809fcde092d6efb2e1dd04e2f8c4acd4874f437cd6046b93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 201 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twitch.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e4503f716a8b46032099d4617bb12c64379f2683876ceb78d2410d06501496"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 268 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/twitch.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01507e6420f522fede9263fc3e7657202a76146bdb3256cebb6b934eff2f32f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 162 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb01ea7e7dba973fc760edca74cd78e79a95a150ec1c1de16d007a43fdae966"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 209 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30547bdfe00abdf8a5100c736e4fae86f193fb486fd7b90d862da4891966a67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba563714049332c1198e17fdefb8efacefd4de473bfc35eff1e47eb66551ca25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 345 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8510659f35dfbdc68efbc4ca5b1207862bdb5f2a25ef015a229e505627a86b5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 350 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7c53bc79d89dda096e20160d44ccd8a8332a31631e70711a00f501b4394fb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 360 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2946c97d3256c327cf53f3ed7cd5d57a9f99bb30a2956a7ce890a0d2371179"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 407 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/viber.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a205a880bff94dbf31aab0a4d042f47e7dd49945cc2f6768b93b8d3498e0f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 247 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7401a399852491ae3d54c760d1e7b46417a8d8b38fbb8809b7edcefbf7807f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 269 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b1645faef12d696679d85ab28769acc930132ac58331a6469d0ca67aaba76d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 282 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5afb08b158b1836fbf993e856c9c3235f01ec347860ce611c04b5b6f862c0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 307 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace76fc66b7b5600278832d01622462c9d174aa26423003705c63330d9f2b995"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 366 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"84870b9555e2835034d927d78825dab9dcb83f4f7dd568418cc6cc52af6f3081"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 372 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6962477ac963844bcb49f9f406bc87e7ab1af0958f76bbc80b1033442dc7122c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 439 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webex.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b6e1de798ce45770c1d80e3adfd738d74b8f8b677e658c3c0a080f20e982bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 186 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webhook.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c36ce5c2b135184d4e0bd6ad285ba9e5d29788ae1c08b7ed5aa438e5d17979f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 275 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webhook.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfc88259ef8c208620650c3535dac94eb399036337424177576528b962f6833"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 280 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webhook.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0963f5183ab0c1229ed7318bb2241617b7220f411e2da2550a2bcb46e6ff7428"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 290 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/webhook.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3655ea39bb2423698296aa3f2589b2a8d6f50c6db46890477e0821bb205a7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 289 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/wecom.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f143cb7cf69b12c7a1f3f714b3d06e71f8266d2730c7d59bbe18808bedbae5c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 536 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/wecom.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"0807d26e9135c73892e6497cb818d9ec1b51524b732c6e501ae4bf9f87f79b43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 543 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/wecom.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7e10a91e68e2b529d418e2f8ac1377ed4e62b2229ba6e229940db3028b9422"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 109 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0caecb0a42573d84876145e5af579e0a36014962761b8a5dce45cc42255263"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 157 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf59cbe23890ae5456a5d3a5d74e4601f99feb69d2c901413a84d1f4445e2ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 199 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab017a65c87001f46f641acb9ac833f1f82381605cd40f99a39065316cba0b6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 205 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f628478aed6d7dcd91586e6ea24ff4044aa16ecb6045828bdfa964d90b6c5285"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 206 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/whatsapp.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5369bb1fa03bb3f9d6f8a0a3f657386d7305b9b2b134396c917098453427ff0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/xmpp.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9593b5a237cf02f7431f386a27d6a3eee65341f76c49de743f676c22ca3d76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 196 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cdaadb6f12e0279ba057e617097d7ad35a2cbd0ad54318ca05b214524d72d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 200 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1ee712647f1810dcba90a698268f8b2faf2842f94dd5c6fb55ee3a864e50dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 236 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c060b3a70c2eaa6cbec496bd71918242e597fcac8420e086091d138ec36ae03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 247 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d6940f7a98e8cea2f73d55be6195d90d83f7440e3a7b6b1f53fe5dd88750f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 285 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4fd014fb0f96055438f9a1ca0b31827047cfb5d60f306b2d58e5bc07cabee7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 291 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c5b5db8fdbc28ed77d92d980431020890c4fb3a16da06eaa5fbf81c86ec67b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 307 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-channels/src/zulip.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"575862c763142111df06eee12362fcdccea3ca54c4fb3a611e57c85d023decab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1067 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"c664d13d8498e31b693c949dcfdff13fb4f6b554bddad2bc23a476bdca7ad157"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1078 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9067be6a91c445adfd94a677f017f49b46b76521108d34fc85255115bd9f99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1082 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3bd40c681bb6c453253146b8a78d19964f92461aea703a85cd80041822ed6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1766 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a819d40a49c4a657d039350e0350ef774a5e38e881c5cb97c9495c0b0e96b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1778 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef601ce05ba988b9350bbca24f9dfbd5d8f973b16fa01406c24667600975974"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1820 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"40007f947f60bd6535209c872d542686edb812680f0d30e634a9ae1be210aa10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1826 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/channel_bridge.rs"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf53737df951112057166544273c284815a25529c4eff4d6cf7714e3d4722e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 359 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/openai_compat.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed77688d7e086d76cecc3c0b2fd9d399511cb69f3a0ffd72181492dc51a93751"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcf2a7e4adad0cf24490372c6aa56c1a02109f3dfb99576cdc84d0444a5937d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ca9280e09c2abd090d68c67ecd5e38c1ea87dab1ce44481d80f9221d0b8f29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 164 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"083171ccdcc7be8e68a9e8211af0f9f967b51e1c7b58289e9c084e1316fa0d8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 429 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f539e8539b7dd02882763be748afc4f257864c75517ee832d1d01d2c507f1a6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 656 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebdb98a36e52480f33df70d100eacb8ba6dd326c16526c5e71f2d0b56ba2d75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 686 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46e45db438aefffcbab2409e1bb919c30feb1f88f1926d867ac19e6b88e8e77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 727 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1272c18bbc8169b61b3e66f70c71d2bfcecc2385b7d428909c03cd0e3a7ffcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 763 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8dff6d37420a8435efe315fbe0291409e8d96f716fbdc7f47ad4c19e1b5e24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 993 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4b37c601e3f77ff9e82f7bde020bbe147c41265384efce993869704ee246c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 998 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78d5d8af5732bc25a88f88e76c80ed4450e088c2a4e82d0f8f64cff77df9248"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1055 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59dc8ff194042301286dba55ea796b57d2cf82cec2e19046db1eebb83fa8ec3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1285 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"171bc244418994411fd885cafd70fd9487bffcb0753374dcab52ff477f2cf981"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1318 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6adb4f1c574dbb7447af590f6076fc9f73ecabd54c8cc2a9181de4cc54b8764"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1581 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fa26adb9c0e28bbf3503b0b75e59005fd5b4c71ff332d5d1ade58d541fc5c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3346 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7eeeb6ed38de8e8f7893cba127f0471cb5f601a3a212af792d8bf3106635ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3354 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3354}}}],"partialFingerprints":{"codehealthFindingId/v1":"effbefa6f5d71108451676402dcfed8b02b23c4f2c760ee9e3a0e301a349d7c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c6b712be654f07afbe8dab288440293a914f18f66f7510656a6df08629621f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3412 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6d3942db8d49046130f39a013bd1cf8a0776cd9046dbdee66d02837962eb3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3437 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdb383ff582fe8e6fa0b982ff1f0160dc489a34ead58d39fb54364e19e35a24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3459 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"56401d53ec5afef2ac8fb4a1fb91cfc68041f9790c78afd5d18c92068294886e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3727 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3727}}}],"partialFingerprints":{"codehealthFindingId/v1":"9791ba69e4dbe73ac69aca62e7ab6cf0c8ec1316cbf1a65d1ce16e208f3f454b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3822 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3822}}}],"partialFingerprints":{"codehealthFindingId/v1":"28beb673a2a5b46af7028b30397fff8114425fe0410f347bfcfd698dffdb102d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3904 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3904}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b70737abbca2420aa5cb77205769aada91b2123b881051056fa1e69f19afb76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3977 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":3977}}}],"partialFingerprints":{"codehealthFindingId/v1":"218ff9d1877f29fbbd5722747019e4c5c06e4e890b5559e59ea7250d7ce061c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4051 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4051}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c097711308c76470d0ea520937f4cb316fb8c1c699be31e9e9339e3fea09a04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4238 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":4238}}}],"partialFingerprints":{"codehealthFindingId/v1":"17815b46a6163af72dd8eb98ee2590807d243887ff532af5556ace8b2814dd2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6645 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":6645}}}],"partialFingerprints":{"codehealthFindingId/v1":"d558263741c3b09106863085a552838b711e07ef0c40c09f5657549d77368976"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6678 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":6678}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1ae671d565191e4476ad043382c8a89032ae73f5d7a7941be0cd12c2d14cac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9929 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":9929}}}],"partialFingerprints":{"codehealthFindingId/v1":"427e18b482b02ee7465ebb870a1af4cc242d5151c8e9eefb22a446af84b5e3c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 10650 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10650}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84301e41b6b5b0fc0016b7e9d1ff485ad18336d0597dcaf2734aae1aba19b69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 10659 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10659}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3d652545ad40d777de6c0540a22f26f5d98034633175514f395111b3b677f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 10696 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":10696}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdea8060ffe9198d5689043fbafe0a455677777001cf86ae93190b7a6d39bf29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 11557 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/routes.rs"},"region":{"startLine":11557}}}],"partialFingerprints":{"codehealthFindingId/v1":"969b62639a8f61d7774927de7b147eb9221bff6732c92d9f75b440d298a08a99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 132 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"367ae477ab15c0ca28b7bf8c2a98a3e106d516f97e91caaf7212e0cddcbb0bf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a75d48806aadbb0f663a4bf9c2915b8bb3e6ab1fd785a758c1784d2a988b89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 833 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c495057dbdb777aaf6e7f7771fd1ac3329e2c022186d54ab4c3de7c16531a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 838 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4e78a8d802f97b82fb054157cbc49e11f753af0d45c49ffaa08a9aaeff5392"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 882 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bef65b7b43ea144a02a64c3b3bb33e77521769a936992f0cd3a96fbcfffd1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 883 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b635121a331dc979782dacb26c468163e58de24eda14d4ff2933342f2925c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 884 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/server.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf046c6e818db7888225aaacdffba3b1d593f68b3026096d2938bf3da216a636"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 845 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d2b723bf7ea9823682f4723295e2434909b0db596c1372293fba54ed003ed8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 857 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9409c6eb56a9390a68bb106f3ab18ead25caaa59f0aaee6bd008bac5f987fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 941 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"608206ea3da4952e840ae1e1fae4f7605630d7d92fa6e28832943064452fe649"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 961 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/src/ws.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1faa90e8ba7d23767e993147ab75222864451591cd49f28c63624a83619d7c8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060daemon_client\u0060 turns every \u0060Err\u0060 into \u0060reqwest::blocking::Client::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-cli/src/tui/event.rs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6d9e162706034b3494a46bb193c2239363117404d4e6a0392ce24b689d4633"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060build_mcp_summary\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/kernel.rs"},"region":{"startLine":6445}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cddcecac961d879734fb6d6f392cae4ffaac5e925688fe1aecd75801173e40"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load\u0060 turns every \u0060Err\u0060 into \u0060Self::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. 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 arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-runtime/src/workspace_context.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb352c2d799ccf5eedb24e4ff19596a371955a7d2f33e4fd95cef324e21ff528"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060schedulerPage.formatTime\u0060 swallows every exception into \u0060return \u0027-\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c9c63f4b22f2e71eebb89a79cd958f57f15637fcbb13e529c736efbfd9428a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060schedulerPage.relativeTime\u0060 swallows every exception into \u0060return \u0027never\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-api/static/js/pages/scheduler.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"777d366650aeb670b60570557756237cd999c33af921674ac62c3250e3eebd5a"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060model.contains(\u0022claude-opus-4-6\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060model.contains(\u0022claude-opus-4-6\u0022)\u0060 also satisfies \u0060model.contains(\u0022opus-4-6\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a9dbe958738df2619dfbda9f051adc0931a7ce2b9613615b1c8f98f3fece58"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060model.contains(\u0022claude-sonnet-4-6\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060model.contains(\u0022claude-sonnet-4-6\u0022)\u0060 also satisfies \u0060model.contains(\u0022sonnet-4-6\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c8fb62ecf30cebf34dea277e39866c362d77139c1cc05f0d3943c98cac06be"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060model.contains(\u0022mistral-small\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060model.contains(\u0022mistral-small\u0022)\u0060 also satisfies \u0060model.contains(\u0022mistral\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openfang-kernel/src/metering.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ef16c2b8106e3ea6343a9b6b9707f40219485b0d479786fd4d4a5a4aa6dcb4"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":120,"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."]}]}