{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"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":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"aichat::repl::run_repl_command (cyclomatic 78): aichat::repl::run_repl_command has cyclomatic complexity 78 (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":"src/repl/mod.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9cce59c07c10ecde87febe5aad54bf7fa1fffc9954d981d551157b9e7da0b7"}},{"ruleId":"D1","level":"warning","message":{"text":"playground.html.setupApp (cyclomatic 77): playground.html.setupApp has cyclomatic complexity 77 (threshold 15). Most of this is not in the body itself: 7 of the 77 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 861, 1172, 1310, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2e4a867dfb8bde8fff48fd25fa789e3c5ed0ac9eff6413570086254508f761"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::load_envs (cyclomatic 45): Config::load_envs has cyclomatic complexity 45 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"128e4b1535777858b436bd83493b2a127f3936296018e71bbfeb3194a125e571"}},{"ruleId":"D1","level":"warning","message":{"text":"arena.html.setupApp (cyclomatic 43): arena.html.setupApp has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to one function literal inside it that branches (line 576). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17ca85908c165721b728d92aab3c07528dd544d3b5603760883a55cab0c0af3"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::run (cyclomatic 32): aichat::run has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f45e18a11a937966c4d4821f5f073de092bbfc965ec4120993dc1aad0588c0"}},{"ruleId":"D1","level":"warning","message":{"text":"Rag::sync_documents (cyclomatic 31): Rag::sync_documents has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/mod.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa59d02578aa6f68c353a43e1f1d033dd7f70351dee508515ced00f81f119ea"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::repl_complete (cyclomatic 30): Config::repl_complete has cyclomatic complexity 30 (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":"src/config/mod.rs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"010076ab669734bcb95303437ad9dd1a54fdb7efb6a11ab70fc2195d3396af56"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::repl::split_args_text (cyclomatic 22): aichat::repl::split_args_text has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repl/mod.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4470b45b023967efee4629c95b9dccc050052b99d2f51420288accac966418"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::utils::request::fetch_with_loaders (cyclomatic 22): aichat::utils::request::fetch_with_loaders has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/request.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"071194072b9a323637933bd4fc4ae2eaf74528d0cab4caecf0b171daa8da0d5e"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::client::bedrock::chat_completions_streaming (cyclomatic 20): aichat::client::bedrock::chat_completions_streaming has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b328c2b4e881e6466d7acd50f917b10eea1ec639ea738ab3061160f9c1b099a"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::serve::parse_messages (cyclomatic 20): aichat::serve::parse_messages has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0b095817f6bcdf11201e7e1a5f067b04ee92bd2a8fb81e27a09b8ab5943485"}},{"ruleId":"D1","level":"warning","message":{"text":"Server::chat_completions (cyclomatic 19): Server::chat_completions has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9179035f24ba6674ca2f4d36bba71e608340c230b73b0b629f3c7a3fab1ca50"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::client::create_client_config (cyclomatic 18): aichat::client::create_client_config has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc876134884927f34b619795373e85f090dc2551fca37006338e171a3a7d769"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::client::openai::openai_chat_completions_streaming (cyclomatic 18): aichat::client::openai::openai_chat_completions_streaming has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/openai.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19868a81b0a8fd1e9925a1784bda7712dabd161c121af78d3bde521e343ed00"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::generate_prompt_context (cyclomatic 16): Config::generate_prompt_context has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Config::update (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9f66fe9b3c531d9893eaebb97f9fd434cce8d75c6627a5c6e32fc7580ad2ba"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::client::claude::claude_build_chat_completions_body (cyclomatic 16): aichat::client::claude::claude_build_chat_completions_body has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b65ab7667e893eab1f1d77ff37e84f11bfd74b7a8508997943fa5d23d2fda5"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::render::stream::markdown_stream_inner (cyclomatic 16): aichat::render::stream::markdown_stream_inner has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/render/stream.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba22d3845dfae58f5e8e61c2c900b7b4da36c0e281c98214d3623635b6585d91"}},{"ruleId":"D1","level":"warning","message":{"text":"aichat::utils::path::parse_glob (cyclomatic 16): aichat::utils::path::parse_glob has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/path.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5097f46a8ccfb651d8fdf4d82d499d97f9e72e32d123478b5d2e9d91a9bd6471"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::repl::run_repl_command (cognitive 119): aichat::repl::run_repl_command has cognitive complexity 119 (threshold 15). Drivers by points: match/switch 26 (72 pts), if/else 13 (40 pts), loops 1 (5 pts), boolean chains 2 (nesting depth added 77). 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":"src/repl/mod.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"7600cd9b8c2a24f7ce0da23685d77151977edca3e4bdfb0876d20245452b14df"}},{"ruleId":"D2","level":"warning","message":{"text":"playground.html.setupApp (cognitive 98): playground.html.setupApp has cognitive complexity 98 (threshold 15). Drivers by points: if/else 51 (64 pts), boolean chains 23, loops 4 (7 pts), ternaries 3, error handling 1 (nesting depth added 16). Most of this is not in the body itself: 6 of the 98 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 861, 1172, 1310, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7e4f35bfbf3909d4c7572cd799c09df0b3acc1d3cddabcdfa3575cba2757f9"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::bedrock::chat_completions_streaming (cognitive 66): aichat::client::bedrock::chat_completions_streaming has cognitive complexity 66 (threshold 15). Drivers by points: if/else 12 (56 pts), match/switch 2 (7 pts), loops 2 (3 pts) (nesting depth added 50). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"776a2c77c6de9a9413eb70988527c0ac797cbb9ede67c077175e54f88a47193d"}},{"ruleId":"D2","level":"warning","message":{"text":"Rag::sync_documents (cognitive 57): Rag::sync_documents has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (33 pts), loops 9 (14 pts), match/switch 4 (8 pts), boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/mod.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f850c15cee1230da8dbe6d5c47fdc038128091c00f5e34849516f2032a3594"}},{"ruleId":"D2","level":"warning","message":{"text":"arena.html.setupApp (cognitive 55): arena.html.setupApp has cognitive complexity 55 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 11, loops 8 (10 pts), error handling 2 (nesting depth added 10). None of this is in the body itself: all 55 points belong to one function literal inside it that branches (line 576). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd33950823b9c23fa7cdab7d374517a5ca912d2fbd0cbdd16cc6392ada4d6ec1"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::load_envs (cognitive 53): Config::load_envs has cognitive complexity 53 (threshold 15). Drivers by points: if/else 42 (48 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b972fb72940f77a9523b16bd1f65fb546dbcc804e681f3e64a14cf1cf9a1f96"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::serve::parse_messages (cognitive 51): aichat::serve::parse_messages has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (28 pts), match/switch 5 (13 pts), loops 3 (10 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb067fe9e9b33bdb67e2efc2308d45dea380ee8a37f1a020fa0570690d86691"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::render::stream::markdown_stream_inner (cognitive 43): aichat::render::stream::markdown_stream_inner has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (27 pts), match/switch 2 (8 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/render/stream.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4346ab7349db0a8bea3ffe2163c58f715aab2c5b18d90e7087991f23562953f8"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::run (cognitive 40): aichat::run has cognitive complexity 40 (threshold 15). Drivers by points: if/else 28 (34 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5131253b4a03a02e3ffe8f0f605489280940526a096d2db9a391f5754fc32be8"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::chat_completions (cognitive 38): Server::chat_completions has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (25 pts), match/switch 4 (11 pts), loops 1 (2 pts) (nesting depth added 19). Most of this is not in the body itself: 11 of the 38 points are its own statements and the rest belongs to 2 function items inside it that branch (chat_completions, map_event). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5248dd57540096a2e42b28b59acddc492db5e1f70a7115f836de07ecf981fd06"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::openai::openai_chat_completions_streaming (cognitive 35): aichat::client::openai::openai_chat_completions_streaming has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/openai.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"970e5b2c42aa837cbee5b6d39f0dcc1b8bf29f3dbc8bf3525eb4120460d4255d"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::repl::split_args_text (cognitive 35): aichat::repl::split_args_text has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 7, match/switch 3 (6 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repl/mod.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d45dd8422b403dc2b16c5e006c8465a114e8eedc737aabea7fc633473a03bd"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::utils::path::parse_glob (cognitive 32): aichat::utils::path::parse_glob has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/path.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83301505e3ccbc09ecd482c9116dc56f2447aba4fc66df742f09f9a51c1ac08"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::repl_complete (cognitive 30): Config::repl_complete has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 4 (10 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99af98b6e9f3e7454d7b4770efc8651174cffb929062756c796c8bc67777c5c"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::claude::claude_chat_completions_streaming (cognitive 30): aichat::client::claude::claude_chat_completions_streaming has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (28 pts), match/switch 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a171bb316d1ffe5dd2034fe4b469a6c6cf4e5418c375e4bc9770714f8a9a5d9e"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::utils::request::crawl_website (cognitive 30): aichat::utils::request::crawl_website has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (7 pts), match/switch 1 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/request.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5a3521f6e41930c9b58fe9d045899f5702eda24c42404543c2f040bbc6c7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::select_functions (cognitive 29): Config::select_functions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 1 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7700bd4219886ede3be52c845e461e7a6ce87612ae948d23aae4dff312a37ff"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonStreamParser::process (cognitive 27): JsonStreamParser::process has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (23 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/stream.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69a2e7770f3976101c9658c6de4b21ecbbc885e6ccc68af30fbbcdbc8698113"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent::init (cognitive 27): Agent::init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 1 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/agent.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4100b308bd7251d7645e649942603cd965ee7e14cf7291df7d1ed5b5e051328"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::claude::claude_extract_chat_completions (cognitive 26): aichat::client::claude::claude_extract_chat_completions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (20 pts), match/switch 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdcf4ac96e8bac50e85c4bc568876770e0b59857c425b0874aa2956a6cffe0f"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::exit (cognitive 25): Session::exit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 2 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/session.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e6fa4cc5c7a561cd80f2e5e1e6de606db5cc23d16bd03e9a425e63b1e02a10"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::utils::request::fetch_with_loaders (cognitive 25): aichat::utils::request::fetch_with_loaders has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 4 (5 pts), loops 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/request.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d953aab68d6be30dd941c349178d501e3d87df8bc98f3fbe21be3a61ef448261"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent::init_agent_variables (cognitive 24): Agent::init_agent_variables has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/agent.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"67373582e1424420fb73e9c3ed0140c4ad9ece2bb196a3969a3d6e6496ec017b"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::use_session (cognitive 23): Config::use_session has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 1, match/switch 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c44b4373c3d8feb44dace08cdc47e92ceb63496e24ebde7cfac1b44997101d7"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::bedrock::extract_chat_completions (cognitive 23): aichat::client::bedrock::extract_chat_completions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f83b82eebc13c78d97f1e4fc1b65ac554de910ad55d24c89734b516d61a3556"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::cohere::chat_completions_streaming (cognitive 23): aichat::client::cohere::chat_completions_streaming has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/cohere.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"88917efb2b62db85258ff4f16bda1f606c73dee8a681afcbfa9fb3ca88355118"}},{"ruleId":"D2","level":"warning","message":{"text":"playground.html.parseStructurePrompt (cognitive 23): playground.html.parseStructurePrompt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"408df6e5825fcafbb0d45f0ba81140a6bbf7f880ab6fd23af369b8669412ea30"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::add_message (cognitive 22): Session::add_message has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/session.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"789a180b9e6fd223e86bb36b1117c2807b6a1f731b729a675e4dcc5a5cbcb35a"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::delete (cognitive 21): Config::delete has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 4 (7 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c49fea92dfde82399cb2393aea8635bbf4b65ca4f8b93a9099c5f64af25df2f"}},{"ruleId":"D2","level":"warning","message":{"text":"RecursiveCharacterTextSplitter::merge_splits (cognitive 20): RecursiveCharacterTextSplitter::merge_splits has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/splitter/mod.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"028ae4b767b9517c1bed8820245f44cf02fa11fb123b3a3f9274c2f083e95152"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::config::role::parse_structure_prompt (cognitive 20): aichat::config::role::parse_structure_prompt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/role.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"01909fee1a77878e803125ffb6b1e41292b499b7d165d56af7314cd50e8a7252"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::utils::render_prompt::parse_template (cognitive 20): aichat::utils::render_prompt::parse_template has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/render_prompt.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"41689f157766d88dc5868b27a5eb0745e1bfec221c7c91971575ddeffd377835"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageContent::render_input (cognitive 19): MessageContent::render_input has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), match/switch 2 (4 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/message.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f063e392154aa9bda1db167f79fb9b01d3893ee2c7f52fba196bbd54fbc50de6"}},{"ruleId":"D2","level":"warning","message":{"text":"Input::from_files (cognitive 19): Input::from_files has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/input.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b44804ade4491624e708412f5ac8bd2d43e54ef7e94153f563046c8e3abe393"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::generate_prompt_context (cognitive 19): Config::generate_prompt_context has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (19 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"832b46906a7f6b66f68d45a43b2dd0081963d6b24b4443146573d356e981c012"}},{"ruleId":"D2","level":"warning","message":{"text":"RecursiveCharacterTextSplitter::split_text_impl (cognitive 19): RecursiveCharacterTextSplitter::split_text_impl has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/splitter/mod.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8bb151c438a63e6a3bbaf2e834d8fe73cf7386b98f59396338a62f036810d8"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::shell_execute (cognitive 19): aichat::shell_execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19414553ff4b15ad8851d8744bac849ef69a0714d0c969afba91b8fb68b789e"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::claude::claude_build_chat_completions_body (cognitive 19): aichat::client::claude::claude_build_chat_completions_body has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d79185517e52e9e470a3d3c54f7268308af8dca3fd6023a8e02e7b5a6aae247"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::utils::command::detect_shell (cognitive 19): aichat::utils::command::detect_shell has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/command.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"025320f030bf55d27c0fa393aece0e054596df3f775a8fa4aa835e6e8256ae8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Role::new (cognitive 18): Role::new has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 1 (5 pts), loops 1 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/role.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdc50e9dae7fbb2dc14846d43c2cd1c5e502664e1596e2444788513fde60585"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::render (cognitive 18): Session::render has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/session.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58a36a7ea4a887f04f60a6bfdbcc2c523276213650643271f4eaacf3074a299"}},{"ruleId":"D2","level":"warning","message":{"text":"RecursiveCharacterTextSplitter::create_documents (cognitive 18): RecursiveCharacterTextSplitter::create_documents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 1 (4 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/splitter/mod.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"364e65be16590c896ecfecf254f9548370879d6d642f7af0fb6297431a70b7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::bedrock::build_chat_completions_body (cognitive 18): aichat::client::bedrock::build_chat_completions_body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e129c90dc09264434cab0846778e4596576d39a73c5dca18b257918a84ae989f"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::vertexai::gemini_chat_completions_streaming (cognitive 18): aichat::client::vertexai::gemini_chat_completions_streaming has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/vertexai.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c32141c5d732085b9b97ecc0578030027f9fe99041cfa19fe72a7303d1b704"}},{"ruleId":"D2","level":"warning","message":{"text":"arena.html.fetchChatCompletions (cognitive 18): arena.html.fetchChatCompletions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c299c6e2eb891e6264c8063d29671cfd578047331ad4c5f85b8df00d07f9dd"}},{"ruleId":"D2","level":"warning","message":{"text":"playground.html.fetchChatCompletions (cognitive 18): playground.html.fetchChatCompletions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac990adda2ad179d22964890115c05d08617237a28b3b156e6ccc07a0cd137b"}},{"ruleId":"D2","level":"warning","message":{"text":"Model::retrieve_model (cognitive 17): Model::retrieve_model has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, match/switch 2 (nesting depth added 6). 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":"src/client/model.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"129be5920c234961a5a27b2febd24d1862d8c603057ee01eff8d1d2ca2ffc46c"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownRender::check_line (cognitive 17): MarkdownRender::check_line has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/render/markdown.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bfc8805609ff0ff6024f010ffa069cdf9ed490b7825c270fd3b74875705b51"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::create_client_config (cognitive 17): aichat::client::create_client_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cefc992bbf4511f6a7e7befc2e2a0e398ae04cd4547fab995ffa57084f6424d"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::common::set_client_models_config (cognitive 17): aichat::client::common::set_client_models_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/common.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ead069ced0c422a8e72a661b5914bba646e730183f1999799653d51406e4972"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::vertexai::gemini_build_chat_completions_body (cognitive 17): aichat::client::vertexai::gemini_build_chat_completions_body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 3 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/vertexai.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae883f10a5c97b5034d6279fe3ccac82c349954ef5c4fac36c0e8caa76c4647"}},{"ruleId":"D2","level":"warning","message":{"text":"Cli::text (cognitive 16): Cli::text has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"518cb57d3a03deab17903cfbfc4c4700a3a207407fcda3744ad90cfa718a33b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::handle (cognitive 16): Server::handle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a221d618ee03c15a37aaefde27630cc9e83b7d91fb1436bf3dd30f0715d436af"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::client::openai::openai_build_chat_completions_body (cognitive 16): aichat::client::openai::openai_build_chat_completions_body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 1 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/openai.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1fd02eaf5d9fad532d992ba6131f7cbe02557ec0554f5ff79ea2944e35633c"}},{"ruleId":"D2","level":"warning","message":{"text":"aichat::utils::path::list_files (cognitive 16): aichat::utils::path::list_files has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/path.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"907d3ea1c70f9a6bdd14e8ecd6186fe7fd84b2098076138815893a261f50fb40"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Config: ClassTooLong \u2014 1664 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 118 methods, 3 blocks, lines 101-2420. The bar is 400 significant lines; this is 1264 over it, 4.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce6b384569e806783b8ccf938a8f717613142e0a604f368ed4257bdae2867a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/mod.rs: FileTooLong \u2014 1968 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Config (3 blocks, 101-2420). The bar is 500 significant lines; this is 1468 over it, 3.94\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a8540391995b66c7ece2f76bbcc00026b0ed8b20a8b88418fa8f3f06bc600e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Config: TooManyMethods \u2014 118 methods. The bar is 30 methods; this is 88 over it, 3.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8be0051d8a3d1cb0d7e19fa54c2dc5212289eb356a9a018c4aae17a22fd57d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: playground.html.setupApp: FunctionTooLong \u2014 setupApp runs 350 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 250 over it, 3.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1eeb243206b74f070981cebe35ccfa543e8aea27eb3defa79a7bb19ad3c244"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aichat::repl::run_repl_command: FunctionTooLong \u2014 aichat::repl::run_repl_command runs 243 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repl/mod.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f4189acef2dab29362fbacdff209e842e3a98224ed6c6e356d9a1ac62884f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: arena.html.setupApp: FunctionTooLong \u2014 setupApp runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"72679fde075b89457e58860378fa4437adfe8cb909b6406dbc1d16893214f64c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Config: TooManyFields \u2014 47 stored fields beside 118 methods. The bar is 30 stored fields; this is 17 over it, 1.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a864ebf122329b01e75232aba28937ae445fe5506b262c7cec539f09ca890892"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.chat_completions: MethodTooLong \u2014 chat_completions runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4640496de55ce8db0d8da5372400b74764f0d57051e7577e053a04abfbf15eea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rag/mod.rs: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: Rag (4 blocks, 21-690). The bar is 500 significant lines; this is 268 over it, 1.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1a3b7907290db2e581b6a541a12cafed64d124a28d917e7e85f4a856a91455"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Rag.sync_documents: MethodTooLong \u2014 sync_documents runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/mod.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff8d88f4918222cfd5a5acc9972cf28c1db6c477de8675c36dd6cff7b2ee6f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/serve.rs: FileTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 195 over it, 1.39\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":"src/serve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96278d82dd5d8313c648a6f73f393f751be12666022320c579ac2ae484dd0377"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Rag: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 21 methods, 4 blocks, lines 21-690. The bar is 400 significant lines; this is 115 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/mod.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a9114ddf0c5d4dad4703106a7f988cebdb91e1ef286e968636a51860657d11"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/session.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae52e5e63e886818799994a1556b5461501f8b6147215c892f2ba9b5c1ccfb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repl/mod.rs: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 126 over it, 1.25\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":"src/repl/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92a54b957fa22927c8ded9e5e8382ea05cc17e5972c5c21b7c874aa5671d084"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/playground.html: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded), about 64% of them inside a single declaration: setupApp (849-1323). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8025b0a3d45cff75fba4b06e7d2a71c3b0af8e4038ced3672c498b58413146"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config.repl_complete: MethodTooLong \u2014 repl_complete runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"2333da98a68c0caf3eff0d8229c16b5a7db67197f2ce8c66194bd4bb8e824f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aichat::client::bedrock::build_chat_completions_body: FunctionTooLong \u2014 aichat::client::bedrock::build_chat_completions_body runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"42512cad97a194e4f69beff27efeda991839025e6e745d1c1421efb875d919a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aichat::client::claude::claude_build_chat_completions_body: FunctionTooLong \u2014 aichat::client::claude::claude_build_chat_completions_body runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f73fd18a1baf0c7bec837c7e8802a1b18286c2f39d85d45f0fc3df0da19998b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (51 shared lines): src/client/bedrock.rs:321-478 | src/client/claude.rs:159-298 \u2014 These two members are variants of one another: 51 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96810f0fe94dea909b9887893c7dc09f4869dd60eef9c8bd5b699d101c1f77d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/client/bedrock.rs:179-190 | src/client/claude.rs:64-73 | src/client/cohere.rs:111-121 | src/client/openai.rs:88-98 | src/client/vertexai.rs:186-195 \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":"src/client/bedrock.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f7e74d94ad15bf9c8381e76f100480aa09d68620e6f226bf85f906398054e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/client/bedrock.rs:302-314 | src/client/cohere.rs:191-201 | src/client/gemini.rs:111-126 | src/client/openai.rs:203-214 | src/client/vertexai.rs:239-254 \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":"src/client/bedrock.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e583ed147169424b7e35f6f14fd41b829ba3217103930872d0be32bcd48527c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): src/client/cohere.rs:213-255 | src/client/openai.rs:353-400 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/cohere.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f61b89b2bf037a2153d70edaeae79b2719d51020271532b80e9b1385c937154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): src/client/bedrock.rs:45-90 | src/client/bedrock.rs:96-143 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03a3e339f1caada6486c31602f5b90887cd297115928d35e8969c8cca0dc7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): src/config/mod.rs:1224-1256 | src/config/mod.rs:1294-1319 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d3ce2363ba890c0d6b1f14a00de59c5a884b965e8dcede29d2fa3029aadaff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/client/vertexai.rs:43-54 | src/client/vertexai.rs:61-78 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/vertexai.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05526944f3cc0486a84e0401e4708e946a857b846e9696c58adb0f594182634"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/config/mod.rs:1460-1475 | src/utils/path.rs:52-67 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39bf333b9d0979807542679cb6eedab3f651ada254a5c576b1ebafc78a68239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/client/azure_openai.rs:46-63 | src/client/azure_openai.rs:65-82 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/azure_openai.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c566b39e01aecd6762bad920d42a8b1cdc736435f49c2b16307693f8b39eceb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src/client/openai_compatible.rs:41-56 | src/client/openai_compatible.rs:61-76 | src/client/openai_compatible.rs:78-97 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/openai_compatible.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1992951f0a3695e514502307963e80ba28fb56b5a802e8d3651be22a09577b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): src/client/claude.rs:44-59 | src/client/cohere.rs:92-106 | src/client/openai.rs:45-63 | src/client/openai.rs:65-83 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c4afe1e6f3df61bbeea72607ec6287d170f699e8187eaef3aabd1c5679ff89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/config/mod.rs:1410-1420 | src/config/mod.rs:2726-2734 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaf8d8504c1e627f7a4b9d88f1094fc1bc07edf79ec9e823df2321aa8690ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/config/mod.rs:340-348 | src/config/mod.rs:350-358 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"83093861fbadc816359709d0f1bea7b9bfb4635f7f221cf87c3d1cf9c22c38e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/config/agent.rs:396-402 | src/config/agent.rs:453-459 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/agent.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7608b04f1b9b667ae58b932e31f155a1e14ee309ce2e18b9a6c8f0b1e9cba260"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/utils/loader.rs:65-70 | src/utils/loader.rs:72-77 | src/utils/loader.rs:79-84 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/loader.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d14d0b2e60a85ae600355415c2574435737c4d4be13f33d5b0471bac8b4d50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src/serve.rs:212-218 | src/serve.rs:220-226 | src/serve.rs:228-234 | src/serve.rs:803-814 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e102f8bf341a153c1e8b06414ead881e796b9da15e33cf02b180ede3b6767e08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): src/client/azure_openai.rs:32-32 | src/client/openai.rs:31-31 | src/client/openai_compatible.rs:27-27 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/azure_openai.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e27dfcabf4611e976bfdf3af52375622b12b4caf191b45a5d7b02453d3322f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): src/client/azure_openai.rs:32-32 | src/client/claude.rs:30-30 | src/client/gemini.rs:29-29 | src/client/openai.rs:31-31 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/azure_openai.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fef382053b9768365b05a7404b94586abeb0294ae0194dd39410b66d559d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): src/client/cohere.rs:30-30 | src/client/openai_compatible.rs:27-27 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/cohere.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc91f0b352eb016102b01ebce97dbf56616bba44f5ceb43c1907bf1ac487ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 1\u002B corresponding lines): src/client/azure_openai.rs:32-32 | src/client/cohere.rs:30-30 | src/client/gemini.rs:29-29 | src/client/openai.rs:31-31 | src/client/openai_compatible.rs:27-27 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/azure_openai.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2047c281ba37175caccf616b48c9d0213f95d26e5b280a3816a93fcfa0b5c643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/client/bedrock.rs:62-90 | src/client/bedrock.rs:115-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/bedrock.rs:62\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fba08f93f1b55543862c16849e6ae42edf2f4515adec541b518a2863a9a2f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/client/bedrock.rs:415-435 | src/client/claude.rs:244-264 \u2014 before extracting anything, compare \u0060src/client/bedrock.rs\u0060 and \u0060src/client/claude.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/bedrock.rs:415\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5075ba873dc5488d21d8e82977dac9759b6166fc92dfad893f4806b586c2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/client/cohere.rs:226-242 | src/client/openai.rs:366-381 \u2014 before extracting anything, compare \u0060src/client/cohere.rs\u0060 and \u0060src/client/openai.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/cohere.rs:226\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/cohere.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a914c7f12fa12aa05071a9845d95893f79ca51bf38db0e040d5145c430ea3bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/client/bedrock.rs:376-391 | src/client/claude.rs:210-225 \u2014 before extracting anything, compare \u0060src/client/bedrock.rs\u0060 and \u0060src/client/claude.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/bedrock.rs:376\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa522d0846a02444e50fb732fdfc337a37dfba04d8c0c2fbf568656356236f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/client/bedrock.rs:328-341 | src/client/claude.rs:166-179 \u2014 before extracting anything, compare \u0060src/client/bedrock.rs\u0060 and \u0060src/client/claude.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/bedrock.rs:328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8fb12e6e0be6b2a6174dd1d6d9f23152782106d7f0bce2c4f4121fb28fac01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/client/claude.rs:276-289 | src/client/openai.rs:323-336 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/claude.rs:276\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/client/claude.rs:273\u0060 calls \u0060Some\u0060, \u0060max_tokens_param\u0060, \u0060into\u0060 and \u0060src/client/openai.rs:321\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a355608ce7235c9a59e6cee600780e14457def6dd0074148237d98e2bd1d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/client/bedrock.rs:231-243 | src/client/bedrock.rs:271-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/bedrock.rs:231\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebce1c8ea22454ce472b2456662d2626e8c1ce5fbd4a50d55a67e7f38881a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/client/openai.rs:113-124 | src/client/openai.rs:163-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/openai.rs:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/openai.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c1292fd00dd5c03750421b670d2f81a1cfebbc296112dd6e2b7d458cb53795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): src/client/bedrock.rs:230-240 | src/client/bedrock.rs:270-279 | src/client/openai.rs:112-121 | src/client/openai.rs:162-171 \u2014 before extracting anything, compare \u0060src/client/bedrock.rs\u0060 and \u0060src/client/openai.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/bedrock.rs:230\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/client/openai.rs:160\u0060 calls \u0060unwrap_or_default\u0060 and \u0060src/client/bedrock.rs:269\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d48ff0fc3bdb4f9b583195203fa5891515cb2accb75f4d5bfe0c4672778172d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/client/bedrock.rs:234-244 | src/client/cohere.rs:169-178 \u2014 before extracting anything, compare \u0060src/client/bedrock.rs\u0060 and \u0060src/client/cohere.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/bedrock.rs:234\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7930dec49889a42cfed7e4fb22c9b805e0eed16e4ca61bcd00c484b5296dc665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/client/claude.rs:95-105 | src/client/cohere.rs:168-177 \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":"src/client/claude.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8c26d9fd06dd90b8f445f6d3c7e6fd47bb26615546f78c5c43cf8b9513813e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 5): src/client/bedrock.rs:303-312 | src/client/cohere.rs:192-199 | src/client/gemini.rs:112-119 | src/client/openai.rs:204-211 | src/client/vertexai.rs:240-247 \u2014 before extracting anything, compare \u0060src/client/bedrock.rs\u0060 and \u0060src/client/cohere.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"src/client/bedrock.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e6612336c9edd54d8f99d6544af3e0f467e2a0b76a484f2c5add0b88bf3aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 5): src/client/bedrock.rs:180-188 | src/client/claude.rs:65-71 | src/client/cohere.rs:112-119 | src/client/openai.rs:89-96 | src/client/vertexai.rs:187-193 \u2014 before extracting anything, compare \u0060src/client/bedrock.rs\u0060 and \u0060src/client/claude.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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":"src/client/bedrock.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6d5be1e37642edff062a8076adc155ec368e21c1383e27cc9f828f3803c954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/client/vertexai.rs:97-105 | src/client/vertexai.rs:156-164 \u2014 both copies are in the same file, so extract the block 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":"src/client/vertexai.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcb5464d6c3af9b0d260c97af6c3214b9b1761b20b3c03395e547c392107aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/config/mod.rs:2136-2144 | src/config/mod.rs:2162-2170 \u2014 both copies are in the same file, so extract the block 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":"src/config/mod.rs"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"949093c27bc4cb5c6eaf97cedc30a68af2295654efb42b0efdd1780ed7b20027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/client/vertexai.rs:44-49 | src/client/vertexai.rs:62-67 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/client/vertexai.rs:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/vertexai.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50c2bb24f08d65ae7948588b497cd65c9cfaf0daae7b245378f92bbc07b61c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/config/mod.rs:1236-1247 | src/config/mod.rs:1302-1310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0d466f875294cc38b71ad2e3eaad939f6264feeb5bc7d34b95b8bd6353fc45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/utils/request.rs:319-329 | src/utils/request.rs:335-345 \u2014 both copies are in the same file, so extract the block 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":"src/utils/request.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6756f4ccc9dfe92c2f22677b30377194d899d010600ae45a7663b872927b3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/serve.rs:262-267 | src/serve.rs:471-476 | src/serve.rs:527-532 \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":"src/serve.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b18cf324ddb055ca93fc6b891003b575223ccb4f30c537c03e954d8879579ac"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenAIClient (LCOM4 4): OpenAIClient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e96a9382407ec581488f875f1b55d401b00c2acdff42179d4b5b5e5233cd31"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenAICompatibleClient (LCOM4 4): OpenAICompatibleClient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ef77945ebfe8f5c0c138969e74e8792e653f669638ee77702a65458c57cd1a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GeminiClient (LCOM4 4): GeminiClient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afedbeb66ca3211df2b28402cc0a4f3f2040c1815963b502784443422a053ad"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ClaudeClient (LCOM4 4): ClaudeClient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"520fdf874bdad1c28f3dd8fec762486b81ab7f3a3ae3be5c9c21ee06b0a7b5a8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CohereClient (LCOM4 4): CohereClient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"655c21ba4090750390a28bb401b6389be521123d7484c8db2fbb498622cb9dd6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AzureOpenAIClient (LCOM4 4): AzureOpenAIClient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76431de79025d607fc8ceee7a1d39d2c7a4129a4f273ac182aba8acf362462a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/cli.rs: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e321d549c42f43caba8ddebb27f26c876ddd572628243998d411dd125409e290"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/access_token.rs: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/access_token.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26e228bf8734d87385f096e97b3063393b24f14404469e3bf062872a8fa5c93"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/azure_openai.rs: 0.0% line coverage (0/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/azure_openai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d78dcdd795765a5a9589d5b05e0e330da2960a0a752ecd9d6c9d195d434acbc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/bedrock.rs: 0.0% line coverage (0/431)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"046c40c0f21a55fff46d8a5578782bb7ed00a4c6109151eee8fc9f687e59b51d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/claude.rs: 0.0% line coverage (0/257)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3a0cfcd3e37239c0c176106cbf157c61013ce582083defcd594c0d18927baf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/cohere.rs: 0.0% line coverage (0/168)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/cohere.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"293311fa50d091b471912c2e7f17e00104b3cc175e33892b5f7450d7f3813c59"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/common.rs: 0.0% line coverage (0/443)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/common.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f634c1995d6124a21675abab64d662dbb1b65aec82e2ad140b561f72eb02a63"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/gemini.rs: 0.0% line coverage (0/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/gemini.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa02242f338cb883a86ac132541ab3fbefccdb89f28f0fe5cd54344fb2abc092"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/macros.rs: 0.0% line coverage (0/133)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef946ca33020f89491063d3386cc5c00cfe2c4d5716e8152ede896e4c6df979"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/message.rs: 0.0% line coverage (0/145)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fee65f79b8f74a45cbc302362d01714ada9c5f38d7ed09c24fb2bf8e7a7df7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/model.rs: 0.0% line coverage (0/244)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afe61f12316dfc4c384ac304b5a5673ebbda9b1f839cf1291b399cd1a2622b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/openai.rs: 0.0% line coverage (0/296)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/openai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea298c692448c51d98dba91103dbbdf64fda0224806a2b4a985a5dffb647312"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/openai_compatible.rs: 0.0% line coverage (0/88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/openai_compatible.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef182ea956c1549a2ba81537b44f1a3e5bfeb5fe1a5b1f5c10b3a0f6b98bae93"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/stream.rs: 36.5% line coverage (54/148)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66d57f4d17993c8af36b9775af1e73a42ed466b5a38f630fe3bc7d985452856"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/client/vertexai.rs: 0.0% line coverage (0/341)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/vertexai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9446f49e52637ba494f535685e9a607ce8a52eaa5983787b644cbc293b1401ba"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/config/agent.rs: 0.0% line coverage (0/384)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/agent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cb94d02370a980771612d0aa76670daeb7fbb09fd6d10e6f80e38c4ff2a6df"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/config/input.rs: 0.0% line coverage (0/419)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"122979217c57d4f19c87a3bcdb3da5d08160a49addab88fbcfd6caaa245a89c7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/config/mod.rs: 0.0% line coverage (0/2044)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9276c3736d35f4f8b5101f13bab82f5bc3249d0e7e4c55ffc582b13c81039072"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/config/role.rs: 13.7% line coverage (32/234)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/role.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeb6708d9b954084608d2a6e12601242aad1b92ae79ff91c93b5fd5b6e23ed2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/config/session.rs: 0.0% line coverage (0/468)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e4f41356ea7281362e4216a604a631d0977cad6c689857d34addef9784eee1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/function.rs: 0.0% line coverage (0/172)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"850c7789512ceaa38d3728757fb4de0b1cafda5594d758c1d76f53be424c3eba"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/main.rs: 0.0% line coverage (0/289)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdff9871993161b3fe91ef031e1f1992065b989809cdb5528904d3cc9896338"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/rag/mod.rs: 0.0% line coverage (0/790)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e883aa2123d21ab2a754bbf8e4c68ba9c1a69ee42c0fea599eb9ce0a223e836a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/rag/serde_vectors.rs: 0.0% line coverage (0/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/serde_vectors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91164fd110f904ce0569f621df0cb1c3bd636bbe1a83f975b0d87cbf51a4fbe1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/rag/splitter/language.rs: 10.7% line coverage (21/197)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/splitter/language.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d233f5049f2fbf1f02288d8ec1c363df60f2012339e0fe9949d3d13d83e12c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/render/mod.rs: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/render/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad36c89fc39e36740d53b09dee9333a6b5d9bed7bfc6778e65d5fbdf380fda6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/render/stream.rs: 0.0% line coverage (0/139)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/render/stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d452635d29acf67a10ecfb9db1a37b686e61a8c9e97ed0c42dcd9dc349f8f89"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/repl/completer.rs: 16.5% line coverage (18/109)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repl/completer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ad0baf8a002703b3d75420949670064e8eb2ae204355f4e8226c54765eebbf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/repl/highlighter.rs: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repl/highlighter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38daa2c523401c92ef366a263fe53c18a690ffed1f8afd11cb9f074fc1ae58b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/repl/mod.rs: 10.6% line coverage (65/612)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repl/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52829d9f2117571e127dba3989298c89c7effdd63e9eb2b76219a813e5818f5c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/repl/prompt.rs: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repl/prompt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2befb849a33bf073488b4c4264407574e210cfbc20826d96140c508f25b08b5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/serve.rs: 0.0% line coverage (0/668)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd21d08a35c2091c69ee2e2729f0d0985e92d33ed058690dbb7731f5a1b198e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/abort_signal.rs: 0.0% line coverage (0/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/abort_signal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"681960ee87e377345734f74d829abfc0454313e55c57a6bf672840fbed34d2c5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/clipboard.rs: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/clipboard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8ebb1b1913846a16ead91edd096d109761288a7d72a77dd18890c1612f5cd3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/command.rs: 0.0% line coverage (0/159)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/command.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31051ea957470023f6ad46c5db09aa05986f004ea8795976c9c44abb6906b1e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/crypto.rs: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/crypto.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f3be34f21cc38007476ee6797f0006346feb4ebfca9a901322f8906981aa0f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/html_to_md.rs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/html_to_md.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dba3a2866b0501ca2b3c0831eed62176c2484b9cdbb8ba2605b74e0c778d809"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/input.rs: 0.0% line coverage (0/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51aa1f1cf6528bb24f3f8516adc77203c7b52ce2b93af18325e41619dd38b61"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/loader.rs: 0.0% line coverage (0/88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c10e42db5050abe812da20994671a79e4f9841c305a08ca7e39f2c3bf840d15"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/mod.rs: 2.6% line coverage (4/155)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"695ae3b2a3bc2aa0aa235bd1c79bd9b62ffbb798d213f86a5262b69b9b0db8de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/path.rs: 39.2% line coverage (60/153)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/path.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1193b6b1b3703193223950f853787e000737a4132af5c941eab64918aeacbf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/request.rs: 0.0% line coverage (0/344)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/request.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a865b343f30044edafa787329e34577825fdff4d36b256e0adcdf55dfb54f031"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/spinner.rs: 0.0% line coverage (0/137)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/spinner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d0683b38a13ff4d72b5d75f5cec76727f7062a8dfbb2335883f8984edfc88c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/utils/variables.rs: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/variables.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"114cf0d7aa602f76931c48aec0eca3c487e8c916d9f4de3ffd790ad40db74d0e"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: ansi_colours: \u0060ansi_colours\u0060 1.2.3 is published on crates.io under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is in the SHIPPED closure of this repository\u0027s Cargo.lock \u2014 so it is compiled by everything that builds this repository, not just by its test harness. The expression was read as SPDX, not as text: an \u0060OR\u0060 is a choice and is only charged when every branch is banned, while an \u0060AND\u0060 binds you to both operands and is charged when either is. Replace the crate, or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1b6f24c4898433fb8035ef098fab2c1ef51e4b38432be1f26543247d5137a8e2"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060src/main.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9269d57ae2d0fdd9d36822295cd584b0a25a4bc0ab67d0b10f33f28c4e6b88"}},{"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":"9f295cdd70bcdd19c7a49c1d939018e53645f529bd45a44f8d567ebb4045a934"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d620d2f7ddd96251349fc0b892123288a863f76d0ad2bb87f837f19327fd865"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b1b5f0e0230aeac58e9594c4716afdce35623cf283e763929649345046900f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb5e76c08c5ef1a8c881e111ddeacd827f038fc55e552847a96f43cfcf315a7d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7c5244cdb11911b351dac8382307bd9d067e4816f445153e11bb17ac1ca8cdb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a087b9f2ad3f2c1d69b7355662beea29e64d288931ef22821f64ddccdaa131a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04a2560fa5d37bec506eb17382b3a47a4ed5c3e6a81453860dc843d5d84d20b2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f949706b60fbaaba308935688afb0404c0fd9c4bb690bfd3060f7206461687bd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1de4953aeef193c9334afd3064cde04777bb2dc4b285afdb87200c7a7aec07e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"4132050b01cf0ffeb06c44fce27107cf2a15230b496a720cb2a548bbc119d263"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcf88b394b3028e2880efe6d84185629239539adc0bae9eeb2a321fa6496686f"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5308f9ed219ff7d361ed2b01ab7b5fa7a33b0013fcd35575e7068ccda1d2997"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0037","RUSTSEC-2026-0185","RUSTSEC-2026-0338","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d3d2c2346bccaaa14c1bd0f0713c18ae4de849fffdc7282dbd533ab105c9398"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.3","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0049","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759d36a63e8483c4a467399ff199fa57fa2e02d89ef311720974588edb9516d4"},"properties":{"dependency":{"package":"anyhow","version":"1.0.98","advisory":"RUSTSEC-2026-0190","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d885a6c3524cf72fd5a2ed03e9e79b3e2b2b4c2a38e5f00b3f7bb7e4044b710"},"properties":{"dependency":{"package":"bincode","version":"2.0.1","advisory":"RUSTSEC-2025-0141","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cb949b0dfc97628adeb5867f44cfbeefa3a6a1068b707709bf0e421e653ea4f"},"properties":{"dependency":{"package":"bytes","version":"1.10.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2026-0007"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4a0c58aca13bc848c37d4c3d5bcb90f8e046f8df5b386f5a3743d0625ad8dae"},"properties":{"dependency":{"package":"crossbeam-epoch","version":"0.9.18","advisory":"RUSTSEC-2026-0204","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a42ca7416279f52063a649dbc505340ffc7c7a5727193e601ae1de8d6db75e3d"},"properties":{"dependency":{"package":"fxhash","version":"0.2.1","advisory":"RUSTSEC-2025-0057","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.4.11","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46f49615124997a47ae03424c2b2e05e8f53b2ec644cd091de0dc203d46f11ac"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5585c48a8c4ed670247ebaa40a533d385248c4e49079fee700e7b93cbab137a9"},"properties":{"dependency":{"package":"quick-xml","version":"0.37.5","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28f0bc6d34596072b24d37b19b745b7394ed4ce99a53e032439b262379e02dc1"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.13","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"956f4e7cd4c98d87c1e005b2e8abfa0c78105a3638417c46e5c4fe9e0a1b9890"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9040b7ad52b862da8ec54c50aafe5b7aad49e0d3c7df8ecb342f09947efda51b"},"properties":{"dependency":{"package":"rand","version":"0.9.1","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.0.7","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.28","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"313181ad99189e9af422ed8dc84d0406dc5481e491cd19f12b1cc7416366ce9b"},"properties":{"dependency":{"package":"slab","version":"0.4.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2025-0047"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85ffa314d77812277deab31fb2264e02366c4034561614d82315c198cb6bb99e"},"properties":{"dependency":{"package":"time","version":"0.3.41","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2026-0009"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.46.1","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da9ce41d3dc2da176b4e1aa86f2ae1a68df334c8ac5ad721abff2335197b0ec1"},"properties":{"dependency":{"package":"tracing-subscriber","version":"0.3.19","advisory":"RUSTSEC-2025-0055","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"232458f1e861a473d11b103db83010acd3c76ee2f5eb5b53069ae6f2eda9586f"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.1","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 35 of 35 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 35 separate risks. Counted over 35 of the 48 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35864fb44b16d97cde4460937bbbdb13995162fcec92ffbcdc06f2bedfd32151"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8d0cb593ec65732b93ad4a37a2b61e4238cfa3bee3fa6929b2248e5d04de86"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82383e07fb6c0220f7856c8958b970113e1d164e9f863af4f23757f29faf854d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repl/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2891128e02b073ceb898b5f786e75c543cc830e3f37e7e6efe0715a42633dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d8d58bb634d12919571753752980f5899025dc89555e9814289a1a616bdca3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0970302fb298c5e43fcb46145195f3e5477b8f80bb57b115ffe6783f90a4d3ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/common.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1a2c8884f0cbf998c166885fed4516cb602f53745ec6412e80185c6a6a0045"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/vertexai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"236bdaf90194300f3c7d2c3e3228825bec3fc692f512bf511a3be0b3ea94115d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/agent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b2038fddf3275f7036f08b8b9685f926451de3abb43f6aed5c7a9f66205639"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0014862a9d449bfc139388ef1f53d97b9459692ed8acb6fac1f33efd49ef11f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/splitter/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7399f5f4a8753f9c6b1ad61f27aa1627b7f9b8af5fc63acaba71bbac9e6ab93"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/request.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc523733daee73134e56bb00f24d66a00ffa8b763221634b6d1a56dc7c99bf1d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/openai.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe536d12c934cfb7fdf0a39110007b76c0b4236c0cf43f951fa73cba6224dda"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3795142b1ae1fbb7c7652495bc6b80d0eb7a3f1ea8ee6c312b2f058f92ea9884"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a6f62c90726a716685af16d1bd70d67c70868f3d42d41ed257168f2d7126c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/render/markdown.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"231473e0803449e2969c5c0b10c43e382f4da3f97fd8c3e833d0c2260a587bda"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c5559f77c8966ea348ba18238975313f0735e8dc61fb83f100c860af746dc1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/role.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1041a88e8dcd0261cce8627fb1843d1cf6b5fd1c979b7fd48f9aa7e6c17fb2b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"742daf223d594448e85c723fc578e9e493e1009ab013888ae22d20107aeceb8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d83bd7b75c98184e81254f3b7d3d093328aa8fd4a161deeedc1f51a41165961"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ce9e2b0b1c102b4659cdfb4916d01a712153223ab544465b7de403edc796ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/path.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b4185d93b9218550d9e342ea8b82784cbf7da2d4d248afa06e9f20409c1e80"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/cohere.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d30a0a1f02ab6d2e38e15feb9d99bdc067776ab9a4bfab6e4b5d8f5c854910d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43bec250196202c525a941c58cf6203a24b6b696ba230462827814c4d749b6b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/command.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbd34336f9aabfea56adaa294659d3f6b087951c23eb55c110be4650d1cc466"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2732921523cd13e7380e8f8100b8e79736e9f31cea1e98488f2112cfc07f1dbb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/render/stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94103e8ea889fd592d784b02155dec8d958adeb930bf614808955d8b403a4b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rag/splitter/language.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3924606e45c3f1f73b92b18b54cc0ad78c1a230e38919c00e07001515252a916"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/spinner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75df405db21883c3bb0911977ca58ca13b04b244d41d2808bbb6018745a6d78d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/render_prompt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccb9b9da446982dd2b1bdc685890763b453a9c27a81d361fda89c59b78b4ad9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repl/completer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c7653691e3642886f6712dc652180e2fe4b59417c6c2f395bdc04b887980da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0328ef6d3d20db0cc9fef272f182d1afebc176e3b0b9e3e67834475d320cab50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/openai_compatible.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdc63c45173122e5153ff66470f9ddbdcf4bad0403f04bcce4b824e8bb4b01c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/cli.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d196e94a2485dc06a877cdcf0ea24852f8cd05a20a442f42e41214082bbc860"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/gemini.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81325b9db5622d43fe30f401aedb013948eefe870bbeffb99ec2ffa3ec06691b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: claude.rs \u2194 openai.rs: \u0060src/client/claude.rs\u0060 and \u0060src/client/openai.rs\u0060 change together 55% of the time (11 of the 20 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 11 shared commits counted here, the most recent 3 are \u00605cd9c831\u0060 refactor: several improvements (#1363); \u00606b28b1c4\u0060 feat: support claude-3-7-sonnet (#1201); \u00607d33a2c6\u0060 fix: stream function calling for some openai-compatible clients (#1017) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9b83ab360e535c1f19484d1de18fabd926e4be85bf70dedef711b7231f147e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: claude.rs \u2194 cohere.rs: \u0060src/client/claude.rs\u0060 and \u0060src/client/cohere.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency 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 6 shared commits counted here, the most recent 3 are \u0060669f2c60\u0060 feat: enable custom \u0060api_base\u0060 for most clients (#793); \u00600ec370b4\u0060 refactor: improve clients (#632); \u006068882ecd\u0060 refactor: abstract event stream handling (#458) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/claude.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc136d3c1aeba9a3fb979b8e7db4fe9ba92e4be7d4ef752bfb8ef70ee1bd085"}},{"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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9739ac06004000f598da4fd175a92f0d9f5c718b41d35f1b1657c1cae478bb8b"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7287f494b7ee1fc1c1ecba6ab7d7c7dd95bfa936ab969a9c5b86aceed9c46a84"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33e6b5c6e0b01a7033d0865ba5949e325ee67b49c96ee915b481c46c6acc1523"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"723c51376123d1430c4db12d8f64f1dc6ed8e96e35d5f10fd7c5f718618a2705"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0fe1f2ec5821568e5a889ec08dbd6796f555cf328ed13e139defd5e52371b3"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6eb483f9af2a3283e6fc983f67201b2504516a36400a0f605ce1887b914591"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7cd674c9d9519515d0bb672836f2cf14563f4fd7ed947c4b045a228e4469d8"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9c9f57432f4238388d42a21b5ccba341fc10fcac8d37ac31d83929aadce98c"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d1578ed4a6f126d257bdc497ff7a76e44be9c22ad195869d8f8b4c619a1dff"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"067f955ec4c55fe853ee67e7e0f78c906af18fa7f7b97dece21f3f21e7f253f5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6406e231ba406a32d24bee90aebb45b76b0dca12964ccd97f2fbd846c11e6dd"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24c7f1a2b54de54cd352d5dc7826feb5b0074df91ff752a800b0ab9f057440d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1081cdf7a890e86c5e687287f7a2d94e12f3c919b98390f8be03b461eda84f6"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aab6944ac6126cc1bf759ba6e235bd2a427c36ec7756a32da28bd4924262726"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eb43bc8ce504564ee232ff5ec75e69dd743699eb48f0ae03792c9f68137206"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"3245f899e2e8b8d14184750eff4d6c27c55ce860f069aa92dc629196396f11a2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61c1d5dd28d7fa7fcbf1029c3f92c9b9b04c9e413e9e0c2aae02aadf41f38a0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"f470567252b6d36d58bb3fb28f5fdce9981ad629b60a8ab91e36b59cf1a801ad"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spinner-rotation 1s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"672f739b535df21ba4e59d5b36fd7462f7cad01cc6879ad17ac8769ece704204"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.chat-header select\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b682478f23d6eb1d5754ac9a6c29e8a1c82c73fcb191667e85a86ad2a7dff2c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.input-panel-inner textarea\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"662fa82d02dcf7e502e03fa0f42d3e0b12aa87d6de2f41005a5ac37b0b45abdd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.spinner\u0060 moves (\u0060animation: spinner-rotation 1s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfe14b2df1a6ec2260e350043372019e3e658d6e2171da9daf4fcfa06cfff37"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.chat-header select\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c1817d5150b2ad29b33a10ac99edbc9694f65fcfff1797e31ee9aba3d2311f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.input-panel-inner textarea\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/playground.html"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64b5494058d307dbdc3fe6a2184f12a61accceab042f3d790d279bf2074b932"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 a server (.serve_connection_with_upgrades) (src/serve.rs:129) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serve.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"54db193e416b489c6d54e5a91b5bd8ca136cb73f64615ef84633292293bdea30"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060//unpkg.com/@highlightjs/cdn-assets@11.10.0/highlight.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 10 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/arena.html"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6adfaccf63582fee3e5e4a6218f93eff73a77cb2ff3d747781b63b585b7ea14"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository starts an HTTP server and nothing in its Rust source or committed \u0060Rocket.toml\u0060 secures the transport: no TLS served (actix-web \u0060bind_rustls\u0060/\u0060bind_openssl\u0060, axum-server \u0060bind_rustls\u0060 with a \u0060RustlsConfig\u0060, tonic \u0060ServerTlsConfig\u0060, a \u0060TlsAcceptor\u0060, Rocket\u0027s \u0060[default.tls]\u0060), no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: \u0060.serve_connection_with_upgrades(\u0060 (src/serve.rs:129)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060.serve_connection_with_upgrades(\u0060 (src/serve.rs:129)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060role.is_assistant() \u0026\u0026 i != messages_len - 1\u0060 appears character-identically in 3 files \u2014 src/client/bedrock.rs, src/client/claude.rs, src/client/openai.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb5ee71f0c6dba33c458955dfcdaf3af2f121e3b35ffbcbae6cac0427161d7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text.is_empty() \u0026\u0026 tool_calls.is_empty()\u0060 appears character-identically in 5 files \u2014 src/client/bedrock.rs, src/client/claude.rs, src/client/cohere.rs, src/client/openai.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/client/bedrock.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3060c4532047a0497a5764d9beb09ab5494b404011a2925fec3c6251246800"}},{"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 Rust code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/mod.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b5967861fe53c0e0c7f5f14d0104626323d15de6f8b0949c4c07d7434af0c1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_rags\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/mod.rs"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40ac00c1c4fcdb8ae770613cda91a4eee372f7f05880151ed3f974bbb43374d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060echo_messages\u0060 turns every \u0060Err\u0060 into \u0060\u0022Unable to echo message\u0022.into()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/session.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e453f79854c202423e4a926adaea87969db79dcea799ad77595660bbed903e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_agents\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/agent.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae25c631df4b66aa45deffa8d86664c05351092e3c84062d1b8d2f6b0acb2047"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060complete_agent_variables\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/agent.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"c236512abb9763523cdbf2e98e7dfd4489662f5300cdd874a69ec2aebdfce966"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_file_names\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/path.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10f46de1d2e2cd40998f77d195cebacee0cf23205a090f90575520de8136b64"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-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":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":43,"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."]}]}