{"$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":"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"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":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Runner.run_loop (cyclomatic 24): Runner.run_loop has cyclomatic complexity 24 (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":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5c86ff8bf25e68c1e1f7a63570642f226a42470bffa82c5458087d37061dd5"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.apply_runtime_event (cyclomatic 23): Strategy.apply_runtime_event has cyclomatic complexity 23 (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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6470dc8070d7eb7d9c002f9b13831b54080b997c7740bdc28d279051837d0f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolExec.exec (cyclomatic 19): ToolExec.exec has cyclomatic complexity 19 (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":"lib/jido_ai/directive/tool_exec.ex"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d835ea68b861479e2283b2f68469f4ff23ad854755ae2dc1746651929e9252b"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.apply_worker_event (cyclomatic 18): Strategy.apply_worker_event has cyclomatic complexity 18 (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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"779220e020270d7e2fecba34b7b3fa3f4f80df7e38c3132e9a8a659a96c4f90e"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.run_loop (cognitive 28): Runner.run_loop has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 8 (20 pts), if/else 3 (7 pts), boolean chains 1 (nesting depth added 16). 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":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96d28d06a3eea05bf24ba0cb46c617bfc7d523043a16e2ae411795ee79abd38"}},{"ruleId":"D2","level":"warning","message":{"text":"Skill.show_skill (cognitive 28): Skill.show_skill has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (27 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":"lib/mix/tasks/jido_ai.skill.ex"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ff910f14e9d78b1283e67d20647e013b418d7c87484addc2c61b37a7d17f98"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.apply_runtime_event (cognitive 19): Strategy.apply_runtime_event has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 4). 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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"326fe8fa2ee043c65aade4f4e3720cb1556b76e21802ab59ea7d6c563378e732"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.apply_worker_event (cognitive 18): Strategy.apply_worker_event has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, match/switch 1 (nesting depth added 3). 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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"380a1de870a392a4a3d29c81361c8ea8aef8f6c53f563d7ecd822dba17637698"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.process_start (cognitive 18): Strategy.process_start has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, match/switch 1 (2 pts) (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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2b49c1d933231ced8aa0848c317af3412c559f7840316d6b81aa019d0830d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.start_tool_round (cognitive 16): Strategy.start_tool_round has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, match/switch 3 (6 pts), if/else 2 (nesting depth added 3). 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":"lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"39605d675d96ed4acde9d509e55c84d1367d5538e763c11b7f33268b9a41b0b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: react/strategy.ex: FileTooLong \u2014 2241 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 156 functions. The bar is 500 significant lines; this is 1741 over it, 4.48\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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b040ed9e9cc03f21d7c39545bc647b34a8a46d706941bf1269f907ad9f4bec8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: react/runner.ex: FileTooLong \u2014 1643 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 137 functions. The bar is 500 significant lines; this is 1143 over it, 3.29\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":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9573b8acdee336fe82f6f96ff15518f5a717fa37aff5c301d64f021264ab12ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tree_of_thoughts/machine.ex: FileTooLong \u2014 904 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 59 functions. The bar is 500 significant lines; this is 404 over it, 1.81\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":"lib/jido_ai/reasoning/tree_of_thoughts/machine.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bea91cc39713f2e9e4b3b5dc69bd59741d196f950ac2391005b7ca4e303b6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jido_ai/turn.ex: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 89 functions. The bar is 500 significant lines; this is 377 over it, 1.75\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":"lib/jido_ai/turn.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"617a93d8dea99b0655e27efbd7e32731cb8cd30ef8abf54d37a96b4b38744ad3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tree_of_thoughts/strategy.ex: FileTooLong \u2014 800 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 59 functions. The bar is 500 significant lines; this is 300 over it, 1.60\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":"lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd606eebc08d8becb45cf13bbbde62170a5f3e53d00737ba3969b7c9b3f613e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Request: TooManyFunctions \u2014 47 functions. The bar is 30 functions; this is 17 over it, 1.57\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/request.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af05116025b1aff63cd9b6b513a8bb20486ef18e1c3c440c9ba7c82bff55895e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Context: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/context.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d987b31ff3fe0069c38ef08b2f38255e0ca20fe4d58e7ac6861292c3b8c2c9c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Strategy: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/adaptive/strategy.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384960aa65428d0381db266dd4fbdaae2a167ccf54a9df39f2c0ca14568eb95"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Strategy: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/trm/strategy.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a992f4ca94045f3ef31779c6ac7e8830ca8ae23d11edb752e16e88b9a1de7f59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: AI: TooManyFunctions \u2014 41 functions. The bar is 30 functions; this is 11 over it, 1.37\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df19846376ed1b2d8776d00f814351a6dd3ef1294a74b8c2c8d6f081b66448f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Output: TooManyFunctions \u2014 40 functions. The bar is 30 functions; this is 10 over it, 1.33\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/output.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01d2f50f44c663a2da03c9da6052225437bdefe5eee9af423d6cb950429d466"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graph_of_thoughts/machine.ex: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 151 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/graph_of_thoughts/machine.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba13026b2c5a0fb24c4df4f2ba9fba20d1b17b66b6efca73d6cd9131e443c2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chain_of_thought/strategy.ex: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 52 functions. The bar is 500 significant lines; this is 149 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3515edf7739cdd22e9250f8450e8bc10589c83fb0f8eec9b96173dd8f5bb30e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Helpers: TooManyFunctions \u2014 37 functions. The bar is 30 functions; this is 7 over it, 1.23\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/helpers.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5be0fdeff007ef2374e96cae67bf877670a41274d02657a94612a51a8a6ebd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jido_ai/agent.ex: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 80 over it, 1.16\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":"lib/jido_ai/agent.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0277e720780a2174c395a0e1e1ee3dcfecec102b3d7630869dcc971b99c52b20"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Config: TooManyFunctions \u2014 34 functions. The bar is 30 functions; this is 4 over it, 1.13\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/config.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a00e948fab0fced4ad9533d56d7223c31ed5f72626628b7ca9a614243c918a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Loader: TooManyFunctions \u2014 32 functions. The bar is 30 functions; this is 2 over it, 1.07\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/skill/loader.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fbd5f7fe0247395144cc83633233fcd8c54202df9b1cec7785dfefcb0e08c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worker/strategy.ex: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 34 functions. The bar is 500 significant lines; this is 29 over it, 1.06\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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"054c7c83edb035d63bafdd4052430b6c4ab83be8f800da4cbbc21f83d6a23489"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skill/resources.ex: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 60 functions. The bar is 500 significant lines; this is 28 over it, 1.06\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":"lib/jido_ai/skill/resources.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd341badf85f5f5cae16ff77dbc351380a1bc659038648bc94af944c0e543d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Discovery: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/skill/discovery.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a313b1dbbe81739c39e04fa321da008b8769eacfd0a8d60a7dacc4936b2b880"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: ResourceProvider: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/skill/resource_provider.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace54709b2b4a02c48d1be843534844ccfe151c02c5b186f9a189d18135ac2c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:143-154 | lib/jido_ai/reasoning/chain_of_thought/strategy.ex:245-256 | lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:218-229 | lib/jido_ai/reasoning/react/strategy.ex:551-562 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:314-325 | lib/jido_ai/reasoning/trm/strategy.ex:226-237 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"df55218579ebbaa837e2a51504e89973bd44d237340fd276b6048bc7c7e0f670"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/jido_ai/actions/llm/chat.ex:192-199 | lib/jido_ai/actions/llm/complete.ex:169-176 | lib/jido_ai/actions/llm/embed.ex:189-196 | lib/jido_ai/actions/llm/generate_object.ex:216-223 \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":"lib/jido_ai/actions/llm/chat.ex"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f8441ecbee68da8f707ba01c0620c2c993fce824f6b8f92ab58802eab6853b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/jido_ai/reasoning/adaptive/cli_adapter.ex:74-98 | lib/jido_ai/reasoning/chain_of_draft/cli_adapter.ex:71-95 | lib/jido_ai/reasoning/chain_of_thought/cli_adapter.ex:76-100 | lib/jido_ai/reasoning/react/cli_adapter.ex:118-143 \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":"lib/jido_ai/reasoning/adaptive/cli_adapter.ex"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4ffcc9d117f4e701835f0870e24d0822ea3682e925d9faea6be0c8c8e54a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (117 corresponding lines): lib/jido_ai/directive/llm_generate.ex:85-201 | lib/jido_ai/directive/llm_stream.ex:97-224 \u2014 These two members are one piece of code written twice and then edited apart: 117 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":"lib/jido_ai/directive/llm_generate.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cdfd5312c758762914c21742a91dff1b5a89242b4b718758ee43855490b35c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:168-217 | lib/jido_ai/reasoning/react/worker/strategy.ex:168-226 \u2014 These two members are one piece of code written twice and then edited apart: 50 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd91c22df1ab56bee13c4d26c45bef1e9ebaaa9960c309ca23e18d6b2f44a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): lib/jido_ai/actions/llm/chat.ex:86-113 | lib/jido_ai/actions/llm/complete.ex:76-102 | lib/jido_ai/actions/llm/generate_object.ex:102-136 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"lib/jido_ai/actions/llm/chat.ex"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e8dc57515ed7d96c4a0408ee7d2b0f2796ab80a52ea5ad9e1cba59fbe9ea66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lib/jido_ai/reasoning/react/runner.ex:965-991 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:647-673 \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":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbd12b8a5fcbc90e06a588e380cc32a7b8788b6134fa3c75960d425b0a5d77a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex:42-66 | lib/jido_ai/reasoning/tree_of_thoughts/cli_adapter.ex:53-81 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69ca6fc50f5854feca2e2a5dead187c8613aa85c05dc9dbcd496d9483a44f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 33\u002B corresponding lines): lib/jido_ai/actions/llm/chat.ex:127-160 | lib/jido_ai/actions/llm/generate_object.ex:151-184 | lib/jido_ai/actions/planning/decompose.ex:196-228 | lib/jido_ai/actions/planning/plan.ex:207-239 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/actions/llm/chat.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c887cc6fa66e3aa32f2358321843aade9e97ead53bddc9644f06405a985b13c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lib/jido_ai/context.ex:504-525 | lib/jido_ai/turn.ex:965-986 \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":"lib/jido_ai/context.ex"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d57b8248f43b4722e918931d6665533fa704a326fa9e7be27ce9d5048268e83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/jido_ai/reasoning/helpers.ex:506-522 | lib/jido_ai/reasoning/react/runner.ex:1109-1129 \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":"lib/jido_ai/reasoning/helpers.ex"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbd745229696c340c18ce5cb31a68ccc8cc75d45fae4affd5cf59e76281b637"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/jido_ai/skill/agent_integration.ex:148-161 | lib/jido_ai/skill/resource_provider.ex:192-204 \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":"lib/jido_ai/skill/agent_integration.ex"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4496ea31d9fb553e93e28d67b429a653c6814b6cae354cd943953579f37570"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lib/jido_ai/turn.ex:722-744 | lib/jido_ai/turn.ex:748-773 | lib/jido_ai/turn.ex:777-801 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/turn.ex"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"1835fc5749601f1263a60d5d2244385a98515a773316dd63e9d87648e9e9cdf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/jido_ai/reasoning/chain_of_draft/strategy.ex:104-116 | lib/jido_ai/reasoning/chain_of_thought/strategy.ex:145-157 \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":"lib/jido_ai/reasoning/chain_of_draft/strategy.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6444cca4cc7359b942fa8a0319e3f5a209d0ff5c5c1dde84237f21822db017a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lib/jido_ai/skill/agent_integration.ex:174-194 | lib/jido_ai/skill/discovery.ex:557-574 \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":"lib/jido_ai/skill/agent_integration.ex"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e02715a341aa0297db09d4cfb40de47764d206b1bf111ceec426e90984d1760"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:708-727 | lib/jido_ai/reasoning/react/strategy.ex:2051-2075 \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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0b9218a056977896682535113cf38e319d1601613e537610ea40b4c2ede158"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:365-389 | lib/jido_ai/reasoning/react/strategy.ex:1467-1491 \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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59f97e6bcd157280489bd1f516fcb7308f24365a0efca3ca942bdfca89107f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/jido_ai/actions/tool_calling/call_with_tools.ex:391-402 | lib/jido_ai/actions/tool_calling/execute_tool.ex:103-114 \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":"lib/jido_ai/actions/tool_calling/call_with_tools.ex"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30d3834550136fb38545024ba9bb5521549f08ee9d1f4591159cb071cc1ff5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:434-463 | lib/jido_ai/reasoning/trm/strategy.ex:474-498 \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":"lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1e0f842245bdadcb384ac217fa5f830883ecd8c448ec83b77e100d0742d65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:329-351 | lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:355-373 | lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:377-397 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0043ae68b6b82061dc1b36d8f034983992f3fa66881deff05a830d6b710cf7f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:219-238 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:480-500 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"597ef281ddc0921b60a006c072998f45942b778ddcd4e334adf5934c3912ebda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/jido_ai/quality/checkpoint.ex:71-83 | lib/jido_ai/query.ex:184-194 \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":"lib/jido_ai/quality/checkpoint.ex"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85f9655cff421dae85482911a211d5370b704be5b13f0edf3f9028d70cf8bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/jido_ai/context.ex:466-480 | lib/jido_ai/context.ex:684-699 \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":"lib/jido_ai/context.ex"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ee17d422d4f0c3a416b7b2d3dad85a3f34f8736c586741214b7280bdfc1a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex:106-116 | lib/jido_ai/reasoning/tree_of_thoughts/cli_adapter.ex:108-118 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7425b22d153d13467c9f49b97d0d91aaff1852d2c819f71fa74bfb04291ee014"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): lib/jido_ai/reasoning/adaptive/cli_adapter.ex:52-70 | lib/jido_ai/reasoning/chain_of_draft/cli_adapter.ex:42-67 | lib/jido_ai/reasoning/chain_of_thought/cli_adapter.ex:47-72 | lib/jido_ai/reasoning/graph_of_thoughts/cli_adapter.ex:50-70 | lib/jido_ai/reasoning/trm/cli_adapter.ex:49-67 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 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":"lib/jido_ai/reasoning/adaptive/cli_adapter.ex"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4509221cc2b03b16b388652450ca4633c2b882cf3e21897cdad0dd53320cc97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:165-184 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:329-352 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1263086a8927ef9e0c24757704e3759f0eeb7b388581a2ffe037a09ca22c245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/jido_ai/reasoning/trm/strategy.ex:503-522 | lib/jido_ai/reasoning/trm/strategy.ex:528-548 \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":"lib/jido_ai/reasoning/trm/strategy.ex"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c8dec2b4e81cc5fd836ec55ae235a9b5cfe2235c8089e76c6da970b601490e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex:70-91 | lib/jido_ai/reasoning/tree_of_thoughts/cli_adapter.ex:85-104 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc389686e6db6b6f5e18fa186447481814f84b8f631691f565132d09ec093b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:693-709 | lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:714-730 \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":"lib/jido_ai/reasoning/tree_of_thoughts/machine.ex"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f5624a6a69a8678f9fed9706d80a8b51e2eded77c8bbe741b0b48ffc24ba80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 6\u002B corresponding lines): lib/jido_ai/plugins/reasoning/adaptive.ex:78-83 | lib/jido_ai/plugins/reasoning/algorithm_of_thoughts.ex:51-56 | lib/jido_ai/plugins/reasoning/chain_of_draft.ex:51-56 | lib/jido_ai/plugins/reasoning/chain_of_thought.ex:51-56 | lib/jido_ai/plugins/reasoning/graph_of_thoughts.ex:77-82 | lib/jido_ai/plugins/reasoning/tree_of_thoughts.ex:76-81 | lib/jido_ai/plugins/reasoning/trm.ex:73-78 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 6 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":"lib/jido_ai/plugins/reasoning/adaptive.ex"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"226cf3bf1c4452ccab7dc61b543c12328f4d23a553fe750612b4cc097f5b60e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:171-183 | lib/jido_ai/reasoning/trm/strategy.ex:179-191 \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":"lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b4adb92d9787d7c3da7c9e7f7027355805912cbeea4eee6bbcc1a5e99f6cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lib/mix/tasks/jido_ai.ex:578-592 | lib/mix/tasks/jido_ai.ex:597-613 \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":"lib/mix/tasks/jido_ai.ex"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d1850e1d09d683dd5e4cbb4f0366cb9795a546465026d1b4f74c4c4537d87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lib/jido_ai/reasoning/react/strategy.ex:983-1001 | lib/jido_ai/reasoning/react/strategy.ex:1009-1030 \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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"4531be656d6cfae373585a1fa0913702d09fbfb432e917da658f70d18c88653c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/jido_ai/reasoning/react/strategy.ex:833-846 | lib/jido_ai/reasoning/react/strategy.ex:852-865 \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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"9669a26beec626b6c9e664c6befc274b4c821904085a1a7139648482b4edccc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/jido_ai/reasoning/graph_of_thoughts/machine.ex:789-802 | lib/jido_ai/reasoning/graph_of_thoughts/machine.ex:806-819 \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":"lib/jido_ai/reasoning/graph_of_thoughts/machine.ex"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74da24d32e34a2377231f3420652726297cb3d3bbd93e44415949e73eb29007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/jido_ai/skill/resource_provider.ex:333-344 | lib/jido_ai/skill/resources.ex:497-508 \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":"lib/jido_ai/skill/resource_provider.ex"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50444307336e06958711a8f661e480181c19a188f020af10fbf5e0202b0f910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:581-591 | lib/jido_ai/reasoning/react/strategy.ex:1901-1911 \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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d61efa178a3f8e72899637bd9d43a2bdfeb7df23414e555a9cff935980f70f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lib/jido_ai/reasoning/chain_of_thought/machine.ex:284-299 | lib/jido_ai/reasoning/trm/machine.ex:542-557 | lib/jido_ai/reasoning/trm/machine.ex:562-582 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 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":"lib/jido_ai/reasoning/chain_of_thought/machine.ex"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e9361429d6d91a85e4183589d9a380c4c42b5d5ff9b626191c1069608ea15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:467-502 | lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:506-527 | lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:531-553 \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":"lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d2bd05371bfdc212da2838041f3c5835e5f184fab158d5eacbc4f88d4dfab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/jido_ai/skill/registry.ex:335-342 | lib/jido_ai/skill/registry.ex:346-353 \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":"lib/jido_ai/skill/registry.ex"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2096bb9470c673d9b4da17a8b4705f5a5896b40dc3733c6ab9c0e58ad9fbd03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:224-231 | lib/jido_ai/reasoning/react/worker/strategy.ex:233-243 \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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"04399f404a6eacf6b8879a2e08ad9c3268ea9e9585cc5ffad55af22c264cac7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 7\u002B corresponding lines): lib/jido_ai/actions/planning/decompose.ex:119-126 | lib/jido_ai/actions/planning/plan.ex:118-125 | lib/jido_ai/actions/planning/prioritize.ex:132-140 | lib/jido_ai/actions/reasoning/analyze.ex:134-140 | lib/jido_ai/actions/reasoning/explain.ex:133-139 | lib/jido_ai/actions/reasoning/infer.ex:92-98 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/actions/planning/decompose.ex"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd561b9757249faad8505ba45a6878023bc87e27137f7ef23e8ee12382761505"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/jido_ai/actions/skill/load_resource.ex:64-70 | lib/jido_ai/actions/skill/load_skill.ex:72-78 \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":"lib/jido_ai/actions/skill/load_resource.ex"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"13494332da21cb4244d812924c14ced646c10e32cb578f6dd9b447cdfc2f32a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/jido_ai/actions/reasoning/analyze.ex:173-179 | lib/jido_ai/actions/reasoning/explain.ex:196-203 \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":"lib/jido_ai/actions/reasoning/analyze.ex"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb750b647cdf01442873ac274664ef2dd88260faca09d30396ed29302842b0db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:287-301 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:902-915 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79d028ed449c1822d994d98ee0d6f19b98ad5a872b3f0f6c3cd5b70c6b0e788"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lib/jido_ai/actions/skill/load_resource.ex:120-129 | lib/jido_ai/actions/skill/load_resource.ex:133-138 \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":"lib/jido_ai/actions/skill/load_resource.ex"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e253eb0bbe8fef2fff4c42f222b44e81a973ef758cdd0a0504a67f28a2df444"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:121-138 | lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:198-213 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce0952d0fec272f3b4110a5619483278411ba0da91189fb1ee2ef71371559a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/jido_ai/reasoning/react/transformers/system_one.ex:289-296 | lib/jido_ai/signals/definition.ex:175-183 \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":"lib/jido_ai/reasoning/react/transformers/system_one.ex"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a406347b89eb29bc09d707bf60392ab145c52e0cd6a822c038bbf37da1568105"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lib/jido_ai/reasoning/react/strategy.ex:2151-2163 | lib/jido_ai/reasoning/react/strategy.ex:2201-2215 \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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b3e0bb17ae12fb6be12b6099c096c9f22ae752bc1f36ef9323a02a9b63d07a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/jido_ai/reasoning/trm/reasoning.ex:408-415 | lib/jido_ai/reasoning/trm/supervision.ex:496-503 \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":"lib/jido_ai/reasoning/trm/reasoning.ex"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae31743a46cdbad3997a22aaaba7b219dbada1c6a17e874b4578dd20a73a6188"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): lib/jido_ai/output.ex:101-112 | lib/jido_ai/output.ex:116-125 | lib/jido_ai/output.ex:450-457 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/output.ex"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"41033b9bb9473515beab4bacb1215baeef389abae4c4f181fe9347293747f356"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): lib/jido_ai.ex:275-281 | lib/jido_ai.ex:291-302 | lib/jido_ai.ex:312-318 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai.ex"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1648c982598b48d47d3ed442a6dd5e8387343d426f30ee79d09756c3e970e8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:746-748 | lib/jido_ai/reasoning/react/strategy.ex:2238-2240 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f03b0edd9736b7af3760b68132b55d3f8b447362e732f42703e833cbdce038a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 7\u002B corresponding lines): lib/jido_ai/plugins/reasoning/adaptive.ex:68-74 | lib/jido_ai/plugins/reasoning/algorithm_of_thoughts.ex:41-47 | lib/jido_ai/plugins/reasoning/chain_of_draft.ex:41-47 | lib/jido_ai/plugins/reasoning/chain_of_thought.ex:41-47 | lib/jido_ai/plugins/reasoning/graph_of_thoughts.ex:67-73 | lib/jido_ai/plugins/reasoning/tree_of_thoughts.ex:66-72 | lib/jido_ai/plugins/reasoning/trm.ex:63-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 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/plugins/reasoning/adaptive.ex"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5aacf2f600a955966ef25356d0402bba78f5d9c926ae9bf34521581cedba93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/jido_ai/context.ex:535-537 | lib/jido_ai/turn.ex:1000-1002 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/context.ex"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5efb7f6eddb07d41c341264f364a139331c13a2523b864a33f3f7464cadade3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/jido_ai/directive/llm_generate.ex:243-246 | lib/jido_ai/directive/llm_stream.ex:322-325 | lib/jido_ai/directive/tool_exec.ex:480-483 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"lib/jido_ai/directive/llm_generate.ex"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aeb7f5f66ea2151fe0203f26ece86822082e5a9b272e7a98e728e92ea69537f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:636-644 | lib/jido_ai/reasoning/react/strategy.ex:2593-2602 \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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"a567478ccd1b6df805638f09c8df286080d51c9846d19d82e24f489528b14326"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:208-210 | lib/jido_ai/reasoning/chain_of_thought/strategy.ex:341-343 | lib/jido_ai/reasoning/react/strategy.ex:818-827 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:375-378 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 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":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"892d1605ba33319ef61f740cb3afb34aaa4fc7555daf69ff0be934a19a2a30cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:617-621 | lib/jido_ai/reasoning/react/worker/strategy.ex:390-403 \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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3ed56291f1152f7cc7d678bccae68f6e649a71a365ab17be0b886a9cf1aa87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/jido_ai/reasoning/graph_of_thoughts/machine.ex:523-526 | lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:446-449 \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":"lib/jido_ai/reasoning/graph_of_thoughts/machine.ex"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33fbf0dd3b97879540181306c78f71bcee66dcf62684af58dc257b8ecd099cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/jido_ai/context.ex:529-531 | lib/jido_ai/turn.ex:994-996 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/context.ex"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c8c74d64461b27d6338583f58d6fb7cbd12510902e9815b497e09754bedadd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/jido_ai/context.ex:541-543 | lib/jido_ai/turn.ex:1006-1008 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/context.ex"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e093ec7655579a16888b6fda33d6dca94c717fcc40119a0c6d5856d78ca871"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/machine.ex:352-355 | lib/jido_ai/reasoning/chain_of_thought/machine.ex:269-272 | lib/jido_ai/reasoning/graph_of_thoughts/machine.ex:600-603 | lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:581-584 | lib/jido_ai/reasoning/trm/machine.ex:750-753 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 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":"lib/jido_ai/reasoning/algorithm_of_thoughts/machine.ex"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0b2e7cdd856804bebd8b715983e88c4f0d784b1acf025eb260096d281cebe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/machine.ex:438-441 | lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:362-365 | lib/jido_ai/skill/prompt.ex:240-244 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"lib/jido_ai/reasoning/algorithm_of_thoughts/machine.ex"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e86ca51ff21a48d74c119e8671986a7cef8eeffc5ff51686058cf2a7f8a686"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:634-637 | lib/jido_ai/reasoning/react/worker/strategy.ex:407-410 \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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"191574b903be4e20347fc56689dcadd5aecbc3eaf357ed77ed563e50d126975f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex:98-102 | lib/jido_ai/reasoning/tree_of_thoughts/cli_adapter.ex:126-130 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"aace36957fb246f3cd3c12c967040ab6e762f632b9bff1e036cd64a3660409e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:641-644 | lib/jido_ai/reasoning/react/worker/strategy.ex:414-417 \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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"711b5a26d663f44772e5318b44242ade62f52bcd7cff7e31f35d59c5c149eb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 2\u002B corresponding lines): lib/jido_ai/plugins/reasoning/adaptive.ex:95-96 | lib/jido_ai/plugins/reasoning/algorithm_of_thoughts.ex:68-69 | lib/jido_ai/plugins/reasoning/chain_of_draft.ex:68-69 | lib/jido_ai/plugins/reasoning/chain_of_thought.ex:68-69 | lib/jido_ai/plugins/reasoning/graph_of_thoughts.ex:94-95 | lib/jido_ai/plugins/reasoning/tree_of_thoughts.ex:93-94 | lib/jido_ai/plugins/reasoning/trm.ex:90-91 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 2 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":"lib/jido_ai/plugins/reasoning/adaptive.ex"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00340efa27cfadb1662a08fd25ac1b517e9ce47886428237db11e8d9eb0911b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:191-197 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:359-365 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e40c56d246d2b5777ed0f4e65e76c3fa9365a6c59ceb59b8fede7e895eeb4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): lib/jido_ai/actions/skill/load_skill.ex:137-148 | lib/jido_ai/reasoning/react/runner.ex:542-545 | lib/jido_ai/skill/activation.ex:297-300 | lib/mix/tasks/jido_ai.skill.ex:283-286 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 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":"lib/jido_ai/actions/skill/load_skill.ex"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15af311b4848dce00e1603c4b227d31ed7355639231b888e97eff31dbdee454"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/jido_ai/plugins/policy.ex:145-151 | lib/jido_ai/plugins/quota.ex:175-181 \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":"lib/jido_ai/plugins/policy.ex"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"83914505441cd3fa41d46db08e1e50f96fade4381d3bb3288e0435d8eeddeba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:562-564 | lib/jido_ai/reasoning/trm/strategy.ex:620-622 | lib/jido_ai/retrieval/store.ex:188-190 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"514d19e0d5b659b4ace76a29dd215173a5eefd6c0ec71f1444c8892f11ed5b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/jido_ai/skill/activation.ex:135-140 | lib/jido_ai/skill/discovery.ex:124-127 \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":"lib/jido_ai/skill/activation.ex"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a22ef58490f3b4531d4da2bd182d730ec72aae0ef49c3352c688f447e6cbaaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/jido_ai.ex:696-698 | lib/jido_ai/reasoning/react/strategy.ex:2840-2842 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai.ex"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c646b406a1e7545cc324832c57a68694de6c9a564a6c094822d232801d9d00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): lib/jido_ai/actions/skill/load_resource.ex:77-77 | lib/jido_ai/skill/resource_provider.ex:238-238 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"lib/jido_ai/actions/skill/load_resource.ex"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1695a424c6c94106d11256a05c6601f2b0266f81d42324aebdca2355f7d5b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): examples/scripts/shared/bootstrap.exs:72-79 | lib/mix/tasks/jido_ai.ex:405-412 \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":"examples/scripts/shared/bootstrap.exs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafe6ceb7894609b741c9d158e13cdbcaa38f446f34257d7c94757fda97c9f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/jido_ai/effects/policy.ex:363-366 | lib/jido_ai/skill/prompt.ex:126-130 \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":"lib/jido_ai/effects/policy.ex"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e1a30b66625f0a245893b3bcafc4e5f7fc781628bd15199c8af8bd825a2d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:305-308 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:949-952 \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":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"9011edef6e03bcf09cd86b92a6ee2dcbe203855b87e5554d7599b97eb5d73f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/jido_ai/actions/llm/embed.ex:125-128 | lib/jido_ai/skill/discovery.ex:79-82 \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":"lib/jido_ai/actions/llm/embed.ex"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebd0176d33a2a4daf4ec882b6307e5a68ae73673673dee415ac31a59f512067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61\u201363 lines \u00D7 2): lib/jido_ai/directive/llm_generate.ex:139-201 | lib/jido_ai/directive/llm_stream.ex:164-224 \u2014 before extracting anything, compare \u0060lib/jido_ai/directive/llm_generate.ex\u0060 and \u0060lib/jido_ai/directive/llm_stream.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 100 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 \u0060lib/jido_ai/directive/llm_generate.ex:139\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":"lib/jido_ai/directive/llm_generate.ex"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c89e732bcc35bd8903e8aa2c95d0af50f8b2095db3f9c07a5d5318ee92757b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:185-217 | lib/jido_ai/reasoning/react/worker/strategy.ex:194-226 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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 \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:185\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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5309b00c0c2100136b1a1872e040eb49ec51204b217feac4286bc38770d8cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 3): lib/jido_ai/actions/llm/chat.ex:127-156 | lib/jido_ai/actions/llm/generate_object.ex:151-180 | lib/jido_ai/actions/tool_calling/call_with_tools.ex:312-339 \u2014 before extracting anything, compare \u0060lib/jido_ai/actions/llm/chat.ex\u0060 and \u0060lib/jido_ai/actions/llm/generate_object.ex\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"lib/jido_ai/actions/llm/chat.ex"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45dfdcda6ad0494a7b994486bdbc6161359cdee3720c5675423e5a9c5042085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): lib/jido_ai/directive/llm_generate.ex:85-110 | lib/jido_ai/directive/llm_stream.ex:97-123 \u2014 before extracting anything, compare \u0060lib/jido_ai/directive/llm_generate.ex\u0060 and \u0060lib/jido_ai/directive/llm_stream.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 100 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 \u0060lib/jido_ai/directive/llm_generate.ex:85\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":"lib/jido_ai/directive/llm_generate.ex"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc7e7acf5ba71892f15fdf26391529f0c7bf10353aa2d47c90f8a5ec87fcdc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lib/jido_ai/actions/llm/complete.ex:112-137 | lib/jido_ai/actions/planning/prioritize.ex:277-302 \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":"lib/jido_ai/actions/llm/complete.ex"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b68cbb0d362c18aa87dae67734287347b473facd624401432e68f034c6a448d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lib/jido_ai/reasoning/graph_of_thoughts/cli_adapter.ex:74-98 | lib/jido_ai/reasoning/trm/cli_adapter.ex:71-95 \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":"lib/jido_ai/reasoning/graph_of_thoughts/cli_adapter.ex"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"364c53780ddadfb3f1655d0bdc432474b369bcaf8180af64f16ae4ba8434947e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:90-113 | lib/jido_ai/reasoning/react/worker/strategy.ex:90-113 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b61e66d13014acee02fbbdb1ece826e5bc2665cf96e39d5d9bfad7fe8cecf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): lib/jido_ai/reasoning/adaptive/cli_adapter.ex:76-98 | lib/jido_ai/reasoning/chain_of_draft/cli_adapter.ex:73-95 | lib/jido_ai/reasoning/chain_of_thought/cli_adapter.ex:78-100 \u2014 \u0060lib/jido_ai/reasoning/chain_of_draft/cli_adapter.ex\u0060 and \u0060lib/jido_ai/reasoning/chain_of_thought/cli_adapter.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 42 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/adaptive/cli_adapter.ex"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a0e78daf9ecf925e42a0ab5db4c92d6b0691584c9b3b6ce21108dca07cdf03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:271-292 | lib/jido_ai/reasoning/react/worker/strategy.ex:280-301 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbfeb65fff63705f2d1eb2f823270568369f202f8a612941d41ced2621de95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/jido_ai/context.ex:560-576 | lib/jido_ai/turn.ex:1025-1041 \u2014 before extracting anything, compare \u0060lib/jido_ai/context.ex\u0060 and \u0060lib/jido_ai/turn.ex\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/context.ex"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b89e4a20117bfb5e049f28df38841c78b81c9ec4c2263a0ca78bd042446fa71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/jido_ai/quota/store.ex:182-197 | lib/jido_ai/retrieval/store.ex:159-174 \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 \u0060lib/jido_ai/quota/store.ex:182\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":"lib/jido_ai/quota/store.ex"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d8da13e07789b869951ee70cbbb735929936dcad7129f83ff50075a2ceb331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:754-769 | lib/jido_ai/reasoning/react/strategy.ex:2246-2261 \u2014 \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 67 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"89380b1fb0be9fa5b8164c7765fb5fda97c4180683753e4848958930ff98d707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/jido_ai/reasoning/chain_of_thought/machine.ex:334-347 | lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:1269-1282 | lib/jido_ai/reasoning/trm/machine.ex:757-770 \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 \u0060lib/jido_ai/reasoning/chain_of_thought/machine.ex:334\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":"lib/jido_ai/reasoning/chain_of_thought/machine.ex"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0347c69818555d64072314188e5019b9a127da90da8c26051ac01b8f129522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:237-250 | lib/jido_ai/reasoning/react/worker/strategy.ex:249-262 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb45a447ff4ab3309090a3f90dfb0fff873fdde4ac88a2dc1663a72d879f24c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/jido_ai/context.ex:608-620 | lib/jido_ai/turn.ex:1073-1085 \u2014 before extracting anything, compare \u0060lib/jido_ai/context.ex\u0060 and \u0060lib/jido_ai/turn.ex\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/context.ex"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"66693e73c87731da0c31ac7b2050a56849d1abbda2e118396d38bcfe95da8a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:742-754 | lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:769-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 \u0060lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:742\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":"lib/jido_ai/reasoning/tree_of_thoughts/machine.ex"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"611a414d399b3739efa7669a2a5a169ee69b3c3c53c9f084026e85239523ca7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/jido_ai/turn.ex:757-769 | lib/jido_ai/turn.ex:785-797 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/turn.ex:757\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, \u0060lib/jido_ai/turn.ex:756\u0060 calls \u0060extract_tool_result\u0060 and \u0060lib/jido_ai/turn.ex:784\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":"lib/jido_ai/turn.ex"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22c3603cdda31a6903b21cf4253807954ef0121ca7771c8e184518d2e8fa823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:143-154 | lib/jido_ai/reasoning/chain_of_thought/strategy.ex:245-256 | lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:218-229 | lib/jido_ai/reasoning/react/strategy.ex:551-562 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:314-325 | lib/jido_ai/reasoning/trm/strategy.ex:226-237 \u2014 \u0060lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abe4e7151f88b66a5ebc6dbd05fe215c5bd17cb7099a1b7bce68628a068056b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:168-179 | lib/jido_ai/reasoning/react/worker/strategy.ex:168-179 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lib/jido_ai/reasoning/react/worker/strategy.ex:180\u0060 calls \u0060build_runtime_config\u0060 and \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:180\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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"795360b88d17189a5c6b6191e232c6bd7f0864765dc1cc453613355fa7271d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:94-103 | lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:139-149 | lib/jido_ai/reasoning/trm/strategy.ex:147-157 \u2014 \u0060lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9519d48703ae935a79326ea74d32e06982b72bd33da7c24e6178d6d199fc5e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:402-412 | lib/jido_ai/reasoning/trm/strategy.ex:422-432 \u2014 \u0060lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/trm/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 43 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b27e1078952a790b0fb94d01b1af9a077f9957a44548e647dceac004872be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/jido_ai/reasoning/react/runner.ex:1418-1428 | lib/jido_ai/reasoning/react/runner.ex:1442-1452 \u2014 both copies are in the same file, so extract the block 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":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcd98bde35cad0e00e4a8e98da6029b1e1a8d784b19dee6319d958b0e9ec267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lib/jido_ai/reasoning/adaptive/cli_adapter.ex:74-83 | lib/jido_ai/reasoning/chain_of_draft/cli_adapter.ex:71-80 | lib/jido_ai/reasoning/chain_of_thought/cli_adapter.ex:76-85 | lib/jido_ai/reasoning/react/cli_adapter.ex:118-128 \u2014 \u0060lib/jido_ai/reasoning/chain_of_draft/cli_adapter.ex\u0060 and \u0060lib/jido_ai/reasoning/chain_of_thought/cli_adapter.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 42 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/adaptive/cli_adapter.ex"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c62fc08c57efce371d18bd47ddaeb2af286879c0f3de5afd5d3aa8579d4393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/jido_ai/actions/llm/chat.ex:92-101 | lib/jido_ai/actions/llm/complete.ex:82-91 | lib/jido_ai/actions/llm/generate_object.ex:108-117 \u2014 before extracting anything, compare \u0060lib/jido_ai/actions/llm/chat.ex\u0060 and \u0060lib/jido_ai/actions/llm/generate_object.ex\u0060 as WHOLE FILES: this scan already matched 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/actions/llm/chat.ex:92\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, \u0060lib/jido_ai/actions/llm/generate_object.ex:118\u0060 calls \u0060validate_object_schema\u0060 and \u0060lib/jido_ai/actions/llm/chat.ex:102\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":"lib/jido_ai/actions/llm/chat.ex"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ee02705132794bfbf029392a30890b8125b0947c3a7573047e8d88932dd6af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lib/jido_ai/reasoning/trm/strategy.ex:511-520 | lib/jido_ai/reasoning/trm/strategy.ex:537-546 | lib/jido_ai/reasoning/trm/strategy.ex:562-574 \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 \u0060lib/jido_ai/reasoning/trm/strategy.ex: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":"lib/jido_ai/reasoning/trm/strategy.ex"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6c43c2a6c4269e1be84845371347933c7f262ab22831cecb1e9310885e8c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jido_ai/directive/llm_generate.ex:217-226 | lib/jido_ai/directive/llm_stream.ex:242-251 \u2014 before extracting anything, compare \u0060lib/jido_ai/directive/llm_generate.ex\u0060 and \u0060lib/jido_ai/directive/llm_stream.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 100 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":"lib/jido_ai/directive/llm_generate.ex"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0bb2d7db258fd97372c4aa2ed5b186b6bcd856cd2772b82184a822195f8ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex:57-66 | lib/jido_ai/reasoning/tree_of_thoughts/cli_adapter.ex:72-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/jido_ai/reasoning/tree_of_thoughts/cli_adapter.ex:70\u0060 calls \u0060unquote\u0060 and \u0060lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex:56\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":"lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1de75983966ad61df20464ca3a262b5bb65f1a243f6ef16b5effbab069c7eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_draft/strategy.ex:104-113 | lib/jido_ai/reasoning/chain_of_thought/strategy.ex:145-154 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/reasoning/chain_of_draft/strategy.ex:104\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":"lib/jido_ai/reasoning/chain_of_draft/strategy.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b37589cc51799ded3823b549a6c9ffd4d78877112df4ee670bd248497d1a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:179-188 | lib/jido_ai/reasoning/react/strategy.ex:392-401 \u2014 \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 67 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex:179\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, \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex:190\u0060 calls \u0060length\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex:403\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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a3b82c270ed8eea94f2441ed641c8ed42b48f1b17ca525358a344c804e547a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jido_ai/reasoning/react/config.ex:388-397 | lib/jido_ai/reasoning/react/strategy.ex:2758-2767 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/react/config.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/config.ex"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1948c6cb0cf8483201986f1a7f83b4f52d02cfb07f18038f3626f303ffa19986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): lib/jido_ai/actions/llm/chat.ex:107-113 | lib/jido_ai/actions/llm/complete.ex:96-102 | lib/jido_ai/actions/llm/generate_object.ex:128-136 \u2014 before extracting anything, compare \u0060lib/jido_ai/actions/llm/chat.ex\u0060 and \u0060lib/jido_ai/actions/llm/generate_object.ex\u0060 as WHOLE FILES: this scan already matched 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/actions/llm/generate_object.ex:128\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, \u0060lib/jido_ai/actions/llm/generate_object.ex:139\u0060 calls \u0060validate_object_schema\u0060 and \u0060lib/jido_ai/actions/llm/chat.ex:118\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":"lib/jido_ai/actions/llm/chat.ex"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b694d01c0a9dffeead81f25edd86c59bc2186f0853f96787c92a52f903de171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/jido_ai.ex:378-386 | lib/jido_ai.ex:657-665 \u2014 both copies are in the same file, so extract the block 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":"lib/jido_ai.ex"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31fbb3bc9b35c2ec739f11765f1b0a7348141627c2d5f1973b81d2fe319f2b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/jido_ai/context.ex:547-555 | lib/jido_ai/turn.ex:1012-1020 \u2014 before extracting anything, compare \u0060lib/jido_ai/context.ex\u0060 and \u0060lib/jido_ai/turn.ex\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/context.ex"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffff0120d3137f7da3a244306815a8b6be90761c57a906b6b3f66c8bf4a49f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:287-295 | lib/jido_ai/reasoning/react/strategy.ex:635-643 \u2014 \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 67 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex:287\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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25cb8dba7f2862a068a0665e27b16062ed588bc5b5cd386f14342d218612113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:581-589 | lib/jido_ai/reasoning/react/strategy.ex:1901-1909 \u2014 \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 67 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex:581\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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cf86e1748407ccf109a6a150eb0024012c65ad6d021cf6386f46299aa2f17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lib/jido_ai/actions/llm/chat.ex:192-199 | lib/jido_ai/actions/llm/complete.ex:169-176 | lib/jido_ai/actions/llm/embed.ex:189-196 | lib/jido_ai/actions/llm/generate_object.ex:216-223 \u2014 before extracting anything, compare \u0060lib/jido_ai/actions/llm/chat.ex\u0060 and \u0060lib/jido_ai/actions/llm/generate_object.ex\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/actions/llm/chat.ex"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6856406a076be723be4541c1250b44b1f7cab1da442b8e30819ebc912582038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/jido_ai/quality/checkpoint.ex:76-83 | lib/jido_ai/query.ex:187-194 \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 \u0060lib/jido_ai/quality/checkpoint.ex:76\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":"lib/jido_ai/quality/checkpoint.ex"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ea3688c559a9895d39f8028cf3f64b94d4ca477ed00dcc9e8f57da62ff44cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:547-554 | lib/jido_ai/reasoning/chain_of_thought/strategy.ex:562-569 \u2014 both copies are in the same file, so extract the block 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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d1384bf04a8bfcc40d1f35334e6e765beae56694b0ee5714e4dec1fec0f451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/jido_ai/reasoning/react/strategy.ex:1826-1833 | lib/jido_ai/reasoning/react/strategy.ex:1849-1856 \u2014 both copies are in the same file, so extract the block 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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c27a9162440491abb1807f6d72cd51f8a42b47ebbcbee4415c80bef54ce332a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:458-465 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:758-765 \u2014 both copies are in the same file, so extract the block 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":"lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2c4489beb6fd7559b76acb378ce28a79d9d59ed431714d926babfe74c5000c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/mix/tasks/jido_ai.skill.ex:122-129 | lib/mix/tasks/jido_ai.skill.ex:205-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/mix/tasks/jido_ai.skill.ex:122\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":"lib/mix/tasks/jido_ai.skill.ex"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"589b01787c46b63a5997c0c46b715c45b5884dc849d86f21c51ce4b096000143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/jido_ai/reasoning/graph_of_thoughts/machine.ex:199-205 | lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:285-291 \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":"lib/jido_ai/reasoning/graph_of_thoughts/machine.ex"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d6ff0ba3feabb742a094a904b30f6cb21c5b56fa5c420a6717376525d62ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): lib/jido_ai/actions/tool_calling/call_with_tools.ex:391-400 | lib/jido_ai/actions/tool_calling/execute_tool.ex:103-114 | lib/jido_ai/actions/tool_calling/list_tools.ex:86-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/actions/tool_calling/call_with_tools.ex:391\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, \u0060lib/jido_ai/actions/tool_calling/call_with_tools.ex:400\u0060 calls \u0060get_in\u0060 and \u0060lib/jido_ai/actions/tool_calling/execute_tool.ex:114\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":"lib/jido_ai/actions/tool_calling/call_with_tools.ex"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"5414d159382e4699762d4ce35528fbfaf4f1fbfd4dca860ddbdb8b92d23acbd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/jido_ai/reasoning/chain_of_draft/strategy.ex:111-116 | lib/jido_ai/reasoning/chain_of_thought/strategy.ex:152-157 | lib/jido_ai/reasoning/react/strategy.ex:362-367 \u2014 \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 67 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/reasoning/chain_of_draft/strategy.ex:111\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":"lib/jido_ai/reasoning/chain_of_draft/strategy.ex"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"be83fb2af1e3983942bd87720a92b020ac110478f5609a83836fb1c58f5cc7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:665-672 | lib/jido_ai/reasoning/request_lifecycle.ex:105-112 \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 \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex:665\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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"030f758775521ceac40fa9b6a1981ecb45fd7ca8dd2429e17f126238bd0ff7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): lib/jido_ai/actions/helpers.ex:86-98 | lib/jido_ai/actions/planning/decompose.ex:160-172 | lib/jido_ai/actions/planning/plan.ex:173-185 | lib/jido_ai/actions/planning/prioritize.ex:189-201 | lib/jido_ai/actions/reasoning/analyze.ex:189-201 | lib/jido_ai/actions/reasoning/explain.ex:213-225 | lib/jido_ai/actions/reasoning/infer.ex:149-161 | lib/jido_ai/actions/tool_calling/call_with_tools.ex:158-170 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lib/jido_ai/actions/planning/decompose.ex:156\u0060 calls \u0060clamp_depth\u0060, \u0060is_integer\u0060, \u0060max\u0060 and \u0060lib/jido_ai/actions/planning/plan.ex:170\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":"lib/jido_ai/actions/helpers.ex"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"28de44467f3cf98627c9afd9fc95be174ae83a66b7e141da9fcdc78ffe2f66bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lib/jido_ai/actions/planning/decompose.ex:260-264 | lib/jido_ai/actions/planning/plan.ex:271-275 | lib/jido_ai/actions/planning/prioritize.ex:334-338 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/actions/planning/decompose.ex"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5a3197a49cb0cc40ea70cf1693e3c0d003539d298f65f6b9e5f317b100a42c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/jido_ai/actions/quota/get_status.ex:30-35 | lib/jido_ai/actions/quota/reset.ex:27-32 \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":"lib/jido_ai/actions/quota/get_status.ex"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f170b65a3b0cd9f8e4054d1388ca91b2c9a65cbbefcced3720ff1fd3b7a117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lib/jido_ai/actions/retrieval/clear_memory.ex:34-39 | lib/jido_ai/actions/retrieval/recall_memory.ex:38-43 | lib/jido_ai/actions/retrieval/upsert_memory.ex:43-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/actions/retrieval/clear_memory.ex"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2343d3dea8d725cfee9acabf52a5a0c9d866c6af1d089c3b55abdccce0052d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/jido_ai/context.ex:587-591 | lib/jido_ai/turn.ex:1052-1056 \u2014 before extracting anything, compare \u0060lib/jido_ai/context.ex\u0060 and \u0060lib/jido_ai/turn.ex\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060lib/jido_ai/context.ex:587\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":"lib/jido_ai/context.ex"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dff67e130ffb43e4ffb65c801123b4ccdcc97279a8013ebeed5d04fc0b7c6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jido_ai/context.ex:595-604 | lib/jido_ai/turn.ex:1060-1069 \u2014 before extracting anything, compare \u0060lib/jido_ai/context.ex\u0060 and \u0060lib/jido_ai/turn.ex\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060lib/jido_ai/context.ex:595\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":"lib/jido_ai/context.ex"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"861a97e203c1588d20a74168c77d2b75bf025f44b6e5cffaeb9c1727884a0571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/jido_ai/quota/store.ex:134-142 | lib/jido_ai/retrieval/store.ex:140-148 \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 \u0060lib/jido_ai/quota/store.ex:134\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":"lib/jido_ai/quota/store.ex"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb842eb8a56000c8afe7572a23cf1c66bc33be10bea953c6d6ce61ced43919a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex:108-116 | lib/jido_ai/reasoning/chain_of_thought/strategy.ex:162-170 | lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex:154-162 | lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex:210-218 | lib/jido_ai/reasoning/trm/strategy.ex:162-170 \u2014 \u0060lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/algorithm_of_thoughts/strategy.ex"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4939c1363fd91ff5b6a4c3883d01ae0023dff4b537055c268a9d90aa8860aa4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_draft/cli_adapter.ex:99-106 | lib/jido_ai/reasoning/chain_of_thought/cli_adapter.ex:104-111 \u2014 \u0060lib/jido_ai/reasoning/chain_of_draft/cli_adapter.ex\u0060 and \u0060lib/jido_ai/reasoning/chain_of_thought/cli_adapter.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 42 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/chain_of_draft/cli_adapter.ex"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"619639474550ef762a9eae4067f86e6d040a2c9089a9a0fcb822ac19d3902d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lib/jido_ai/reasoning/chain_of_thought/machine.ex:177-190 | lib/jido_ai/reasoning/tree_of_thoughts/machine.ex:342-355 | lib/jido_ai/reasoning/trm/machine.ex:316-329 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/chain_of_thought/machine.ex"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8545348a583c3149fa5faf9ee10d7ab455a44c9a9ccb605efc62747f42d402e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:599-603 | lib/jido_ai/reasoning/react/strategy.ex:1927-1931 \u2014 \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 67 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/jido_ai/reasoning/chain_of_thought/strategy.ex:599\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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4fb3bf0cf77823559f0be94e4f44729b07c281c4150488b7bd487ed7fd1a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:79-85 | lib/jido_ai/reasoning/react/worker/strategy.ex:79-85 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68c277f85a105ab465669233528437f9459d22cfe1213953890f9e694367c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:118-128 | lib/jido_ai/reasoning/react/worker/strategy.ex:118-128 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"150ab15712e1a77d984f0a696236f72c0ba82d5c2e5595e74013d4287432e0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:133-141 | lib/jido_ai/reasoning/react/worker/strategy.ex:133-141 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d3da7aec09877331a049d5d302569e3bd83e73fd8b3c9a2747043feedc44db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:592-596 | lib/jido_ai/reasoning/react/worker/strategy.ex:363-367 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e97d59cfbe2052a54318c613d41b24a32bc34bb52913947248d3e524e6f50f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex:648-656 | lib/jido_ai/reasoning/react/worker/strategy.ex:421-429 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex\u0060 and \u0060lib/jido_ai/reasoning/react/worker/strategy.ex\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 146 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8820554db81f1a16247a51ddc0aee0acbc402703aab9ad60ec4e7ffcfdde916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/jido_ai/reasoning/react/config.ex:376-382 | lib/jido_ai/reasoning/react/strategy.ex:2743-2752 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/react/config.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/config.ex"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bfa421172cafa9fcf2c86efde72356a0a53a074acc286985ceecb8384b2f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/jido_ai/reasoning/react/config.ex:419-423 | lib/jido_ai/reasoning/react/strategy.ex:2789-2793 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/react/config.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/config.ex"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbad698cb8b56830f77fbc32cdb9cbc1f91148aa85f9cbd36403641b3bf02ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/jido_ai/reasoning/react/config.ex:429-437 | lib/jido_ai/reasoning/react/strategy.ex:2799-2807 \u2014 before extracting anything, compare \u0060lib/jido_ai/reasoning/react/config.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/config.ex"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"200c33a7a20f47f89ed9fb9fb6ce45f5ac53fdc97accc4149a882efd5e6376b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/jido_ai/reasoning/algorithm_of_thoughts/machine.ex:369-373 | lib/jido_ai/reasoning/algorithm_of_thoughts/machine.ex:375-379 \u2014 both copies are in the same file, so extract the block 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":"lib/jido_ai/reasoning/algorithm_of_thoughts/machine.ex"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddf07a43327a849bb528027c52f7b1f4a8edccd01b1706bca6065486703b56f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): examples/lib/compat/weather_tools_fallback.ex:113-130 | examples/lib/compat/weather_tools_fallback.ex:232-249 | examples/lib/compat/weather_tools_fallback.ex:392-409 | examples/lib/compat/weather_tools_fallback.ex:525-545 | examples/lib/compat/weather_tools_fallback.ex:719-739 \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":"examples/lib/compat/weather_tools_fallback.ex"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe563a5c4c153c99be0ad7d0de4fa668c0d0316e0f61103bc7ef49e6504e6d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): examples/lib/tools/browser.ex:45-60 | examples/lib/tools/browser.ex:178-187 \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":"examples/lib/tools/browser.ex"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df8c32ac8b39402bd60ae56ba164791bb943218998f7f55dfdc41205104b02a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): examples/lib/tools/skill_writer.ex:62-73 | examples/lib/tools/skill_writer.ex:149-160 \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":"examples/lib/tools/skill_writer.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76a50531c0384528c36bf2c97175a08e31112e8c1c38cbf5987bab2569d1f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): examples/lib/tools/task_list.ex:241-265 | examples/lib/tools/task_list.ex:346-371 | examples/lib/tools/task_list.ex:398-423 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"examples/lib/tools/task_list.ex"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8f1a3fa7728530ed24714609eb314ecc88eb037853a126e798149c5b869198"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): examples/lib/compat/weather_tools_fallback.ex:45-71 | examples/lib/compat/weather_tools_fallback.ex:171-196 | examples/lib/compat/weather_tools_fallback.ex:300-325 | examples/lib/compat/weather_tools_fallback.ex:455-483 \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":"examples/lib/compat/weather_tools_fallback.ex"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacd8c7cd15d087e4d5aa5ec2c171a17fb6cededde0d881a399a6c5372f25a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): examples/lib/agents/api_smoke_test_agent.ex:94-108 | examples/lib/agents/api_smoke_test_agent.ex:132-147 \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":"examples/lib/agents/api_smoke_test_agent.ex"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8788d35a4a3808d6fb5eada1998d207fe8032217b59ed05b92074df83e88b9fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): examples/lib/tools/unit_converter.ex:15-24 | examples/lib/tools/unit_converter.ex:52-61 | examples/lib/tools/unit_converter.ex:95-104 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/lib/tools/unit_converter.ex"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d0e69f23abf3a505e5e97c85b27dd65d3abb5eeecbcec2b2bbec3b709383b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/jido_ai/skill/spec.ex:105-114 | lib/jido_ai/skill/spec.ex:128-137 \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":"lib/jido_ai/skill/spec.ex"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9c520bc2e3a95a1fd1a4a5a6c04d61bffde72e8673130920ff0b04fc2f5892"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 4\u002B corresponding lines): examples/lib/weather/adaptive_agent.ex:48-51 | examples/lib/weather/aot_agent.ex:38-41 | examples/lib/weather/cod_agent.ex:35-38 | examples/lib/weather/cot_agent.ex:54-57 | examples/lib/weather/got_agent.ex:61-64 | examples/lib/weather/tot_agent.ex:63-66 | examples/lib/weather/trm_agent.ex:40-43 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 4 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":"examples/lib/weather/adaptive_agent.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6be74fc75b5f38644b1b66cdd4ef30818ac5eb144dfd6516732920c113dbbc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 5): examples/lib/compat/weather_tools_fallback.ex:113-130 | examples/lib/compat/weather_tools_fallback.ex:232-249 | examples/lib/compat/weather_tools_fallback.ex:392-409 | examples/lib/compat/weather_tools_fallback.ex:525-545 | examples/lib/compat/weather_tools_fallback.ex:719-739 \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 \u0060examples/lib/compat/weather_tools_fallback.ex:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/lib/compat/weather_tools_fallback.ex"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a30a77874616ba09675749d60d5c19fd6bd5fd0fc19b4811f30e0d2525ad01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): examples/lib/compat/weather_tools_fallback.ex:174-191 | examples/lib/compat/weather_tools_fallback.ex:303-320 | examples/lib/compat/weather_tools_fallback.ex:458-477 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/lib/compat/weather_tools_fallback.ex:174\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":"examples/lib/compat/weather_tools_fallback.ex"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a52d09c767b2fa60d3d7109765f2d4420fbce03dabc6a2ddbd3688b0d86ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples/lib/tools/task_list.ex:293-308 | examples/lib/tools/task_list.ex:348-363 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/lib/tools/task_list.ex: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, \u0060examples/lib/tools/task_list.ex:311\u0060 calls \u0060count\u0060 and \u0060examples/lib/tools/task_list.ex:365\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":"examples/lib/tools/task_list.ex"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7906394c53845a9a7379b6a29b0cda2c2ce671d022bf64e665c1cfd4432f19ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): examples/lib/tools/task_list.ex:241-255 | examples/lib/tools/task_list.ex:346-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/lib/tools/task_list.ex: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":"examples/lib/tools/task_list.ex"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf9529b7c0f8208781a11b50ccb7ee8abd07ebd38931d34a4e1348f71ddd634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/lib/agents/issue_triage_agent.ex:107-114 | examples/lib/agents/issue_triage_agent.ex: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/lib/agents/issue_triage_agent.ex"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e6e3a70a5db6e1f3c1f22874de442c1c64840cb8e21d9da61b57d7fff61b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/lib/tools/browser.ex:18-22 | examples/lib/tools/browser.ex:150-154 \u2014 both copies are in the same file, so extract the block 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, \u0060examples/lib/tools/browser.ex:15\u0060 calls \u0060get\u0060 and \u0060examples/lib/tools/browser.ex:149\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/lib/tools/browser.ex"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"57239c498b77e2d93a27fae9ca349e826a9f8aed706c6576e53951a326879a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/lib/compat/weather_tools_fallback.ex:811-817 | examples/lib/tools/weather_by_location.ex:227-233 \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":"examples/lib/compat/weather_tools_fallback.ex"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a8d2d3a1ff703c88ea5b015e5a24709fcd83c0a0a397041e5c2f41aa189af5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/jido_ai/reasoning/react/runner.ex: lib/jido_ai/reasoning/react/runner.ex changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Runner.run_loop at line 165. 6 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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:21:28 -07:00\u0027 --until=\u00272026-11-13 11:21:28 -07:00\u0027 --full-history --no-merges -- lib/jido_ai/reasoning/react/runner.ex\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":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf863fb1180dc3829196e67c548b48001b64307801efdb75e4b36ea94d96cb23"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/jido_ai/reasoning/react/state.ex: lib/jido_ai/reasoning/react/state.ex 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 12 (its worst body is State.from_checkpoint_map at line 98), 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(react): handle mixed final tool calls (#393)\u201D; \u201Cfix(context): preserve participant names (#392)\u201D; \u201Cfix(react): scope response continuation to supported models (#386)\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-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:21:28 -07:00\u0027 --until=\u00272026-11-13 11:21:28 -07:00\u0027 --full-history --no-merges -- lib/jido_ai/reasoning/react/state.ex\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":"lib/jido_ai/reasoning/react/state.ex"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"daab3fe7378d9254fc6084ec86e9fbc42ea0b20f81e40b372470ca1cf45ad38f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 17 significant file(s) lose their only recent owner: lib/jido_ai/reasoning/adaptive/strategy.ex, lib/mix/tasks/jido_ai.ex, lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex, lib/jido_ai/agents/strategies/tot_agent.ex, lib/jido_ai/reasoning/react/worker/strategy.ex, lib/jido_ai/agents/strategies/adaptive_agent.ex, lib/jido_ai/agents/strategies/cot_agent.ex, lib/jido_ai/agents/strategies/got_agent.ex (\u002B9 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8263737835e0b831a4d5adc4792863dc1c2d839ba31fb0d806e950fcad77fa65"}},{"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 (20 single-owned of 135 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; 135 of the 183 production source files in this repository met that bar). They are anonymized user #2 (2 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: lib/jido_ai/reasoning/trm/supervision.ex, lib/jido_ai/reasoning/trm/reasoning.ex, lib/jido_ai/reasoning/react/transformers/system_one.ex."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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":"32029cfd755703bf7ae1b0501a731fdefcb86097bdb372e2452dce09914d8489"},"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"}},{"id":"CICD-SEC-8","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":"b51a2f7dde20710a2b7e23d6f43643473bcc1d97e07f09b483d71b0f06980159"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0f8524cb88b8ecebe1baaeaecf466d52056f7516482bb09c5e09b1bef14fb54"},"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"}},{"id":"CICD-SEC-8","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":"86db25d84154c13217bd80b8dc7d3690e37a89457f7277fa5f5c7ec55e32641c"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 4 of 135 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 135 of the 183 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: lib/jido_ai/reasoning/trm/act.ex, lib/jido_ai/skill/diagnostics.ex, lib/jido_ai/prompt_builder.ex, lib/mix/tasks/jido_ai.install.ex. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/trm/act.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ba955e760981da4f309cf90f1927463258e3a1e64c16c3ac1670a6c89a7966"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/skill/diagnostics.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1a21e32c7f5bd900f33ebf200c09ee3440e35ed26e22faf7717edc0b24f542"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/prompt_builder.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd3bf367cb61498c4a346afba4e8827d45984e45e632c331bea3afd56b647cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/mix/tasks/jido_ai.install.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16178632fc6d662d882aaff7e8a929b68f7ee46cce16b7e12f419c9f069d4ff"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config.ex \u2194 runner.ex: \u0060lib/jido_ai/reasoning/react/config.ex\u0060 and \u0060lib/jido_ai/reasoning/react/runner.ex\u0060 change together 67% of the time (8 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 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 8 shared commits counted here, the most recent 3 are \u0060089c09e3\u0060 fix(react): terminate parent requests on stream timeout (#382); \u0060aae99061\u0060 feat(react): emit keepalive events during tool execution; \u00602f7b8d61\u0060 fix(react): honor runtime model overrides in turn handling \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/config.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7889944e6e54b35682f256f9a6d04f031f8137dc061ac2ba1ffe51a03e1597"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: runner.ex \u2194 strategy.ex: \u0060lib/jido_ai/reasoning/react/runner.ex\u0060 and \u0060lib/jido_ai/reasoning/react/strategy.ex\u0060 change together 51% of the time (19 of the 37 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 19 shared commits counted here, the most recent 3 are \u0060fa62fa2a\u0060 fix(context): preserve participant names (#392); \u00608defee92\u0060 feat(callbacks): add agent tool call callbacks; \u0060aae99061\u0060 feat(react): emit keepalive events during tool execution \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d44907f78c8b7809ff838a056f4b08446cc869753627ba43a6a740eb6a52840"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: agent.ex \u2194 state.ex: \u0060lib/jido_ai/agent.ex\u0060 and \u0060lib/jido_ai/reasoning/react/state.ex\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 \u0060fa62fa2a\u0060 fix(context): preserve participant names (#392); \u0060aae99061\u0060 feat(react): emit keepalive events during tool execution; \u0060e2b2d275\u0060 chore: support otp 29 and elixir 1.20 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/agent.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8b3f85f04ecdef3d5214e219b7907ec60ff9f3a7debf02898e6aff4ce83227"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add sobelow (Elixir/Phoenix) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 3 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\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 entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed3d0d7c28467261d003a8cf6abc881841cc635e9d2324ab34b8ff58916f1fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Map.get(@reqllm_generation_opt_keys_by_string, key) || maybe_to_existing_atom(key)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/react/config.ex, lib/jido_ai/reasoning/react/strategy.ex. 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":"lib/jido_ai/reasoning/react/config.ex"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc265aeadf1e6e388f4f02a14b373029d4595f252f7a0d066acf2e29bf3fa48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Map.get(agent.state, :tool_context) || tool_context_opt\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/react/strategy.ex, lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex. 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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"998425352064ba8021ee439b30658fe289f69d1051463c143382379179781281"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Map.get(provider_opt_keys_by_string, key) || maybe_to_existing_atom(key)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/react/config.ex, lib/jido_ai/reasoning/react/strategy.ex. 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":"lib/jido_ai/reasoning/react/config.ex"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a5cf418eec1ca9161fedd2ab55add31706f21425d25f6c3ae69fe9fdb50f0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SignalHelpers.correlation_id(signal.data) || \u0022req_#{Jido.Util.generate_id()}\u0022\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/plugins/policy.ex, lib/jido_ai/plugins/quota.ex. 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":"lib/jido_ai/plugins/policy.ex"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ad8c83efa6c4ab8cd03ae3673570a5bb538b99909ebd72aa659b0642d2ff8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060String.starts_with?(type, \u0022reasoning.\u0022) and String.ends_with?(type, \u0022.run\u0022)\u0060 appears character-identically in 3 files \u2014 lib/jido_ai/plugins/policy.ex, lib/jido_ai/plugins/quota.ex, lib/jido_ai/plugins/retrieval.ex. 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":"lib/jido_ai/plugins/policy.ex"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de0f0f181426da13dc2ee91f15bae1c8ab0933cf17efca5ca6ab8483aa677c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config[:effect_policy] || Effects.default_policy()\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/react/strategy.ex, lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex. 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":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ed926d90d83b2c1a42af2839fc7bdf24ba9434620925d10f168bc9b2597861"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config[:max_depth] || @default_max_depth\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/graph_of_thoughts/cli_adapter.ex, lib/jido_ai/reasoning/tree_of_thoughts/cli_adapter.ex. 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":"lib/jido_ai/reasoning/graph_of_thoughts/cli_adapter.ex"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7161dcd81809b766a1b1f03cde2f28c5ccebb4ee09d503aec87781c263ecdd67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config[:max_nodes] || @default_max_nodes\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/graph_of_thoughts/cli_adapter.ex, lib/jido_ai/reasoning/tree_of_thoughts/cli_adapter.ex. 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":"lib/jido_ai/reasoning/graph_of_thoughts/cli_adapter.ex"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3e063efcde018fa2cf42ae2c2b88781e036b6863072efeaaffe0103f237c14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config[:max_tokens] || @default_max_tokens\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex, lib/jido_ai/reasoning/react/cli_adapter.ex. 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":"lib/jido_ai/reasoning/algorithm_of_thoughts/cli_adapter.ex"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ee71cfd2e04aa0e85d816c22499c6e1beb399fb4d98654d8d6e82dc272941d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060get_field(part, :thinking) || get_field(part, :text)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/context.ex, lib/jido_ai/turn.ex. 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":"lib/jido_ai/context.ex"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b9b6bd8b7eb2593c6119ec4e4f4f0118f408c2968822ef62be117abc4c9ec3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060get_field(part, key) || get_field(source, key)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/context.ex, lib/jido_ai/turn.ex. 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":"lib/jido_ai/context.ex"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cea28e66e2ea6601e3713499a54a40c6d3a05c00057b24f0c0596b777f2d79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_atom(action_module) and not is_nil(action_module)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/react/runner.ex, lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex. 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":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e726012929e05e6f473b86ee44c5b77914bb31aa36d8f96112d76c2ce54de95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_atom(provider) and is_binary(model_id) and is_list(provider_opts)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai.ex, lib/jido_ai/model_aliases.ex. 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":"lib/jido_ai.ex"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2343623e32428cd6d719765e2d6522af5ddead192b3e73a3cceb355ffd43f85e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_atom(provider) and is_list(provider_opts)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai.ex, lib/jido_ai/model_aliases.ex. 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":"lib/jido_ai.ex"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47af85282407eadc051bdd1c69baaf840b398e7d8540e2e8987962c192f408b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_atom(task_supervisor) and not is_nil(task_supervisor)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex, lib/jido_ai/reasoning/react/worker/strategy.ex. 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"804dd29d0fb89bf5ac4f7e30aa35ba0dda49d526e5284325b7d4784c0d870760"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(content) and is_integer(size) and size \u003E= 0\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/skill/resource_provider.ex, lib/jido_ai/skill/resources.ex. 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":"lib/jido_ai/skill/resource_provider.ex"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b83cb2dbbbe1ff20e5fbb417c0dab7d6ee920303a03af7d35d4ec43078ab1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_binary(request_id) and is_atom(reason)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex, lib/jido_ai/reasoning/react/worker/strategy.ex. 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa3fd35303d0f57128206610ef0d2538c9a0d7aa4c5250f7e0d4cdf8ef8c91f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_map(metadata) and map_size(metadata) == 0\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/skill/loader.ex, lib/jido_ai/skill/spec.ex. 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":"lib/jido_ai/skill/loader.ex"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc247e8428b46a109049e7491e6541af9413812c04dc1622b11d142b6cc811fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060media_type || \u0022application/octet-stream\u0022\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/context.ex, lib/jido_ai/turn.ex. 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":"lib/jido_ai/context.ex"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30c6cb9cba142218d7a56c601b017a99d6d8db07db8e2c93645e6049a9fe0f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata[:run_id] || metadata[:request_id]\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/directive/llm_generate.ex, lib/jido_ai/directive/llm_stream.ex. 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":"lib/jido_ai/directive/llm_generate.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2a4ae4a371cea55f22bbbdab9595febd7e9eaff3db038672e133bbd3b069fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params[:namespace] || resolve_namespace(context)\u0060 appears character-identically in 3 files \u2014 lib/jido_ai/actions/retrieval/clear_memory.ex, lib/jido_ai/actions/retrieval/recall_memory.ex, lib/jido_ai/actions/retrieval/upsert_memory.ex. 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":"lib/jido_ai/actions/retrieval/clear_memory.ex"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4e205aeb451627f1463564314dc3463b93a7740ba1ced2446ced11f705fe1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params[:request_id] || Machine.generate_call_id()\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex, lib/jido_ai/reasoning/trm/strategy.ex. 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":"lib/jido_ai/reasoning/graph_of_thoughts/strategy.ex"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"591221045b30d1c74050067ee284e11f60bc294679174c4e1b8af5c328d4c8cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params[:request_id] || get_in(params, [:event, :request_id]) || fallback\u0060 appears character-identically in 7 files \u2014 lib/jido_ai/agents/strategies/adaptive_agent.ex, lib/jido_ai/agents/strategies/aot_agent.ex, lib/jido_ai/agents/strategies/cod_agent.ex, lib/jido_ai/agents/strategies/cot_agent.ex. 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":"lib/jido_ai/agents/strategies/adaptive_agent.ex"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d795a04fabee14ecd619ce91d1b03a53c194f1542802f5183d3e7957dc690f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params[:request_id] || state[:active_request_id]\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/chain_of_thought/strategy.ex, lib/jido_ai/reasoning/react/strategy.ex. 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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87f20abab4713f104b572e90d2c3e6b6cf7ebf0b52c065aa404983434aff439"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params[:scope] || resolve_scope(context)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/actions/quota/get_status.ex, lib/jido_ai/actions/quota/reset.ex. 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":"lib/jido_ai/actions/quota/get_status.ex"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"967a3ba5cf780eece290107d25d36cf817006285eb8b0f00a4c34471be4788b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060request_pending?(agent, request_id) and snap.done?\u0060 appears character-identically in 8 files \u2014 lib/jido_ai/agent.ex, lib/jido_ai/agents/strategies/adaptive_agent.ex, lib/jido_ai/agents/strategies/aot_agent.ex, lib/jido_ai/agents/strategies/cod_agent.ex. 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":"lib/jido_ai/agent.ex"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"757bcd481a64eb600caeffe81c19b7aece4e53ca8c9e6f24a929516d27ca678d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state[:status] == :running and is_binary(state[:active_request_id])\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex, lib/jido_ai/reasoning/react/worker/strategy.ex. 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"da10d00bb653deb728b50765551b8580899f9d5700f762841df0771b1818a1bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state[:status] == :running and state[:active_request_id] == request_id and is_pid(state[:runtime_task]) and Process.alive?(state[:runtime_ta\u2026\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex, lib/jido_ai/reasoning/react/worker/strategy.ex. 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":"lib/jido_ai/reasoning/chain_of_thought/worker/strategy.ex"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"590cca2ce9e01d2e4fd93b2cb8211e1d54ebc1cf746931242bc1191bce1667d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tag == @worker_tag or tag == Atom.to_string(@worker_tag)\u0060 appears character-identically in 2 files \u2014 lib/jido_ai/reasoning/chain_of_thought/strategy.ex, lib/jido_ai/reasoning/react/strategy.ex. 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":"lib/jido_ai/reasoning/chain_of_thought/strategy.ex"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec59c4b16b92cf6a51c4be70cde5163c691711837ca56f19e9dbc43485641bf"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Elixir code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/validation.ex"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd66227791a6959f2c8ef976c641f5d9ae41e90ad838aef827b76766eec39832"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060provider_opt_keys\u0060 matches \u0060_\u0060 and answers \u0060%{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai.ex"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b1778bbb71585a83b90596116def9dc29980bd2f0026a8639aeded953a4884"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060drain\u0060 catches \u0060:exit, _\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log what was caught or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/pending_input_server.ex"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c0f6eff0b5c7022249711b76820b3d6667d06a916959ac1da82cff0c4eaed0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060normalize_tool_arguments\u0060 matches \u0060_\u0060 and answers \u0060%{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/turn.ex"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc828e8d7d6536a9117265e9d0762caf6dd9bbd2cae996da8be6090bdcac2ef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060scan_one_directory\u0060 matches \u0060{:error, _reason}\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/skill/discovery.ex"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2790424ef0818876f150f8460869b639b355c7bcde402ce08acae34663dde3f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060build_metadata\u0060 matches \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/skill/discovery.ex"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"767d9c692f1f28a052d1d4ab46f4635d1e5872a680800e87889c61ac85611b12"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060resolve_skill\u0060 matches \u0060{:error, _}\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/skill/prompt.ex"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"137188de0dd69766c526c47b736e1787b3ca61f19c15c23522ed117b1992d1dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060search\u0060 matches \u0060_error\u0060 and answers \u0060[]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/skill/resources.ex"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b79b2bebc6e46dfe889510b4e30d95adb06026b8f8dfd778a6afd4173d92890"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060symlink_free?\u0060 matches \u0060{:error, _reason}\u0060 and answers \u0060{:halt, false}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/skill/resources.ex"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6594e56845eaf20dcf5b01a8ebda483f6055dd95ce7abd7f7d0d520abe425ce"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060decode_json_map\u0060 matches \u0060_\u0060 and answers \u0060%{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/tree_of_thoughts/strategy.ex"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ca7854229393bf631ec4ebacd8c1234717a78aaff5de4b3b4fa7c9b3f244bc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060maybe_to_existing_atom\u0060 rescues \u0060ArgumentError\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/config.ex"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9fd606953e9b8c012226de1c1aae9d6116ef3e1197b94ba6fcab7ab692b0a3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060start_openai_websocket_session\u0060 matches \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"c182a43345ba480b21c81af87929f1a57162849c419dc1ebff05b796786839fa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060stream_response_usage\u0060 rescues \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99facd5242b6610a654ca1bdb78221c4937da034c4c4e3df5e122701fa2eea7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060durable_tool_result_refs\u0060 matches \u0060_\u0060 and answers \u0060%{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1946e8b7363036f719ff14a95d14f015fd875a97d92c8f3fda8067c559a4098"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060maybe_to_existing_atom\u0060 rescues \u0060ArgumentError\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/strategy.ex"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5dbc9b704a182f0a4a73079603062d29b8a654c9c8887c03d78a0b449e4b0d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060normalize_matcher\u0060 rescues \u0060ArgumentError\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/effects/policy.ex"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6a0c8d107451514a2145a0d744c8c3c70626e88b9f132cede03ca9d5736c94"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in rescue: \u0060extract_schema\u0060 rescues \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the exception or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/actions/tool_calling/list_tools.ex"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb438f24adb247a00bc0e6187363862c990ee88e57d6cc3eb19feef282a264cf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060build_analysis_system_prompt\u0060 matches \u0060{:error, _reason}\u0060 and answers \u0060\u0022You are an expert analyst. Analyze the provided input.\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/actions/reasoning/analyze.ex"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f677002f2135d62a231faccf18835163c3de75c10b866fe951b58172ae69a3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060fetch_snapshot\u0060 matches \u0060_\u0060 and answers \u0060nil\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the reason or return the \u0060{:error, reason}\u0060 tuple. If that constant is the correct answer rather than a stand-in for a value that could not be produced, say so in a comment at the clause or in the \u0060@doc\u0060, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/actions/reasoning/run_strategy.ex"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbfb277123aefeb27225524b511896ef9a6f6abb791f9c226c7d31e0949214a"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060String.contains?(third_reply, \u00223.11\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060String.contains?(third_reply, \u00223.11\u0022)\u0060 also satisfies \u0060String.contains?(third_reply, \u00223.1\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/scripts/demo/skills_multi_agent_orchestration_demo.exs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88d5c6b9a157864d60f48d7e59953a864c254e5f0e4e5d8379c4f9d02f32b4f"}}],"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-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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-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-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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"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":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-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":9,"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."]}]}