{"$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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"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":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"6470dc8070d7eb7d9c002f9b13831b54080b997c7740bdc28d279051837d0f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.run_loop (cyclomatic 20): Runner.run_loop has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/reasoning/react/runner.ex"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5c86ff8bf25e68c1e1f7a63570642f226a42470bffa82c5458087d37061dd5"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolExec.exec (cyclomatic 18): ToolExec.exec has cyclomatic complexity 18 (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":104}}}],"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":"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":"Runner.run_loop (cognitive 26): Runner.run_loop has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 7 (18 pts), if/else 3 (7 pts), boolean chains 1 (nesting depth added 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. 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":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96d28d06a3eea05bf24ba0cb46c617bfc7d523043a16e2ae411795ee79abd38"}},{"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":1565}}}],"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":631}}}],"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 2228 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 156 functions. The bar is 500 significant lines; this is 1728 over it, 4.46\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 1596 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 134 functions. The bar is 500 significant lines; this is 1096 over it, 3.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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 875 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 89 functions. The bar is 500 significant lines; this is 375 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 46 functions. The bar is 30 functions; this is 16 over it, 1.53\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: 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":"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":"TooManyFunctions: Output: TooManyFunctions \u2014 39 functions. The bar is 30 functions; this is 9 over it, 1.30\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: 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:548-559 | 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":"bd6c8b884b325de94df3600d282d43bda6386b9074c8e77112c61b8b8df804df"}},{"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":"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."},"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."},"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."},"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."},"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:551-567 | lib/jido_ai/turn.ex:1018-1034 \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":551}}}],"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."},"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:2230-2245 \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."},"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:599-611 | lib/jido_ai/turn.ex:1066-1078 \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":599}}}],"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."},"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:752-764 | lib/jido_ai/turn.ex:780-792 \u2014 both copies are in the same file, so extract the block 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/turn.ex"},"region":{"startLine":752}}}],"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:548-559 | 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."},"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:1362-1372 | lib/jido_ai/reasoning/react/runner.ex:1386-1396 \u2014 both copies are in the same file, so extract the block 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":1362}}}],"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."},"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."},"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."},"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."},"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:389-398 \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":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:2742-2751 \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."},"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:538-546 | lib/jido_ai/turn.ex:1005-1013 \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":538}}}],"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:632-640 \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":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:1889-1897 \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":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."},"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:1814-1821 | lib/jido_ai/reasoning/react/strategy.ex:1837-1844 \u2014 both copies are in the same file, so extract the block 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":1814}}}],"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."},"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 (6 lines \u00D7 3): lib/jido_ai/actions/tool_calling/call_with_tools.ex:391-396 | lib/jido_ai/actions/tool_calling/execute_tool.ex:103-108 | lib/jido_ai/actions/tool_calling/list_tools.ex:86-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"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:359-364 \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_draft/strategy.ex"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"be83fb2af1e3983942bd87720a92b020ac110478f5609a83836fb1c58f5cc7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): lib/jido_ai/actions/tool_calling/call_with_tools.ex:397-400 | lib/jido_ai/actions/tool_calling/execute_tool.ex:109-114 | lib/jido_ai/actions/tool_calling/list_tools.ex:92-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/jido_ai/actions/tool_calling/call_with_tools.ex"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0b5aff7543d3149421c4a1eae890e596f604fa30770032433bd0522b6d312c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/jido_ai/reasoning/chain_of_thought/strategy.ex:665-670 | lib/jido_ai/reasoning/request_lifecycle.ex:105-110 \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/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."},"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:578-582 | lib/jido_ai/turn.ex:1045-1049 \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":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dff67e130ffb43e4ffb65c801123b4ccdcc97279a8013ebeed5d04fc0b7c6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/jido_ai/context.ex:586-595 | lib/jido_ai/turn.ex:1053-1062 \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":586}}}],"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."},"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:1915-1919 \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":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:2727-2736 \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:2773-2777 \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:2783-2791 \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":"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."},"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."},"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."},"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."},"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 (7 lines \u00D7 2): examples/lib/agents/issue_triage_agent.ex:107-113 | examples/lib/agents/issue_triage_agent.ex:174-180 \u2014 both copies are in the same file, so extract the block 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."},"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 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Runner.run_loop at line 163. 5 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-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 14:42:47 -05:00\u0027 --until=\u00272026-10-17 14:42:47 -05: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":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf863fb1180dc3829196e67c548b48001b64307801efdb75e4b36ea94d96cb23"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/jido_ai/output.ex: lib/jido_ai/output.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is Output.new at line 48), 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(reasoning/react): run structured-output repair through request_transformer (#343)\u201D; \u201Cfix(output): wire configured repair callbacks (#339)\u201D; \u201Cfix(output): normalize Zoi array items (#337)\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-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 14:42:47 -05:00\u0027 --until=\u00272026-10-17 14:42:47 -05:00\u0027 --full-history --no-merges -- lib/jido_ai/output.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/output.ex"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2628841710a7ec2d285bad8ce70a9e332955b87b11293de3ee4035de52af005b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 24 significant file(s) lose their only recent owner: 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/algorithm_of_thoughts/machine.ex, lib/jido_ai/actions/reasoning/run_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 (\u002B16 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8263737835e0b831a4d5adc4792863dc1c2d839ba31fb0d806e950fcad77fa65"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (44109 LoC, 263 module-visible types across 49 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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: 2 of 134 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 and example/demo trees and test files identified by path convention, largest first; 134 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/skill/diagnostics.ex, lib/jido_ai/prompt_builder.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/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":"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 53% of the time (18 of the 34 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 18 shared commits counted here, the most recent 3 are \u00608defee92\u0060 feat(callbacks): add agent tool call callbacks; \u0060aae99061\u0060 feat(react): emit keepalive events during tool execution; \u00606d021352\u0060 fix: report llm token usage in telemetry \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":"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 2795 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":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"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":2365}}}],"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":712}}}],"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: \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":914}}}],"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: \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":"54323719c2c4beac52eba6198fca9d2d0157488d7b89b9cfdd8a4e8b412ded83"}},{"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":717}}}],"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":"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":"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."]}]}